[CentOS] High memory needs

Thu Sep 27 16:34:19 UTC 2012
Les Mikesell <lesmikesell at gmail.com>

On Thu, Sep 27, 2012 at 10:46 AM, Gordon Messmer <yinyang at eburg.com> wrote:
>
>> I understand it may not be very precise, however I still don't
>> understant the difference compared to other x64 ditributions,
>> under CentOS the value is 7 times higher!

This might explain it:
https://bugzilla.redhat.com/show_bug.cgi?id=156477
The mmapped local-archive contains all languages even though only the
ones you use are accessed from it.  Other distros split them and the
installers only install what you want.

> 64 bit system:
> 00007f8ae84b7000 102580K r----  /usr/lib/locale/locale-archive
>
> 32 bit:
> b7689000   2048K r----  /usr/lib/locale/locale-archive

That's an interesting difference on its own, since the underlying
files are about 95M and 54M respectively.  Does the 32 bit kernel use
some tricks to sparsely map files where the 64 bit one does it
directly with page tables?

-- 
  Les Mikesell
     lesmikesell at gmail.com