Date: Tue, 25 Jan 2000 01:24:09 +0000 From: Brian Somers <brian@Awfulhak.org> To: Peter Wemm <peter@netplex.com.au> Cc: "Scott Hess" <scott@avantgo.com>, freebsd-hackers@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: Performance issue with rfork() and single socketpairs versus multiple socketpairs. Message-ID: <200001250124.BAA36765@hak.lan.Awfulhak.org> In-Reply-To: Message from Peter Wemm <peter@netplex.com.au> of "Tue, 25 Jan 2000 06:10:27 %2B0800." <20000124221027.77F651CD4@overcee.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> "Scott Hess" wrote:
>
> > I've found an odd performance issue that I cannot explain. I'm using
> > socketpairs to communicate with multiple rfork(RFPROC) processes.
>
> Use 'pipe(2)' rahter than 'socketpair(2)' as both are bidirectional and
> pipe is a LOT faster.
Although pipe(2)'s bi-directional capabilities are not standard (I've
been stung by this in the past :-()
> Cheers,
> -Peter
--
Brian <brian@Awfulhak.org> <brian@FreeBSD.org>
<http://www.Awfulhak.org> <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001250124.BAA36765>
