Re: What is the truth about Linux 2.4's RAM limitations?

Andi Kleen
2001-07-09T21:03:37Z

Adam Shand <larry@spack.org> writes:

>
> * And, what (if any) paramaters can effect this (recompiling the app
> etc)?

The kernel parameter is a constant called __PAGE_OFFSET which you can set.
You also need to edit arch/i386/vmlinux.lds

The reason why your simulation stopped at 2.3GB is likely that the malloc
allocation hit the shared libraries (check with /proc/<pid>/maps). Ways
around that are telling malloc to use mmap more aggressively (see the
malloc documentation in info libc) or moving the shared libraries up
by changing a kernel constant called TASK_UNMAPPED_BASE.

-Andi