commit | 97ebbab0e324831dff47dbfa4bed55808cb3ec74 | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Mon Apr 15 16:14:48 2013 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Apr 15 16:35:17 2013 +0200 |
tree | ad5c8fa8650ae79a6b92eb09e50aa5ac6062fa79 | |
parent | 0fcece25c0b1b79b39d1dff5c2c55b88feae7eef [diff] |
nbd: set TCP_NODELAY Disable the Nagle algorithm to reduce latency. Note this means we must also use TCP_CORK when sending header followed by payload to avoid fragmenting lots of little packets. The previous patch took care of that. Suggested-by: Nick Thomas <nick@bytemark.co.uk> Tested-by: Nick Thomas <nick@bytemark.co.uk> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>