Re: Re: Re: Re: Re: Re: Re: limited network bandwidth with 3.2.x kernels

Eric Dumazet
2012-02-15T13:53:19Z

Le mercredi 15 février 2012 à 14:49 +0100, Eric Dumazet a écrit :

>
> Unfortunately remote server doesnt negotiate ECN (we dont see E flag in
> the SYNACK frame)
>
> Try to find another one, and check SYNACK looks like : Flags [S.E]
>
>

If you find one, please add -v option to tcpdump so that we can see
ECT(0) code points in traces:

# tcpdump -p -n -s 0 -v -i eth3 host 192.168.20.110 -c 100
tcpdump: listening on eth3, link-type EN10MB (Ethernet), capture size 65535 bytes
14:52:05.859079 IP (tos 0x0, ttl 64, id 56260, offset 0, flags [DF], proto TCP (6), length 60)
192.168.20.110.47146 > 192.168.20.108.12865: Flags [SEW], cksum 0xdb99 (correct), seq 3163559948, win 14600, options [mss 1460,sackOK,TS val 94487496 ecr 0,nop,wscale 8], length 0
14:52:05.859092 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
192.168.20.108.12865 > 192.168.20.110.47146: Flags [S.E], cksum 0xaa59 (incorrect -> 0x8fae), seq 3902753423, ack 3163559949, win 14480, options [mss 1460,sackOK,TS val 79566055 ecr 94487496,nop,wscale 6], length 0
14:52:05.859172 IP (tos 0x0, ttl 64, id 56261, offset 0, flags [DF], proto TCP (6), length 52)
192.168.20.110.47146 > 192.168.20.108.12865: Flags [.], cksum 0xf70f (correct), ack 1, win 58, options [nop,nop,TS val 94487496 ecr 79566055], length 0
14:52:05.859218 IP (tos 0x2,ECT(0), ttl 64, id 56262, offset 0, flags [DF], proto TCP (6), length 708)
192.168.20.110.47146 > 192.168.20.108.12865: Flags [P.], cksum 0xf21f (correct), seq 1:657, ack 1, win 58, options [nop,nop,TS val 94487496 ecr 79566055], length 656
14:52:05.859379 IP (tos 0x0, ttl 64, id 24183, offset 0, flags [DF], proto TCP (6), length 52)
192.168.20.108.12865 > 192.168.20.110.47146: Flags [.], cksum 0xaa51 (incorrect -> 0xf3c2), ack 657, win 247, options [nop,nop,TS val 79566055 ecr 94487496], length 0
14:52:05.859414 IP (tos 0x2,ECT(0), ttl 64, id 24184, offset 0, flags [DF], proto TCP (6), length 708)
192.168.20.108.12865 > 192.168.20.110.47146: Flags [P.], cksum 0xace1 (incorrect -> 0x0527), seq 1:657, ack 657, win 247, options [nop,nop,TS val 79566055 ecr 94487496], length 656
14:52:05.859519 IP (tos 0x0, ttl 64, id 56263, offset 0, flags [DF], proto TCP (6), length 52)
192.168.20.110.47146 > 192.168.20.108.12865: Flags [.], cksum 0xf1e9 (correct), ack 657, win 63, options [nop,nop,TS val 94487497 ecr 79566055], length 0
14:52:05.859890 IP (tos 0x2,ECT(0), ttl 64, id 56264, offset 0, flags [DF], proto TCP (6), length 708)
192.168.20.110.47146 > 192.168.20.108.12865: Flags [P.], cksum 0x6b99 (correct), seq 657:1313, ack 657, win 63, options [nop,nop,TS val 94487497 ecr 79566055], length 656
14:52:05.864923 IP (tos 0x2,ECT(0), ttl 64, id 24185, offset 0, flags [DF], proto TCP (6), length 708)
192.168.20.108.12865 > 192.168.20.110.47146: Flags [P.], cksum 0xace1 (incorrect -> 0x6a91), seq 657:1313, ack 1313, win 268, options [nop,nop,TS val 79566060 ecr 94487497], length 656
14:52:05.865046 IP (tos 0x0, ttl 64, id 56385, offset 0, flags [DF], proto TCP (6), length 60)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [SEW], cksum 0x3a0a (correct), seq 4121763727, win 14600, options [mss 1460,sackOK,TS val 94487502 ecr 0,nop,wscale 8], length 0
14:52:05.865053 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
192.168.20.108.51265 > 192.168.20.110.33555: Flags [S.E], cksum 0xaa59 (incorrect -> 0x3a75), seq 2704557470, ack 4121763728, win 14480, options [mss 1460,sackOK,TS val 79566061 ecr 94487502,nop,wscale 6], length 0
14:52:05.865129 IP (tos 0x0, ttl 64, id 56386, offset 0, flags [DF], proto TCP (6), length 52)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0xa1d6 (correct), ack 1, win 58, options [nop,nop,TS val 94487502 ecr 79566061], length 0
14:52:05.865182 IP (tos 0x2,ECT(0), ttl 64, id 56387, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x62cb (correct), seq 1:1449, ack 1, win 58, options [nop,nop,TS val 94487502 ecr 79566061], length 1448
14:52:05.865205 IP (tos 0x2,ECT(0), ttl 64, id 56388, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x5d23 (correct), seq 1449:2897, ack 1, win 58, options [nop,nop,TS val 94487502 ecr 79566061], length 1448
14:52:05.865230 IP (tos 0x2,ECT(0), ttl 64, id 56389, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x577b (correct), seq 2897:4345, ack 1, win 58, options [nop,nop,TS val 94487502 ecr 79566061], length 1448
14:52:05.865233 IP (tos 0x2,ECT(0), ttl 64, id 56390, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x51d3 (correct), seq 4345:5793, ack 1, win 58, options [nop,nop,TS val 94487502 ecr 79566061], length 1448
14:52:05.865254 IP (tos 0x2,ECT(0), ttl 64, id 56391, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x4c2b (correct), seq 5793:7241, ack 1, win 58, options [nop,nop,TS val 94487502 ecr 79566061], length 1448
14:52:05.865257 IP (tos 0x2,ECT(0), ttl 64, id 56392, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x4683 (correct), seq 7241:8689, ack 1, win 58, options [nop,nop,TS val 94487502 ecr 79566061], length 1448
14:52:05.865278 IP (tos 0x2,ECT(0), ttl 64, id 56393, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x40db (correct), seq 8689:10137, ack 1, win 58, options [nop,nop,TS val 94487502 ecr 79566061], length 1448
14:52:05.865281 IP (tos 0x2,ECT(0), ttl 64, id 56394, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x3b33 (correct), seq 10137:11585, ack 1, win 58, options [nop,nop,TS val 94487502 ecr 79566061], length 1448
14:52:05.865301 IP (tos 0x2,ECT(0), ttl 64, id 56395, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x358b (correct), seq 11585:13033, ack 1, win 58, options [nop,nop,TS val 94487502 ecr 79566061], length 1448
14:52:05.865305 IP (tos 0x2,ECT(0), ttl 64, id 56396, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [P.], cksum 0x2fdb (correct), seq 13033:14481, ack 1, win 58, options [nop,nop,TS val 94487502 ecr 79566061], length 1448
14:52:05.865349 IP (tos 0x0, ttl 64, id 20850, offset 0, flags [DF], proto TCP (6), length 52)
192.168.20.108.51265 > 192.168.20.110.33555: Flags [.], cksum 0xaa51 (incorrect -> 0x9b58), ack 1449, win 272, options [nop,nop,TS val 79566061 ecr 94487502], length 0
14:52:05.865473 IP (tos 0x2,ECT(0), ttl 64, id 56397, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x2a3a (correct), seq 14481:15929, ack 1, win 58, options [nop,nop,TS val 94487503 ecr 79566061], length 1448
14:52:05.865508 IP (tos 0x0, ttl 64, id 20851, offset 0, flags [DF], proto TCP (6), length 52)
192.168.20.108.51265 > 192.168.20.110.33555: Flags [.], cksum 0xaa51 (incorrect -> 0x9583), ack 2897, win 317, options [nop,nop,TS val 79566061 ecr 94487502], length 0
14:52:05.865668 IP (tos 0x0, ttl 64, id 20852, offset 0, flags [DF], proto TCP (6), length 52)
192.168.20.108.51265 > 192.168.20.110.33555: Flags [.], cksum 0xaa51 (incorrect -> 0x8fae), ack 4345, win 362, options [nop,nop,TS val 79566061 ecr 94487502], length 0
14:52:05.865827 IP (tos 0x0, ttl 64, id 20853, offset 0, flags [DF], proto TCP (6), length 52)
192.168.20.108.51265 > 192.168.20.110.33555: Flags [.], cksum 0xaa51 (incorrect -> 0x89d8), ack 5793, win 408, options [nop,nop,TS val 79566061 ecr 94487502], length 0
14:52:05.865990 IP (tos 0x0, ttl 64, id 20854, offset 0, flags [DF], proto TCP (6), length 52)
192.168.20.108.51265 > 192.168.20.110.33555: Flags [.], cksum 0xaa51 (incorrect -> 0x8402), ack 7241, win 453, options [nop,nop,TS val 79566062 ecr 94487502], length 0
14:52:05.866111 IP (tos 0x2,ECT(0), ttl 64, id 56398, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x2491 (correct), seq 15929:17377, ack 1, win 58, options [nop,nop,TS val 94487503 ecr 79566062], length 1448
14:52:05.866135 IP (tos 0x2,ECT(0), ttl 64, id 56399, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x1ee9 (correct), seq 17377:18825, ack 1, win 58, options [nop,nop,TS val 94487503 ecr 79566062], length 1448
14:52:05.866152 IP (tos 0x0, ttl 64, id 20855, offset 0, flags [DF], proto TCP (6), length 52)
192.168.20.108.51265 > 192.168.20.110.33555: Flags [.], cksum 0xaa51 (incorrect -> 0x7e2d), ack 8689, win 498, options [nop,nop,TS val 79566062 ecr 94487502], length 0
14:52:05.866158 IP (tos 0x2,ECT(0), ttl 64, id 56400, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x1941 (correct), seq 18825:20273, ack 1, win 58, options [nop,nop,TS val 94487503 ecr 79566062], length 1448
14:52:05.866163 IP (tos 0x2,ECT(0), ttl 64, id 56401, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x1399 (correct), seq 20273:21721, ack 1, win 58, options [nop,nop,TS val 94487503 ecr 79566062], length 1448
14:52:05.866310 IP (tos 0x0, ttl 64, id 20856, offset 0, flags [DF], proto TCP (6), length 52)
192.168.20.108.51265 > 192.168.20.110.33555: Flags [.], cksum 0xaa51 (incorrect -> 0x7858), ack 10137, win 543, options [nop,nop,TS val 79566062 ecr 94487502], length 0
14:52:05.866432 IP (tos 0x2,ECT(0), ttl 64, id 56402, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [.], cksum 0x0df0 (correct), seq 21721:23169, ack 1, win 58, options [nop,nop,TS val 94487504 ecr 79566062], length 1448
14:52:05.866463 IP (tos 0x2,ECT(0), ttl 64, id 56403, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.20.110.33555 > 192.168.20.108.51265: Flags [P.], cksum 0x0840 (correct), seq 23169:24617, ack 1, win 58, options [nop,nop,TS val 94487504 ecr 79566062], length 1448
14:52:05.866471 IP (tos 0x0, ttl 64, id 20857, offset 0, flags [DF], proto TCP (6), length 52)
192.168.20.108.51265 > 192.168.20.110.33555: Flags [.], cksum 0xaa51 (incorrect -> 0x7282), ack 11585, win 589, options [nop,nop,TS val 79566062 ecr 94487502], length 0
14:52:05.866629 IP (tos 0x0, ttl 64, id 20858, offset 0, flags [DF], proto TCP (6), length 52)
192.168.20.108.51265 > 192.168.20.110.33555: Flags [.], cksum 0xaa51 (incorrect -> 0x6cad), ack 13033, win 634, options [nop,nop,TS val 79566062 ecr 94487502], length 0