Subject: Re: NEW_PIPE stabilized
To: =?iso-8859-1?Q?Jarom=EDr_Dolecek?= <email@example.com>
From: Alistair Crooks <firstname.lastname@example.org>
Date: 09/26/2001 11:14:32
On Tue, Sep 25, 2001 at 10:58:26PM +0200, Jaromír Dolecek wrote:
> the new pipe implementation (which is much faster as well as more
> kernel memory friendly) has been stabilized considerably recently.
> It's likely it would become the default pipe implementation
> instead current socketpair()-based ones soon.
> If possible, please try out the new pipe implementation on your
> system. I'd be particularily interested on how well it's working
> on systems with big page size, like 16KB or more (IIRC such are on
> walnut and arm26). Please send-pr any encountered problems - your
> feedback is extremely important to make sure the code would
> not become default before it's time (and that remaining bugs
> would be found and fixed).
> You'd need most up-to-date 1.5Y kernel, with sys/kern/sys_pipe.c
> revision 1.14 or later. If you haven't already, switch to
> new pipe implementation by including this kernel option
> to your kernel config:
> options NEW_PIPE
> then configure and recompile the kernel.
> Hopefully you'd note performance improvement :) If you want
> to benchmark, I found e.g. hbench-OS's bw_pipe useful. Note
> you'd need at least hbench-OS-1.0nb1 from pkgsrc - there was
> a bug in way it handled pipe descriptors, which could
> make hbench deadlock under some circumstances. hbench-OS-1.0nb1
> includes a fix for this.
> Jaromir Dolecek <jdolecek@NetBSD.org> http://www.ics.muni.cz/~dolecek/
> NetBSD - just plain best OS! -=*=- Got spare MCA cards or docs? Hand me them!
Good news, Jaromir.
Could you add "#options \tNEW_PIPE" to the relevant GENERIC kernel
configs (i.e. all of them), please?