From owner-freebsd-hackers Tue Aug 4 17:41:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA29570 for freebsd-hackers-outgoing; Tue, 4 Aug 1998 17:41:41 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA29515 for ; Tue, 4 Aug 1998 17:41:20 -0700 (PDT) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id RAA06276; Tue, 4 Aug 1998 17:41:07 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp02.primenet.com, id smtpd006207; Tue Aug 4 17:40:56 1998 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id RAA26291; Tue, 4 Aug 1998 17:40:55 -0700 (MST) From: Terry Lambert Message-Id: <199808050040.RAA26291@usr02.primenet.com> Subject: Re: executables over NFS To: ben@rosengart.com Date: Wed, 5 Aug 1998 00:40:55 +0000 (GMT) Cc: hackers@FreeBSD.ORG In-Reply-To: from "Snob Art Genre" at Aug 4, 98 02:02:04 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Are executables loaded over NFS treated the same as local executables > with regard to paging? Specifically, do they use the remote file as > backing store, or local swap space? They are treated as local files -- that is, first page-in is from the vnode, and subsequently aggressively cached, including page-out to local swap store in preference to discard, so subsequent page-in is from local swap store. The fact that a downed NFS server and/or modifications of a file on the NFS server (because the server doesn't know it's being used as a swap store) are my biggest gripes against memory overcommit. I have long been a proponent of an NFS mount option that would result in non-overcommit behaviour, ie: copy the pages to local swap store and mark them as non-discardable if you are executing an image from that FS. This was also my biggest gripe with dataless SunOS and Solaris installations as well, FWIW. One server crash, and forty engineers are twiddling their thumbs... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message