Skip to contentSkip to conversation

iwl3945 slow for downloading

DISCUSSION Cédric Auger 4 participants 10 messages Jul 26, 2008 – Jul 27, 2008

lore
Share & tools
lore
#0 lore raw

hello
i've a problem for iwl3945 and didn't find on google something about that. i have the kernel 2.6.26 and use the kernel's driver. when i was with the ipw3945, i could download with a speed of at least 600k/s, and sometimes more.
it's some time i changed for iwl3945 and didn't see some difference exept it works better in several ways, but some times ago, i noticed that dowloading big images was slow.
i checked to transfer a file between 2 computer by wifi, and the download is limited to about 130-140k/s. when i plug a cable, i go directly to 900kb/s.
i tried to remove all debugging options in the kernel for that driver, but no differences.
i don't see any difference when i go on website, it's only the max download speed wich cannot go more thant 130kb/s.
i have a dell m1710, with intel 3945ABG
my lspci :
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
i'm on debian sid, with a 2.6.26 kernel and use wpa supplicant i have networkmanager as daemon, but use /etc/network/interfaces and ifup to manage my wifi
i have no error on my syslog, daemon.log, wpa_supplicant log, i don't know if you need some extra informations about my system. thanks
cedric

#1 lore raw
Quoted 3 lines · C=E9dric Auger wrote:

hello
i've a problem for iwl3945 and didn't find on google something about that. i have the kernel 2.6.26 and use the kernel's driver. when i wa=

s

Quoted 1 line

with the ipw3945, i could download with a speed of at least 600k/s, a=

nd

Quoted 7 lines

sometimes more.
it's some time i changed for iwl3945 and didn't see some difference exept it works better in several ways, but some times ago, i noticed that dowloading big images was slow.
i checked to transfer a file between 2 computer by wifi, and the download is limited to about 130-140k/s. when i plug a cable, i go directly to 900kb/s.

I don't know if it helps with debugging this issue, but I've seen the s= ame
on a laptop from a friend of mine (same card).

After some searching I found that setting the AP to g-only mode instead=
of
b+g mixed made it work at decent speeds. Another symptom of this slowdo= wn is
that there is typically an unnaturally high number of retransmissions o= n the
air, which eats up a lot of airtime.

I've spent some time looking through the code to find the reason for th= is
but couldn't find anything yet (maybe somebody from Intel could help).

- Felix

--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 10 lines · Felix Fietkau

I don't know if it helps with debugging this issue, but I've seen the same on a laptop from a friend of mine (same card).

After some searching I found that setting the AP to g-only mode instead of b+g mixed made it work at decent speeds. Another symptom of this slowdown is that there is typically an unnaturally high number of retransmissions on the air, which eats up a lot of airtime.

I've spent some time looking through the code to find the reason for this but couldn't find anything yet (maybe somebody from Intel could help).

Just for comparison, my BCM4312 running b43 from the latest wireless-testing gets the following tcpperf throughput:

AP Mode TX RX

Mixed b/g    19.8 MB/s   23.0 MB/s
g-only       20.5 MB/s   23.1 MB/s

For these tests, the connecting end was wired to the router. The difference in TX speeds was about what I expected - the small difference in RX speeds was not. In any case, if you see a large difference with iwl3945, that would be useful information.

You can obtain tcpperf from http://wand.cs.waikato.ac.nz/~stj2/nsc/software.html

Larry

#3 lore raw

Le Sat, 26 Jul 2008 10:54:41 -0500,
Larry Finger <[email protected]> a =C3=A9crit :

Quoted 21 lines
Quoted 4 lines · Felix Fietkau

I don't know if it helps with debugging this issue, but I've seen the same on a laptop from a friend of mine (same card). =20
After some searching I found that setting the AP to g-only mode

Quoted 8 lines

instead of b+g mixed made it work at decent speeds. Another symptom of this slowdown is that there is typically an unnaturally high number of retransmissions on the air, which eats up a lot of airtime.
=20
I've spent some time looking through the code to find the reason for this but couldn't find anything yet (maybe somebody from Intel could help).

