1 (edited by Z3r0 2006-11-21 06:19:48)

Topic: bad download speed AR7 DSL-502T (openwrt) with WPNT834

This appears to be quite a serious issue between the DSL-502T and the WPNT834. I've contacted both technical support departments and I just have to wait to hear back from them. Hopefully the information in this thread will help.

The problem: When the DSL-502T and WPNT834 are used together I get bad download speeds of 10Kbyte/s on a 512Kbit/s ADSL connection which should give 60Kbyte/s

I posted on the OpenWRT board as I believed it was an OpenWRT issue but I have since tried the latest default DSL-502T firmware 2.00B07 from D-Link and the problem still occurs, strangely even in bridged mode.

Here are the setups i've tried:
1. Speedstream 4200 (Default Firmware/NATP) -> WPNT834 (wireless router) -> PC = ok
2. Speedstream 4200 (Default Firmware/Bridged) -> WPNT834 (wireless router) -> PC = ok
3. DSL-502T (Default Firmware/NATP) -> PC = ok
4. DSL-502T (Default Firmware/NATP) -> WPNT834 (wireless router) -> PC = bad
5. DSL-502T (Default Firmware/Bridged) -> WPNT834 (wireless router) -> PC = bad
6. DSL-502T (OpenWRT) -> PC = ok
7. DSL-502T (OpenWRT) -> WPNT834 (wireless router) -> PC = bad
8. DSL-502T (OpenWRT) -> WPNT834 (wireless router) -> Speedstream 4200 (Default Fimware/NATP)-> PC = bad
9. DSL-502T (OpenWRT) -> Speedstream 4200 (Default Firmware/NATP) -> PC = ok
10. DSL-502T (OpenWRT) -> Laptop -> WPNT834 -> PC = ok

MTU: Always set to 1500 as i'm using PPPoA to dial in, of course in bridge mode I set it to 1492 on the WAN interface of the WPNT834 and also on my PC. I have done maximum packet size tests using TCP Optimiser and also Ping and they seem fine in all setups. (i.e. 1472 Bytes+28 Bytes ICMP+IP headers for PPPoA)

Window Sizes and other settings: initially set to automatic on my PC, changed to TCP Recieve Window 32120 and TCP Window Scaling enabled, MTU Discovery Yes, Selective Acks Yes, Max Duplicate Acks 2, TTL 64

Firewall: I've tried disabling the Stateful Packet Inspection (SPI) firewall on the WPNT834 and setting the DMZ IP as my PC, I have kept my firewall off on my PC in all tests. I don't suspect an iptables problem on the DSL-502T as it seems to have the correct forwarding rules setup with ClAMP-MSS-TO-PMTU called before masquerading.

IP Setup: My network is normally set up with each router using different ip subnets -> 192.168.1.1 and 192.168.2.1 and 192.168.3.1 with netmask 255.255.255.0

Other IP setups: I've also tried putting the DSL-502T on the same subnet as the WPNT834 and PC (i.e. 192.168.1.1 and 192.168.1.2 and 192.168.1.3)

Ifconfig errors: ifconfig on the DSL-502T reports no errors or collisions or dropped packets

Firmwares: I have tried the WPNT834 firmware 1.0.41 + 1.0.44 (beta) +  1.0.51 and DSL-502T 2.00B07 and the latest OpenWRT Kamikaze build 5530

2 (edited by Z3r0 2006-11-24 14:26:53)

Re: bad download speed AR7 DSL-502T (openwrt) with WPNT834

TCPDUMP information from the DSL-502T for kernel transfer from kernel.org

DSL-502T -> PC

Notice all packets seem to be transmitted in the correct order (suggesting no packet loss / retransmits)

06:27:07.830489 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: S 3173931061:3173931061(0) win 65535 <mss 1460,nop,nop,sackOK>
06:27:08.020497 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1328: . ack 402 win 6432
06:27:08.027357 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: S 3655015389:3655015389(0) ack 3173931062 win 5840 <mss 1360,nop,nop,sackOK>
06:27:08.027588 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 1 win 65535
06:27:08.028259 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: P 1:521(520) ack 1 win 65535
06:27:08.259208 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . ack 521 win 6432
06:27:08.284568 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 1:1361(1360) ack 521 win 6432
06:27:08.309453 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 1361:2721(1360) ack 521 win 6432
06:27:08.309814 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 2721 win 65535
06:27:08.524094 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 2721:4081(1360) ack 521 win 6432
06:27:08.524476 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 4081 win 65535
06:27:08.549212 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 4081:5441(1360) ack 521 win 6432
06:27:08.574076 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 5441:6801(1360) ack 521 win 6432
06:27:08.574425 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 6801 win 65535
06:27:08.739425 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 6801:8161(1360) ack 521 win 6432
06:27:08.739804 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 8161 win 65535
06:27:08.764553 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 8161:9521(1360) ack 521 win 6432
06:27:08.789663 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 9521:10881(1360) ack 521 win 6432
06:27:08.790034 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 10881 win 65535
06:27:08.814570 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: P 10881:12241(1360) ack 521 win 6432
06:27:08.814950 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 12241 win 65535
06:27:08.839456 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 12241:13601(1360) ack 521 win 6432
06:27:08.954252 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 13601:14961(1360) ack 521 win 6432
06:27:08.954606 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 14961 win 65535
06:27:08.979160 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 14961:16321(1360) ack 521 win 6432
06:27:08.979533 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 16321 win 65535
06:27:09.004289 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 16321:17681(1360) ack 521 win 6432
06:27:09.028904 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 17681:19041(1360) ack 521 win 6432
06:27:09.029264 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 19041 win 65535
06:27:09.030633 IP ZLAPTOP.lan.1329 > zeus-pub1.kernel.org.80: F 423:423(0) ack 6556 win 65535
06:27:09.030691 IP ZLAPTOP.lan.1330 > zeus-pub2.kernel.org.80: F 423:423(0) ack 6435 win 65535
06:27:09.054294 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: P 19041:20401(1360) ack 521 win 6432
06:27:09.054681 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 20401 win 65535
06:27:09.079187 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 20401:21761(1360) ack 521 win 6432
06:27:09.104052 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 21761:23121(1360) ack 521 win 6432
06:27:09.104402 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 23121 win 65535
06:27:09.170358 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 23121:24481(1360) ack 521 win 6432
06:27:09.170751 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 24481 win 65535
06:27:09.195237 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 24481:25841(1360) ack 521 win 6432
06:27:09.220352 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 25841:27201(1360) ack 521 win 6432
06:27:09.220704 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 27201 win 65535
06:27:09.245254 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 27201:28561(1360) ack 521 win 6432
06:27:09.245636 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 28561 win 65535
06:27:09.270149 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 28561:29921(1360) ack 521 win 6432
06:27:09.295277 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1331: . 29921:31281(1360) ack 521 win 6432
06:27:09.295637 IP ZLAPTOP.lan.1331 > zeus-pub1.kernel.org.80: . ack 31281 win 65535

DSL502T -> PC

