> at 1GB ram, are 16,936kB low mem reserved.
> 4GB ram, 72,824kB reserved
> 8GB ram, 142,332kB reserved
> 16GB ram, 269,424kB reserved
> 32GB ram, 532,080kB reserved, usable low mem: 352 MB
> 64GB ram ??
>
> Which function does the reserved memory fulfill ?
> Is it all for paging ?
The kernel stores various data structures there, in particular
the mem_map[] array, which has one data structure for each
page.
In the standard kernel, that is 52 bytes per page, giving you
a space usage of 416 MB for the mem_map[] array.
I'm currently integrating a patch into my VM tree which removes
the wait queue from the page struct, bringing the size down to
36 bytes per page, or 288 MB, giving a space saving of 128 MB.
Another item to look into is removing the page cache hash table
and replacing it by a radix tree or hash trie, in the hopes of
improving scalability while at the same time saving some space.
As for page table overhead, on machines like yours we really
should be using 4 MB pages for the larger data segments, which
will cut down the page table size by a factor of 512 ;)
regards,
Rik
-- Shortwave goes a long way: irc.starchat.net #swlhttp://www.surriel.com/ http://distro.conectiva.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/