[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] unix sockets for qemu
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] unix sockets for qemu |
Date: |
Tue, 26 Feb 2013 17:31:04 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Feb 25, 2013 at 07:02:30PM -0600, address@hidden wrote:
> The associated file contains a README that will guide you through the
> experiment that shows the difference between unix socket carried pings:
> 0.7ms and inet carried pings: 40ms!!!
There is no fundamental reason for inet sockets to have a 40 millisecond
round-trip time on localhost. I remember from years ago that Solaris
"fuses" localhost inet sockets and bypasses TCP for them.
Adding a call to socket_set_nodelay() net/socket.c might help.
But I think there is something else broken here.
Please submit the UNIX domain sockets patch according to the guidelines
at http://wiki.qemu.org/Contribute/SubmitAPatch.
Stefan