lkml.org 
[lkml]   [1998]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: bug in 2.1.89 include/net/sock.h?
Date
Hello!

> Can you remind me, what magic we used to perform in 2.0.x to help
> these people? ;-)))

2.0 had several advantages, which helped only a bit:

- it never retransmitted if packet did not leave the host yet,
but was sitting in device queue.
- it removed all the packets from device queues, when user
was tired to wait for result.

But it did not make any device based flow control yet.

I invented one solution: to create sk->congestion_notify
callback, and to set it for tcp to normal VJ { ss=cwnd/2; cwnd=1; }
and for dgrams to nothing. So that, when device is conjested,
it calls this callback, but does not drop packet, until a second
threshold (2*tx_queue_len?) is exceeded or until sk->ssthesh != 1.
Yesterday it looked very clever :-)

BTW about the problem under discussion: 2.0 did not make wake up,
when packet was sitting in tcp queue.

Alexey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.038 / U:1.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site