Date: Thu, 6 Aug 2009 22:21:37 +0530 From: Joseph Koshy <joseph.koshy@gmail.com> To: Invernizzi Fabrizio <fabrizio.invernizzi@telecomitalia.it> Cc: "freebsd-amd64@freebsd.org" <freebsd-amd64@freebsd.org> Subject: Re: Problem with pmcstat Message-ID: <84dead720908060951j605338e3vb48cd41f13810f29@mail.gmail.com> In-Reply-To: <36A93B31228D3B49B691AD31652BCAE9A4569675DE@GRFMBX702BA020.griffon.local> References: <36A93B31228D3B49B691AD31652BCAE9A4569675DE@GRFMBX702BA020.griffon.local>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead720908060951j605338e3vb48cd41f13810f29>