From owner-freebsd-hackers Tue Aug 4 21:59:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA09294 for freebsd-hackers-outgoing; Tue, 4 Aug 1998 21:59:16 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA09277 for ; Tue, 4 Aug 1998 21:59:11 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id VAA07690; Tue, 4 Aug 1998 21:56:00 -0700 (PDT) Message-Id: <199808050456.VAA07690@implode.root.com> To: Terry Lambert cc: ben@rosengart.com, hackers@FreeBSD.ORG Subject: Re: executables over NFS In-reply-to: Your message of "Wed, 05 Aug 1998 00:40:55 -0000." <199808050040.RAA26291@usr02.primenet.com> From: David Greenman Reply-To: dg@root.com Date: Tue, 04 Aug 1998 21:56:00 -0700 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. That is not true. In no case will vnode-backed pages be paged out to swap. The only case where VM could start out as vnode backed and end up in swap is after a COW, in which case a swap-backed page is created. This behavior is not modified by the underlying file system type. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message