Re: [Lse-tech] Re: maximum possible memory limit ..

From: Andi Kleen (ak@suse.de)
Date: Mon Apr 28 2003 - 09:10:23 EST


> Linux supports up to 4 GB (~2^32 bytes) of memory on 32-bit
> architectures and 64 GB (~2^36 bytes) on x86 with PAE. No other

That's far too optimistic. 64GB will need patches, like the pgcl
patch. It is unlikely to work out of the box. Just do the math.

900MB low mem for all the kernel data structures on IA32.

44 byte struct page for each 4K page. This gives 704MB just
for the mem_map array. Leaves you 196MB left for the kernel to
manage your 64GB of memory and your processes. Unlikely to work.

2.5 uses 40 bytes for an struct page, but that doesn't help much.

Yes you can move the kernel:user split to give the kernel more memory
at the expense of the application, but that is likely to not make the
user programs happy and also helps only very limited
(even 2GB lowmem are probably not enough to make it run well with 64GB)

Realistic limit currently is ~16GB with an IA32 box. For more you need
an 64bit architecture.

-Andi

-
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/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:29 EST