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...