qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] nbd: use TCP_NODELAY
@ 2013-04-15 14:14 Stefan Hajnoczi
  2013-04-15 14:14 ` [Qemu-devel] [PATCH 1/3] nbd: unlock mutex in nbd_co_send_request() error path Stefan Hajnoczi
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2013-04-15 14:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Paolo Bonzini, Stefan Hajnoczi, Nick Thomas

The nbd block driver should use TCP_NODELAY.  Nick Thomas <nick@bytemark.co.uk>
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(-)

-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Qemu-devel] [PULL 0/3] NBD changes for 2013-04-19
@ 2013-04-19 14:30 Paolo Bonzini
  2013-04-19 14:30 ` [Qemu-devel] [PATCH 3/3] nbd: set TCP_NODELAY Paolo Bonzini
  0 siblings, 1 reply; 7+ messages in thread
From: Paolo Bonzini @ 2013-04-19 14:30 UTC (permalink / raw)
  To: qemu-devel; +Cc: stefanha

The following changes since commit e2ec3f976803b360c70d9ae2ba13852fa5d11665:

  qjson: to_json() case QTYPE_QSTRING is buggy, rewrite (2013-04-13 19:40:25 +0000)

are available in the git repository at:

  git://github.com/bonzini/qemu.git nbd-next

for you to fetch changes up to 97ebbab0e324831dff47dbfa4bed55808cb3ec74:

  nbd: set TCP_NODELAY (2013-04-15 16:35:17 +0200)

----------------------------------------------------------------
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(-)
-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-04-19 14:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15 14:14 [Qemu-devel] [PATCH 0/3] nbd: use TCP_NODELAY Stefan Hajnoczi
2013-04-15 14:14 ` [Qemu-devel] [PATCH 1/3] nbd: unlock mutex in nbd_co_send_request() error path Stefan Hajnoczi
2013-04-15 14:14 ` [Qemu-devel] [PATCH 2/3] nbd: use TCP_CORK in nbd_co_send_request() Stefan Hajnoczi
2013-04-15 14:14 ` [Qemu-devel] [PATCH 3/3] nbd: set TCP_NODELAY Stefan Hajnoczi
2013-04-15 14:28 ` [Qemu-devel] [PATCH 0/3] nbd: use TCP_NODELAY Nicholas Thomas
2013-04-15 14:33 ` Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2013-04-19 14:30 [Qemu-devel] [PULL 0/3] NBD changes for 2013-04-19 Paolo Bonzini
2013-04-19 14:30 ` [Qemu-devel] [PATCH 3/3] nbd: set TCP_NODELAY Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).