|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// * virt/install/preparing-cluster-for-virt.adoc |
| 4 | + |
| 5 | +[id="virt-cluster-resource-requirements_{context}"] |
| 6 | += Additional hardware requirements for {VirtProductName} |
| 7 | + |
| 8 | + |
| 9 | +{VirtProductName} is an add-on to {product-title} and imposes additional overhead that you must account for when planning a cluster. Each cluster machine must accommodate the following overhead requirements in addition to the {product-title} requirements. Oversubscribing the physical resources in a cluster can affect performance. |
| 10 | + |
| 11 | +[IMPORTANT] |
| 12 | +==== |
| 13 | +The numbers noted in this documentation are based on Red Hat’s test methodology and setup. These numbers can vary based on your own individual setup and environments. |
| 14 | +==== |
| 15 | + |
| 16 | +[id="memory-overhead_{context}"] |
| 17 | +== Memory overhead |
| 18 | + |
| 19 | +Calculate the memory overhead values for {VirtProductName} by using the equations below. |
| 20 | + |
| 21 | +.Cluster memory overhead |
| 22 | + |
| 23 | +---- |
| 24 | +Memory overhead per infrastructure node ≈ 150 MiB |
| 25 | +---- |
| 26 | + |
| 27 | +---- |
| 28 | +Memory overhead per worker node ≈ 360 MiB |
| 29 | +---- |
| 30 | + |
| 31 | +Additionally, {VirtProductName} environment resources require a total of 2179 MiB of RAM that is spread across all infrastructure nodes. |
| 32 | + |
| 33 | + |
| 34 | +.Virtual machine memory overhead |
| 35 | + |
| 36 | +---- |
| 37 | +Memory overhead per virtual machine ≈ (1.002 * requested memory) + 146 MiB \ |
| 38 | + + (8 * number of vCPUs) + (16 MiB * number of graphics devices) |
| 39 | +---- |
| 40 | + |
| 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 | + |
| 43 | + |
| 44 | +[id="CPU-overhead_{context}"] |
| 45 | +== CPU overhead |
| 46 | + |
| 47 | +Calculate the cluster processor overhead requirements for {VirtProductName} by using the equation below. The CPU overhead per virtual machine depends on your individual setup. |
| 48 | + |
| 49 | +.Cluster CPU overhead |
| 50 | + |
| 51 | +---- |
| 52 | +CPU overhead for infrastructure nodes ≈ 4 |
| 53 | +---- |
| 54 | + |
| 55 | +---- |
| 56 | +CPU overhead for worker nodes ≈ 2 + CPU overhead per virtual machine |
| 57 | +---- |
| 58 | + |
| 59 | +.Virtual machine CPU overhead |
| 60 | + |
| 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. |
| 62 | + |
| 63 | + |
| 64 | +[id="storage-overhead_{context}"] |
| 65 | +== Storage overhead |
| 66 | + |
| 67 | +Use the guidelines below to estimate storage overhead requirements for your {VirtProductName} environment. |
| 68 | + |
| 69 | +.Cluster storage overhead |
| 70 | + |
| 71 | +---- |
| 72 | +Aggregated storage overhead per node ≈ 10.36 GiB |
| 73 | +---- |
| 74 | + |
| 75 | +.Virtual machine storage overhead |
| 76 | + |
| 77 | +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. |
| 78 | + |
| 79 | + |
| 80 | +[id="example-scenario_{context}"] |
| 81 | +== Example |
| 82 | + |
| 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. |
0 commit comments