Same again but with -vvv flags specified

00:16:28.457028 IP (tos 0x0, ttl  64, id 21745, offset 0, flags [DF], proto: TCP (6), length: 52) ZPC.lan.1342 > zeus-pub1.kernel.org.80: S, cksum 0x9b29 (correct), 2539350999:2539350999(0) win 32120 <mss 1460,nop,wscale 0,nop,nop,sackOK>
00:16:28.648452 IP (tos 0x0, ttl  52, id 0, offset 0, flags [DF], proto: TCP (6), length: 52) zeus-pub1.kernel.org.80 > ZPC.lan.1342: S, cksum 0xcf98 (correct), 21442878:21442878(0) ack 2539351000 win 5840 <mss 1360,nop,nop,sackOK,nop,wscale 7>
00:16:28.648638 IP (tos 0x0, ttl  64, id 21746, offset 0, flags [DF], proto: TCP (6), length: 40) ZPC.lan.1342 > zeus-pub1.kernel.org.80: ., cksum 0xa95e (correct), 1:1(0) ack 1 win 32120
00:16:28.649250 IP (tos 0x0, ttl  64, id 21747, offset 0, flags [DF], proto: TCP (6), length: 582) ZPC.lan.1342 > zeus-pub1.kernel.org.80: P 1:543(542) ack 1 win 32120
00:16:28.884482 IP (tos 0x0, ttl  52, id 43311, offset 0, flags [DF], proto: TCP (6), length: 40) zeus-pub1.kernel.org.80 > ZPC.lan.1342: ., cksum 0x2482 (correct), 1:1(0) ack 543 win 55
00:16:28.909320 IP (tos 0x0, ttl  52, id 43312, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub1.kernel.org.80 > ZPC.lan.1342: . 1:1361(1360) ack 543 win 55
00:16:28.933956 IP (tos 0x0, ttl  52, id 43313, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub1.kernel.org.80 > ZPC.lan.1342: . 1361:2721(1360) ack 543 win 55
00:16:28.934260 IP (tos 0x0, ttl  64, id 21754, offset 0, flags [DF], proto: TCP (6), length: 40) ZPC.lan.1342 > zeus-pub1.kernel.org.80: ., cksum 0x9ca0 (correct), 543:543(0) ack 2721 win 32120
00:16:29.149330 IP (tos 0x0, ttl  52, id 43314, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub1.kernel.org.80 > ZPC.lan.1342: . 2721:4081(1360) ack 543 win 55
00:16:29.174182 IP (tos 0x0, ttl  52, id 43315, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub1.kernel.org.80 > ZPC.lan.1342: . 4081:5441(1360) ack 543 win 55
00:16:29.174492 IP (tos 0x0, ttl  64, id 21755, offset 0, flags [DF], proto: TCP (6), length: 40) ZPC.lan.1342 > zeus-pub1.kernel.org.80: ., cksum 0x9200 (correct), 543:543(0) ack 5441 win 32120
00:16:29.199097 IP (tos 0x0, ttl  52, id 43316, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub1.kernel.org.80 > ZPC.lan.1342: . 5441:6801(1360) ack 543 win 55
00:16:29.322374 IP (tos 0x0, ttl  64, id 21762, offset 0, flags [DF], proto: TCP (6), length: 40) ZPC.lan.1342 > zeus-pub1.kernel.org.80: ., cksum 0x8cb0 (correct), 543:543(0) ack 6801 win 32120
00:16:29.392016 IP (tos 0x0, ttl  52, id 43317, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub1.kernel.org.80 > ZPC.lan.1342: . 6801:8161(1360) ack 543 win 55
00:16:29.416874 IP (tos 0x0, ttl  52, id 43318, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub1.kernel.org.80 > ZPC.lan.1342: . 8161:9521(1360) ack 543 win 55

DSL-502T -> WPNT834 -> PC

We seem to have a large number of SACKS (SACK is selective acknowledgement and I think it means that the WPNT834 is saying that it never received packets from the DSL-502T (or perhaps vice versa?), notice packets are out of order due to retransmits).

06:28:44.313634 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: S 4093300893:4093300893(0) win 16384 <mss 1460,nop,nop,sackOK>
06:28:44.508896 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: S 1842914976:1842914976(0) ack 4093300894 win 5840 <mss 1360,nop,nop,sackOK>
06:28:44.510405 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 1 win 17680
06:28:44.512315 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: P 1:521(520) ack 1 win 17680
06:28:44.744621 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . ack 521 win 6432
06:28:44.769382 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 1:1361(1360) ack 521 win 6432
06:28:44.794263 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 1361:2721(1360) ack 521 win 6432
06:28:47.769402 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 1:1361(1360) ack 521 win 6432
06:28:48.232336 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 1361 win 17680
06:28:48.447698 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 1361:2721(1360) ack 521 win 6432
06:28:49.654792 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 2721 win 17680
06:28:49.871805 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 2721:4081(1360) ack 521 win 6432
06:28:50.639187 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 4081 win 17680
06:28:50.855624 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 4081:5441(1360) ack 521 win 6432
06:28:50.880775 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 5441:6801(1360) ack 521 win 6432
06:28:51.734963 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 5441 win 17680
06:28:51.952052 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 6801:8161(1360) ack 521 win 6432
06:28:51.977165 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: P 8161:9521(1360) ack 521 win 6432
06:28:52.545594 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 5441 win 17680 <nop,nop,sack 1 {6801:8161}>
06:28:52.760453 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 9521:10881(1360) ack 521 win 6432
06:28:53.569744 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 5441 win 17680 <nop,nop,sack 2 {9521:10881}{6801:8161}>
06:28:53.787138 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 5441:6801(1360) ack 521 win 6432
06:28:54.593830 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 8161 win 17680 <nop,nop,sack 1 {9521:10881}>
06:28:54.811119 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: P 10881:12241(1360) ack 521 win 6432
06:28:54.900167 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 8161 win 17680 <nop,nop,sack 1 {9521:12241}>
06:28:55.116143 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: P 8161:9521(1360) ack 521 win 6432
06:28:55.618112 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 12241 win 17680
06:28:55.834364 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 12241:13601(1360) ack 521 win 6432
06:28:56.765017 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 13601 win 17680
06:28:56.980554 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 13601:14961(1360) ack 521 win 6432
06:28:57.005493 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 14961:16321(1360) ack 521 win 6432
06:28:57.858174 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 14961 win 17680
06:28:58.073275 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: P 16321:17681(1360) ack 521 win 6432
06:28:58.098146 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 17681:19041(1360) ack 521 win 6432
06:28:58.695068 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 14961 win 17680 <nop,nop,sack 1 {16321:17681}>
06:28:58.695750 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 14961 win 17680 <nop,nop,sack 1 {16321:19041}>
06:28:58.911965 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 19041:20401(1360) ack 521 win 6432
06:28:58.936846 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 20401:21761(1360) ack 521 win 6432
06:28:59.718924 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 14961 win 17680 <nop,nop,sack 1 {16321:20401}>
06:28:59.719632 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 14961 win 17680 <nop,nop,sack 1 {16321:21761}>
06:28:59.935213 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 14961:16321(1360) ack 521 win 6432
06:28:59.960109 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 21761:23121(1360) ack 521 win 6432
06:29:00.738320 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 21761 win 17680
06:29:00.920085 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 23121 win 17680
06:29:00.955757 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: P 23121:24481(1360) ack 521 win 6432
06:29:01.134373 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 24481:25841(1360) ack 521 win 6432
06:29:01.136676 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 25841 win 17680
06:29:01.159270 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 25841:27201(1360) ack 521 win 6432
06:29:01.352939 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 27201:28561(1360) ack 521 win 6432
06:29:01.354367 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 28561 win 17680
06:29:01.378306 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 28561:29921(1360) ack 521 win 6432
06:29:01.571706 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 29921:31281(1360) ack 521 win 6432
06:29:01.596593 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 31281:32641(1360) ack 521 win 6432
06:29:01.760831 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 28561 win 17680 <nop,nop,sack 1 {29921:31281}>
06:29:01.976062 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: P 32641:34001(1360) ack 521 win 6432
06:29:02.785163 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 28561 win 17680 <nop,nop,sack 2 {32641:34001}{29921:31281}>
06:29:03.002488 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 28561:29921(1360) ack 521 win 6432
06:29:03.809248 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 31281 win 17680 <nop,nop,sack 1 {32641:34001}>
06:29:04.026479 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 31281:32641(1360) ack 521 win 6432
06:29:04.833204 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 34001 win 17680
06:29:05.050221 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 34001:35361(1360) ack 521 win 6432
06:29:06.061462 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 35361 win 17680
06:29:06.279432 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 35361:36721(1360) ack 521 win 6432
06:29:06.304549 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 36721:38081(1360) ack 521 win 6432
06:29:07.045848 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 36721 win 17680
06:29:07.262764 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 38081:39441(1360) ack 521 win 6432
06:29:07.287632 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: P 39441:40801(1360) ack 521 win 6432
06:29:07.905428 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 36721 win 17680 <nop,nop,sack 1 {38081:39441}>
06:29:07.905470 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 36721 win 17680 <nop,nop,sack 1 {38081:40801}>
06:29:08.120919 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 40801:42161(1360) ack 521 win 6432
06:29:08.146114 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 42161:43521(1360) ack 521 win 6432
06:29:08.929738 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 36721 win 17680 <nop,nop,sack 1 {38081:42161}>
06:29:08.929787 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 36721 win 17680 <nop,nop,sack 1 {38081:43521}>
06:29:09.144894 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 36721:38081(1360) ack 521 win 6432
06:29:09.169777 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1333: . 43521:44881(1360) ack 521 win 6432
06:29:09.953568 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 43521 win 17680
06:29:10.107752 IP WPNT834.lan.1333 > zeus-pub2.kernel.org.80: . ack 44881 win 17680

DSL-502T -> WPNT834 -> PC

-vvv flags, notice how the SACK is occuring quite 'regularly', every x packets

00:18:17.594617 IP (tos 0x0, ttl  63, id 23746, offset 0, flags [DF], proto: TCP (6), length: 52) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: S, cksum 0xf7ec (correct), 3094736278:3094736278(0) win 32120 <mss 1460,nop,wscale 0,nop,nop,sackOK>
00:18:17.786875 IP (tos 0x0, ttl  54, id 0, offset 0, flags [DF], proto: TCP (6), length: 52) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: S, cksum 0x4013 (correct), 2525071436:2525071436(0) ack 3094736279 win 5840 <mss 1360,nop,nop,sackOK,nop,wscale 7>
00:18:17.787520 IP (tos 0x0, ttl  63, id 23747, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x19d9 (correct), 1:1(0) ack 1 win 32120
00:18:17.788368 IP (tos 0x0, ttl  63, id 23748, offset 0, flags [DF], proto: TCP (6), length: 527) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: P 1:488(487) ack 1 win 32120
00:18:18.018520 IP (tos 0x0, ttl  54, id 34728, offset 0, flags [DF], proto: TCP (6), length: 40) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: ., cksum 0x9534 (correct), 1:1(0) ack 488 win 54
00:18:18.043362 IP (tos 0x0, ttl  54, id 34729, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 1:1361(1360) ack 488 win 54
00:18:18.068003 IP (tos 0x0, ttl  54, id 34730, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 1361:2721(1360) ack 488 win 54
00:18:18.437673 arp who-has 192.168.1.1 tell WPNT834.lan
00:18:18.437852 arp reply 192.168.1.1 is-at 00:0d:08:00:03:02 (oui Unknown)
00:18:21.043961 IP (tos 0x0, ttl  54, id 34731, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 1:1361(1360) ack 488 win 54
00:18:21.215340 IP (tos 0x0, ttl  63, id 23791, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x12a2 (correct), 488:488(0) ack 1361 win 32120
00:18:21.430285 IP (tos 0x0, ttl  54, id 34732, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 1361:2721(1360) ack 488 win 54
00:18:21.543460 IP (tos 0x0, ttl  63, id 23798, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x0d52 (correct), 488:488(0) ack 2721 win 32120
00:18:21.758703 IP (tos 0x0, ttl  54, id 34733, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 2721:4081(1360) ack 488 win 54
00:18:21.871601 IP (tos 0x0, ttl  63, id 23805, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x0802 (correct), 488:488(0) ack 4081 win 32120
00:18:22.086157 IP (tos 0x0, ttl  54, id 34734, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 4081:5441(1360) ack 488 win 54
00:18:22.111267 IP (tos 0x0, ttl  54, id 34735, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 5441:6801(1360) ack 488 win 54
00:18:22.111720 IP (tos 0x0, ttl  63, id 23806, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xfd61 (correct), 488:488(0) ack 6801 win 32120
00:18:22.324663 IP (tos 0x0, ttl  54, id 34736, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 6801:8161(1360) ack 488 win 54
00:18:22.349770 IP (tos 0x0, ttl  54, id 34737, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 8161:9521(1360) ack 488 win 54
00:18:22.374476 IP (tos 0x0, ttl  54, id 34738, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 9521:10881(1360) ack 488 win 54
00:18:22.527879 IP (tos 0x0, ttl  63, id 23813, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xf811 (correct), 488:488(0) ack 8161 win 32120
00:18:22.742040 IP (tos 0x0, ttl  54, id 34739, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: P 10881:12241(1360) ack 488 win 54
00:18:22.742490 IP (tos 0x0, ttl  63, id 23814, offset 0, flags [DF], proto: TCP (6), length: 52) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x2a0c (correct), 488:488(0) ack 8161 win 32120 <nop,nop,sack 1 {10881:12241}>
00:18:22.957630 IP (tos 0x0, ttl  54, id 34740, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 12241:13601(1360) ack 488 win 54
00:18:22.958081 IP (tos 0x0, ttl  63, id 23821, offset 0, flags [DF], proto: TCP (6), length: 52) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x24bc (correct), 488:488(0) ack 8161 win 32120 <nop,nop,sack 1 {10881:13601}>
00:18:23.172481 IP (tos 0x0, ttl  54, id 34741, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 8161:9521(1360) ack 488 win 54
00:18:23.293512 IP (tos 0x0, ttl  63, id 23822, offset 0, flags [DF], proto: TCP (6), length: 52) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x1f6c (correct), 488:488(0) ack 9521 win 32120 <nop,nop,sack 1 {10881:13601}>
00:18:23.507069 IP (tos 0x0, ttl  54, id 34742, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 9521:10881(1360) ack 488 win 54
00:18:23.507536 IP (tos 0x0, ttl  63, id 23829, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xe2d1 (correct), 488:488(0) ack 13601 win 32120
00:18:23.722662 IP (tos 0x0, ttl  54, id 34743, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 13601:14961(1360) ack 488 win 54
00:18:23.840376 IP (tos 0x0, ttl  63, id 23836, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xdd81 (correct), 488:488(0) ack 14961 win 32120
00:18:24.053796 IP (tos 0x0, ttl  54, id 34744, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 14961:16321(1360) ack 488 win 54
00:18:24.078669 IP (tos 0x0, ttl  54, id 34745, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 16321:17681(1360) ack 488 win 54
00:18:24.168523 IP (tos 0x0, ttl  63, id 23837, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xd831 (correct), 488:488(0) ack 16321 win 32120
00:18:24.381001 IP (tos 0x0, ttl  54, id 34746, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: P 17681:19041(1360) ack 488 win 54
00:18:24.381439 IP (tos 0x0, ttl  63, id 23844, offset 0, flags [DF], proto: TCP (6), length: 52) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xd50b (correct), 488:488(0) ack 16321 win 32120 <nop,nop,sack 1 {17681:19041}>
00:18:24.406382 IP (tos 0x0, ttl  54, id 34747, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 19041:20401(1360) ack 488 win 54
00:18:24.597080 IP (tos 0x0, ttl  54, id 34748, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 20401:21761(1360) ack 488 win 54
00:18:24.597503 IP (tos 0x0, ttl  63, id 23845, offset 0, flags [DF], proto: TCP (6), length: 60) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xd2ac (correct), 488:488(0) ack 16321 win 32120 <nop,nop,sack 2 {20401:21761}{17681:19041}>
00:18:24.812184 IP (tos 0x0, ttl  54, id 34749, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 16321:17681(1360) ack 488 win 54
00:18:24.812617 IP (tos 0x0, ttl  63, id 23846, offset 0, flags [DF], proto: TCP (6), length: 52) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xb52b (correct), 488:488(0) ack 19041 win 32120 <nop,nop,sack 1 {20401:21761}>
00:18:25.028072 IP (tos 0x0, ttl  54, id 34750, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 21761:23121(1360) ack 488 win 54
00:18:25.028522 IP (tos 0x0, ttl  63, id 23853, offset 0, flags [DF], proto: TCP (6), length: 52) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xafdb (correct), 488:488(0) ack 19041 win 32120 <nop,nop,sack 1 {20401:23121}>
00:18:25.242871 IP (tos 0x0, ttl  54, id 34751, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 19041:20401(1360) ack 488 win 54
00:18:25.243311 IP (tos 0x0, ttl  63, id 23854, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xbda1 (correct), 488:488(0) ack 23121 win 32120
00:18:25.458699 IP (tos 0x0, ttl  54, id 34752, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 23121:24481(1360) ack 488 win 54
00:18:25.590423 IP (tos 0x0, ttl  63, id 23861, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xb851 (correct), 488:488(0) ack 24481 win 32120
00:18:25.805850 IP (tos 0x0, ttl  54, id 34753, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: P 24481:25841(1360) ack 488 win 54
00:18:25.830722 IP (tos 0x0, ttl  54, id 34754, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 25841:27201(1360) ack 488 win 54
00:18:25.918549 IP (tos 0x0, ttl  63, id 23868, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xb301 (correct), 488:488(0) ack 25841 win 32120
00:18:26.134533 IP (tos 0x0, ttl  54, id 34755, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 27201:28561(1360) ack 488 win 54
00:18:26.134974 IP (tos 0x0, ttl  63, id 23869, offset 0, flags [DF], proto: TCP (6), length: 52) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x657b (correct), 488:488(0) ack 25841 win 32120 <nop,nop,sack 1 {27201:28561}>
00:18:26.159675 IP (tos 0x0, ttl  54, id 34756, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 28561:29921(1360) ack 488 win 54
00:18:26.349616 IP (tos 0x0, ttl  54, id 34757, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: P 29921:31281(1360) ack 488 win 54
00:18:26.350096 IP (tos 0x0, ttl  63, id 23876, offset 0, flags [DF], proto: TCP (6), length: 60) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x18bc (correct), 488:488(0) ack 25841 win 32120 <nop,nop,sack 2 {29921:31281}{27201:28561}>
00:18:26.564981 IP (tos 0x0, ttl  54, id 34758, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 25841:27201(1360) ack 488 win 54
00:18:26.565415 IP (tos 0x0, ttl  63, id 23877, offset 0, flags [DF], proto: TCP (6), length: 52) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x459b (correct), 488:488(0) ack 28561 win 32120 <nop,nop,sack 1 {29921:31281}>
00:18:26.780333 IP (tos 0x0, ttl  54, id 34759, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 31281:32641(1360) ack 488 win 54
00:18:26.780749 IP (tos 0x0, ttl  63, id 23878, offset 0, flags [DF], proto: TCP (6), length: 52) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x404b (correct), 488:488(0) ack 28561 win 32120 <nop,nop,sack 1 {29921:32641}>
00:18:26.995418 IP (tos 0x0, ttl  54, id 34760, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 28561:29921(1360) ack 488 win 54
00:18:26.995866 IP (tos 0x0, ttl  63, id 23885, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x9871 (correct), 488:488(0) ack 32641 win 32120
00:18:27.211802 IP (tos 0x0, ttl  54, id 34761, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 32641:34001(1360) ack 488 win 54
00:18:27.340458 IP (tos 0x0, ttl  63, id 23892, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x9321 (correct), 488:488(0) ack 34001 win 32120
00:18:27.554951 IP (tos 0x0, ttl  54, id 34762, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 34001:35361(1360) ack 488 win 54
00:18:27.580084 IP (tos 0x0, ttl  54, id 34763, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: P 35361:36721(1360) ack 488 win 54
00:18:27.668596 IP (tos 0x0, ttl  63, id 23893, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x8dd1 (correct), 488:488(0) ack 35361 win 32120
00:18:27.883631 IP (tos 0x0, ttl  54, id 34764, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 36721:38081(1360) ack 488 win 54
00:18:27.884068 IP (tos 0x0, ttl  63, id 23902, offset 0, flags [DF], proto: TCP (6), length: 52) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xf5ea (correct), 488:488(0) ack 35361 win 32120 <nop,nop,sack 1 {36721:38081}>
00:18:27.908526 IP (tos 0x0, ttl  54, id 34765, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 38081:39441(1360) ack 488 win 54
00:18:28.098714 IP (tos 0x0, ttl  54, id 34766, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 39441:40801(1360) ack 488 win 54
00:18:28.099165 IP (tos 0x0, ttl  63, id 23903, offset 0, flags [DF], proto: TCP (6), length: 60) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x5ecb (correct), 488:488(0) ack 35361 win 32120 <nop,nop,sack 2 {39441:40801}{36721:38081}>
00:18:28.175119 IP (tos 0x10, ttl  50, id 43573, offset 0, flags [none], proto: TCP (6), length: 1400) in-in-f91.google.com.80 > WPNT834.lan.1311: . 2720:4080(1360) ack 1 win 6870
00:18:28.314059 IP (tos 0x0, ttl  54, id 34767, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: P 35361:36721(1360) ack 488 win 54
00:18:28.314530 IP (tos 0x0, ttl  63, id 23904, offset 0, flags [DF], proto: TCP (6), length: 52) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0xd60a (correct), 488:488(0) ack 38081 win 32120 <nop,nop,sack 1 {39441:40801}>
00:18:28.528952 IP (tos 0x0, ttl  54, id 34768, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 38081:39441(1360) ack 488 win 54
00:18:28.529422 IP (tos 0x0, ttl  63, id 23911, offset 0, flags [DF], proto: TCP (6), length: 40) WPNT834.lan.1382 > zeus-pub2.kernel.org.80: ., cksum 0x7891 (correct), 488:488(0) ack 40801 win 32120
00:18:28.744271 IP (tos 0x0, ttl  54, id 34769, offset 0, flags [DF], proto: TCP (6), length: 1400) zeus-pub2.kernel.org.80 > WPNT834.lan.1382: . 40801:42161(1360) ack 488 win 54

DSL-502T -> PC with SACK disabled on PC/DSL-502T

Notice each packet is individually acked and packets are sent in sequence suggesting no packet loss.

08:56:44.032427 IP ZLAPTOP.lan.1095 > 192.168.1.1.22: . ack 372 win 30864
08:56:53.681420 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: S 2152859152:2152859152(0) win 32120 <mss 1460,nop,wscale 0>
08:56:53.876441 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: S 259136880:259136880(0) ack 2152859153 win 5840 <mss 1360,nop,wscale 7>
08:56:53.876691 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 1 win 32120
08:56:53.877202 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: P 1:521(520) ack 1 win 32120
08:56:54.109225 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . ack 521 win 54
08:56:55.569079 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 1:1361(1360) ack 521 win 54
08:56:55.593946 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 1361:2721(1360) ack 521 win 54
08:56:55.594281 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 2721 win 32120
08:56:55.815710 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 2721:4081(1360) ack 521 win 54
08:56:55.816080 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 4081 win 32120
08:56:55.840596 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 4081:5441(1360) ack 521 win 54
08:56:55.865714 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 5441:6801(1360) ack 521 win 54
08:56:55.866047 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 6801 win 32120
08:56:56.039679 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 6801:8161(1360) ack 521 win 54
08:56:56.040095 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 8161 win 32120
08:56:56.064808 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 8161:9521(1360) ack 521 win 54
08:56:56.089680 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 9521:10881(1360) ack 521 win 54
08:56:56.090046 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 10881 win 32120
08:56:56.115070 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: P 10881:12241(1360) ack 521 win 54
08:56:56.115423 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 12241 win 32120
08:56:56.241469 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 12241:13601(1360) ack 521 win 54
08:56:56.272989 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 13601:14961(1360) ack 521 win 54
08:56:56.273332 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 14961 win 32120
08:56:56.298139 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 14961:16321(1360) ack 521 win 54
08:56:56.298506 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 16321 win 32120
08:56:56.322776 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 16321:17681(1360) ack 521 win 54
08:56:56.347891 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 17681:19041(1360) ack 521 win 54
08:56:56.348241 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 19041 win 32120
08:56:56.372790 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: P 19041:20401(1360) ack 521 win 54
08:56:56.373163 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 20401 win 32120
08:56:56.397688 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 20401:21761(1360) ack 521 win 54
08:56:56.422793 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 21761:23121(1360) ack 521 win 54
08:56:56.423143 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 23121 win 32120
08:56:56.504608 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 23121:24481(1360) ack 521 win 54
08:56:56.504985 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 24481 win 32120
08:56:56.529741 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 24481:25841(1360) ack 521 win 54
08:56:56.554855 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 25841:27201(1360) ack 521 win 54
08:56:56.555202 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 27201 win 32120
08:56:56.579807 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 27201:28561(1360) ack 521 win 54
08:56:56.580169 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 28561 win 32120
08:56:56.604665 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 28561:29921(1360) ack 521 win 54
08:56:56.629552 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 29921:31281(1360) ack 521 win 54
08:56:56.629909 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 31281 win 32120
08:56:56.654905 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 31281:32641(1360) ack 521 win 54
08:56:56.655277 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 32641 win 32120
08:56:56.679541 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: P 32641:34001(1360) ack 521 win 54
08:56:56.704660 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 34001:35361(1360) ack 521 win 54
08:56:56.705016 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 35361 win 32120
08:56:56.729556 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 36721:38081(1360) ack 521 win 54
08:56:56.729880 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 35361 win 32120
08:56:56.754443 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 38081:39441(1360) ack 521 win 54
08:56:56.754796 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 35361 win 32120
08:56:56.779327 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 39441:40801(1360) ack 521 win 54
08:56:56.779684 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 35361 win 32120
08:56:56.804460 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 40801:42161(1360) ack 521 win 54
08:56:56.804811 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 35361 win 32120
08:56:56.829344 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 42161:43521(1360) ack 521 win 54
08:56:56.829697 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 35361 win 32120
08:56:56.854229 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 43521:44881(1360) ack 521 win 54
08:56:56.854581 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 35361 win 32120
08:56:56.879113 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 44881:46241(1360) ack 521 win 54
08:56:56.879466 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 35361 win 32120
08:56:56.904492 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 46241:47601(1360) ack 521 win 54
08:56:56.904837 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 35361 win 32120
08:56:56.929131 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 47601:48961(1360) ack 521 win 54
08:56:56.929479 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 35361 win 32120
08:56:56.954273 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: P 48961:50321(1360) ack 521 win 54
08:56:56.954628 IP ZLAPTOP.lan.1096 > zeus-pub1.kernel.org.80: . ack 35361 win 32120
08:56:56.979148 IP zeus-pub1.kernel.org.80 > ZLAPTOP.lan.1096: . 50321:51681(1360) ack 521 win 54


DSL-502T -> WPNT834 -> PC with SACK disabled on DSL-502T and PC

Few things i've noticed, packets are sent out of sequence suggesting packet loss, the SYN packets to start (or maybe restart?) the transfer seem to be resent a few times here too

08:39:00.969642 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: S 713204681:713204681(0) win 32120 <mss 1460,nop,wscale 0>
08:39:01.173935 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: S 1517796061:1517796061(0) ack 713204682 win 5840 <mss 1360,nop,wscale 7>
08:39:01.224197 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: . ack 1 win 32120
08:39:01.228732 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: P 1:401(400) ack 1 win 32120
08:39:01.450194 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . ack 401 win 54
08:39:01.474589 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 1:1361(1360) ack 401 win 54
08:39:01.499718 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 1361:2721(1360) ack 401 win 54
08:39:01.525434 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: . ack 1 win 32120
08:39:04.490154 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 1:1361(1360) ack 401 win 54
08:39:04.525196 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: . ack 2721 win 32120
08:39:04.756215 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 2721:4081(1360) ack 401 win 54
08:39:05.477593 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: . ack 4081 win 32120
08:39:05.694226 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 4081:5441(1360) ack 401 win 54
08:39:05.915665 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: . ack 5441 win 32120
08:39:06.135986 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 5441:6801(1360) ack 401 win 54
08:39:06.160861 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 6801:8161(1360) ack 401 win 54
08:39:06.352381 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: . ack 6801 win 32120
08:39:06.575298 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 8161:9521(1360) ack 401 win 54
08:39:06.600183 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 9521:10881(1360) ack 401 win 54
08:39:06.775617 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: . ack 6801 win 32120
08:39:06.776147 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: . ack 6801 win 32120
08:39:07.006723 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: P 10881:12241(1360) ack 401 win 54
08:39:07.031594 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 12241:13601(1360) ack 401 win 54
08:39:07.368008 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: . ack 6801 win 32120
08:39:07.591136 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 6801:8161(1360) ack 401 win 54
08:39:07.592851 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: . ack 12241 win 32120
08:39:07.810418 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 12241:13601(1360) ack 401 win 54
08:39:08.395116 IP WPNT834.lan.1080 > zeus-pub1.kernel.org.80: S 429047125:429047125(0) win 32120 <mss 1460,nop,wscale 0>
08:39:08.539699 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: . ack 13601 win 32120
08:39:08.589355 IP zeus-pub1.kernel.org.80 > WPNT834.lan.1080: S 3407813800:3407813800(0) ack 429047126 win 5840 <mss 1360,nop,wscale 7>
08:39:08.590876 IP WPNT834.lan.1080 > zeus-pub1.kernel.org.80: . ack 1 win 32120
08:39:08.592711 IP WPNT834.lan.1080 > zeus-pub1.kernel.org.80: P 1:461(460) ack 1 win 32120
08:39:08.645895 IP WPNT834.lan.1081 > zeus-pub2.kernel.org.80: S 1118754992:1118754992(0) win 32120 <mss 1460,nop,wscale 0>
08:39:08.758983 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 13601:14961(1360) ack 401 win 54
08:39:08.823257 IP zeus-pub1.kernel.org.80 > WPNT834.lan.1080: . ack 461 win 54
08:39:08.837585 IP WPNT834.lan.1080 > zeus-pub1.kernel.org.80: F 461:461(0) ack 1 win 32120
08:39:08.838027 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: F 401:401(0) ack 14961 win 32120
08:39:08.838704 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: S 3429116180:3429116180(0) win 32120 <mss 1460,nop,wscale 0>
08:39:08.848168 IP zeus-pub1.kernel.org.80 > WPNT834.lan.1080: . 1:1361(1360) ack 461 win 54
08:39:08.873032 IP zeus-pub1.kernel.org.80 > WPNT834.lan.1080: . 1361:2721(1360) ack 461 win 54
08:39:08.874753 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1081: S 1522001653:1522001653(0) ack 1118754993 win 5840 <mss 1360,nop,wscale 7>
08:39:08.875384 IP WPNT834.lan.1080 > zeus-pub1.kernel.org.80: . ack 1 win 32120
08:39:09.064547 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1079: . 14961:16321(1360) ack 402 win 54
08:39:09.066196 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: S 1513166516:1513166516(0) ack 3429116181 win 5840 <mss 1360,nop,wscale 7>
08:39:09.067318 IP WPNT834.lan.1079 > zeus-pub2.kernel.org.80: R 402:402(0) ack 16321 win 0
08:39:09.067758 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: . ack 1 win 32120
08:39:09.634147 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: . ack 1361 win 32120
08:39:09.854005 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: . 2721:4081(1360) ack 543 win 55
08:39:09.879074 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: . 4081:5441(1360) ack 543 win 55
08:39:10.440858 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: . ack 1361 win 32120
08:39:10.660389 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: . 5441:6801(1360) ack 543 win 55
08:39:11.384825 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: . ack 1361 win 32120
08:39:11.385356 IP WPNT834.lan.1080 > zeus-pub1.kernel.org.80: F 461:461(0) ack 1 win 32120
08:39:11.413343 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: . 1361:2721(1360) ack 543 win 55
08:39:11.415677 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: . ack 4081 win 32120
08:39:11.586288 IP zeus-pub1.kernel.org.80 > WPNT834.lan.1080: . ack 462 win 54
08:39:11.634084 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: . 4081:5441(1360) ack 543 win 55
08:39:11.853636 IP zeus-pub1.kernel.org.80 > WPNT834.lan.1080: . 1:1361(1360) ack 462 win 54
08:39:12.186481 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1081: S 1522001653:1522001653(0) ack 1118754993 win 5840 <mss 1360,nop,wscale 7>
08:39:12.488938 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: . ack 6801 win 32120
08:39:12.489566 IP WPNT834.lan.1080 > zeus-pub1.kernel.org.80: R 462:462(0) ack 1361 win 0
08:39:12.713031 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: . 6801:8161(1360) ack 543 win 55
08:39:13.681551 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: . ack 8161 win 32120
08:39:13.896666 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: . 8161:9521(1360) ack 543 win 55
08:39:14.118037 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: . ack 9521 win 32120
08:39:14.332520 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: . 9521:10881(1360) ack 543 win 55
08:39:14.357643 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: P 10881:12241(1360) ack 543 win 55
08:39:14.665454 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: . ack 10881 win 32120
08:39:14.881720 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: . 12241:13601(1360) ack 543 win 55
08:39:14.906842 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: . 13601:14961(1360) ack 543 win 55
08:39:15.561437 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: . ack 10881 win 32120
08:39:15.561484 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: . ack 10881 win 32120
08:39:15.782760 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: . 14961:16321(1360) ack 543 win 55
08:39:15.807632 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: . 16321:17681(1360) ack 543 win 55
08:39:16.585083 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: . ack 10881 win 32120
08:39:16.766822 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: P 10881:12241(1360) ack 543 win 55
08:39:17.609996 IP WPNT834.lan.1082 > zeus-pub2.kernel.org.80: . ack 16321 win 32120
08:39:17.834232 IP zeus-pub2.kernel.org.80 > WPNT834.lan.1082: . 16321:17681(1360) ack 543 win 55

3 (edited by Z3r0 2006-11-24 14:27:32)

Re: bad download speed AR7 DSL-502T (openwrt) with WPNT834

Packet captures using Ethereal (wireshark 0.99.4 with pcap 4.0 beta 2) from my PC (not the modem). http://www.frustra.com/Z3r0/pcaps.7z you need 7zip to extract

A summary:
502T -> PC with default firmware looks ok
502T -> PC with OpenWRT my PC acknowledges the same duplicate ack 20x from zeus.kernel.org, but speed was fine.
Speedstream -> PC with default firmware looks ok

502T (either firmware) -> WPNT834 -> PC we get a lot of retransmission and bad speeds (except for FTP uploads which seem fine!?)
SS4200 -> WPNT834 -> PC no issues whatsoever

4 (edited by Z3r0 2006-11-25 03:52:44)

Re: bad download speed AR7 DSL-502T (openwrt) with WPNT834

Here's the DSL-502T ethernet source code: http://downloads.openwrt.org/sources/avalanche-cpmac-0.1.tar.bz2

Full WPNT834 (large download) firmware source code (ethernet drivers are in here) ftp://downloads.netgear.com/files/GPL/WPNT834_1.0_51.tar.gz

A duplex mismatch would be one way of explaining the asynchronous speed of the unit. But could it cause the speed to go so low?? Yes!

In all cases we have DSL-502T -> WPNT834 -> PC

Full autonegotiate on DSL-502T, as we can see it appears to set to 100 FD and there are no collisions of any sort, but, we have telnet problems and a file of size 842KB can be uploaded to the router (slowly (roughtly 15s)) but not downloaded back to the PC.

/proc/avalanche/cpmac_link
CPMAC devices = 1
eth0: Link State: UP    Phy:0x1f, Speed = 100, Duplex = Full

/proc/avalanche/eth0_rfc2665_stats
ifSpeed                            : 100000000
dot3StatsDuplexStatus              : 3
ifAdminStatus                      : 1
ifOperStatus                       : 1
ifLastChange                       : 1167
ifInDiscards                       : 0
ifInErrors                         : 0
ifOutDiscards                      : 0
ifOutErrors                        : 0
ifInGoodFrames                     : 1218
ifInBroadcasts                     : 85
ifInMulticasts                     : 0
ifInPauseFrames                    : 0
ifInCRCErrors                      : 0
ifInAlignCodeErrors                : 0
ifInOversizedFrames                : 0
ifInJabberFrames                   : 0
ifInUndersizedFrames               : 0
ifInFragments                      : 0
ifInFilteredFrames                 : 8
ifInQosFilteredFrames              : 0
ifInOctets                         : 1009232
ifOutGoodFrames                    : 938
ifOutBroadcasts                    : 3
ifOutMulticasts                    : 0
ifOutPauseFrames                   : 0
ifDeferredTransmissions            : 0
ifCollisionFrames                  : 0
ifSingleCollisionFrames            : 0
ifMultipleCollisionFrames          : 0
ifExcessiveCollisionFrames         : 0
ifLateCollisions                   : 0
ifOutUnderrun                      : 0
ifCarrierSenseErrors               : 0
ifOutOctets                        : 114706
if64OctetFrames                    : 1183
if65To127POctetFrames              : 237
if128To255OctetFrames              : 50
if256To511OctetFrames              : 15
if512To1023OctetFrames             : 4
if1024ToUpOctetFrames              : 667
ifNetOctets                        : 1125116
ifRxSofOverruns                    : 0
ifRxMofOverruns                    : 0
ifRxDMAOverruns                    : 0

My first test was to autonegotiate 10 Half Duplex, this produced some (normal) collisions transferring the file (i.e. no excessive or late collisions) and worked great and the transfer was fast in both directions (1s):

/proc/avalanche/cpmac_link

CPMAC devices = 1
eth0: Link State: UP    Phy:0x1f, Speed = 10, Duplex = Half

/proc/avalanche/eth0_rfc2665_stats

ifSpeed                            : 10000000
dot3StatsDuplexStatus              : 2
ifAdminStatus                      : 1
ifOperStatus                       : 1
ifLastChange                       : 1239
ifInDiscards                       : 0
ifInErrors                         : 367
ifOutDiscards                      : 0
ifOutErrors                        : 0
ifInGoodFrames                     : 1455
ifInBroadcasts                     : 140
ifInMulticasts                     : 0
ifInPauseFrames                    : 0
ifInCRCErrors                      : 0
ifInAlignCodeErrors                : 0
ifInOversizedFrames                : 0
ifInJabberFrames                   : 0
ifInUndersizedFrames               : 0
ifInFragments                      : 367
ifInFilteredFrames                 : 43
ifInQosFilteredFrames              : 0
ifInOctets                         : 965580
ifOutGoodFrames                    : 1313
ifOutBroadcasts                    : 4
ifOutMulticasts                    : 0
ifOutPauseFrames                   : 0
ifDeferredTransmissions            : 242
ifCollisionFrames                  : 758
ifSingleCollisionFrames            : 213
ifMultipleCollisionFrames          : 156
ifExcessiveCollisionFrames         : 0
ifLateCollisions                   : 0
ifOutUnderrun                      : 0
ifCarrierSenseErrors               : 0
ifOutOctets                        : 978479
if64OctetFrames                    : 1218
if65To127POctetFrames              : 268
if128To255OctetFrames              : 45
if256To511OctetFrames              : 26
if512To1023OctetFrames             : 14
if1024ToUpOctetFrames              : 1197
ifNetOctets                        : 1962194
ifRxSofOverruns                    : 0
ifRxMofOverruns                    : 0
ifRxDMAOverruns                    : 0

My next test was 10 Full Duplex, transfer speed was great (under 1s) and no collisions reported:

/proc/avalanche/cpmac_link

CPMAC devices = 1
eth0: Link State: UP    Phy:0x1f, Speed = 10, Duplex = Full

/proc/avalanche/eth0_rfc2665_stats

ifSpeed                            : 10000000
dot3StatsDuplexStatus              : 3
ifAdminStatus                      : 1
ifOperStatus                       : 1
ifLastChange                       : 1254
ifInDiscards                       : 0
ifInErrors                         : 0
ifOutDiscards                      : 0
ifOutErrors                        : 0
ifInGoodFrames                     : 1289
ifInBroadcasts                     : 18
ifInMulticasts                     : 0
ifInPauseFrames                    : 0
ifInCRCErrors                      : 0
ifInAlignCodeErrors                : 0
ifInOversizedFrames                : 0
ifInJabberFrames                   : 0
ifInUndersizedFrames               : 0
ifInFragments                      : 0
ifInFilteredFrames                 : 7
ifInQosFilteredFrames              : 0
ifInOctets                         : 949652
ifOutGoodFrames                    : 1259
ifOutBroadcasts                    : 0
ifOutMulticasts                    : 0
ifOutPauseFrames                   : 0
ifDeferredTransmissions            : 0
ifCollisionFrames                  : 0
ifSingleCollisionFrames            : 0
ifMultipleCollisionFrames          : 0
ifExcessiveCollisionFrames         : 0
ifLateCollisions                   : 0
ifOutUnderrun                      : 0
ifCarrierSenseErrors               : 0
ifOutOctets                        : 971784
if64OctetFrames                    : 1138
if65To127POctetFrames              : 166
if128To255OctetFrames              : 18
if256To511OctetFrames              : 15
if512To1023OctetFrames             : 10
if1024ToUpOctetFrames              : 1201
ifNetOctets                        : 1922229
ifRxSofOverruns                    : 0
ifRxMofOverruns                    : 0
ifRxDMAOverruns                    : 0

Now onto 100 Half Duplex, classic symptoms of telnet freezing, transfer starts slow from PC to router ~15s, transfer does not start from router to PC, we also have (normal) collisions, suggesting a duplex mismatch but the WPNT834 reports Half Duplex in the configuration page. Performance is much worse than 10 HD.

/proc/avalanche/cpmac_link

CPMAC devices = 1
eth0: Link State: UP    Phy:0x1f, Speed = 100, Duplex = Half

/proc/avalanche/eth0_rfc2665_stats
ifSpeed                            : 100000000
dot3StatsDuplexStatus              : 2
ifAdminStatus                      : 1
ifOperStatus                       : 1
ifLastChange                       : 1223
ifInDiscards                       : 0
ifInErrors                         : 266
ifOutDiscards                      : 0
ifOutErrors                        : 0
ifInGoodFrames                     : 1066
ifInBroadcasts                     : 72
ifInMulticasts                     : 0
ifInPauseFrames                    : 0
ifInCRCErrors                      : 2
ifInAlignCodeErrors                : 0
ifInOversizedFrames                : 0
ifInJabberFrames                   : 0
ifInUndersizedFrames               : 0
ifInFragments                      : 264
ifInFilteredFrames                 : 13
ifInQosFilteredFrames              : 0
ifInOctets                         : 989181
ifOutGoodFrames                    : 795
ifOutBroadcasts                    : 2
ifOutMulticasts                    : 0
ifOutPauseFrames                   : 0
ifDeferredTransmissions            : 53
ifCollisionFrames                  : 44
ifSingleCollisionFrames            : 10
ifMultipleCollisionFrames          : 16
ifExcessiveCollisionFrames         : 0
ifLateCollisions                   : 0
ifOutUnderrun                      : 0
ifCarrierSenseErrors               : 0
ifOutOctets                        : 134759
if64OctetFrames                    : 945
if65To127POctetFrames              : 177
if128To255OctetFrames              : 42
if256To511OctetFrames              : 13
if512To1023OctetFrames             : 4
if1024ToUpOctetFrames              : 682
ifNetOctets                        : 1127591
ifRxSofOverruns                    : 0
ifRxMofOverruns                    : 0
ifRxDMAOverruns                    : 0

Strangely configuring 100 FD on the DSL-502T would not work, it would not connect to my PC or the router, I checked the mtd memory partition mappings and corrected them and it still would not connect.

5 (edited by Z3r0 2007-01-25 14:03:36)

Re: bad download speed AR7 DSL-502T (openwrt) with WPNT834

For anyone interested in fixing this bug, you can not use mii-tool or ethtool on the DSL-502T to force settings. You cannot change anything on the WPNT834 as there is no telnet access.

I just changed some code in DSL-502T avalanche drivers cpmac.h and forced autonegotiate to 10Mbit/s FD:

This line:

#define CFG_START_LINK_SPEED          (_CPMDIO_10 | _CPMDIO_100 | _CPMDIO_HD | _CPMDIO_FD) /* auto nego */

becomes:

#define CFG_START_LINK_SPEED          (_CPMDIO_10 |  _CPMDIO_FD) /* auto nego 10Mbit/s Full Duplex */

To change the code, just compile the firmware once, go to build-mipsel/linux-2.4-ar7/avalanche and edit cpmac.h and then go back to the trunk folder and run make again. YOU MUST DELETE ANY *.o in this folder (rm *.o) first, otherwise this doesn't work!

I still can't tell which device is causing the fault... it would be good if one or other of the firmware teams could look at their code again and check it complies with MII (can't remember the RFC). My guess is one or other of the devices is incorrectly setting it's duplex mode after autonegotiate and this is causing the problems.

What we actually need is a setting in the menuconfig to allow us to change this I believe as this would make more users aware of a potential problem if one exists in the avalanche code.

6 (edited by Z3r0 2006-11-26 23:46:09)

Re: bad download speed AR7 DSL-502T (openwrt) with WPNT834

I'm bumping this post as I believe i've found a temporary solution, i'd be interested in hearing if anyone has a similar problem or this helps anyone.

Of course using this solution you will only get 10Mbit/s maximum download speed, which could be annoying for people on 24Mbit/s ADSL2+ connections.

I'm now quite happy using this within my network though as I only have 512kbit/s net atm \o/

I will contact D-Link and Netgear again shortly to see what can be done.

7 (edited by Z3r0 2006-12-13 10:26:57)

Re: bad download speed AR7 DSL-502T (openwrt) with WPNT834

I know D-Link are currently looking into this issue and it has been escalated to level 2 tech, Netgear escalated it 2x but didn't bother getting back to me.

The point is: a simple solution would be for you guys to add some kind of support into the web GUI to allow changing of the interface speed between manual 10HD/FD and 100HD/FD and also autonegotiate for those values too, this may mean adding some kind of support for the miitool / ethtool programs. If this can be done the problem can be remedied not only for myself but for the other baffled users out there who have no idea why their hardware doesn't work properly.

Re: bad download speed AR7 DSL-502T (openwrt) with WPNT834

Old bump, but information I really could have done with - second-hand 5xxT devices are cheap as chips nowadays (I paid $6!)

This issue happens in a range of -5xxT devices.

The root cause is failure of one or more of the electrolytic capacitors which smoothe the supply voltage to the IP175 switch IC - in the absence of sufficient smoothing, the varying power load of the switch chip causes the voltage to fluctuate, causing bit errors and destroying data.
This can be repaired by replacing the affected capacitors. Usually there are two caps near the switch IC, one to each side (the short sides of the chip). Replace with the same capacitance and voltage (eg. 100uF 16V).

Forcing ports to operate at 10mbit works around the issue as the supply load varies 10x slower - but in advanced cases of degradation, you can't establish a link at all.

An interesting thing I found was that this is also dependent on which ports you use - the "left" 2 ports depend on the "left" capacitor, and vice versa. When I was trying to fix my device, max rate through all ports was 20kbyte/sec. After replacing the left capacitor, the left 2 ports worked at >1mbyte/second - and the right 2 worked at 400kbyte/sec only. Replacing the right capacitor as well restored full function.

Re: bad download speed AR7 DSL-502T (openwrt) with WPNT834

This is solution with foto. It is work.
http://www.flickr.com/photos/madrioso/5056389067/in/photostream/