I have a static memory splitting (configured in config file and confirmed by vcgencmd
) of
arm=496M
gpu=16M
But when I run free -h
I get
total used free shared buffers cached
Mem: 485M 184M 300M 0B 17M 128M
-/+ buffers/cache: 38M 446M
Swap: 0B 0B 0B
So, a total of 485 MB instead of 496 MB. Where did the 11 MB go? Also, the sum of columns used
+ free
is 484 MB instead of 485 MB. How does the memory calculation work? free
agrees with cat /proc/meminfo
, as a side note.
Why are these numbers not matching?
kilo
is (1000 or 1024).