Andrea Arcangeli wrote: > On Thu, Sep 12, 2002 at 07:14:14PM -0700, Samuel Flory wrote: > >>Andrea Arcangeli wrote: >> >>>On Thu, Sep 12, 2002 at 07:47:48PM -0500, Stephen Lord wrote: >>> >>>>How much memory is in the machine by the way? And Andrea, is the >>>>vmalloc space size reduced in the 3G user space configuration? >>> >>>it's not reduced, it's the usual 128m. >>> >>>BTW, I forgot to say that to really take advantage of CONFIG_2G one >>>should increase __VMALLOC_RESERVE too, it's not directly in function of >>>the CONFIG_2G. >>> >> >>So how much do you recommend increasing it? Currently it's: >>include/asm-i386/page.h:#define __VMALLOC_RESERVE (128 << 20) >>include/asm/page.h:#define __VMALLOC_RESERVE (128 << 20) > > > you can try to compile with CONFIG_3G and to set __VMALLOC_RESERVE to > (512 << 20) and see if it helps. If it only happens a bit later then > it's most probably an address space leak, should be easy to track down > some debugging instrumentation. I just produced this little patch for 2.5. It should provide a bit of the extra information that you were looking for. It adds some entries to /proc/meminfo that look like this: VMalTotal: 92123 kB VmalUsed: 1264 kB VMalChunk: 80315 kB Total available, total used, and largest chunk available. It is simple enough that a backport shouldn't be any problem at all. Anybody interested? -- Dave Hansen haveblue@us.ibm.com