lkml.org 
[lkml]   [2002]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: PPP feature request (Tx queue len + close)
Jean Tourrilhes writes:

> IrTTP is another problem. If I were to use TCP instead of
> IrTTP, would you still ask me to reduce the window size of TCP ? Let's

Yes, absolutely. :) It just takes an ioctl to do that for TCP.

> try to be fair...
> I'm taking the approach that every little thing helps. There
> is a trivial win in PPP, and I would be stupid to not exploit it.

Given that the default queue length is only 3 packets for PPP, it
seems to me to be a very minor win. I don't think we could reduce it
below 1 packet, and I'm not sure whether that would have other
negative consequences. This is one reason why I asked if you had
tried it.

> I must have missed this option. I'll look again in the pppd
> man page. That may be good enough...

It doesn't exist at the moment, but it would be easy enough to add
it. In the short term, you could even add an ifconfig to your
/etc/ppp/ip-up script to set the transmit queue length there.

> > Could you produce some numbers showing better throughput, fewer
> > retransmissions, or whatever, with a smaller transmit queue length?
>
> Don't have number, but I don't need number to know that.

Your case for wanting something done will be so much stronger if you
show that there is a measurable benefit as opposed to just a gut
feeling. :)

My gut feeling is that the transmit queue length is already about as
short as we want it, and that if we make it any shorter then we will
start dropping a lot of packets at the transmit queue, and lose
performance because of that. But I could be wrong - any networking
gurus care to comment?

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:21    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site