From owner-freebsd-performance@FreeBSD.ORG Fri Jun 22 12:55:11 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 155C116A41F for ; Fri, 22 Jun 2007 12:55:11 +0000 (UTC) (envelope-from patpro@patpro.net) Received: from smtp.univ-lyon2.fr (smtp.univ-lyon2.fr [159.84.143.102]) by mx1.freebsd.org (Postfix) with ESMTP id 6143113C4AE for ; Fri, 22 Jun 2007 12:55:10 +0000 (UTC) (envelope-from patpro@patpro.net) Received: from localhost (localhost [127.0.0.1]) by smtp.univ-lyon2.fr (Postfix) with ESMTP id 7C79E394A738; Fri, 22 Jun 2007 14:55:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at univ-lyon2.fr Received: from smtp.univ-lyon2.fr ([127.0.0.1]) by localhost (smtp.univ-lyon2.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TyPIiAAox2zF; Fri, 22 Jun 2007 14:55:06 +0200 (CEST) Received: from [159.84.148.60] (patpro.univ-lyon2.fr [159.84.148.60]) by smtp.univ-lyon2.fr (Postfix) with ESMTP id 6049E394A712; Fri, 22 Jun 2007 14:55:06 +0200 (CEST) In-Reply-To: <4672BC15.9090904@errno.com> References: <8A81ECB9-67EB-4E4D-A26A-8221D52463AA@patpro.net> <4672BC15.9090904@errno.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-4-198757616; protocol="application/pkcs7-signature" Message-Id: <2CAA0EFA-4630-4649-8DBD-82C692CEFF8F@patpro.net> From: Patrick Proniewski Date: Fri, 22 Jun 2007 14:55:03 +0200 To: freebsd-performance@freebsd.org X-Mailer: Apple Mail (2.752.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: wifi network performance with ath0 and hostapd X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2007 12:55:11 -0000 --Apple-Mail-4-198757616 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi, On 15 juin 07, at 18:19, Sam Leffler wrote: >> The best transfer rate I can achieve is 3.1 MB/s from the >> powerbook to the freebsd-box, and about 2.7 MB/s from the freebsd- >> box to the powerbook. > > Find athstats in tools/tools/ath and figure out why you're not > seeing the expected throughput. I'm reading what I believe to be a high tx error rate: (1 sample/10 seconds) input output altrate short long xretry crcerr crypt phyerr rssi rate 3 4 0 0 0 0 134 0 930 42 48M 4 6 0 0 1 0 112 0 1022 42 48M 5 5 0 0 0 0 43 0 1091 42 48M 2 2 0 0 6 1 107 0 1155 41 48M At the time of the test, no other system was hooked-up on the access point. So ath0 has nobody to talk to. 130536 data frames received 167268 data frames transmit 1314 tx frames with an alternate rate 34485 long on-chip tx retries 3998 tx failed 'cuz too many retries 48M current transmit rate 28701 tx management frames 6 tx frames discarded prior to association 2946 tx frames with no ack marked 176069 tx frames with short preamble 7683422 rx failed 'cuz of bad CRC 30432827 rx failed 'cuz of PHY err 558614 OFDM timing 29874211 CCK timing 2 CCK restart 3360302 beacons transmitted 11489 periodic calibrations 41 rssi of last ack 40 avg recv rssi -92 rx noise floor 1163 switched default/rx antenna Antenna profile: [1] tx 97910 rx 136959 [2] tx 94059 rx 106830 Can someone tell me if the figures above are ok, or look like there is a problem ? thanks, patpro --Apple-Mail-4-198757616--