Bug 16132 - [iwl3945] Sudden drop of transfer rate
Summary: [iwl3945] Sudden drop of transfer rate
Status: RESOLVED OBSOLETE
Alias: None
Product: Networking
Classification: Unclassified
Component: Wireless (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Stanislaw Gruszka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-05 19:26 UTC by Andrey Zhekov
Modified: 2013-12-10 21:42 UTC (History)
8 users (show)

See Also:
Kernel Version: 2.6.38
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description Andrey Zhekov 2010-06-05 19:26:28 UTC
After some time (within a minute while updating for example) the internet connection drops considerably. At the start I have full speed of 700KBytes/sec (6Mbit) and then after a while the speed drops to 6 times slower!

Tried this on both Ubuntu LTS 10.04 and Archlinux 2009.06 with the latest updates.

Here is the link to Launchpad bug report:

https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/581936
Comment 1 Reinette Chatre 2010-06-16 22:39:15 UTC
I read through the comments in the link you provided and things seem to be very inconclusive. For a start people using wireless devices from various vendors are complaining that their speed dropped after updating Ubuntu. Some report that the default install worked well but some update afterward caused things to slow down. 

It is not possible for me to reliably debug kernels that are unique to OSV since they make changes to it that are not available in the general releases. 

To get an idea of what the issue is, could you try a recent vanilla kernel? If you do not want to update your entire kernel then you can use compat-wireless. The ideal would probably be if you can try out the latest code by testing the latest compat-wireless, see http://wireless.kernel.org/en/users/Download
Comment 2 Andrey Zhekov 2010-06-20 22:14:05 UTC
Hello

I tried the link you provided (http://wireless.kernel.org/en/users/Download) after that I totaly loose wifi connection even when all modules from the archive were loaded. So, I decided to look at the problem by another way.

In the Launchpad report I said that the issue exist on Archlinux too with the same kernel of 2.6.32.X series.

Now I'm using Ubuntu as a test mahine.
The symptom of the issue is as following:
- after login I'm notified about avaiable updates for the system and start to download them.
The speed is great as it has to be (~700Kbytes/sec). But after 40sec-to-1 minute or so the speed becomes around 80-120KBytes and never goes back to nominal 700.

At the moment I have Ubuntu kernel 2.6.32-23-generic-pae and recently I tried mainline kernel 2.6.35rc2 - had the same result

If I can help somehow with troubleshooting - please tell me
Thanks in advance!
Andrey
Comment 3 Eric Appleman 2010-09-23 22:58:59 UTC
I can confirm this bug on Ubuntu Maverick with a 3945.

Linux kingfisher 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 GNU/Linux

Using ndiswrapper instead of iwl3945, I get full speeds with no drop in speed.
Comment 5 wey-yi.w.guy 2010-09-23 23:20:23 UTC
hi,

we are aware of this issue. but currently we are focus and busy on issues with our new product release. We will do our best to address any issues on our legacy products as soon as we have time. 

sorry and thanks for reporting.
Wey
Comment 6 Eric Appleman 2010-09-24 12:04:32 UTC
Not to be rude, but I really find that unacceptable given how this bug has been around ever since ipw3945 was deprecated. That is, it's been plaguing Ubuntu for 6 releases, Maverick included.
Comment 7 Thomas S 2010-10-21 16:43:17 UTC
When we decided to move to Linux we thought that the perfect hardware for our laptops would be computers with as much of intel hw as possible, since we though you guys loved Linux and opensource in general. Now we have updated our Linux distro to the newest version and hundreds of our laptops suffers this slow wlan bug, I'm very popular now with my users, thanks Intel!

Linux motto is not "use and throw away", Linux is expected to run great even on "legacy" HW!! I hoped this motto would also be yours (Intel).
Comment 8 Eric Appleman 2010-12-22 23:15:50 UTC
Max speeds over time using Live USB sessions

Gutsy (ipw3945): 24 Mbps
Karmic (iwl3945): 16 Mbps
Lucid (iwl3945): 16 Mbps
Maverick (iwl3945): 1-3 Mbps
Natty (iwl3945): 1-3 Mbps
Natty (ndiswrapper): 24 Mbps
Comment 9 Radosław Piliszek 2010-12-30 09:02:12 UTC
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/621265

It's a nasty bug that affects at least the latest Ubuntu, Mint and Fedora.
It also affects vanilla kernels compiled in these distros.

Still, I couldn't reproduce it in Gentoo.
Comment 10 Jakub Stachowski 2011-07-17 17:54:42 UTC
The bug still exists in 2.6.37, 2.6.38 and 3.0-rc7. Tested on Fujitsu Siemens v5505 with OpenSUSE. Download speed is about 1-1.5Mbit/s. The same machine gets 6Mbit/s (the same as wired connection) under Windows.

If anybody actually cares about this bug and needs more info, I will be happy to perform whatever tests are necessary.
Comment 11 Radosław Piliszek 2011-07-17 18:22:48 UTC
Could you look here?
https://bugzilla.redhat.com/show_bug.cgi?id=671366
It's the thread where mine problem got solved.
Comment 12 Jakub Stachowski 2011-07-17 19:31:26 UTC
According to this thread, Fedora kernel kernel-2.6.38.4-20.fc15 should have this problem fixed. I installed 2.6.38.8-35.fc15.i686, but the speed is still only 1.2Mbit/s.
I also found old Fedora 9 live with kernel 2.6.25 - speed was also slow.

I see that your last comment in that thread was #54 - "did not help me either". So what exactly solved your problem?
Comment 13 Radosław Piliszek 2011-07-17 20:00:44 UTC
That was about the scaling patch.

Disabling hardware scan while using 2.6.38 helped me. In the previous kernels the software scan is slow so don't bother trying.

Funnily Mandriva has had no problems. So I would suggest trying it to see if you have the same problem I did. It seemed there were at least 2 bugs with this adapter but there might be more.
Comment 14 Jakub Stachowski 2011-07-17 20:20:49 UTC
Big thanks about disabling hardware scan tip. However in my case it seems to have opposite effect - OpenSUSE already sets disable_hw_scan=1 as default option for iwl3945. After changing it to 0, I finally have 6Mbit/s download on linux. Upload is still slower (~0.45Mbit/s vs 0.7Mbit/s on windows), but it is much smaller problem.
Comment 15 Radosław Piliszek 2011-07-18 06:11:36 UTC
That's odd. I use disable_hw_scan=1 because 0 causes great speed loss o.O
Comment 16 Stanislaw Gruszka 2012-01-15 09:21:59 UTC
Some users needs to enable hw scan for achieve good performance other needs to disable it for the same reason, eh bugger.
Comment 17 Alan 2013-12-10 21:42:19 UTC
Please re-open if still seem in current kernels

Note You need to log in before you can comment on or make changes to this bug.