From the same Ethernet-socket from the same machine (IBM Thinkpad X41) I get
40 Mbps from Win XP
- ~ 18 Mbps from Ubuntu
Apart from the fact that I'm officially paying for 50 Mbps and that for most intents and purposes anything above 10 Mbps is "good enough" for me, why does my internet speed roughly double if I boot Win XP?
Note: I'm not using wifi in this setup.
Could it be a driver / firmware issue? If so, how to check?
- My router's got the latest firmware.
- My modem's brand new (mfg a year ago in a Chinese sweatshop for Cisco) and from what I can tell the firmware's up-to-scratch here, too.
- In Win XP, the latest updates are installed from Micro$oft and from the Lenovo "ThinkVantage" System Update tool.
Ubuntu Software Center has all the latest (LTS) updates installed.
I also connected it to the modem directly: internet on Ubuntu was as slow (or even slower) than when connected through the router.
Currently, there are no other devices connected to the router and currently online (i.e., the bandwidth is currently not being shared; and no, this router does not support
wifi).
Which drivers and/or settings could I possible (and sensibly and safely) tweak within Ubuntu?
For older Q&A's see, for instance:
Note that I didn't yet test the suggestions on How to check Internet Speed via Terminal? but instead relied (for now) on the (seemingly quite reliable) speedtest.net.
Edit
Don't take the above values as carved in stone. I do not claim to have performed robust, standardized or extensive benchmark testing. There is significant measurement error involved, which (to my knowledge) cannot be avoided entirely. I shall update my findings, if I happen to discover or test something new. In particular, I shall keep an eye out for the top speed reached surfing with Ubuntu (relative to > 40 Mbps with Win XP) on this machine/network.
It could be the duplex of your ethernet port conflicting with your switch/router. You can check this by using "ethtool".
If "eth0" is the ethernet port you're using, run:
...and look for a line that says "Duplex:". Most modern home switches/routers will support "Full" duplex and that should be the most optimal setting. The other possible would be "Half".
Regardless of the value, you can change to the other by running:
which sets the port to full duplex. To force half duplex, run:
Confirm by running the first ethtool command, then re-run your speed tests.
Its possible your only getting half duplex under Ubuntu. What network card and module are you using?
Also make sure your DNS settings are the same as in Windows, could be name resolution taking longer and making it appear slower.
I'm not an experienced user but as you can see in the image.:
I've got the same connection.
That happened to me while using an old Ubuntu version, and the problem was that my computer wireless USB adapter was 802.11g. When I change it to 802.11n the problem was solved (its possible you only need to adapt the drivers).
I know that with your computer knowledge this could be a stupid answer, but consider my intereset on helping.
Well, Ubuntu isn't to blame, there can be something with your router. The OS doesn't slow down internet connection. Check firewall settings, IP settings, DNS, and see if you have the latest NIC drivers.
Also try turning off internet sharing by unchecking Available to all users. I just tried it, ans it made a difference. To do so see below:
With the option Unchecked
With the option Checked
Having a good knowledge of DNS and how to change your settings, can speed up your connection.
1Source:Gendou 2Sources:MTC ehow