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

From: Andi Kleen (ak@suse.de)
Date: Mon Jul 09 2001 - 16:03:11 EST


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

-
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 : Sun Jul 15 2001 - 21:00:10 EST