Date: Mon, 26 Sep 2005 19:39:28 -0500 From: Craig Boston <craig@feniz.gank.org> To: Brandon Fosdick <bfoz@terrandev.com> Cc: freebsd-stable@freebsd.org Subject: Re: Jail to jail network performance? Message-ID: <20050927003928.GA4800@nowhere> In-Reply-To: <433846BF.2090308@terrandev.com> References: <432753CF.6020001@bfoz.net> <433846BF.2090308@terrandev.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 26, 2005 at 12:06:39PM -0700, Brandon Fosdick wrote: > Ideally I would like a daemon like socat that can connect/merge two > sockets into one, effectively creating a direct connection and > eliminating a copy. But AFAICT that isn't possible with the current > interface. It depends how dirty you want your hands to get. Such a thing can be achieved. Not so much the merging, but it is possible to pass a file descriptor over a UNIX domain socket, so in theory a small daemon which was able to access both file systems should be able to do a handoff. It would likely mean modifying the MySQL client library, however. See the sendmsg(2) and recvmsg(2) functions, specifically the SOL_SOCKET flag in the recvmsg man page. Craig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050927003928.GA4800>