Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2005 15:17:57 +1000
From:      "David J. Hughes" <bambi@Hughes.com.au>
To:        Uwe Doering <gemini@geminix.org>
Cc:        Brandon Fosdick <bfoz@bfoz.net>, freebsd-stable@freebsd.org
Subject:   Re: Jail to jail network performance?
Message-ID:  <e38a4f1b6d433ba30f6d8773b94a9e58@Hughes.com.au>
In-Reply-To: <4327CA3C.6050403@geminix.org>
References:  <432753CF.6020001@bfoz.net> <4327CA3C.6050403@geminix.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On 14/09/2005, at 4:59 PM, Uwe Doering wrote:
>  So in case of MySQL you would have to use TCP sockets to communicate 
> between jails.  This socket type typically consumes more CPU because 
> of TCP's protocol overhead.  However, whether you would actually 
> notice any difference in speed basically depends on how much excess 
> CPU power there is available on that server.

The result of running these sort of connections over TCP rather than a 
UNIX domain connection are far more dramatic than this would indicate.  
When I wrote mSQL and added UNIX domain sockets as a connection option 
I was able to produce a 10 fold increase in query processing rates for 
basic queries.  If there's a high and constant rate of queries then 
doing it over a TCP connection is not going to win you any friends.


David
...




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e38a4f1b6d433ba30f6d8773b94a9e58>