From owner-freebsd-hackers Thu Aug 8 07:36:07 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA10932 for hackers-outgoing; Thu, 8 Aug 1996 07:36:07 -0700 (PDT) Received: from terra.Sarnoff.COM (terra.sarnoff.com [130.33.11.203]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA10923 for ; Thu, 8 Aug 1996 07:36:04 -0700 (PDT) Received: (from rminnich@localhost) by terra.Sarnoff.COM (8.6.12/8.6.12) id KAA24959; Thu, 8 Aug 1996 10:35:33 -0400 Date: Thu, 8 Aug 1996 10:35:32 -0400 (EDT) From: "Ron G. Minnich" X-Sender: rminnich@terra To: FreeBSD hackers Subject: Re: mmap and NFS In-Reply-To: <199608080702.JAA16790@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 8 Aug 1996, J Wunsch wrote: > As Fred Gilham wrote: > > One of the users I support has written a program that uses mmap and > > two communicating processes. When he tries to mmap files on NFS > > mounted partitions, [...] > ``Stay away from mmap() on NFS!'' [John Dyson] Yup, this is true. See the URL below for a pointer to a paper on how you can make mmap'ed files for NFS work by modifying NFS in a few simple ways. I had this working on 2.05R, but the changes are it seems too far-reaching to get plugged into the freebsd tree (or the linux or netbsd tree for that matter). Not lots of lines of code, but some lines of thought. Anyway, some of you might find it of interest. ron p.s. note that it's an FTP: not an HTTP:. :-(. Don't ask. Ron Minnich |"If you leave out all the killings, D.C. has as rminnich@sarnoff.com | low a crime rate as many cities" -- (609)-734-3120 | D.C. Mayor Marion Barry ftp://ftp.sarnoff.com/pub/mnfs/www/docs/cluster.html