[squid-users] POST upload splits tcp stream in many small 39byte sized pakets

Squid admin squid at aws-it.at
Wed Oct 21 10:14:14 UTC 2015


Dear Alex,

using squid 3.5.10 with patch the upload speed problem seems to be fixed.
Now I get 112Mbit upload speed from a possible maximum of 115Mbit.
Squid 4.0.1 still has a performance problem on unencrypted POST upload ...

BR, Toni

(TSO off)

12:10:16.343559 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [S], seq  
1106586391, win 29200, options [mss 1460,sackOK,TS val 105105687 ecr  
0,nop,wscale 7], length 0
12:10:16.343928 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [S.], seq  
2709051093, ack 1106586392, win 14480, options [mss 1460,sackOK,TS val  
1399346969 ecr 105105687,nop,wscale 7], length 0
12:10:16.343948 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], ack 1,  
win 229, options [nop,nop,TS val 105105687 ecr 1399346969], length 0
12:10:16.344092 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
1:585, ack 1, win 229, options [nop,nop,TS val 105105687 ecr  
1399346969], length 584
12:10:16.344174 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
585:2033, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346969], length 1448
12:10:16.344179 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
2033:3481, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346969], length 1448
12:10:16.344183 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
3481:4929, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346969], length 1448
12:10:16.344185 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
4929:6377, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346969], length 1448
12:10:16.344188 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
6377:7825, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346969], length 1448
12:10:16.344196 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
7825:8542, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346969], length 717
12:10:16.344217 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
8542:8581, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346969], length 39
12:10:16.344248 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
585, win 123, options [nop,nop,TS val 1399346970 ecr 105105687],  
length 0
12:10:16.344288 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
8581:10029, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1448
12:10:16.344293 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
10029:11477, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1448
12:10:16.344299 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
11477:12676, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1199
12:10:16.344382 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
4929, win 191, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.344410 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
12676:14124, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1448
12:10:16.344420 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
14124:14512, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 388
12:10:16.344445 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
8542, win 247, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.344469 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
8581, win 247, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.344485 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
12676, win 266, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.344588 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
14512, win 285, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.344993 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
14512:14551, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 39
12:10:16.345032 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
14551:15960, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1409
12:10:16.345105 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
15960:15999, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 39
12:10:16.345113 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
14551, win 285, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.345129 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
15999:17408, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1409
12:10:16.345225 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
15960, win 274, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.345242 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
15999, win 274, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.345287 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
17408:17447, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 39
12:10:16.345317 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
17408, win 263, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.345346 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
17447:18895, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1448
12:10:16.345355 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
18895:20304, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1409
12:10:16.345396 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
17447, win 263, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.345430 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
20304:20343, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 39
12:10:16.345459 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
20343:21752, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1409
12:10:16.345540 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
21752:21791, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 39
12:10:16.345553 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
20304, win 241, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.345563 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
20343, win 241, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.345576 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
21791:23200, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1409
12:10:16.345605 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
23200:23239, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 39
12:10:16.345619 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
21752, win 230, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.345645 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
21791, win 230, options [nop,nop,TS val 1399346970 ecr 105105688],  
length 0
12:10:16.345646 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
23239:24648, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1409
12:10:16.345718 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
24648:24687, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 39
12:10:16.345758 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
24687:26135, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1448
12:10:16.345766 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
26135:27544, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1409
12:10:16.345882 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
27544:27583, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 39
12:10:16.345917 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
27583:28992, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1409
12:10:16.345949 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
28992:29031, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 39
12:10:16.345975 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
29031:30440, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1409
12:10:16.346058 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
30440:30479, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 39
12:10:16.346091 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
30479:31888, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 1409
12:10:16.346112 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
31888:31927, ack 1, win 229, options [nop,nop,TS val 105105688 ecr  
1399346970], length 39
12:10:16.348591 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
31927, win 202, options [nop,nop,TS val 1399346971 ecr 105105688],  
length 0
12:10:16.348623 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
31927:33375, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348630 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
33375:34823, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348633 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
34823:36271, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348637 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
36271:37719, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348645 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
37719:39128, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1409
12:10:16.348673 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
39128:39167, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 39
12:10:16.348728 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
39167:40615, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348734 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
40615:42063, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348741 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
42063:43511, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348744 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
43511:44959, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348747 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
44959:46407, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348750 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
46407:47855, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348752 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
47855:49303, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348756 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
49303:50751, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348864 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
39128, win 309, options [nop,nop,TS val 1399346971 ecr 105105689],  
length 0
12:10:16.348886 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
50751:52199, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348889 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
52199:53647, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348891 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
53647:55095, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348894 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
55095:56543, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348897 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
56543:57991, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348899 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
57991:59439, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348904 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
39167, win 311, options [nop,nop,TS val 1399346971 ecr 105105689],  
length 0
12:10:16.348960 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
44959, win 314, options [nop,nop,TS val 1399346971 ecr 105105689],  
length 0
12:10:16.348979 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [.], seq  
59439:60887, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348983 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
60887:62335, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1448
12:10:16.348993 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
62335:63744, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1409
12:10:16.349016 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
50751, win 314, options [nop,nop,TS val 1399346971 ecr 105105689],  
length 0
12:10:16.349053 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
63744:63783, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 39
12:10:16.349083 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
63783:65192, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1409
12:10:16.349134 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
59439, win 331, options [nop,nop,TS val 1399346971 ecr 105105689],  
length 0
12:10:16.349143 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
65192:65231, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 39
12:10:16.349166 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
65231:66640, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1409
12:10:16.349202 IP 10.1.1.19.81 > 10.1.1.210.49388: Flags [.], ack  
63783, win 331, options [nop,nop,TS val 1399346971 ecr 105105689],  
length 0
12:10:16.349242 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
66640:66679, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 39
12:10:16.349275 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
66679:68088, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1409
12:10:16.349350 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
68088:68127, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 39
12:10:16.349378 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
68127:69536, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1409
12:10:16.349450 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
69536:69575, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 39
12:10:16.349472 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
69575:70984, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1409
12:10:16.349540 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
70984:71023, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 39
12:10:16.349566 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
71023:72432, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1409
12:10:16.350744 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
72432:72471, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 39
12:10:16.350781 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
72471:73880, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1409
12:10:16.350846 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
73880:73919, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 39
12:10:16.350870 IP 10.1.1.210.49388 > 10.1.1.19.81: Flags [P.], seq  
73919:75328, ack 1, win 229, options [nop,nop,TS val 105105689 ecr  
1399346971], length 1409



Zitat von Alex Rousskov <rousskov at measurement-factory.com>:

> On 10/20/2015 07:49 AM, Squid admin wrote:
>
>> Unfortunately on uploading a big test file (unencrypted POST) to apache
>> webserver using a squid proxy (V 3.5.10 or 4.0.1) the upstream pakets
>> get slized into thousands of small 39 byte sized pakets.
>
> Does bug 4353 patch help in your case?
>
>   http://bugs.squid-cache.org/show_bug.cgi?id=4353
>
> Alex.





More information about the squid-users mailing list