Date: Tue, 26 Oct 1999 10:55:33 -0700 (PDT) From: Alfred Perlstein <bright@wintelcom.net> To: J McKitrick <jcm@dogma.freebsd-uk.eu.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: technical question about process loading Message-ID: <Pine.BSF.4.05.9910261051220.12797-100000@fw.wintelcom.net> In-Reply-To: <Pine.BSF.4.02A.9910261523550.81010-100000@dogma.freebsd-uk.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Oct 1999, J McKitrick wrote: > I understand the basic concept of demand paging, but does FBSD do this > from the beginning, from the time the file is loaded? Meaning, it really > does not load anything but the minimum of the binary into memory, and then > the rest as it needs it? Afaik, FreeBSD actually pre-pages in a small portion of the file, if you simply demand page the entire file right after startup you generate many page faults, handling pagefaults is fast is FreeBSD, however to avoid this a small portion will be preloaded. Mr McKitrick, you seem interested in a lot of the low level operation of FreeBSD, there are several books, some specific to *BSD and some for unix in general that describe the issues you are asking about: "The Design and Implementation of the 4.4BSD Operating System" "Unix Internals, the new frontiers" "UNIX Systems for Modern Architechtures" enjoy, -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9910261051220.12797-100000>