bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

memory usage


From: Samuel Thibault
Subject: memory usage
Date: Mon, 6 Aug 2007 20:45:54 +0200
User-agent: Mutt/1.5.12-2006-07-14

I've ported xosview to GNU/Hurd and had a look during a gcc compilation:
approximately only half the memory is used.  I had a look at
vm/vm_pageout.c and noticed:

/*      When vm_page_external_count exceeds vm_page_external_limit, 
 *      allocations of externally paged pages stops.
 */

#ifndef VM_PAGE_EXTERNAL_LIMIT
#define VM_PAGE_EXTERNAL_LIMIT(free)            ((free) / 2)
#endif  /* VM_PAGE_EXTERNAL_LIMIT */

Does Mach really need half the memory just for itself? I'd say most
memory is for user space: libraries, pictures, ... This limit probably
needs tuning (or even disabled), at least in Debian.

Samuel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]