Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2000 06:10:27 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        "Scott Hess" <scott@avantgo.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Performance issue with rfork() and single socketpairs versus multiple socketpairs. 
Message-ID:  <20000124221027.77F651CD4@overcee.netplex.com.au>
In-Reply-To: Message from "Scott Hess" <scott@avantgo.com>  of "Mon, 24 Jan 2000 10:11:03 PST." <01b601bf6696$60701930$1e80000a@avantgo.com> 

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.

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?20000124221027.77F651CD4>