Thread (37 messages) 37 messages, 4 authors, 2007-07-03

Re: [PATCH 0/9]: tcp-2.6 patchset

From: Baruch Even <hidden>
Date: 2007-05-27 14:04:31

* Ilpo J?rvinen [off-list ref] [070527 14:16]:
On Sun, 27 May 2007, David Miller wrote:
quoted
From: "Ilpo_J?rvinen" <redacted>
Date: Sun, 27 May 2007 10:58:27 +0300 (EEST)
quoted
While you're in the right context (reviewing patch 8), you could also
look if tcp_clean_rtx_queue does a right thing when passing a strange 
pkts_acked to congestion control modules. I wonder if it really should 
ignore GSO the way it does currently... I read some cc module code and 
some was adding it to snd_cwnd_cnt, etc. which is a strong indication 
that GSO should be considered... Also if the head is GSO skb that is not 
completely acked, the loop breaks with pkts_acked being zero, I doubt
that can be correct... 
[...snip...]
will likely take a look at these issues wrt. patch 8 tomorrow.
[...snip...]

Thus, my original question basically culminates in this: should cc
modules be passed number of packets acked or number of skbs acked?
...The latter makes no sense to me unless the value is intented to
be interpreted as number of timestamps acked or something along those 
lines. ...I briefly tried looking up for documentation for cc module 
interface but didn't find anything useful about this, and thus asked in 
the first place...
At least the htcp module that I wrote assumes that the number is actual
number of tcp packets so GSO should be considered.

The consequences of this bug are not too large but it does make all
congestion control algorithms a lot less aggressive. On my machines GSO
is disabled by default (e1000 at 100mbps & Tigon3 @ 1Gbps).

Cheers,
Baruch
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help