From owner-freebsd-questions Sun Dec 9 18:45:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.atkielski.com (ASt-Lambert-101-2-1-14.abo.wanadoo.fr [193.251.59.14]) by hub.freebsd.org (Postfix) with ESMTP id 2F13A37B416 for ; Sun, 9 Dec 2001 18:45:20 -0800 (PST) Received: from contactdish (contactdish.atkielski.com [10.0.0.10]) by freebie.atkielski.com (8.11.3/8.11.3) with SMTP id fBA2ikx26242; Mon, 10 Dec 2001 03:44:47 +0100 (CET) (envelope-from anthony@freebie.atkielski.com) Message-ID: <00c001c18124$a1f77740$0a00000a@atkielski.com> From: "Anthony Atkielski" To: "Bill Moran" Cc: "FreeBSD Questions" References: <00ac01c1811a$cb534790$0a00000a@atkielski.com> <3C1418D2.4010209@potentialtech.com> Subject: Re: Diminishing free memory in top Date: Mon, 10 Dec 2001 03:44:46 +0100 Organization: Anthony's Home Page (development site) MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bill writes: > If a process is restarted that exists in the > inactive memory pool, it can start very quickly > because most or all of its data is already > in memory, and the system just converts the > inactive pages to active pages. When you say "all of its data," do you mean executable code in memory, or buffered data from a disk file? Does FreeBSD keep track of actual pages of executable code for a specific program even across executions of that program? If program X runs and then terminates, how does FreeBSD know some or all of the pages it used can be reused for a subsequent invocation of program X? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message