* what is the default frequency and default event period set in "perf record -TP"
@ 2013-11-06 23:52 Peipei Wang
2013-11-07 0:38 ` David Ahern
0 siblings, 1 reply; 2+ messages in thread
From: Peipei Wang @ 2013-11-06 23:52 UTC (permalink / raw)
To: perf group, David Ahern
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?
Best wishes.
Yours,
Wang Peipei
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: what is the default frequency and default event period set in "perf record -TP"
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
0 siblings, 0 replies; 2+ messages in thread
From: David Ahern @ 2013-11-07 0:38 UTC (permalink / raw)
To: Peipei Wang, perf group
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-07 0:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).