From owner-freebsd-current Mon Jan 20 12:22:19 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 E430237B401 for ; Mon, 20 Jan 2003 12:22:16 -0800 (PST) Received: from hotmail.com (f124.law9.hotmail.com [64.4.9.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D2F943F5B for ; Mon, 20 Jan 2003 12:22:16 -0800 (PST) (envelope-from haughtlists@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 20 Jan 2003 12:22:11 -0800 Received: from 24.62.168.216 by lw9fd.law9.hotmail.msn.com with HTTP; Mon, 20 Jan 2003 20:22:11 GMT X-Originating-IP: [24.62.168.216] From: "Matt Haught" To: sam@errno.com, freebsd-current@FreeBSD.ORG Subject: Re: new wi0 slowness Date: Mon, 20 Jan 2003 15:22:11 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 20 Jan 2003 20:22:11.0356 (UTC) FILETIME=[9CE96DC0:01C2C0C1] 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 Alright, I have disabled IPSec and updated the firmware to read: wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9) sysctl kern.wi_txerate=0 gives: sysctl: unknown oid 'kern.wi_txerate' I reran my test and I am still transfering at ~870Kb/s. netstat -i -I wi0 shows this after the transfers: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll wi0 1500 00:05:5d:fa:0e:b0 29847 0 53331 59 557 wi0 1500 192.168.168 wifi 59 - 52085 - - Here is something odd that I found: I set the mediaopt to adhoc in rc.conf and rebooted again, and here is what I found (I was not sure how to clear the counters that you wanted in netstat so I rebooted): The same files transfer at ~5600Kb/s, so its back where it was with the old driver. Here is netstat -i again after this run: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll wi0 1500 00:05:5d:fa:0e:b0 27497 0 51230 13 452 wi0 1500 192.168.168 wifi 61 - 51200 - - So there are 4 times more Oerrs in hostap mode (59 to 13), and just a few more collisions. I almost forgot, here are ifconfig wi0 outputs: wi0: flags=8843 mtu 1500 inet 192.168.168.1 netmask 0xffffff00 broadcast 192.168.168.255 ether 00:05:5d:fa:0e:b0 media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps ) status: associated ssid HaughtDom 1:HaughtDom stationname "FreeBSD WaveLAN/IEEE node" channel 3 authmode OPEN powersavemode OFF powersavesleep 100 wepmode OFF weptxkey 1 and with adhoc: wi0: flags=8843 mtu 1500 inet 192.168.168.1 netmask 0xffffff00 broadcast 192.168.168.255 ether 00:05:5d:fa:0e:b0 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps ) status: associated ssid HaughtDom 1:HaughtDom stationname "FreeBSD WaveLAN/IEEE node" channel 3 authmode OPEN powersavemode OFF powersavesleep 100 wepmode OFF weptxkey 1 I can also start a transfer test in hostap mode (~670Kb/s) and use ifconfig to switch over to adhoc, and after a second or two while my laptop switches over, it transfers at ~5600Kb/s. I don't use wicontrol at all. My transfer test is just 67MB of mp3s off the fbsd machine. If you need any more info, just drop me a message. --Matt _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message