45

The download speeds while connected on Wi-Fi to the same router—an ADSL2+ Wireless N300 Modem Router—seems to be significantly faster on my phone than on my laptop. This problem doesn’t occur all the time, but the Internet connection on my laptop—which is running Ubuntu 14.10—occasionally reduces in speed and becomes unstable, while the Internet connection on my phone remains at the same speed and is continuously stable.

As a comparison, I performed a test on speedtest.com at the same time and the same location for my laptop and my phone during an “unstable connection phase” for my laptop.

I was wondering what potential causes there could be for this discrepancy?

Here are the speedtest results from my laptop (Lenovo Y50 UHD):

enter image description here

And here are the speedtest results from my phone (Samsung Galaxy S5):

enter image description here

Note that while the Samsung Galaxy S5 has a “Download Booster” feature which can use your Wi-Fi and mobile network simultaneously to increase download speed, for this test I turned off the mobile data completely on the Samsung Galaxy S5 but I still received similar results comparing my laptop and phone.

3
  • If you haven't already updated wireless drivers, I would suggest you do. There was a know issue with wifi performance for this laptop (and a few others from Lenovo). Let us know how you go.
    – Papa
    Commented Apr 7, 2015 at 3:33
  • @Papa: I believe all my wireless drivers for the Intel Corporation Wireless 3160 are updated, and I'm currently running Ubuntu 14.10.
    – astiara
    Commented Apr 7, 2015 at 3:47
  • Probably not the cause, but for elimination purposes, have you checked that the "unstable connection phases" aren't the result of other network activity running in the background (if, for instance, Ubuntu had something like Windows Updates)
    – TripeHound
    Commented Apr 8, 2015 at 10:16

2 Answers 2

45

I believe this boils down to what is—very sadly—a common wireless headache: 802.11n Wi-Fi implementation is so horrible and inconsistent between devices that the 802.11n protocol becomes fairly useless. This PC World magazine article titled, “Wireless Routers: The Truth About Superfast Draft-N” summarizes the headaches quite well; bold emphasis is mine:

We also found that routers based on different draft-n chips (the Belkin uses Atheros chips, while the other three are based on Broadcom chips) do not interoperate at high speed. Buying products from the same vendor doesn't always ensure that all of them will use the same draft-n chips, either: At least one company, Netgear, is selling similarly named routers and PC Cards that are based on different draft-n chips, and you can determine which chip a product uses only by checking its model number and/or the chip logo on its packaging.

Especially this assessment of the overall murkiness of the 802.11n world of hardware and how manufacturers are essentially using end users as “alpha” and “beta” testers:

But we'd rather vendors didn't use paying customers to do their alpha and beta testing. You shouldn't have to install multiple firmware updates to see promised performance on a brand-new product.

To better understand how this kind of stuff plays out in a real-world situation—like yours—let’s look at all of the supported wireless protocols of your devices:

Okay, that might seem like an impenetrable wall of specs, but the key spec is your router which seems to only be able to only use the maximum 802.11 protocol of 802.11n (draft 2.0). I am no 100% expert on the headaches of 802.11n specs, but I do know that the 802.11n “draft” specifications are fairly ancient and any modern device worth anything should be using an 802.11n “final” spec.

That said, knowing that alone won’t help you much in theory or concept. In practical terms there are only three solutions I can provide that I think will work.

  1. Buy a New Router: Since you are using an ADSL modem/router combo, I would recommend getting a separate router that supports 802.11n “final” at least—802.11ac at most—and using that router instead. You would then be “neutering” the router ADSL2+ Wireless N300 Modem Router to use it in “bridge mode” and connect that to the new router and things should be tons better.
  2. Adjust Your Laptop Settings for Better 802.11n Performance: Again, not 100% on the whole world of 802.11n tweaking, but if there is any way for you to adjust settings to lock your laptop at specific specs/speeds I would recommend that. The most obvious thing that comes to mind is forcing the laptop to use 802.11n at 2.4Ghz instead of 5Ghz and if there is a “mixed” mode—meaning it would downgrade to 802.11g or 802.11b if needed—then disable that and force one protocol to be your preferred protocol.

    I would even recommend testing this theory out on the slower 802.11g protocol and to see if that helps in any way. Then move up to 802.11n and tweak that to see if you can successfully tweak 802.11n settings to work best for you. Heck, if running at 802.11g protocol works better then maybe you should stick to that since the max speed of 802.11g is 54mbps which would only be slow between devices on your LAN but more than 5x adequate for your WAN connection which seems to max out at around 10mbps anyway.
  3. Adjust Your Router Settings for Better 802.11n Performance: If you can, see if you can lock your Wi-Fi router in at one Wi-Fi protocol setting. Similar to what I outline in idea 2, but the difference here is your router settings might affect your portable device settings as well.

And all that said, if this were the headache I was dealing with, I would do as I outline in idea 1 and just spring for a new Wi-Fi router. Typically an ISP provided combo modem/router is just lacking in features and updates as well as lacking in support from a larger world of users. By purchasing a new router you not only solve your issue quickly, but you will instantly be able to tap other users of that more commonly used router for advice and tips if new issues come up.

2
  • But if the problem was the router, wouldn't the phone be slow as well?
    – A G
    Commented Apr 7, 2015 at 13:56
  • 1
    @AG Not if the router's problem is that it implements the 802.11n spec inconsistently, so that it handles some clients well and other clients poorly. If so, it could well be that the phone is "lucky" (or has extra steps to work around these foibles) and avoids the issues, while the laptop is subject to the degraded performance. Commented Apr 7, 2015 at 14:15
14

For your specific situation where you use an Intel network card on Ubuntu 14.10 (which has a kernel newer than 3.13), a change in the iwlwifi driver can possibly have affected the throughput of your Intel wireless network card.

This change can be be reverted by creating the file /etc/modprobe.d/iwlwifi.conf containing:

options iwlwifi 11n_disable=8

To test it, reload (unload and load) your Intel wireless modules with modprobe commands:

$ sudo modprobe -v -r iwldvm
rmmod iwldvm
rmmod iwlwifi
rmmod mac80211
rmmod cfg80211
$ sudo modprobe -v iwlwifi
insmod /lib/modules/3.16.0-33-generic/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/3.16.0-33-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko 11n_disable=8
insmod /lib/modules/3.16.0-33-generic/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/3.16.0-33-generic/kernel/drivers/net/wireless/iwlwifi/dvm/iwldvm.ko

You can also verify the parameter by reading a file in sysfs:

$ cat /sys/module/iwlwifi/parameters/11n_disable 
8

This change improved by LAN throughput from 20 Mbit/s to 80 Mbit/s.

3
  • 1
    Apparently, "11n_disable=8" enables antenna aggregation.
    – Yorik
    Commented Apr 7, 2015 at 19:45
  • @Yorik Correct. Initially only 11n_disable=1 was supported (as boolean), but later more states were needed. The full description from modprobe -p iwlwifi is: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
    – Lekensteyn
    Commented Apr 7, 2015 at 21:43
  • 2
    it's 'modinfo -p', not modprobe, for folks like me playing along at home
    – Rob Latham
    Commented Apr 8, 2015 at 21:08

You must log in to answer this question.

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