Date: Wed, 21 Jun 1995 18:59:43 +1596657 (MET DST) From: Wilko Bulte <wilko@yedi.iaf.nl> To: davidg@root.com Cc: graichen@sirius.physik.fu-berlin.de, freebsd-hackers@freebsd.org Subject: Re: freebsd and memory Message-ID: <199506211659.SAA03739@yedi.iaf.nl> In-Reply-To: <199506202033.NAA02393@corbin.Root.COM> from "David Greenman" at Jun 20, 95 01:33:14 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. It might be interesting to know that at least AT&T V3.2 used the same approach (i.e. reordering) on the shared libs. This had me stumped for a while when I first saw it (years ago) but on second thoughts it might pay off. WB _ __________________________________________________________________________ | / o / / _ Wilko Bulte email: wilko@yedi.iaf.nl |/|/ / / /( (_) Private FreeBSD site - Arnhem - The Netherlands --------------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506211659.SAA03739>