pcp
[Top] [All Lists]

Re: Installing perfevents on Ubuntu 14.04

To: Renan DelValle <rdelval1@xxxxxxxxxxxxxx>
Subject: Re: Installing perfevents on Ubuntu 14.04
From: fche@xxxxxxxxxx (Frank Ch. Eigler)
Date: Sat, 04 Apr 2015 10:23:29 -0400
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <CAJ1-toej4gDfpaf7k625ATR-G22=1bs61kWi9wwD+JrR7jwfKg@xxxxxxxxxxxxxx> (Renan DelValle's message of "Wed, 1 Apr 2015 17:29:56 -0400")
References: <CAJ1-toej4gDfpaf7k625ATR-G22=1bs61kWi9wwD+JrR7jwfKg@xxxxxxxxxxxxxx>
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
Renan DelValle <rdelval1@xxxxxxxxxxxxxx> writes:

> [...]  upon trying to fetch information from the perfevent, all
> fields return a " No PMCD agent for domain of request" leading me to
> believe I must do something else in order to get this working. [...]

It Just Works (tm) here; the perfevent pmda install should restart
pmcd a /var/lib/pcp/pmdas/perfevent/pmdaperfevent process started,
along with a /var/log/pcp/pmcd/perfevent.log file.  On your CPU,
it may need manual configuration in the form of the perfevent.conf
file.

See also the papi pmda.  It requires no configuration, is somewhat
more secure (in the sense that it allows only pcp clients running as
root to fetch potentially security-sensitive performance counters),
but has a known bug with multi-processor systems (sampling only one of
the cpus).

- FChE

<Prev in Thread] Current Thread [Next in Thread>