[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/3] nbd: use TCP_NODELAY
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 0/3] nbd: use TCP_NODELAY |
Date: |
Mon, 15 Apr 2013 16:33:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
Il 15/04/2013 16:14, Stefan Hajnoczi ha scritto:
> The nbd block driver should use TCP_NODELAY. Nick Thomas <address@hidden>
> measured a 40 millisecond latency added by the Naggle algorithm.
>
> This series turns on TCP_NODELAY. This requires that we use TCP_CORK to
> efficiently send NBD requests that contain a payload after the header.
>
> Finally, fix a bug where we forget to unlock a mutex when sending fails.
>
> Stefan Hajnoczi (3):
> nbd: unlock mutex in nbd_co_send_request() error path
> nbd: use TCP_CORK in nbd_co_send_request()
> nbd: set TCP_NODELAY
>
> block/nbd.c | 25 +++++++++++++++++++------
> 1 file changed, 19 insertions(+), 6 deletions(-)
>
Thanks, applied all to nbd-next.
I also marked patch 1 for stable branches.
Paolo