|
|
|
|
|
by Flowdalic
1268 days ago
|
|
The problem does not seem to be that TCP_NODELAY is on, but that the packets are sent carry only 50 bytes of payload. If you send a large file, then I would expect that you invoke send() with page-sized buffers. This should give the TCP stack enough opportunity to fill the packets with an reasonable amount of payload, even in the absence of Nagel's algorithm. Or am I missing something? |
|
Disabling Nagle's algorithm should be trading network usage for latency. But it shouldn't reduce throughput.