=20
Just for comparison, my BCM4312 running b43 from the latest wireless-testing gets the following tcpperf throughput:
=20
AP Mode TX RX
=20

Mixed b/g    19.8 MB/s   23.0 MB/s
g-only       20.5 MB/s   23.1 MB/s
Quoted 8 lines

=20
For these tests, the connecting end was wired to the router. The difference in TX speeds was about what I expected - the small difference in RX speeds was not. In any case, if you see a large difference with iwl3945, that would be useful information. =20
You can obtain tcpperf from
http://wand.cs.waikato.ac.nz/~stj2/nsc/software.html

hello
thanks for your answers.
i tried to set my ap to g-only, but i cannot :-( the wifi box is given by my provider and it seems cannot be changed...
so i tried tcpperf, this is the result :

cedric:/home/grisbi/tcpperf-1.754# ./tcpperf -c 192.168.0.4 -t 30
Duration: 30 9482usec
Bytes sent: 5481472 (5353 kB 5 MB 0 GB)
Bandwidth: 1461264 b/s (1461.26 kb/s 1.46 Mb/s)
Close duration: 0s 22usec

then i tried to download an image of ubuntu and i had about 900kb/s, so very good and i don't understand... then i tried to send a big file with scp to the other computer, as user and as root, it begins at 2,2MB/s and decrease untill 150kb/s and stays between 130-200kb/s i did again a tcpperf with -t 300 to check if it's not with the time, but i have 1,30MB/s, seems correct.

second test :
i stop the wifi and plug a cable. the second computer is still in wifi. tcpperf gives me 17Mb/s and the same file with scp is sent with about 2,2MB/s...
so now i really don't understand, from internet, loading work untill 900kb/s (ok for me), but beween 2 computers on my network i have max 200kb/s...
hopes this can be usefull
thanks
cedric

--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 29 lines · C=C3=A9dric Auger wrote:

Le Sat, 26 Jul 2008 10:54:41 -0500,
Larry Finger <[email protected]> a =C3=A9crit :
=20

Quoted 26 lines
Quoted 9 lines · Felix Fietkau

I don't know if it helps with debugging this issue, but I've seen the same on a laptop from a friend of mine (same card).

After some searching I found that setting the AP to g-only mode instead of b+g mixed made it work at decent speeds. Another symptom of this slowdown is that there is typically an unnaturally high number of retransmissions on the air, which eats up a lot of airtime.

Quoted 3 lines

I've spent some time looking through the code to find the reason for this but couldn't find anything yet (maybe somebody from Intel could help).

Just for comparison, my BCM4312 running b43 from the latest wireless-testing gets the following tcpperf throughput:

AP Mode TX RX

Mixed b/g    19.8 MB/s   23.0 MB/s
g-only       20.5 MB/s   23.1 MB/s

For these tests, the connecting end was wired to the router. The difference in TX speeds was about what I expected - the small difference in RX speeds was not. In any case, if you see a large difference with iwl3945, that would be useful information.

Quoted 6 lines
Quoted 2 lines

You can obtain tcpperf from
http://wand.cs.waikato.ac.nz/~stj2/nsc/software.html

=20
hello
thanks for your answers.
i tried to set my ap to g-only, but i cannot :-( the wifi box is give=

n

Quoted 11 lines

by my provider and it seems cannot be changed...
so i tried tcpperf, this is the result :
=20

cedric:/home/grisbi/tcpperf-1.754# ./tcpperf -c 192.168.0.4 -t 30
Duration: 30 9482usec
Bytes sent: 5481472 (5353 kB 5 MB 0 GB)
Bandwidth: 1461264 b/s (1461.26 kb/s 1.46 Mb/s)
Close duration: 0s 22usec
=20
then i tried to download an image of ubuntu and i had about 900kb/s,
so very good and i don't understand...  then i tried to send a big fi=

le

Quoted 7 lines

with scp to the other computer, as user and as root, it begins at 2,2MB/s and decrease untill 150kb/s and stays between 130-200kb/s i did again a tcpperf with -t 300 to check if it's not with the time, but i have 1,30MB/s, seems correct.
=20
second test :
i stop the wifi and plug a cable. the second computer is still in wif=

i.

Quoted 6 lines

tcpperf gives me 17Mb/s and the same file with scp is sent with about 2,2MB/s...
so now i really don't understand, from internet, loading work untill 900kb/s (ok for me), but beween 2 computers on my network i have max 200kb/s...
hopes this can be usefull

It looks as if your receive rate is a lot higher than the transmit rate= =2E You can=20
check that by using the computer with the iwl3945 as the server and ini= tiate=20
tcpperf from the other end.

Larry
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw

Le Sat, 26 Jul 2008 16:10:59 -0500,
Larry Finger <[email protected]> a =C3=A9crit :

Quoted 8 lines
Quoted 7 lines · C=C3=A9dric Auger wrote:

Le Sat, 26 Jul 2008 10:54:41 -0500,
Larry Finger <[email protected]> a =C3=A9crit :
=20

Quoted 4 lines
Quoted 3 lines · Felix Fietkau

I don't know if it helps with debugging this issue, but I've seen the same on a laptop from a friend of mine (same card).

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

After some searching I found that setting the AP to g-only mode instead of b+g mixed made it work at decent speeds. Another symptom of this slowdown is that there is typically an unnaturally high number of retransmissions on the air, which eats up a lot of airtime.

I've spent some time looking through the code to find the reason for this but couldn't find anything yet (maybe somebody from Inte=

l

Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 1 line

could help).

Just for comparison, my BCM4312 running b43 from the latest wireless-testing gets the following tcpperf throughput:

AP Mode TX RX

Mixed b/g    19.8 MB/s   23.0 MB/s
g-only       20.5 MB/s   23.1 MB/s

For these tests, the connecting end was wired to the router. The difference in TX speeds was about what I expected - the small difference in RX speeds was not. In any case, if you see a large difference with iwl3945, that would be useful information.

You can obtain tcpperf from
http://wand.cs.waikato.ac.nz/~stj2/nsc/software.html

Quoted 14 lines
Quoted 7 lines

=20
hello
thanks for your answers.
i tried to set my ap to g-only, but i cannot :-( the wifi box is given by my provider and it seems cannot be changed... so i tried tcpperf, this is the result :
=20

Quoted 7 lines
cedric:/home/grisbi/tcpperf-1.754# ./tcpperf -c 192.168.0.4 -t 30
Duration: 30 9482usec
Bytes sent: 5481472 (5353 kB 5 MB 0 GB)
Bandwidth: 1461264 b/s (1461.26 kb/s 1.46 Mb/s)
Close duration: 0s 22usec
=20
then i tried to download an image of ubuntu and i had about 900kb/s=

,

Quoted 3 lines
Quoted 3 lines

so very good and i don't understand... then i tried to send a big file with scp to the other computer, as user and as root, it begins at 2,2MB/s and decrease untill 150kb/s and stays between 130-200kb/=

s

Quoted 8 lines
Quoted 8 lines

i did again a tcpperf with -t 300 to check if it's not with the time, but i have 1,30MB/s, seems correct.
=20
second test :
i stop the wifi and plug a cable. the second computer is still in wifi. tcpperf gives me 17Mb/s and the same file with scp is sent with about 2,2MB/s...
so now i really don't understand, from internet, loading work until=

l

Quoted 1 line
Quoted 1 line

900kb/s (ok for me), but beween 2 computers on my network i have ma=

x

Quoted 6 lines
Quoted 2 lines

200kb/s...
hopes this can be usefull

=20
It looks as if your receive rate is a lot higher than the transmit rate. You can check that by using the computer with the iwl3945 as the server and initiate tcpperf from the other end.

hi
i didn't think about that...=20
i did the test and i have a bandwidth of 7,55Mb/s... more than for the other test...
so i did a transfer by scp from the other computer to my computer, begin to 2,2Mb/s and decrease to 930kb/s, which is good for me. so if i resume :

my computer 1 to computer 2 : 100-200kb/s
computer 2 to computer 1 : 950kb/s
internet to computer 1 : 950kb/s

then download seems correct, but upload seems bad. but if we look the results of tcpperf :
computer 1 to computer 2 : 1,5Mb/s
computer 2 to computer 1 : 7,5Mb/s

perhaps 1,5Mb/s for upload is not good as i thought ?
thanks
cedric
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"C=E9dric" =3D=3D C=E9dric Auger <[email protected]>

Is it just me, or is this thread terribly confusing in terms of bits-vs-bytes? Please try and be careful not to confuse the two, and ideally follow the convention that "b=3Dbits" and "B=3Dbytes", "Mb=3Dmegabits", "MB=3Dmegabytes", ...

Stefan

--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw
Quoted 6 lines · Stefan Monnier
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"C=E9dric" =3D=3D C=E9dric Auger <[email protected]>

=20
Is it just me, or is this thread terribly confusing in terms of bits-vs-bytes? Please try and be careful not to confuse the two, and ideally follow the convention that "b=3Dbits" and "B=3Dbytes", "Mb=3Dmegabits", "MB=3Dmegabytes", ...

I was very careful in my postings. Every number that I quoted was in Mb= /s, i.e.=20
Mega bits per second.

Larry
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#8 lore raw
In reply to Larry Finger
Quoted 5 lines · Larry Finger

Just for comparison, my BCM4312 running b43 from the latest wireless-testing gets the following tcpperf throughput:

AP Mode TX RX

Quoted 7 lines
Mixed b/g    19.8 MB/s   23.0 MB/s
g-only       20.5 MB/s   23.1 MB/s

For these tests, the connecting end was wired to the router. The difference in TX speeds was about what I expected - the small difference in RX speeds was not. In any case, if you see a large difference with iwl3945, that would be useful information.

On the laptop that I mentioned, this problem was only happening sometimes. I did not figure out what actually triggered it.
Most of the time the throughput was similar to what you posted here, but when it went down, it went down right to 100-120 KB/s

Could it be that this is triggered by the use b/g protection mode due to reception of foreign beacons of B devices by the AP? Has anybody tested RTS/CTS in detail?

- Felix

#9 lore raw

Le Sat, 26 Jul 2008 18:56:22 +0200,
=46elix Fietkau <[email protected]> a =C3=A9crit :

Quoted 14 lines
Quoted 5 lines · Larry Finger

Just for comparison, my BCM4312 running b43 from the latest wireless-testing gets the following tcpperf throughput:
=20
AP Mode TX RX
=20

Quoted 7 lines
Mixed b/g    19.8 MB/s   23.0 MB/s
g-only       20.5 MB/s   23.1 MB/s

=20
For these tests, the connecting end was wired to the router. The difference in TX speeds was about what I expected - the small difference in RX speeds was not. In any case, if you see a large difference with iwl3945, that would be useful information.

Quoted 4 lines

On the laptop that I mentioned, this problem was only happening sometimes. I did not figure out what actually triggered it. Most of the time the throughput was similar to what you posted here, but when it went down, it went down right to 100-120 KB/s

i'm happy that it happened sometimes too because i was begining to feel crazy ;-) all the last tests seem to show an upload problem, but at the begining, i was thinking i had a download problem (from internet), but from yesterday, i cannot reproduce that, only upload...
=20

Quoted 3 lines

Could it be that this is triggered by the use b/g protection mode due to reception of foreign beacons of B devices by the AP? Has anybody tested RTS/CTS in detail?

for that i think it goes beyond my abilities...
i forgot to say about the AP, i think it's not g wifi, it's MIMO. perhaps it could change something.
and for information, the second computer i use to do the tests is also a 3945ABG intel wireless, but installed with ubuntu and iwl3945 too (but the default installation), with a 2.6.24 kernel.
the difference with me, except the computer itself, is debian, kernel 2.6.26 compiled by myself, and before i used ipw3945, but remove it completely
thanks
cedric
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html