[SLL] 32 bit distro that supports 4GB ram with stock kernel

Brian Lane bcl at brianlane.com
Wed Apr 2 10:16:27 PDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rob Smith wrote:
> On Wed, Apr 2, 2008 at 7:01 AM, Brian C. Lane <bcl at brianlane.com> wrote:
>>  Actually, that sounds right. What happens is that the kernel uses a 4G
>>  virtual space for each process, and reserves a bit of it for itself. So
>>  when you hit 4G the usable amount of space is actually 4G - Kernel Memory.
> 
> Are you really trying to say that the kernel reserves 1 gig of memory?
> 
> That's majority excessive...
> 
> For example, my home server:
> Memory: 2032508k/2071552k available (3179k kernel code, 37192k
> reserved, 1466k data, 232k init)
> 
> that's 3.1 megs used, the reserved it a lot higher, but that includes
> the 32 meg ivtv buffer I have on the box, so it's rather inflated.
> 
> no kernel should ever, ever, ever use a full gig for itself unless you
> have a *very* specific reason.

Actually it does. Read the article. But it is 1G of *virtual* memory, so
you don't see the effect until you cross the 3G line on 32bit systems.

I probably wasn't clear that I meant virtual address space, not real RAM.

Brian

- --
- ---[Office 72.0F]--[Outside 42.5F]--[Server 100.7F]--[Coaster 61.7F]---
- ---[    EVERGREEN STATE (366773050) @ 47 30.9860 -122 29.5690     ]---
Software, Linux, Microcontrollers             http://www.brianlane.com
AIS Parser SDK                                http://www.aisparser.com
Movie Landmarks Search Engine            http://www.movielandmarks.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Remember Lexington Green!

iD8DBQFH879rIftj/pcSws0RAkyDAJ9DxzeBkPmOgSeMRab1NXL93Zn/8wCdFKrm
FnD29Dfia/4SEMeUiTdBwAk=
=PJEH
-----END PGP SIGNATURE-----


More information about the linux-list mailing list