From owner-freebsd-performance@FreeBSD.ORG Fri Jun 22 10:28:25 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 6E23E16A468 for ; Fri, 22 Jun 2007 10:28:25 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.freebsd.org (Postfix) with ESMTP id BE9A913C46C for ; Fri, 22 Jun 2007 10:28:23 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from [85.21.245.235] (helo=phonon.SpringDaemons.com) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1I1g1x-0002am-6N; Fri, 22 Jun 2007 14:06:17 +0400 Received: from localhost (localhost [127.0.0.1]) by phonon.SpringDaemons.com (Postfix) with SMTP id 443011140A; Fri, 22 Jun 2007 14:03:26 +0400 (MSD) Date: Fri, 22 Jun 2007 14:03:17 +0400 From: Stanislav Sedov To: Thomas Vogt Message-Id: <20070622140317.b2c8075e.stas@FreeBSD.org> In-Reply-To: <46712605.5090907@bsdunix.ch> References: <4671118D.1040404@bsdunix.ch> <200706140806.05674.tec@mega.net.br> <46712605.5090907@bsdunix.ch> Organization: The FreeBSD Project X-Mailer: carrier-pigeon X-Voice: +7 916 849 20 23 X-XMPP: ssedov@jabber.ru X-ICQ: 208105021 X-Yahoo: stanislav_sedov X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-University: MEPhI Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Fri__22_Jun_2007_14_03_17_+0400_AQkMawPt0S/Y6Y1K" X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.6.0 Cc: NOC Meganet , freebsd-performance@freebsd.org Subject: Re: PAPI in the ports 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 10:28:25 -0000 --Signature=_Fri__22_Jun_2007_14_03_17_+0400_AQkMawPt0S/Y6Y1K Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 14 Jun 2007 13:27:01 +0200 Thomas Vogt mentioned: >=20 > Yes you're right. But to have a such feature on a production system is > nice if you have to debug issues. If I get a problem I can easily debug > it without to simulate everything in the lab. It's not that I want to > run such features 24/7. >=20 > But perhaps "options HWPMC_HOOKS" in the kernel enables some hooks which > could cause performance penalties even if I don't actively use such > feature very often. Like many other debug options in the kernel. I don't > know. >=20 I'm using "options HWPMC_HOOKS" on heavily loaded web server almost constantly, no visible penalty at all. Just my 2 cents. --=20 Stanislav Sedov ST4096-RIPE --Signature=_Fri__22_Jun_2007_14_03_17_+0400_AQkMawPt0S/Y6Y1K Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGe55uK/VZk+smlYERAuChAJ9bGF/MFT8ONwrs1L4Xp+9eTAbUOwCdHjR3 rkMpuP5LQgG9C4EOhcdaP94= =brFL -----END PGP SIGNATURE----- --Signature=_Fri__22_Jun_2007_14_03_17_+0400_AQkMawPt0S/Y6Y1K-- From owner-freebsd-performance@FreeBSD.ORG Fri Jun 22 10:40: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 2510816A46C for ; Fri, 22 Jun 2007 10:40:11 +0000 (UTC) (envelope-from redcrash@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id D4FDB13C484 for ; Fri, 22 Jun 2007 10:40:10 +0000 (UTC) (envelope-from redcrash@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so200227anc for ; Fri, 22 Jun 2007 03:40:10 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=kbwx2s1XGIy+jUZlVRj7NN3iqZKAUgU6RhVbzwxhvcCxew3OGh0CiK2ef/O5ThOHsg+SiZgeCktsKaasK6Egv62eJ5q5LRWuvNwv/oQx5x3HZNVIi8tAJIzzPsHL8Bnm1UgLgD7oeeigG0tUBVBBlBgaqlpJMgbwT1LKt7vIAlg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=hzU17JAHK1zbVJbDOjon6N+Wz8cG26W5FaCnHFsbYnr3TUcQn28cKepuGPlFfepGSq3YaEs1/kwVxp/pnCySjbbeYZJK6bs9dhbjlfk1MuHf9OeyavNXItO48KDsXgL/Os+7Zclh3tRksX86+8jPFmdJ/Y6q2+ZwVj3EExIL/s0= Received: by 10.100.142.12 with SMTP id p12mr1638104and.1182508810259; Fri, 22 Jun 2007 03:40:10 -0700 (PDT) Received: by 10.100.13.16 with HTTP; Fri, 22 Jun 2007 03:40:10 -0700 (PDT) Message-ID: Date: Fri, 22 Jun 2007 12:40:10 +0200 From: "Harald Servat" To: "Stanislav Sedov" In-Reply-To: <20070622140317.b2c8075e.stas@FreeBSD.org> MIME-Version: 1.0 References: <4671118D.1040404@bsdunix.ch> <200706140806.05674.tec@mega.net.br> <46712605.5090907@bsdunix.ch> <20070622140317.b2c8075e.stas@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-performance@freebsd.org, NOC Meganet , Thomas Vogt Subject: Re: PAPI in the ports 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 10:40:11 -0000 2007/6/22, Stanislav Sedov : > > On Thu, 14 Jun 2007 13:27:01 +0200 > Thomas Vogt mentioned: > > > > > Yes you're right. But to have a such feature on a production system is > > nice if you have to debug issues. If I get a problem I can easily debug > > it without to simulate everything in the lab. It's not that I want to > > run such features 24/7. > > > > But perhaps "options HWPMC_HOOKS" in the kernel enables some hooks which > > could cause performance penalties even if I don't actively use such > > feature very often. Like many other debug options in the kernel. I don't > > know. > > > > I'm using "options HWPMC_HOOKS" on heavily loaded web server almost > constantly, no visible penalty at all. Just my 2 cents. Those are good news! :) -- > Stanislav Sedov > ST4096-RIPE > > -- _________________________________________________________________ Empty your memory, with a free()... like a pointer! If you cast a pointer to an integer, it becomes an integer, if you cast a pointer to a struct, it becomes a struct. The pointer can crash..., and can overflow. Be a pointer my friend... 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--