RAM in host in GiB and VM ( windows ) in GB but number is wrong

mcunicode

Member
Dec 5, 2020
6
0
6
50
My server has 256GB Ram, and in VM RAM configuration, i have set 242GiB for a windows VM. Upon starting in Windows VM, the RAM reported is 242 GB instead of 247.8GB ram.

In a way, 5.8 GB RAM is missing.
 
My server has 256GB Ram, and in VM RAM configuration, i have set 242GiB for a windows VM. Upon starting in Windows VM, the RAM reported is 242 GB instead of 247.8GB ram.
Sorry, but are the last two numbers switched, because if you assign the VM 242 GiB then using 242 GiB would be expected?
Or what do you mean exactly?
 
242 GiB are 259.84 GB. Then KVM also got overhead. So you basically gave your VM more RAM than the host got installed.
 
When I set 242 GiB for the Windows VM, when I login to the windows, click the system report, it shows as 242 GB. when I set aside of 242 GB for RamDisk, the system will crash after a while. 242 GiB is definitely higher than 242 GB, therefore, windows should still have some spare ram of 5.8GB Ram for normal windows use.

if you set up a windows VM, you will understand what I mean. Please see the attached the pictures.
 

Attachments

  • VMHostConfig.PNG
    VMHostConfig.PNG
    26.2 KB · Views: 7
  • VMSystemInfo.PNG
    VMSystemInfo.PNG
    33.6 KB · Views: 7
Last edited:
Windows is most of the time showing "GB" if they actually mean "GiB". Look for example at any SSD/HDD added to Win where a SSD manufacturer will sell it as 1 TB and Win will show it as 0.9095 TB so people are complaining that the SSD is too small even if everything is fine because the 0.9095 TiB, that are shown as 0.9095 TB, are actually the same as 1TB.
 
  • Like
Reactions: mcunicode
When I set 242 GiB for the Windows VM, when I login to the windows, click the system report, it shows as 242 GB. when I set aside of 242 GB for RamDisk, the system will crash after a while. 242 GiB is definitely higher than 242 GB, therefore, windows should still have some spare ram of 5.8GB Ram for normal windows use.
Yeah, I'd rather suggest reporting to Microsoft that they should fix their usage of units.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!