Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2000 15:09:49 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Brian Somers <brian@Awfulhak.org>
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:  <20000125070949.752381C03@overcee.netplex.com.au>
In-Reply-To: Message from Brian Somers <brian@Awfulhak.org>  of "Tue, 25 Jan 2000 01:24:09 GMT." <200001250124.BAA36765@hak.lan.Awfulhak.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Somers wrote:
> > "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 :-()

Neither is rfork()...

Cheers,
-Peter




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?20000125070949.752381C03>