Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 
3284 posts

Uber Geek
+1 received by user: 985

Trusted

  # 674190 19-Aug-2012 11:30
Send private message

Interesting...   I alternated speedtests between a windows 7 box and ubuntu box both last night and this morning and seemed to get fairly consistently higher results on linux.  My windows 7 machine has a lot more grunt that linux machine.


WINDOWS:




LINUX:




1387 posts

Uber Geek
+1 received by user: 134


  # 674193 19-Aug-2012 11:36
Send private message

spacedog:
Ragnor:
spacedog:?

Can't see how operating system would have any effect. I can pull 14mbps on a speedtest to an auckland server on the same computer and then run a speedtest to a USA server and only get 4-5mbps. ?If the OS was a factor, I wouldn't be getting the fast domestic speeds.


The TCP/IP stack has been changed and improved with newer versions of windows, most notably with automatic tcp receive window scaling.

Refer to?
http://www.speedguide.net/articles/the-tcp-window-latency-and-the-bandwidth-delay-2678?

http://www.speedguide.net/articles/windows-7-vista-2008-tweaks-2574






So this most likely means that difference I am seeing in side-by-side speedtesting of domestic/international traffic from a windows7 machine is not being affected by the OS, right??

As a test, I ran some bandwidth testing from two different linux machines on my home network and didn't see any speeds over 6mbps to international routes....



Linux autotunes based upon memory, which mostly just undertunes if you have faster server on a tiny VPS or router with hardly any RAM.

Download speeds are based upon /proc/sys/net/ipv4/tcp_rmem which you can also set in /etc/sysctl.conf.

Linux 3.0 also started setting the initial send window size larger, which should make short uploads slightly faster. Some versions past then added more stuff.

 
 
 
 


1387 posts

Uber Geek
+1 received by user: 134


  # 674194 19-Aug-2012 11:39
Send private message

sidefx: Interesting... ? I alternated speedtests between a windows 7 box and ubuntu box both last night and this morning?and seemed to get fairly consistently higher results on linux. Hmm.. maybe an issue with the speedtest\flash on linux? ?Or my antivirus on windows? ?Or some configuration somewhere? ? My windows 7 machine has a lot more grunt that linux machine.


it's not really very cpu hungry unless you're doing gigabit speeds any CPU should do.

Could be configuration. I'd try setting the window size autoscaling slightly higher first. And enable ctcp.

At 180 msec it could just be that Linux is recovering from packet loss faster though.

11:45:11.747276 216.110.200.226.80 > : S 638669006:638669006(0) ack 1093069853 win 14480 (DF)

With a tcpdump you can see that that OR server advertises a default window size of 14480 bytes - which is 10xmss with mss of 1460. The window size seems slightly lower than I'd imagine 14600 would seem normal - but that's the same amount of overhead as tcp/ip timestamps.. so maybe it's remembering support for that.

Anyway, it's normal for at least Linux and OpenBSD on recent kernels to advertise the larger window size. And Windows has had a larger window size for ages. This'll effect download/upload speeds for short transfers the most.

But that could be one of the reasons that server gives good performance.

3284 posts

Uber Geek
+1 received by user: 985

Trusted

  # 674200 19-Aug-2012 11:48
Send private message

mercutio: 
Could be configuration. I'd try setting the window size autoscaling slightly higher first. And enable ctcp.


I have ctcp enabled with not noticable effect (and most other settings in Ragnors 2nd link set to the "recommended" values)  

How would I go about setting window size autoscaling "slightly higher"?

1387 posts

Uber Geek
+1 received by user: 134


  # 674206 19-Aug-2012 11:53
Send private message

sidefx:
mercutio:?
Could be configuration. I'd try setting the window size autoscaling slightly higher first. And enable ctcp.


I have ctcp enabled with not noticable effect (and most other settings in Ragnors 2nd link set to the "recommended" values) ?

How would I go about setting window size autoscaling "slightly higher"?


Oh it only has normal and expiremental! maybe i was wrong...

Just as a check that you have no local problems on your windows pc, I'd do a local iperf speed test in each direction between windows/linux.

just checking tcpdump on my windows 8 host, it seems window size is getting up to 64k pretty much. that could be happening to you too and explain the slow speeds.




actually windows 8 is increasing to 1mb/sec window size. and getting packet loss, maybe it's best to actually set window size smalelr...


linux is getting up to window size of 930k... so that's similar... i have tcpdump outputs for both, still confused why linux speeds up WAY faster... and ends up a few hundred k/sec faster.

1 | 2 
View this topic in a long page with up to 500 replies per page Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

New Zealand government unveils new digital service to make business easier
Posted 16-Jul-2019 17:35


Scientists unveil image of quantum entanglement
Posted 13-Jul-2019 06:00


Hackers to be challenged at University of Waikato
Posted 12-Jul-2019 21:34


OPPO Reno Z now available in New Zealand
Posted 12-Jul-2019 21:28


Sony introduces WF-1000XM3 wireless headphones with noise cancellation
Posted 8-Jul-2019 16:56


Xero announces new smarter tools, push into the North American market
Posted 19-Jun-2019 17:20


New report by Unisys shows New Zealanders want action by social platform companies and police to monitor social media sites
Posted 19-Jun-2019 17:09


ASB adds Google Pay option to contactless payments
Posted 19-Jun-2019 17:05


New Zealand PC Market declines on the back of high channel inventory, IDC reports
Posted 18-Jun-2019 17:35


Air New Zealand uses drones to inspect aircraft
Posted 17-Jun-2019 15:39


TCL Electronics launches its first-ever 8K TV
Posted 17-Jun-2019 15:18


E-scooter share scheme launches in Wellington
Posted 17-Jun-2019 12:34


Anyone can broadcast with Kordia Pop Up TV
Posted 13-Jun-2019 10:51


Volvo and Uber present production vehicle ready for self-driving
Posted 13-Jun-2019 10:47


100,000 customers connected to fibre broadband network through Enable
Posted 13-Jun-2019 10:35



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.