From owner-freebsd-amd64@FreeBSD.ORG Thu Aug 6 18:03:23 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB9701065670 for ; Thu, 6 Aug 2009 18:03:23 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id A05888FC19 for ; Thu, 6 Aug 2009 18:03:23 +0000 (UTC) Received: by rv-out-0506.google.com with SMTP id f9so210508rvb.43 for ; Thu, 06 Aug 2009 11:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=j/+mgG7JaQ1LN8WvDGeI3nEO8E7TUxDDWbBM9FY07nU=; b=KU5g5RlVf3+wLdOBnpnYTkq0n/Hixm+UEBsK3L5nYf9iwaTtgpi5xL29D1PhinzpA+ xWqWkup+/FkeRtrorxfNcBB37zYgOgrHKZnD6yfmh/4x7x3zrNAoILCQjOPm/ThTkId3 3A3FTObu9G3p4/TL0LEYEcnbGMgBt4zjq8SM8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=k7LiYZveDYGTyWkZFlO8tEHMrk8RHbJW79jF7rOWJnxPz2XYxEmdxQd03ZQk6g4tZN bSy+O8KSKzeIsLpghzsEYeaJRCCV4D/FijamxqKIfzJGxIa70f76yyDra4zUo9ypyAK+ HEHGIF9YkCly4HUBCbWcebsfYg7jMBMbo6Yqc= MIME-Version: 1.0 Received: by 10.143.16.9 with SMTP id t9mr28512wfi.105.1249577497803; Thu, 06 Aug 2009 09:51:37 -0700 (PDT) In-Reply-To: <36A93B31228D3B49B691AD31652BCAE9A4569675DE@GRFMBX702BA020.griffon.local> References: <36A93B31228D3B49B691AD31652BCAE9A4569675DE@GRFMBX702BA020.griffon.local> Date: Thu, 6 Aug 2009 22:21:37 +0530 Message-ID: <84dead720908060951j605338e3vb48cd41f13810f29@mail.gmail.com> From: Joseph Koshy To: Invernizzi Fabrizio Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-amd64@freebsd.org" Subject: Re: Problem with pmcstat X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2009 18:03:24 -0000 > i am doing some performance testing with FreeBSD (64 bit) and i would like to use pmcstat. > I recompiled the kernel with > options HWPMC_HOOKS > device hwpmc > > When i restart the system looks like being ok > > #sysctl -a | grep hwpmc > kern.hwpmc.nbuffers: 16 > kern.hwpmc.logbuffersize: 4 > kern.hwpmc.mtxpoolsize: 32 > kern.hwpmc.nsamples: 32 > kern.hwpmc.hashsize: 16 > > but the pmcstat gives me this error: > > # pmcstat -s p6-hw-int-rx -w 1 > pmcstat: ERROR: Initialization of the pmc(3) library failed: No such file or directory > > I googled a lot, but nothing about this problem. Consider that on the same hardware with 7.2-RELEASE 32 bit everything was working. > Anyone can help me? > > This are some details: > > uname -a > FreeBSD INTRUDER-64.ipv6.tilab.com 7.2-RELEASE FreeBSD 7.2-RELEASE #3: Thu Aug 6 11:36:53 CEST 2009 amd64 > > Server: HP DL 180G5 i386 vs amd64 should not make a difference here. What CPU are you running on and what does hwpmc(4) print out at module initialization time? Koshy