From owner-freebsd-current Sun Jan 19 15:31: 8 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA5CE37B401 for ; Sun, 19 Jan 2003 15:31:06 -0800 (PST) Received: from hotmail.com (oe15.law9.hotmail.com [64.4.8.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8354D43E4A for ; Sun, 19 Jan 2003 15:31:06 -0800 (PST) (envelope-from haughtlists@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 19 Jan 2003 15:31:06 -0800 X-Originating-IP: [24.62.168.216] From: "Matt Haught" To: Subject: new wi0 slowness Date: Sun, 19 Jan 2003 18:31:01 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 19 Jan 2003 23:31:06.0501 (UTC) FILETIME=[D6C58B50:01C2C012] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: 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 (DS/2Mbps )" 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