Re: CentOS 7 as a guest VM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Dec 3, 2019, at 12:20 PM, Jerry Geis <jerry.geis@xxxxxxxxx> wrote:
> 
> int flag = 1;
> if(setsockopt(fd, IPPROTO_TCP, TCP_NODELAY,  &flag, sizeof(flag)) < 0)

So first, I said “don’t do that,” and then you went and did that. :)

But second, I’m guessing you did this on the receiving side, where it has no effect under any conditions.  The Angle algorithm is about delaying the first packet on the sender’s side in anticipation of shortly receiving more data that can go in the same packet.

Additionally, Nagle’s algorithm only works when there’s unacknowledged data, not on the first packet out on a new conn.

Now that we’ve dispensed with Nagle, let’s get down to the actual issue.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux