kernel_optimize_test/net/dccp
Ian McDonald 4b79f0af48 [DCCP]: Fix default sequence window size
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>
2006-07-24 12:44:21 -07:00
..
ccids Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ackvec.c [DCCP] Ackvec: fix soft lockup in ackvec handling code 2006-06-11 21:08:03 -07:00
ackvec.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ccid.c [DCCP] CCID: Improve CCID infrastructure 2006-03-20 19:21:44 -08:00
ccid.h [DCCP] options: Make dccp_insert_options & friends yell on error 2006-03-20 22:32:06 -08:00
dccp.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
diag.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
feat.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
feat.h [DCCP]: Fix default sequence window size 2006-07-24 12:44:21 -07:00
input.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ipv4.c [DCCP]: Fix default sequence window size 2006-07-24 12:44:21 -07:00
ipv6.c [DCCP]: Fix default sequence window size 2006-07-24 12:44:21 -07:00
ipv6.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig [PATCH] clean up default value of IP_DCCP_ACKVEC 2006-06-23 07:43:04 -07:00
Makefile [DCCP]: Move the IPv4 specific bits from proto.c to ipv4.c 2006-03-20 21:25:11 -08:00
minisocks.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
options.c [DCCP]: Fix default sequence window size 2006-07-24 12:44:21 -07:00
output.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
proto.c [DCCP]: Fix sparse warnings. 2006-07-10 14:50:37 -07:00
sysctl.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
timer.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00