Announcement

Collapse
No announcement yet.

Inconsistent, VERY inconsistent, Internet connection speeds

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Inconsistent, VERY inconsistent, Internet connection speeds

    I have two laptops sitting right in front of me, connected via wireless to the same router in the next room. My first laptop is an Asus Q500a with a Centrino Wireless -N 2230. Is getting about 30Mbs down. My Acer with a Qualcomm Atheros QCA6174 is all over the board but mostly around 3Mbs down. (every once in a while it jumps to 60-70Mbs down but mostly it starts in the teens and slows down to about 3Mbs.

    They are both i7 (Asus generation 3 and Acer generation 4)

    Any suggestions as to what's happening with the slower Acer and how to fix it?

    Code:
    [SIZE=+1][FONT=Ubuntu]*-network
                              description: Wireless interface
                              product: Centrino Wireless-N 2230
                              vendor: Intel Corporation
                              physical id: 0
                              bus info: pci@0000:02:00.0
                              logical name: wlp2s0
                              version: c4
                              serial: XXXXXXXXXX
                              width: 64 bits
                              clock: 33MHz
                              capabilities: bus_master cap_list ethernet             physical wireless
                              configuration: broadcast=yes driver=iwlwifi             driverversion=4.13.0-45-generic firmware=18.168.6.1             ip=10.0.0.63 latency=0 link=yes multicast=yes wireless=IEEE             802.11
                              resources: irq:29 memory:f7c00000-f7c01fff
            [/FONT][/SIZE]
    My other laptop is an Acer Aspire V17 Nitro running Kubuntu 18.04 and it has:

    Code:
    *-network
                  description: Wireless interface
                  product: QCA6174 802.11ac Wireless Network Adapter
                  vendor: Qualcomm Atheros
                  physical id: 0
                  bus info: pci@0000:07:00.0
                  logical name: wlp7s0
                  version: 20
                  serial: XXXXXXXXXXX
                  width: 64 bits
                  clock: 33MHz
                  capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
                  configuration: broadcast=yes driver=ath10k_pci driverversion=4.15.0-23-generic
    If you think Education is expensive, try ignorance.

    The difference between genius and stupidity is genius has limits.

    #2
    I had a similar problem with the ath9k driver. For yours, modinfo gives:
    ~$ modinfo ath10k_pci
    filename: /lib/modules/4.13.0-45-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
    firmware: ath10k/QCA9377/hw1.0/board.bin
    firmware: ath10k/QCA9377/hw1.0/firmware-5.bin
    firmware: ath10k/QCA6174/hw3.0/board-2.bin
    firmware: ath10k/QCA6174/hw3.0/board.bin
    firmware: ath10k/QCA6174/hw3.0/firmware-6.bin
    firmware: ath10k/QCA6174/hw3.0/firmware-5.bin
    firmware: ath10k/QCA6174/hw3.0/firmware-4.bin
    firmware: ath10k/QCA6174/hw2.1/board-2.bin
    firmware: ath10k/QCA6174/hw2.1/board.bin
    firmware: ath10k/QCA6174/hw2.1/firmware-5.bin
    firmware: ath10k/QCA6174/hw2.1/firmware-4.bin

    firmware: ath10k/QCA9887/hw1.0/board-2.bin
    firmware: ath10k/QCA9887/hw1.0/board.bin
    firmware: ath10k/QCA9887/hw1.0/firmware-5.bin
    firmware: ath10k/QCA988X/hw2.0/board-2.bin
    firmware: ath10k/QCA988X/hw2.0/board.bin
    firmware: ath10k/QCA988X/hw2.0/firmware-5.bin
    firmware: ath10k/QCA988X/hw2.0/firmware-4.bin
    firmware: ath10k/QCA988X/hw2.0/firmware-3.bin
    firmware: ath10k/QCA988X/hw2.0/firmware-2.bin
    license: Dual BSD/GPL
    description: Driver support for Qualcomm Atheros 802.11ac WLAN PCIe/AHB devices
    author: Qualcomm Atheros
    srcversion: 8D7A52EE462CD73D0445DB2
    alias: pci:v0000168Cd00000050sv*sd*bc*sc*i*
    alias: pci:v0000168Cd00000042sv*sd*bc*sc*i*
    alias: pci:v0000168Cd00000046sv*sd*bc*sc*i*
    alias: pci:v0000168Cd00000056sv*sd*bc*sc*i*
    alias: pci:v0000168Cd00000040sv*sd*bc*sc*i*
    alias: pci:v0000168Cd0000003Esv*sd*bc*sc*i*
    alias: pci:v0000168Cd00000041sv*sd*bc*sc*i*
    alias: pci:v0000168Cd0000003Csv*sd*bc*sc*i*
    depends: ath10k_core
    intree: Y
    name: ath10k_pci
    vermagic: 4.13.0-45-generic SMP mod_unload
    parm: irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
    parm: reset_mode:0: auto, 1: warm only (default: 0) (uint)

    Unfortunately, the parm offer only two adjustments, neither of which seem to relate to your problem. You could try changing the irq_mode to 1 (legacy).

    sudo rmmod -v ath10k_pci
    sudo modprobe -v ath10k_pci irq_mode=1

    Then log back onto your wifi.

    iwlwifi, on the other hand, has a forest of parm's to possible adjust:
    :~$ modinfo iwlwifi
    filename: /lib/modules/4.13.0-45-generic/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
    license: GPL
    author: Copyright(c) 2003- 2015 Intel Corporation <linuxwifi@intel.com>
    description: Intel(R) Wireless WiFi driver for Linux
    firmware: iwlwifi-100-5.ucode
    firmware: iwlwifi-1000-5.ucode
    firmware: iwlwifi-135-6.ucode
    firmware: iwlwifi-105-6.ucode
    firmware: iwlwifi-2030-6.ucode
    firmware: iwlwifi-2000-6.ucode
    firmware: iwlwifi-5150-2.ucode
    firmware: iwlwifi-5000-5.ucode
    firmware: iwlwifi-6000g2b-6.ucode
    firmware: iwlwifi-6000g2a-6.ucode
    firmware: iwlwifi-6050-5.ucode
    firmware: iwlwifi-6000-6.ucode
    firmware: iwlwifi-7265D-29.ucode
    firmware: iwlwifi-7265-17.ucode
    firmware: iwlwifi-3168-29.ucode
    firmware: iwlwifi-3160-17.ucode
    firmware: iwlwifi-7260-17.ucode
    firmware: iwlwifi-8265-33.ucode
    firmware: iwlwifi-8000C-33.ucode
    firmware: iwlwifi-9260-th-b0-jf-b0--33.ucode
    firmware: iwlwifi-9260-th-a0-jf-a0--33.ucode
    firmware: iwlwifi-9000-pu-a0-jf-b0--33.ucode
    firmware: iwlwifi-9000-pu-a0-jf-a0--33.ucode
    firmware: iwlwifi-Qu-a0-jf-b0--33.ucode
    firmware: iwlwifi-Qu-a0-hr-a0--33.ucode
    srcversion: 339D7D3BD0DD2A9C7FE616F
    alias: pci:v00008086d00002720sv*sd00001080bc*sc*i*
    alias: pci:v00008086d00002720sv*sd00000070bc*sc*i*
    ...
    alias: pci:v00008086d00004232sv*sd00001204bc*sc*i*
    alias: pci:v00008086d00004232sv*sd00001301bc*sc*i*
    alias: pci:v00008086d00004232sv*sd00001201bc*sc*i*
    depends: cfg80211
    intree: Y
    name: iwlwifi
    vermagic: 4.13.0-45-generic SMP mod_unload
    parm: swcrypto:using crypto in software (default 0 [hardware]) (int)
    parm: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
    parm: amsdu_size:amsdu size 0: 12K for multi Rx queue devices, 4K for other devices 1:4K 2:8K 3:12K (default 0) (int)
    parm: fw_restart:restart firmware in case of error (default true) (bool)
    parm: antenna_coupling:specify antenna coupling in dB (default: 0 dB) (int)
    parm: nvm_file:NVM file name (charp)
    parm: d0i3_disable:disable d0i3 functionality (default: Y) (bool)
    parm: lar_disable:disable LAR functionality (default: N) (bool)
    parm: uapsd_disable:disable U-APSD functionality bitmap 1: BSS 2: P2P Client (default: 3) (uint)
    parm: bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
    parm: led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
    parm: power_save:enable WiFi power management (default: disable) (bool)
    parm: power_level:default power save level (range from 1 - 5, default: 1) (int)
    parm: fw_monitor:firmware monitor - to debug FW (default: false - needs lots of memory) (bool)
    parm: d0i3_timeout:Timeout to D0i3 entry when idle (ms) (uint)
    parm: disable_11acisable VHT capabilities (default: false) (bool)
    https://wiki.archlinux.org/index.php/Kernel_module

    Suggested possible changes include "antenna_coupling", "bt_coex_active" and "power_save".

    You can create a text file in /etc/modprobe.d/ titled "iwlwifi.conf".
    In it you can place
    options iwlwifi power_save=disable
    options iwlwifi bt_coex_active=disable
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Do you use a wireless mouse with the Acer? Some of them have a design fault in that the wifi antenna is too close to one of the USB ports, and the signals interfere. There's a newish laptop I support that is a dog with the dongle plugged in on the right.

      Regards, John Little
      Regards, John Little

      Comment


        #4
        Originally posted by jlittle View Post
        Do you use a wireless mouse with the Acer? Some of them have a design fault in that the wifi antenna is too close to one of the USB ports, and the signals interfere. There's a newish laptop I support that is a dog with the dongle plugged in on the right.

        Regards, John Little
        Interesting concept. I have switched to my Asus for the time being as the speeds were driving me to dark places. But I will definitely give it a try.

        Thanks.
        If you think Education is expensive, try ignorance.

        The difference between genius and stupidity is genius has limits.

        Comment


          #5
          Originally posted by GreyGeek View Post
          I had a similar problem with the ath9k driver. For yours, modinfo gives:

          Unfortunately, the parm offer only two adjustments, neither of which seem to relate to your problem. You could try changing the irq_mode to 1 (legacy).

          sudo rmmod -v ath10k_pci
          sudo modprobe -v ath10k_pci irq_mode=1

          Then log back onto your wifi.

          iwlwifi, on the other hand, has a forest of parm's to possible adjust:

          https://wiki.archlinux.org/index.php/Kernel_module

          Suggested possible changes include "antenna_coupling", "bt_coex_active" and "power_save".

          You can create a text file in /etc/modprobe.d/ titled "iwlwifi.conf".
          In it you can place
          options iwlwifi power_save=disable
          options iwlwifi bt_coex_active=disable
          Apparently I already had the file. I first commented out what was there (as Dolphin would not let me rename it), that had no affect so I added the two lines you suggested and no luck there either.

          Thanks,
          If you think Education is expensive, try ignorance.

          The difference between genius and stupidity is genius has limits.

          Comment


            #6
            Originally posted by jlittle View Post
            Do you use a wireless mouse with the Acer? Some of them have a design fault in that the wifi antenna is too close to one of the USB ports, and the signals interfere. There's a newish laptop I support that is a dog with the dongle plugged in on the right.

            Regards, John Little
            Ok, try this on for size. I fired up the Acer and tried switching the mouse dongle from one side of the laptop to the other (also from a 2.0 USB to 3.0 USB). No change, maybe even a little worse. So I thought, try it with the mouse not connected at all... lo and behold, I'm suddenly getting speeds @80Mbs. I'm a happy camper. I call my son in to show him I found the solution and I decide to make it a visual demonstration and I plugged the wireless mouse back in to its usual port and son of a witch, I'm getting the same high speeds! My son says this house haunts computers.

            SpecialEDit: I don't know what the fluke was but it's definitely the mouse. I just hit 96.9Mbs on a speedtest. On my Asus I've been getting around 20, sometimes 30Mbs for the last year. (I guess I should have tested the Asus without the mouse when I had it up and running).
            Attached Files
            Last edited by SpecialEd; Jun 15, 2018, 04:12 PM.
            If you think Education is expensive, try ignorance.

            The difference between genius and stupidity is genius has limits.

            Comment


              #7
              Solved. It seems so obvious in hindsight. Special thanks to jlittle.
              If you think Education is expensive, try ignorance.

              The difference between genius and stupidity is genius has limits.

              Comment

              Working...
              X