Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/fs/puffs



YAMAMOTO Takashi <yamt%mwd.biglobe.ne.jp@localhost> wrote:

> > Sure ioflush do not directly free memory, but vnodes' dirty page use
> > memory, don't they? If ioflush stops working, is pageadaemon able to
> > pageout that kind of memory? 
> pagedaemon flushes dirty pages by itself, yes.

So this is not a problem to get ioflush traped forever awaiting for a
VOP_FSYNC completion? There must be some drawback, otherwise ioflush
would be useless.

> a possible solution would be local page recycling.  ie. reserve some pages
> and put them onto a page queue dedicated for a given set of processes
> so that pages can be recycled in the set independently from the global queue.

But we do not know how much memory the userland fileserver is going to
require. We can have some reserves, but we must be ready to kill pigs if
too much memory is retained by the fileserver. HEAD does it, but
netbsd-5 prefers to hang.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index