From: David Ahern <dsahern@gmail.com>
To: Peipei Wang <wangpeipei.90@gmail.com>,
perf group <linux-perf-users@vger.kernel.org>
Subject: Re: what is the default frequency and default event period set in "perf record -TP"
Date: Wed, 06 Nov 2013 17:38:32 -0700 [thread overview]
Message-ID: <527AE108.6020905@gmail.com> (raw)
In-Reply-To: <CAEuYUeqNq9jox_-j-P-XhSCxvK5o=F+UYutP-=3KPESuUDXgGA@mail.gmail.com>
On 11/6/13, 4:52 PM, Peipei Wang wrote:
> Hi all/David,
>
> I want to know the frequency in the following command:
> perf record -e cycles -e cache-misses -e cache-references -TP
> -o abc.data command
>
> I looked up in the perfwiki, and it says the default value is 1000.
> However, when I specify this parameter in the above command,that is,
> "perf record -e cycles -e cache-misses -e cache-references -TP -F 1000
> -o abc.data command", I found a significant difference between the
> file data size.
>
> Using the first command, the size of "abc.data" is about 500MB, but
> the second command could generate the raw data size up to over 10GB.
>
>
> I could not figure out the reason. Is it might because sampling mode
> of cycles is based on frequency while the other two events are based
> on event period?
default frequency was bumped to 4000 about a year ago. Not sure how the
-F is impacting the cache-xxxx events.
David
prev parent reply other threads:[~2013-11-07 0:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-06 23:52 what is the default frequency and default event period set in "perf record -TP" Peipei Wang
2013-11-07 0:38 ` David Ahern [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=527AE108.6020905@gmail.com \
--to=dsahern@gmail.com \
--cc=linux-perf-users@vger.kernel.org \
--cc=wangpeipei.90@gmail.com \
/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.