Re: [PATCH for-8.0] nbd/server: Request TCP_NODELAY

2023-03-27 Thread Eric Blake
On Tue, Mar 28, 2023 at 12:42:59AM +0200, Florian Westphal wrote: > Eric Blake wrote: > > Nagle's algorithm adds latency in order to reduce network packet > > overhead on small packets. But when we are already using corking to > > merge smaller packets into transactional requests, the extra delay

Re: [PATCH for-8.0] nbd/server: Request TCP_NODELAY

2023-03-27 Thread Florian Westphal
Eric Blake wrote: > Nagle's algorithm adds latency in order to reduce network packet > overhead on small packets. But when we are already using corking to > merge smaller packets into transactional requests, the extra delay > from TCP defaults just gets in the way. > > For reference, qemu as an

[PATCH for-8.0] nbd/server: Request TCP_NODELAY

2023-03-27 Thread Eric Blake
Nagle's algorithm adds latency in order to reduce network packet overhead on small packets. But when we are already using corking to merge smaller packets into transactional requests, the extra delay from TCP defaults just gets in the way. For reference, qemu as an NBD client already requests TCP