Hi all!
I trying for understading logic of memory calculate for vm guests with enabled memory hotplug on latest PVE 7
i set system params:
cat /sys/module/vhost/parameters/max_mem_regions
509
based on on post:
https://forum.proxmox.com/threads/vm-windows-cannot-start-with-ram-more-48gb.76617/
for example i try calc 120 gb mem for guest:
1. 122880 - 1024( static memory ) = 121856
2. 32 dimm 512M = 16384
3. 32 dimm 1024M = 32768
4. 32 dimm 2048M = 65636
5. 1 or 2 dimm 4096 = 4096 or 8192
121856 - 114688(sum 2,3,4) = 7168 ~ 1 or 2 dimms with size 4096
114688 + 4096 = 118784 = TASK ERROR: memory size (118784) must be aligned to 4096 for hotplugging
114688 + 8192 = 122880 = TASK ERROR: memory size (122880) must be aligned to 4096 for hotplugging
what is correct logic of calculation??? thx.
I trying for understading logic of memory calculate for vm guests with enabled memory hotplug on latest PVE 7
i set system params:
cat /sys/module/vhost/parameters/max_mem_regions
509
based on on post:
https://forum.proxmox.com/threads/vm-windows-cannot-start-with-ram-more-48gb.76617/
for example i try calc 120 gb mem for guest:
- 1024M static memory
- up to 32 512M dimms
- up to 32 1024M dimms
- up to 32 2048M dimms
- ...
1. 122880 - 1024( static memory ) = 121856
2. 32 dimm 512M = 16384
3. 32 dimm 1024M = 32768
4. 32 dimm 2048M = 65636
5. 1 or 2 dimm 4096 = 4096 or 8192
121856 - 114688(sum 2,3,4) = 7168 ~ 1 or 2 dimms with size 4096
114688 + 4096 = 118784 = TASK ERROR: memory size (118784) must be aligned to 4096 for hotplugging
114688 + 8192 = 122880 = TASK ERROR: memory size (122880) must be aligned to 4096 for hotplugging
what is correct logic of calculation??? thx.
Last edited: