Adjust readme texts

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:29 -04:00
parent 07d75573d6
commit 6bf827ca13
2 changed files with 14 additions and 6 deletions

View File

@ -1,5 +1,7 @@
# PVC Ansible `group_vars` # PVC Ansible `group_vars`
Use this "default" set of variables as a template for your own clusters.
1. There should always be at least two (2) files here, with an optional third (3rd): 1. There should always be at least two (2) files here, with an optional third (3rd):
* `base.yml`: Specifies basic cluster information. * `base.yml`: Specifies basic cluster information.

View File

@ -150,8 +150,9 @@ pvc_sriov_enable: False
#pvc_zookeeper_stack_limit: 256M # 1/4 of default #pvc_zookeeper_stack_limit: 256M # 1/4 of default
# CPU tuning # CPU tuning
# > ADVANCED TUNING: For most users, this is unnecessary and PVC will run fine with the default CPU # > ADVANCED TUNING: These options are strongly recommended due to the performance gains possible, but
# allocations. Adjust these options only for clusters where CPU optimization is needed. # most users would be able to use the default without too much issue. Read the following notes
# carefully to determine if this setting should be enabled in your cluster.
# > Defines CPU tuning/affinity options for various subsystems within PVC. This is useful to # > Defines CPU tuning/affinity options for various subsystems within PVC. This is useful to
# help limit the impact that noisy elements may have on other elements, e.g. busy VMs on # help limit the impact that noisy elements may have on other elements, e.g. busy VMs on
# OSDs, or system processes on latency-sensitive VMs. # OSDs, or system processes on latency-sensitive VMs.
@ -165,8 +166,8 @@ pvc_sriov_enable: False
# A third count, for the VM CPUs, is autogenerated based on the total node CPU count and # A third count, for the VM CPUs, is autogenerated based on the total node CPU count and
# the above two values (using all remaining CPUs). # the above two values (using all remaining CPUs).
# > Tuning is done based on cores; for systems with SMT (>1 thread-per-core), all SMTs within # > Tuning is done based on cores; for systems with SMT (>1 thread-per-core), all SMTs within
# a given core are also assigned to the same CPU set. So for example, if the system assigns # a given core are also assigned to the same CPU set. So for example, if the "system" group is
# 2 system_cpus, there are 16 cores, and there are 2 threads per core, the list will be: # assigned 2 system_cpus, there are 16 cores, and there are 2 threads per core, the list will be:
# 0,1,16,17 # 0,1,16,17
# leveraging the assumption that Linux puts all cores before all threads. # leveraging the assumption that Linux puts all cores before all threads.
# > This tuning section under "nodes" is global to the cluster; to override these values on # > This tuning section under "nodes" is global to the cluster; to override these values on
@ -174,11 +175,16 @@ pvc_sriov_enable: False
# as shown below. # as shown below.
# > If disabled after being enabled, the tuning configurations on each node will be removed # > If disabled after being enabled, the tuning configurations on each node will be removed
# on the next run. A reboot of all nodes is required to fully disable the tuning. # on the next run. A reboot of all nodes is required to fully disable the tuning.
# > IMPORTANT NOTE: Enabling CPU tuning requires a decent number of CPU cores on the system. For very
# low-spec systems (i.e. less than at least 12 cores per node), it is advisable to leave this tuning
# off, as otherwise very few cores will actually be allocated to VMs. With a larger number (>16 or so),
# this tuning is likely to greatly increase storage performance, though balance between the VM workload
# and total number of cores must be carefully considered.
cpu_tuning: cpu_tuning:
enabled: no enabled: no # Disable or enable CPU tuning; recommended to enable for optimal storage performance
nodes: nodes:
system_cpus: 2 # Set based on your actual system configuration (min 2, increase on coordinators if many nodes) system_cpus: 2 # Set based on your actual system configuration (min 2, increase on coordinators if many nodes)
osd_cpus: 2 # Set based on your actual number of OSDs osd_cpus: 2 # Set based on your actual number of OSDs (for optimal performance, 2 per OSD)
# Configuration file networks # Configuration file networks
# > Taken from base.yml's configuration; DO NOT MODIFY THIS SECTION. # > Taken from base.yml's configuration; DO NOT MODIFY THIS SECTION.