DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-04-14 23:30:43

Marki
Member
Registered: 2009-07-03
Posts: 5

Slow wget on DNS-323

I am using wget on DNS-323 to download from Rapidshare with my premium account. I have tried with busybox wget and now with wget package (v1.11.4) both under ffp. But my download speed won't exceed 500 kB/s even if I have 30 Mbps downstream internet connection (via DIR-655 router). Even via wifi on my notebook I can get 1-2 MB/s from rapidshare every time. I have tried running more wget's at the same time and total speed was higher (maybe 300 + 300 kB/s).

Do you have any idea why this could be? Connection over LAN is OK, about 12-16 MB/s to/from Windows XP workstation on 1gbit lan. I have done also test of speed using netcat and my server in datacenter and the speed were also same low as for wget and rapidshare.

I was trying to figure something using tcpdump, but don't understand the output much... Although the 8kb window size seems too low to me...

Is this limitation of resources (CPU or something) or just tuning of TCP stack? But why is local speed OK and internet speed low (ping to rapishare servers was about 18-40 ms).

Code:

21:25:50.767340 IP 192.168.1.250.1623 > 212.162.63.86.80: Flags [S], seq 2737420052, win 17928, options [mss 8964,sackOK,TS[|tcp]>
21:25:50.793233 IP 212.162.63.86.80 > 192.168.1.250.1623: Flags [S.], seq 2868089191, ack 2737420053, win 5792, options [mss 1460,sackOK,TS[|tcp]>
21:25:50.793357 IP 192.168.1.250.1623 > 212.162.63.86.80: Flags [.], ack 1, win 8964, options [nop,nop,TS[|tcp]>
21:25:50.802325 IP 192.168.1.250.1623 > 212.162.63.86.80: Flags [P.], ack 1, win 8964, options [nop,nop,TS[|tcp]>
21:25:50.828273 IP 212.162.63.86.80 > 192.168.1.250.1623: Flags [.], ack 257, win 54, options [nop,nop,TS[|tcp]>
21:25:50.937017 IP 212.162.63.86.80 > 192.168.1.250.1623: Flags [P.], ack 257, win 54, options [nop,nop,TS[|tcp]>
21:25:50.937105 IP 192.168.1.250.1623 > 212.162.63.86.80: Flags [.], ack 224, win 8964, options [nop,nop,TS[|tcp]>
21:25:50.975335 IP 212.162.63.86.80 > 192.168.1.250.1623: Flags [.], ack 257, win 54, options [nop,nop,TS[|tcp]>
21:25:50.975413 IP 192.168.1.250.1623 > 212.162.63.86.80: Flags [.], ack 1672, win 8964, options [nop,nop,TS[|tcp]>
21:25:50.975459 IP 212.162.63.86.80 > 192.168.1.250.1623: Flags [.], ack 257, win 54, options [nop,nop,TS[|tcp]>
21:25:50.975519 IP 192.168.1.250.1623 > 212.162.63.86.80: Flags [.], ack 3120, win 8964, options [nop,nop,TS[|tcp]>
21:25:50.975812 IP 212.162.63.86.80 > 192.168.1.250.1623: Flags [.], ack 257, win 54, options [nop,nop,TS[|tcp]>

Offline

 

#2 2010-04-15 00:17:01

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: Slow wget on DNS-323

i dont think your window size is the problem, the rtt is too low. it would also be fixed by the kernel auto tuning. but you can check the tcp status with sysctl -a | grep tcp

Last edited by oxygen (2010-04-15 00:33:32)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB