What's new

Memory

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

lfbb

Regular Contributor
admin@(none):/proc# cat meminfo
MemTotal: 255552 kB
MemFree: 217648 kB
Buffers: 4128 kB
Cached: 11428 kB
SwapCached: 0 kB
Active: 6852 kB
Inactive: 11068 kB
HighTotal: 131072 kB
HighFree: 112772 kB
LowTotal: 124480 kB
LowFree: 104876 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 2372 kB
Mapped: 1648 kB
Slab: 14256 kB
SReclaimable: 3996 kB
SUnreclaim: 10260 kB
PageTables: 340 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 127776 kB
Committed_AS: 6672 kB
VmallocTotal: 1015800 kB
VmallocUsed: 4800 kB
VmallocChunk: 1008924 kB
http://www.foxnetwork.ru/index.php/en/component/content/article/101-asus-rt-n66u.html
The total RAM memory announced for this router is 256 MBx1024=262144 KB. How to justify the difference between the two values? (255552 vs 262144)

Let's proceed... This is my router's meminfo:

admin@RT-N66U:/proc# cat meminfo
MemTotal: 239876 kB
MemFree: 197644 kB
Buffers: 5564 kB
Cached: 17548 kB
SwapCached: 0 kB
Active: 9628 kB
Inactive: 17148 kB
HighTotal: 131072 kB
HighFree: 104816 kB
LowTotal: 108804 kB
LowFree: 92828 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 3668 kB
Mapped: 2684 kB
Slab: 8476 kB
SReclaimable: 1100 kB
SUnreclaim: 7376 kB
PageTables: 440 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 119936 kB
Committed_AS: 11228 kB
VmallocTotal: 1015800 kB
VmallocUsed: 4968 kB
VmallocChunk: 1008792 kB
Again no signal of the 256MB RAM MemTotal. It shows 239876 KB/1024=234.25 MB as we can see in the Tools page:

memoryt.jpg


So I ask again... where are the 256 MB?

Thanks

- lfbb
 
Again no signal of the 256MB RAM MemTotal. It shows 239876 KB/1024=234.25 MB as we can see in the Tools page:
...
So I ask again... where are the 256 MB?
MemTotal is not all physical memory, it's all usable RAM (which equals total physical RAM minus kernel reserve). Type dmesg to see how RAM distributed.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top