Darrin B.Jewell
2006-09-14 17:34:42 UTC
A while ago, I encountered a bug where I could get tcp to slow down
because it couldn't get acks on the wire. I tracked this down to
mycroft's original fix to avoid sending more than half a buffer full.
The fix is to never send more than (hiwat - lowat + 1)/2 instead of
mycroft's fix of just hiwat/2. I've had a patch in my tree for some
time, but haven't had the time to write up a simplified test case
demonstrating the problem.
Does the following patch look correct?
Thanks,
Darrin
because it couldn't get acks on the wire. I tracked this down to
mycroft's original fix to avoid sending more than half a buffer full.
The fix is to never send more than (hiwat - lowat + 1)/2 instead of
mycroft's fix of just hiwat/2. I've had a patch in my tree for some
time, but haven't had the time to write up a simplified test case
demonstrating the problem.
Does the following patch look correct?
Thanks,
Darrin