Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2003 18:31:01 -0500
From:      "Matt Haught" <haughtlists@hotmail.com>
To:        <freebsd-current@freebsd.org>
Subject:   new wi0 slowness
Message-ID:  <OE15xdJXNMZaxSFoH6o0001009e@hotmail.com>

next in thread | raw e-mail | index | archive | help
I have noticed the following with the new wi0.  I have the 802.11 connection
between my laptop running XP and my current box running as a hostap.  I also
have a IPSec tunnel between the current box and the laptop, but I don't
think this could be causing the problems.
While transferring files from samba on the current box to the laptop I got
the following results:

With the old wi0:
  average 5120.3Kb/s
  peak     7326.5Kb/s
  With top -S
    85% interrupt
    cpu - 58%  swi1: net
             21.8% irq10: wi0

With the new wi0:
  average 877.0Kb/s
  peak     902.4Kb/s
  With top -S
    11.6% interrupt
    cpu - 9%  swi1: net
             0.88% irq10: wi0

I am also getting hundreds of: "wi0: tx failed, retry limit exceeded" with
the new driver under heavy load.  In addition it get many random disconnects
which I would not notice, except AIM gets logged out.  I don't think it has
anything to do with the ipsec tunnel as the SAD entries are still there and
it only happen with the new wi kernel.  I have tried FAST_IPSEC and it does
work with the new wi0 driver where it would temporarily lock up the machine
with the old one, but I'm not using it since I thought it may be causing a
problem and its ends up that it did not make a difference.  I am going to
try it later without IPSec just to be sure.

Under the new driver my card which sold as a D-link DWL-520 2.4GHz Wireless
PCI card is shown as a:
dmesg ....
wi0: <Intersil Prism2.5> mem 0xe6000000-0xe6000fff irq 10 at device 15.0 on
pci0
wi0: 802.11 address: 00:05:5d:fa:0e:b0
wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary (1.0.7), Station (1.3.6)
wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
....
I can change the media through ifconfig to DS/11Mbps or whatever, but it
does not seem to change anything other then ifconfig will show "media: IEEE
802.11 Wireless Ethernet DS/11Mbps <hostap> (DS/2Mbps <hostap>)" rather then
autoselect.  The same slowness is still there.  wicontrol shows it as having
a TX rate (actual speed) of 2 no matter what.  I can set the (selection) to
anything such as 11, and again no change in the throughput or anything.  I
have also changed things with the old driver, and nothing changed with the
throughput, and it also shows the (actual speed) as 2 but I get higher
throughput.  It seems to kinda have a mind of its own.  Well if you need
anymore info, just drop me a message.  I enabled debugging for wi0 as a
earlier post showed, but I had no idea what I was looking at :).

--Matt

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE15xdJXNMZaxSFoH6o0001009e>