Subject: Re: Building an alternate backing store.
To: gabriel rosenkoetter <gr@eclipsed.net>
From: David Brownlee <abs@netbsd.org>
List: tech-kern
Date: 07/14/2000 16:26:39
On Fri, 14 Jul 2000, gabriel rosenkoetter wrote:
> On Fri, Jul 14, 2000 at 09:10:30PM +1000, Darren Reed wrote:
> > In some email I received from Roger Brooks, sie wrote:
> > > Surely this is not too different with what happens when a system is
> > > booted diskless with an NFS-mounted swap file?
> >
> > In addition to that, how about this:
> > - create a swap file on your networked host
> > - mmap it in
> > - mlock that memory in
> > - export that file via nfs as a swap file
> >
> > or will that not do what I expect ?
>
> The points you're both missing is that if NFS is used at any time a)
> you have NFS latency (noticeable), and b) you're STILL writing to
> disk, just not the local one (mlock'ed, mmap'ed swap is an interesting
> approach, but a touch clumsy, IMHO, in its scaleability).
>
> I want neither of those.
>
It would however provide an opportunity to easily obtain some
performance numbers, and a comparison point for when you
implemented your own network pager...
David/absolute
-- www.netbsd.org: A pmap for every occasion --