I have an Intel 11700 with 4*32 GB RAM.
When 4 physical RAM slots are filled, BIOS, htop, sudo lshw, sudo dmidecode dmesg (whatever command I use to display the total RAM on the system) all display that I have 128 GB RAM.
However, I can only use 57.2 GB, i.e. approximately half of the available RAM.
I tested this by using malloc() in C and creating files in tmpfs. The former finally returns a NULL pointer, and the latter finally displays that the device is out of space.
More strangely, if I only install one or two RAM modules, i.e. 32 or 64 GB, I still can only use about half of the RAM, i.e. 12.1 or 28.7 GB.
sudo mount -t tmpfs -o size=80G tmpfs ~/tmp/sysctl vm.overcommit_memoryshow? If it’s not 0, what doessysctl vm.overcommit_ratioshow?