* slow connection
@ 2014-10-31 19:00 Evgeniy Dushistov
2014-10-31 20:12 ` Rafał Miłecki
0 siblings, 1 reply; 4+ messages in thread
From: Evgeniy Dushistov @ 2014-10-31 19:00 UTC (permalink / raw)
To: b43-dev
Hi,
I used linux 3.16.3 and b43 driver with firmware version 784.2.
$iwconfig
wlp4s0 IEEE 802.11bg ESSID:"some sid"
Mode:Managed Frequency:2.437 GHz Access Point: 60:A4:4C:F0:DF:80
Bit Rate=24 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=70/70 Signal level=-27 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:18981 Invalid misc:16901 Missed beacon:0
$lspci -v
04:00.0 Network controller: Broadcom Corporation BCM4331 802.11a/b/g/n (rev 02)
Subsystem: Apple Inc. AirPort Extreme
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at c1900000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information: Len=78 <?>
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Capabilities: [160] Device Serial Number dc-cb-e9-ff-ff-16-28-cf
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma
to test speed I download file from wifi router with usb disk.
Under linux I got:
time curl 'ftp://192.168.1.1/somefile' -o res
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2147M 100 2147M 0 0 403k 0 1:30:52 1:30:52 --:--:-- 478k
real 90m52.745s
user 1m1.120s
sys 1m22.670s
On the same notebook, at the same place, but under Mac OS X I got:
time curl 'ftp://192.168.1.1/somefile' -o res
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2147M 100 2147M 0 0 8379k 0 0:04:22 0:04:22 --:--:-- 6801k
real 4m22.479s
user 0m9.149s
sys 0m31.209s
So it is 3.18 Mbit/s vs 71.57 MBit/s under the same conditions,
and the only difference is OS.
Any hints, how to speedup connection under linux?
--
/Evgeniy
^ permalink raw reply [flat|nested] 4+ messages in thread
* slow connection
2014-10-31 19:00 slow connection Evgeniy Dushistov
@ 2014-10-31 20:12 ` Rafał Miłecki
2014-10-31 22:41 ` Evgeniy Dushistov
0 siblings, 1 reply; 4+ messages in thread
From: Rafał Miłecki @ 2014-10-31 20:12 UTC (permalink / raw)
To: b43-dev
On 31 October 2014 20:00, Evgeniy Dushistov <dushistov@mail.ru> wrote:
> I used linux 3.16.3 and b43 driver with firmware version 784.2.
> $iwconfig
> wlp4s0 IEEE 802.11bg ESSID:"some sid"
> Mode:Managed Frequency:2.437 GHz Access Point: 60:A4:4C:F0:DF:80
> Bit Rate=24 Mb/s Tx-Power=20 dBm
> Retry short limit:7 RTS thr:off Fragment thr:off
> Encryption key:off
> Power Management:off
> Link Quality=70/70 Signal level=-27 dBm
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:18981 Invalid misc:16901 Missed beacon:0
>
> $lspci -v
> 04:00.0 Network controller: Broadcom Corporation BCM4331 802.11a/b/g/n (rev 02)
> Subsystem: Apple Inc. AirPort Extreme
> Flags: bus master, fast devsel, latency 0, IRQ 17
> Memory at c1900000 (64-bit, non-prefetchable) [size=16K]
> Capabilities: [40] Power Management version 3
> Capabilities: [58] Vendor Specific Information: Len=78 <?>
> Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
> Capabilities: [d0] Express Endpoint, MSI 00
> Capabilities: [100] Advanced Error Reporting
> Capabilities: [13c] Virtual Channel
> Capabilities: [160] Device Serial Number dc-cb-e9-ff-ff-16-28-cf
> Capabilities: [16c] Power Budgeting <?>
> Kernel driver in use: bcma-pci-bridge
> Kernel modules: bcma
>
> to test speed I download file from wifi router with usb disk.
>
> Under linux I got:
> time curl 'ftp://192.168.1.1/somefile' -o res
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 2147M 100 2147M 0 0 403k 0 1:30:52 1:30:52 --:--:-- 478k
>
> real 90m52.745s
> user 1m1.120s
> sys 1m22.670s
>
>
> On the same notebook, at the same place, but under Mac OS X I got:
> time curl 'ftp://192.168.1.1/somefile' -o res
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 2147M 100 2147M 0 0 8379k 0 0:04:22 0:04:22 --:--:-- 6801k
>
> real 4m22.479s
> user 0m9.149s
> sys 0m31.209s
>
> So it is 3.18 Mbit/s vs 71.57 MBit/s under the same conditions,
> and the only difference is OS.
>
> Any hints, how to speedup connection under linux?
We have some improvements for HT-PHY (BCM4331) in 3.18-rc1 (and
newer). Could you try it?
b43 is still limited to 802.11g speeds, but I hope it will be better
than 3.18 Mb/s.
--
Rafa?
^ permalink raw reply [flat|nested] 4+ messages in thread
* slow connection
2014-10-31 20:12 ` Rafał Miłecki
@ 2014-10-31 22:41 ` Evgeniy Dushistov
2014-10-31 23:15 ` Rafał Miłecki
0 siblings, 1 reply; 4+ messages in thread
From: Evgeniy Dushistov @ 2014-10-31 22:41 UTC (permalink / raw)
To: b43-dev
On Fri, Oct 31, 2014 at 09:12:39PM +0100, Rafa? Mi?ecki wrote:
> > So it is 3.18 Mbit/s vs 71.57 MBit/s under the same conditions,
> > and the only difference is OS.
> >
> > Any hints, how to speedup connection under linux?
>
> We have some improvements for HT-PHY (BCM4331) in 3.18-rc1 (and
> newer). Could you try it?
>
> b43 is still limited to 802.11g speeds, but I hope it will be better
> than 3.18 Mb/s.
>
I got:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2147M 100 2147M 0 0 2246k 0 0:16:18 0:16:18 --:--:-- 1842k
real 16m18.774s
user 0m27.340s
sys 0m36.350s
This is ~ 17.55Mbit/s for file transfer.
What is much, much better. Thank you.
Are these changes(3.16 [slow b43] vs 3.18 [fast b43]) located
in drivers/net/wireless/b43?
I would like to port them(changes) to my 3.16 kernel.
By the way, during test connection was hang,
and I can not ping any machine outside of my notebook.
I rmmod/modprobe b43, restart wpa_supplicant/dhcpcd
and all back to normal.
And after restart I was unable to reproduce it(bug).
dmesg also show nothing. Any hints how to debug such
kind of issues, if I see it again?
--
/Evgeniy
^ permalink raw reply [flat|nested] 4+ messages in thread
* slow connection
2014-10-31 22:41 ` Evgeniy Dushistov
@ 2014-10-31 23:15 ` Rafał Miłecki
0 siblings, 0 replies; 4+ messages in thread
From: Rafał Miłecki @ 2014-10-31 23:15 UTC (permalink / raw)
To: b43-dev
On 31 October 2014 23:41, Evgeniy Dushistov <dushistov@mail.ru> wrote:
> On Fri, Oct 31, 2014 at 09:12:39PM +0100, Rafa? Mi?ecki wrote:
>> > So it is 3.18 Mbit/s vs 71.57 MBit/s under the same conditions,
>> > and the only difference is OS.
>> >
>> > Any hints, how to speedup connection under linux?
>>
>> We have some improvements for HT-PHY (BCM4331) in 3.18-rc1 (and
>> newer). Could you try it?
>>
>> b43 is still limited to 802.11g speeds, but I hope it will be better
>> than 3.18 Mb/s.
>>
>
> I got:
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 2147M 100 2147M 0 0 2246k 0 0:16:18 0:16:18 --:--:-- 1842k
>
> real 16m18.774s
> user 0m27.340s
> sys 0m36.350s
>
> This is ~ 17.55Mbit/s for file transfer.
> What is much, much better. Thank you.
>
> Are these changes(3.16 [slow b43] vs 3.18 [fast b43]) located
> in drivers/net/wireless/b43?
> I would like to port them(changes) to my 3.16 kernel.
You may also look at drivers/ssb. Anyway, there is already a project
of backporting drivers, see:
https://backports.wiki.kernel.org/index.php/Main_Page
> By the way, during test connection was hang,
> and I can not ping any machine outside of my notebook.
>
> I rmmod/modprobe b43, restart wpa_supplicant/dhcpcd
> and all back to normal.
> And after restart I was unable to reproduce it(bug).
> dmesg also show nothing. Any hints how to debug such
> kind of issues, if I see it again?
I'm afraid not. You would need to hack driver to display info about
interrupts. Then see if there are any packets appearing or not, etc.
--
Rafa?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-10-31 23:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-31 19:00 slow connection Evgeniy Dushistov
2014-10-31 20:12 ` Rafał Miłecki
2014-10-31 22:41 ` Evgeniy Dushistov
2014-10-31 23:15 ` Rafał Miłecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox