Skip to content

Commit ff5950c

Browse files
authored
Merge pull request #30642 from sjhala-ccs/cnv-10988
CNV-10988 Updated virt sizing guidelines
2 parents 2c4a817 + 84ed9ef commit ff5950c

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

modules/virt-cluster-resource-requirements.adoc

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,14 @@ Additionally, {VirtProductName} environment resources require a total of 2179 Mi
3535

3636
----
3737
Memory overhead per virtual machine ≈ (1.002 * requested memory) + 146 MiB \
38-
+ (8 * number of vCPUs) + (16 MiB * number of graphics devices)
38+
+ 8 * (number of vCPUs) \ <1>
39+
+ 16 MiB * (number of graphics devices) <2>
3940
----
4041

41-
Add 1 GiB to the above result if your environment includes a Single Root I/O Virtualization (SR-IOV) network device or a Graphics Processing Unit (GPU).
42+
<1> Number of virtual CPUs requested by the virtual machine
43+
<2> Number of virtual graphics cards requested by the virtual machine
44+
45+
If your environment includes a Single Root I/O Virtualization (SR-IOV) network device or a Graphics Processing Unit (GPU), allocate 1 GiB additional memory overhead for each device.
4246

4347

4448
[id="CPU-overhead_{context}"]
@@ -49,16 +53,21 @@ Calculate the cluster processor overhead requirements for {VirtProductName} by u
4953
.Cluster CPU overhead
5054

5155
----
52-
CPU overhead for infrastructure nodes ≈ 4
56+
CPU overhead for infrastructure nodes ≈ 4 cores
5357
----
5458

59+
{VirtProductName} increases the overall utilization of cluster level services such as logging, routing, and monitoring. To account for this workload, ensure that nodes that host infrastructure components have capacity allocated for 4 additional cores (4000 millicores) distributed across those nodes.
60+
5561
----
56-
CPU overhead for worker nodes ≈ 2 + CPU overhead per virtual machine
62+
CPU overhead for worker nodes ≈ 2 cores + CPU overhead per virtual machine
5763
----
5864

65+
Each worker node that hosts virtual machines must have capacity for 2 additional cores (2000 millicores) for {VirtProductName} management workloads in addition to the CPUs required for virtual machine workloads.
66+
67+
5968
.Virtual machine CPU overhead
6069

61-
CPU overhead per virtual machine is subjective. If dedicated CPUs are requested, there is a 1:1 impact on the cluster CPU overhead requirement. Otherwise, there are no specific rules about how many CPUs a virtual machine requires.
70+
If dedicated CPUs are requested, there is a 1:1 impact on the cluster CPU overhead requirement. Otherwise, there are no specific rules about how many CPUs a virtual machine requires.
6271

6372

6473
[id="storage-overhead_{context}"]
@@ -69,9 +78,11 @@ Use the guidelines below to estimate storage overhead requirements for your {Vir
6978
.Cluster storage overhead
7079

7180
----
72-
Aggregated storage overhead per node ≈ 10.36 GiB
81+
Aggregated storage overhead per node ≈ 10 GiB
7382
----
7483

84+
10 GiB is the estimated on-disk storage impact for each node in the cluster when you install {VirtProductName}.
85+
7586
.Virtual machine storage overhead
7687

7788
Storage overhead per virtual machine depends on specific requests for resource allocation within the virtual machine. The request could be for ephemeral storage on the node or storage resources hosted elsewhere in the cluster. {VirtProductName} does not currently allocate any additional ephemeral storage for the running container itself.
@@ -80,4 +91,4 @@ Storage overhead per virtual machine depends on specific requests for resource a
8091
[id="example-scenario_{context}"]
8192
== Example
8293

83-
As a cluster administrator, if you plan to host 10 virtual machines in the cluster, each with 1 GiB of RAM and 2 vCPUs, the memory impact across the cluster is 11.68 GiB.
94+
As a cluster administrator, if you plan to host 10 virtual machines in the cluster, each with 1 GiB of RAM and 2 vCPUs, the memory impact across the cluster is 11.68 GiB. The estimated on-disk storage impact for each node in the cluster is 10 GiB and the CPU impact for worker nodes that host virtual machine workloads is a minimum of 2 cores.

0 commit comments

Comments
 (0)