News for hackers. Stuff that matters.
Re:40 Milliseconds of latency that just would not go away by punnerud on Friday October 16, 2020 @03:28AM (#24798472)
From John Nagle:

"(..) Unfortunately, delayed ACKs went in after I got out of networking in 1986, and this was never fixed. Now it's too late."

https://stackoverflow.com/a/16663206/2326672

Re:40 Milliseconds of latency that just would not go away by oefrha on Friday October 16, 2020 @03:41AM (#24798550)
See also this thread straight from the horse’s mouth, with some additional technical considerations: https://news.ycombinator.com/item?id=9048947
Re:40 Milliseconds of latency that just would not go away by mercer on Friday October 16, 2020 @07:51AM (#24799858)
Ha, I've been here for years and never knew that Animats was John Nagle. cool!
Re:40 Milliseconds of latency that just would not go away by ignoramous on Friday October 16, 2020 @07:22AM (#24799652)
See also another amusing exchange: https://news.ycombinator.com/item?id=21088736
Re:40 Milliseconds of latency that just would not go away by punnerud on Friday October 16, 2020 @03:55AM (#24798627)
Not topic related, but John’s transfer from networking to Autodesk got me interested. I don’t immediately see the good connection between the two, when they where a startup.

Would love to see a blog post from John Nagel on this, now that we know the outcome of Autodesk.

(I see he is active on HN almost every day)

Re:40 Milliseconds of latency that just would not go away by JdeBP on Friday October 16, 2020 @09:55AM (#24800827)
The Stack Overflow answer was "straight from the horse's mouth" too, doubters here at https://news.ycombinator.com/item?id=24799256 notwithstanding. (-:
Re:40 Milliseconds of latency that just would not go away by pedrocr on Friday October 16, 2020 @04:25AM (#24798784)
So the kernel is using a static decision that's really bad sometimes? Would it be too expensive to treat this like a branch predictor and keep some state to have the kernel enable/disable the delayed ACK dynamically depending on how it has won/lost the bet recently?
Re:40 Milliseconds of latency that just would not go away by eru on Friday October 16, 2020 @05:22AM (#24799062)
I think that what John Nagle's answers was suggesting:

> A delayed ACK is a bet. The TCP implementation is betting that data will be sent shortly and will make it unnecessary to send a lone ACK. Every time a delayed ACK is actually sent, that bet was lost. The TCP spec allows an implementation to lose that bet every time without turning off delayed ACKs. Properly, delayed ACKs should only turn on when a few unnecessary ACKs that could have been piggybacked have been sent in a row, and any time a delayed ACK is actually sent, delayed ACKs should be turned off again. There should have been a counter for this.

Re:40 Milliseconds of latency that just would not go away by pedrocr on Friday October 16, 2020 @06:39AM (#24799446)
Yes, that's the suggested fix. My question is if treating this like a CPU branch predictor and keeping some state that needs to be updated is too expensive or not. The packet pipeline is very performance sensitive.
Re:40 Milliseconds of latency that just would not go away by Flowdalic on Friday October 16, 2020 @05:57AM (#24799256)
I wouldn't be sure that this is authentic, i.e. actually from John Nagle.
Re:40 Milliseconds of latency that just would not go away by JdeBP on Friday October 16, 2020 @10:05AM (#24800918)
It is amusing that you doubt that "John Nagle" on Stack Overflow is M. Nagle, but don't express any doubt that "Animats" here on this WWW site, and indeed this very discussion, is M. Nagle. Surely the reverse stance is the more logical, if one has no idea what "Animats" is.

It is odd that some people give more credence to a pseudonym, or in this case a company name, than to using one's own name.

Re:40 Milliseconds of latency that just would not go away by perl4ever on Friday October 16, 2020 @12:00PM (#24802101)
Among people who would pretend to be a given well known person, surely more of them know that person's real name than something that would make a plausible pseudonym. Or in any case, more of them would choose it.

And if someone thinks a pseudonym is a particular famous person, they must have a reason, which is unlikely to be weaker than just assuming a normal name is accurate.

I'm not up to doing a Bayesian analysis right now, but I feel like one could show it makes more sense to doubt an unverified name.