All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Brendan Gregg <brendan.d.gregg@gmail.com>
Cc: "linux-perf-use." <linux-perf-users@vger.kernel.org>
Subject: Re: Bogus PMCs on Linux 3.13
Date: Sat, 12 Mar 2016 06:12:46 -0800	[thread overview]
Message-ID: <87lh5nbx9d.fsf@tassilo.jf.intel.com> (raw)
In-Reply-To: <CAE40pdezFG8caviy4NMNjKkucoU2tp2cbjAPY-V66RJfUwe66g@mail.gmail.com> (Brendan Gregg's message of "Wed, 9 Mar 2016 12:48:06 -0800")

Brendan Gregg <brendan.d.gregg@gmail.com> writes:
>
>  Performance counter stats for 'dd if=/dev/zero of=/dev/null bs=1024k
> count=10k':
>
>      1,784,251,390 cycles                    [33.80%]
>    388,784,218,053 instructions              #   217.90  insns per
> cycle         [34.25%]

The obvious problem is that you're multiplexing. Multiplexing can cause
large measuring errors. Try to stop whoever else uses perf.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only

      reply	other threads:[~2016-03-12 14:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-09 20:48 Bogus PMCs on Linux 3.13 Brendan Gregg
2016-03-12 14:12 ` Andi Kleen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lh5nbx9d.fsf@tassilo.jf.intel.com \
    --to=andi@firstfloor.org \
    --cc=brendan.d.gregg@gmail.com \
    --cc=linux-perf-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.