Revision 4b79f0af48d529a360d3529def01835dc5d45fe1 authored by Ian McDonald on 24 July 2006, 06:33:28 UTC, committed by David S. Miller on 24 July 2006, 19:44:21 UTC
When using the default sequence window size (100) I got the following in my logs: Jun 22 14:24:09 localhost kernel: [ 1492.114775] DCCP: Step 6 failed for DATA packet, (LSWL(6279674225) <= P.seqno(6279674749) <= S.SWH(6279674324)) and (P.ackno doesn't exist or LAWL(18798206530) <= P.ackno(1125899906842620) <= S.AWH(18798206548), sending SYNC... Jun 22 14:24:09 localhost kernel: [ 1492.115147] DCCP: Step 6 failed for DATA packet, (LSWL(6279674225) <= P.seqno(6279674750) <= S.SWH(6279674324)) and (P.ackno doesn't exist or LAWL(18798206530) <= P.ackno(1125899906842620) <= S.AWH(18798206549), sending SYNC... I went to alter the default sysctl and it didn't take for new sockets. Below patch fixes this. I think the default is too low but it is what the DCCP spec specifies. As a side effect of this my rx speed using iperf goes from about 2.8 Mbits/sec to 3.5. This is still far too slow but it is a step in the right direction. Compile tested only for IPv6 but not particularly complex change. Signed off by: Ian McDonald <ian.mcdonald@jandi.co.nz> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8fdf679
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 237 bytes |
compat.c | -rw-r--r-- | 17.3 KB |
compat_mq.c | -rw-r--r-- | 4.0 KB |
mqueue.c | -rw-r--r-- | 29.8 KB |
msg.c | -rw-r--r-- | 18.6 KB |
msgutil.c | -rw-r--r-- | 2.4 KB |
sem.c | -rw-r--r-- | 33.2 KB |
shm.c | -rw-r--r-- | 21.6 KB |
util.c | -rw-r--r-- | 17.0 KB |
util.h | -rw-r--r-- | 2.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...