Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 1995 13:33:14 -0700
From:      David Greenman <davidg@Root.COM>
To:        Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: freebsd and memory 
Message-ID:  <199506202033.NAA02393@corbin.Root.COM>
In-Reply-To: Your message of "Mon, 19 Jun 95 20:16:09 %2B0200." <9506191816.AA04427@sirius.physik.fu-berlin.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
>* is FreeBSD using demand paging for it's shared libs - i don't think (i can

   Yes, FreeBSD uses demand paging for all mapped file operations. This
includes shared libraries as well as regular binaries. The main reason that
Linux uses less memory is that they go to great lengths to order the routines
in the shared libraries to reduce the sparseness of accesses for typical
programs. This results in fewer page faults and less memory consumption when
a small set of of programs are involved.
   Another difference is the Linux filesystem. It plays much more "fast and
loose" with the updates of metadata which makes it much faster at file
creations and deletions, but also makes it more suseptable to severe filesystem
corruption if the system should crash.

-DG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506202033.NAA02393>