Opened 5 years ago

Closed 5 years ago

#15707 closed bug (invalid)

Atheros AR982X based Mini PCI card very slow

Reported by: Sabex Owned by: waddlesplash
Priority: normal Milestone: Unscheduled
Component: Drivers/Network/atheroswifi Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86-64

Description

I have an atheros AR982X that has a very slow connection to my WiFi router.The router and net connection can cope with 30Mbps+ download speeds on other 802.11A/B devices and also on this particular card if I use Slackware or FreeBSD. With Haiku I only get download speeds in the kbps.Sometimes downloads just stall too.

I don't appear to be getting dropped packets:

~> ifconfig /dev/net/atheroswifi/0 
/dev/net/atheroswifi/0
        Hardware type: Ethernet, Address: de:ad:be:ef:01:02
        Network: NetComm 9782, Address: de:ad:be:ef:03:04, WPA2, PSK/CCMP
        inet addr: 192.168.1.4, Bcast: 192.168.1.255, Mask: 255.255.255.0
        MTU: 1500, Metric: 0, up broadcast link auto-configured
        Receive: 19375 packets, 0 errors, 26036253 bytes, 0 mcasts, 0 dropped
        Transmit: 16230 packets, 1 errors, 1669450 bytes, 0 mcasts, 0 dropped
        Collisions: 0

Output from Devices:

Device id: 0x2a
device/interface: 0
device/subtype: 0x80
device/type: 0x2
device/vendor: 0x168c
driver used: Unknown
pci bus: 3

Any ideas?

Attachments (1)

syslog (450.4 KB ) - added by Sabex 5 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by diver, 5 years ago

Component: Network & Internet/WirelessDrivers/Network/atheroswifi
Owner: changed from mmlr to waddlesplash

Please post your syslog.

by Sabex, 5 years ago

Attachment: syslog added

comment:2 by Sabex, 5 years ago

Syslog attached as per request. Thanks for taking a look.

comment:3 by waddlesplash, 5 years ago

Your syslog is spammed with:

KERN: /dev/net/atheroswifi/0: media change, media 0x8300b1 quality 1000 speed 54000000
KERN: /dev/net/atheroswifi/0: media change, media 0x8300af quality 1000 speed 36000000
KERN: /dev/net/atheroswifi/0: media change, media 0x8300b1 quality 1000 speed 54000000
KERN: /dev/net/atheroswifi/0: media change, media 0x8300b0 quality 1000 speed 48000000
KERN: /dev/net/atheroswifi/0: media change, media 0x8300b1 quality 1000 speed 54000000
KERN: /dev/net/atheroswifi/0: media change, media 0x8300b0 quality 1000 speed 48000000

Now, why this is the case, I don't know; more likely than not it is a driver bug. What FreeBSD version did you test with? Did the problems start recently, or does R1/beta1 have them too?

comment:4 by Sabex, 5 years ago

I've used Slackware 14 and freebsd 12. I haven't tried the beta - I'll try it tonight.

comment:5 by Sabex, 5 years ago

I've tested Haiku R1/Beta vs the current Haiku nightly. It appears that performance is remarkably similar.

Maximum throughput measured with speedtest.net shows a maximum speed of approximately 14-16MBps with both releases. Pings to google.com averaged 22 and 26ms respectively which is close enough for military work, particularly when different servers could have been replying.

Performance of web pages in both Otter and Web+ are poor compared to FreeBSD 12 using Firefox but I am going to attribute the poor performance at this stage to the browsers, not to the kernel or kernel drivers in Haiku.

I will continue to perform further tests but I believe this ticket should be closed until I can narrow down what is going on. I will make a new ticket if I can find out anything further. Many thanks for all of your help, I hope to be able to provide more information in the near future.

Last edited 5 years ago by Sabex (previous) (diff)

comment:6 by waddlesplash, 5 years ago

Resolution: invalid
Status: newclosed

OK, thanks for the feedback!

Note: See TracTickets for help on using tickets.