0

I have a little issue that I can't understand.

I have 8x128GB sticks of RAM, which makes 1024GB of RAM.

But the command htop displays 996G and not 1024G as expected.

You can see the following illustration below :

htop image

How to interpret this result ?

UPDATE: This is a strange result since on my MacOS Macbook, I have officially 64GB of RAM and when I type the command htop, I get the following result :

htop macos image

As you can see, it displays all the amount of official memory, i.e 64GB of RAM unlike to Debian 10 Linux. I don't understand this difference.

Could anyone explain me the reason ?

7
  • 2
    I believe this value is the same as MemTotal from /proc/meminfo. According to man proc, MemTotal is "Total usable RAM (i.e., physical RAM minus a few reserved bits and the kernel binary code)". Commented Jul 23, 2021 at 1:34
  • @berndbausch . I don't understand the "RAM minus a few reserved bits and the kernel binary" : normally, it should display 8*128 GB, i.e the total quantity of sticks, shouldn't it ? Commented Jul 23, 2021 at 1:49
  • If I am right, it displays the amount of memory that you can use. That is your RAM minus a few reserved bits and the kernel. If you want the amount of installed memory, use a tool like dmidecode, which queries the BIOS. Note that your Mac doesn't run on Linux. Commented Jul 23, 2021 at 1:55
  • @berndbausch . Thanks, I am going to try. Did you see my UPDATE and the difference between MacOS and Debian ? Commented Jul 23, 2021 at 1:57
  • Yes. MacOS is based on a BSD UNIX (not sure which), whereas Linux isn't. Commented Jul 23, 2021 at 1:57

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.