Subject: Re: UBC, interactive performance, etc
To: None <eeh@netbsd.org>
From: Matthew Jacob <mjacob@feral.com>
List: tech-kern
Date: 04/03/2001 22:42:46
On 4 Apr 2001 eeh@netbsd.org wrote:

> 
> 	> Chuq's performance patch, as I understand it, tries to insure the system
> 	> retains a minimum number of pages of a specific type.  I prefer to try
> 	> something that tries to predict the likelyhood of reuse rather than put
> 	> restrictions on the number of pages of any particular type in use.
> 
> 	ok, what algorithm would you use to predict the likelihood of reuse?
> 	no one has tried to justify one algorithm or another on this basis so far.
> 
> That's a bit tough.  First, I would observe that in general, buffer cache
> pages that were just written to are unlikely to be used again soon.  Most 
> programs write something then move on.  But then someone else will bring
> up the temporary files between compiler stages to refute that.....

Don't try and solve it for temp files. They should be a pure MFS filesystem
anyway, where none of this should matter, or the compiler should be using
pipes between stages.