11

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?

  1. My router's got the latest firmware.
  2. 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.
  3. In Win XP, the latest updates are installed from Micro$oft and from the Lenovo "ThinkVantage" System Update tool.
  4. Ubuntu Software Center has all the latest (LTS) updates installed.

  5. I also connected it to the modem directly: internet on Ubuntu was as slow (or even slower) than when connected through the router.

  6. 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.

10
  • How are you testing the speed?
    – Mitch
    Apr 4, 2013 at 11:44
  • @Mitch speedtest.net Apr 4, 2013 at 11:44
  • 4
    try speedof.me, it could be your flash player in browser
    – 10robinho
    Apr 4, 2013 at 11:47
  • @10robinho Tried speedof.me, no flash, just html5: but it still didn't speed up my internet on Ubuntu... never mind the accuracy of the measurement: my internet is quite noticable faster on windoze... arrg... Apr 4, 2013 at 11:57
  • 2
    @Marky This comment has nothing to do with the question! The OP is not using wireless, you are not on Ubuntu, so what are you trying to say?
    – Alvar
    Apr 5, 2013 at 15:35

4 Answers 4

8

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:

sudo /sbin/ethtool eth0

...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:

sudo /sbin/ethtool -s eth0 full

which sets the port to full duplex. To force half duplex, run:

sudo /sbin/ethtool -s eth0 half

Confirm by running the first ethtool command, then re-run your speed tests.

2

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.

0
1

I'm not an experienced user but as you can see in the image.:

speedtest 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.

1
  • Welcome to Ask Ubuntu! How does this answer the question? That is, what is it, specifically, that you're recommending the original poster do to help this problem? That's not totally clear in this answer right now. Apr 10, 2013 at 9:29
0

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:

enter image description here enter image description here enter image description here

With the option Unchecked

enter image description here

With the option Checked

enter image description here

Download speed has virtually nothing to do with a computer's processing power. Assuming your computer is able to run whatever operating system you're running and that it has a 10/100 ethernet port, your download speeds won't be affected any further by anything on that machine. Download speeds are affected mostly by the server you're connecting to and however busy the network traffic between you and that server is, and obviously the speed of your connection you're paying your internet service provider for.1

OS is nothing to deal with your download speed. This concerns on your internet connection or ISP, your device that you're using in your PC for internet access (example: LAN and Modem, Network Setup, Router (the setup), Wireless Devices, and many more), and the bandwidth speed that your ISP gave you to access different location using your internet (means that different Server Speed or Location-Range will affect your DL Speed). But, some softwares like Web Browser, Download Manager, and other programs that affects your access in the internet have a effect too, but the effect is less than what you expected.1


What Affects Speed? Every web page you view or file downloaded from the Internet is handled by dozens of computers before it appears on your screen. And the speed you receive from the Internet is determined by the slowest “link” in the data chain leading to your computer. Below, are some factors that can affect the speed of your Broadband connection.

The Host Server The most common cause of slow speed on the Internet is the host server. This server may be miss-configured or underpowered for the number of people using it at the same time. A slow server can affect anything you do on the Internet.

Ad-aware or Spy-ware If your computer is infected with "ad-aware" or "spy-ware" you will likely see reduced computer performance and a constant stream of pop-up ads. This will likely cause everything on your computer to work slower.

Web Browser A corrupted or poorly configured web browser is one of the most common bottlenecks for fast web browsing.

Your TCP/IP Configuration Installation software provided by dial-up Internet providers and satellite companies can change the default TCP/IP settings on your computer in an attempt to provide better performance. These changes usually cause poorer performance with high-speed Internet services and should be uninstalled.

Having a good knowledge of DNS and how to change your settings, can speed up your connection.

Your Computer Hardware The speed of the processor, hard drive, network card, graphics accelerator, even the amount of RAM, all impact the speed your computer can process Internet data.

Your Operating System With extensive use, any computer operating system can become corrupted, inefficient or miss-configured, which will affect the speed. (User Responsibility)

Your Home Networking Device A home networking device, or router, routes traffic between your cable modem and your computer(s). Routers that don't use 100baseT Ethernet standards or outdated software could slow your connection.

Your Modem's Signal If the Modem signal delivered to your cable/dsl modem is too strong, too weak or too noisy, it can cause your Modem to slow down or stop working entirely. Any changes to your line, inside or outside, could also slow your modem signal.

Type of Connection The most important determining factor for Internet speed is the type of Internet connection you have. You can purchase Internet service at different levels of speeds, depending upon what the provider offers. Normally speeds range from 1.5 megabytes per second to 6 megabytes per second, which are the download and upload times that it takes the Internet to send and receive information.

Time of Day For many types of Internet, such as those that are connected through phone lines or coaxial cables, the time of day can be a factor. Modem-based Internet and DSL are both shared network systems---meaning that if many people within your neighborhood are using the Internet, it can slow down your Internet connection due to clogged bandwidth, which is responsible for data transmission.

Computer Memory Even if you purchase a higher speed of Internet service, you can only utilize these higher speeds if your computer has the capabilities. One major speed factor within the computer is the amount of memory---or RAM---that it has. RAM is responsible for temporarily storing a computer's instructions. Lack of RAM means that a computer must store instructions on the hard drive, which takes longer to execute.

Processor Speed The processor speed---or the speed at which your computer executes and transfers instructions---is the other aspect that defines the speed of the computer, as well as its Internet connection. If you have a high Internet speed, but don't have a high enough processor speed, the computer won't be able to execute instructions fast, resulting in a slower speed of Internet interaction.

Virus Another possible threat that can slow down Internet speed is a virus. If you don't have a good virus protector installed, then viruses can infect your computer, which can cause a tremendous decrease in the speed at which all operations are performed, including the Internet connection.2

1Source:Gendou 2Sources:MTC ehow

13
  • 1
    @Mitch "Also try turning off internet sharing by unchecking Available to all users. I just tried it, ans it made a difference." Could you put a number to it?
    – user25656
    Apr 4, 2013 at 12:41
  • 1
    @nuttyaboutnatty that option does not affect the router.
    – Mitch
    Apr 4, 2013 at 13:04
  • 1
    @Mitch I'm not sure I can agree to "the OS is not to blame": what about drivers? Whether you count them as belonging to an OS or not, that might be the bottle-neck, no? I also connected my laptop to the modem directly (thus ruling out router-interference): still no-where near speed "equality". Apr 4, 2013 at 15:16
  • 1
    Try booting a LiveCD/LiveUSB of a different version of Ubuntu, or maybe a different distro (Fedora, etc). There may be changes to the driver at some point.
    – Bert
    Apr 5, 2013 at 15:27
  • 1
    My comment above gets deleted while the answer of "Available to all users" which is highly likely is not the cause of the slow speed is voted up? Really mods? C'mon guys! I'm not a networking expert but this supposed answer above doesn't even hold anything to explain the cause of the halved speed on Ubuntu as compared to XP.
    – Marky
    Apr 5, 2013 at 20:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .