2014-01-26 13:15:06

by Benedikt Schwarz

[permalink] [raw]
Subject: iwlwifi: Upload rate is ten times faster on Windows

Hi,

the upload rate of my Intel Centrino Wireless-N 100 BGN (REV=0x6C) with
firmware version 39.31.5.1 build 32895 is about ten times faster on
Windows 7 (~ 4500 KB/s) than on Linux (~ 500 KB/s) when uploading files
to my NAS device. I'm running Kubuntu 13.10 with kernel
3.12.0-031200-generic.

What could be the reason for this problem?


Regards,
Benedikt Schwarz


=== dmesg ===

iwlwifi 0000:01:00.0: can't disable ASPM; OS doesn't have ASPM control
iwlwifi 0000:01:00.0: irq 44 for MSI/MSI-X
iwlwifi 0000:01:00.0: loaded firmware version 39.31.5.1 build 32895
op_mode iwldvm
iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUG disabled
iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Wireless-N 100 BGN,
REV=0x6C
iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
iwlwifi 0000:01:00.0: Radio type=0x0-0x0-0x3
iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
iwlwifi 0000:01:00.0: Radio type=0x0-0x0-0x3



2014-01-28 19:05:50

by Benedikt Schwarz

[permalink] [raw]
Subject: Re: iwlwifi: Upload rate is ten times faster on Windows

Hi Pat,

Am 27.01.2014 00:56, schrieb Pat Erley:
> On 01/26/2014 07:09 AM, Benedikt Schwarz wrote:
>> Hi,
>>
>> the upload rate of my Intel Centrino Wireless-N 100 BGN (REV=0x6C) with
>> firmware version 39.31.5.1 build 32895 is about ten times faster on
>> Windows 7 (~ 4500 KB/s) than on Linux (~ 500 KB/s) when uploading files
>> to my NAS device. I'm running Kubuntu 13.10 with kernel
>> 3.12.0-031200-generic.
>>
>> What could be the reason for this problem?
>
> Some questions which will greatly help in getting this resolved:
>
> How are you connecting to the NAS? Samba/Cifs? NFS? FTP?

A Samba/CIFS connection.


> How are you measuring your bandwidth?

I use bandwidth monitors.


> Check /etc/modprobe.d/* for a line that has something like:
>
> iwlwifi 11n_disable=1

I haven't found a line like this in any of these files in /etc/modprobe.d/


> A lot of distributions have that on by default as there have been issues
> with the iwlwifi driver using 802.11n.
>
> Are you connecting to an open or wpa1+tkip access point? Try using
> wpa2+ccmp instead. This is required for 802.11n to work. Windows may
> not be enforcing that portion of the standard.

I already use WPA2.


Regards,
Benedikt Schwarz


2014-01-26 23:56:43

by Pat Erley

[permalink] [raw]
Subject: Re: iwlwifi: Upload rate is ten times faster on Windows

On 01/26/2014 07:09 AM, Benedikt Schwarz wrote:
> Hi,
>
> the upload rate of my Intel Centrino Wireless-N 100 BGN (REV=0x6C) with
> firmware version 39.31.5.1 build 32895 is about ten times faster on
> Windows 7 (~ 4500 KB/s) than on Linux (~ 500 KB/s) when uploading files
> to my NAS device. I'm running Kubuntu 13.10 with kernel
> 3.12.0-031200-generic.
>
> What could be the reason for this problem?
>
>
> Regards,
> Benedikt Schwarz
>
>
> === dmesg ===
>
> iwlwifi 0000:01:00.0: can't disable ASPM; OS doesn't have ASPM control
> iwlwifi 0000:01:00.0: irq 44 for MSI/MSI-X
> iwlwifi 0000:01:00.0: loaded firmware version 39.31.5.1 build 32895
> op_mode iwldvm
> iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUG disabled
> iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
> iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
> iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Wireless-N 100 BGN,
> REV=0x6C
> iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
> iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
> iwlwifi 0000:01:00.0: Radio type=0x0-0x0-0x3
> iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
> iwlwifi 0000:01:00.0: Radio type=0x0-0x0-0x3
>

Some questions which will greatly help in getting this resolved:

How are you connecting to the NAS? Samba/Cifs? NFS? FTP? How are you
measuring your bandwidth?

Check /etc/modprobe.d/* for a line that has something like:

iwlwifi 11n_disable=1

A lot of distributions have that on by default as there have been issues
with the iwlwifi driver using 802.11n.

Are you connecting to an open or wpa1+tkip access point? Try using
wpa2+ccmp instead. This is required for 802.11n to work. Windows may
not be enforcing that portion of the standard.