Subject: Re: pipe performance
To: None <tech-kern@netbsd.org>
From: Allen Briggs <briggs@netbsd.org>
List: tech-kern
Date: 06/04/2007 14:40:55
On Mon, Jun 04, 2007 at 08:35:02PM +0200, Hubert Feyrer wrote:
> Emphasis on default - why not just bump the buffer from 1k to 64k and call 
> it good? I guess we'll have to add many options if we make any internal 
> buffer tunable...

Because the real change followed the pipe sysctl, which might
affect many things in the system.  We put page loaning in the
pipe code to help performance.  Obviously something has changed
for the worse--we should understand that.  It might make more
sense to mothball that option.

For the progress(1) change to allow different buffer sizes and
to default to 64k instead of 1k, see a post on tech-userlevel@.

Thanks,
-allen

-- 
Allen Briggs  |  http://www.ninthwonder.com/~briggs/  |  briggs@ninthwonder.com