net: use socket_set_nodelay() for -netdev socket
Quoted 22 lines · Daniel P. Berrange
Quoted 13 lines · Stefan Hajnoczi
Quoted 12 lines · Daniel P. Berrange
Quoted 10 lines · Stefan Hajnoczi
Reduce -netdev socket latency by disabling the Nagle algorithm on
SOCK_STREAMsockets innet/socket.c. Since we are tunelling Ethernet over TCP we shouldn't artificially delay outgoing packets, let the guest decide packet scheduling.I already get sub-millisecond -netdev socket ping times on localhost, so there was no measurable difference in my testing. This won't hurt though and may improve remote socket performance.
Signed-off-by Stefan Hajnoczi <[email protected]>Quoted 7 lines
Quoted 3 lines
ACK.
Signed-off-by Daniel P. Berrange <[email protected]>Hi Dan,
QEMU usually only uses Singed-off-by: for authors and subsystem maintainers who merge the patch.
Quoted 7 lines
Ah, ok.
Quoted 3 lines
Is it okay if I add a Reviewed-by: Daniel P. Berrange <[email protected]> instead?
Of course.
Thanks, done.
Stefan