Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1317145
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | 'perf stat --repeat N' oddity/regression |
| Date | 2016-01-25 19:30 +0100 |
| Message-ID | <qUU3N-830-33@gated-at.bofh.it> (permalink) |
| References | <qHPbz-2Zl-11@gated-at.bofh.it> <qQ5jc-cc-27@gated-at.bofh.it> <qQ8h3-2fU-5@gated-at.bofh.it> <qQra2-6Tj-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
So I just noticed this 'perf stat --repeat' oddity:
triton:~/tip> perf stat --repeat 3 -a -e instructions taskset 1 perf bench sched pipe -l 1000000
# Running 'sched/pipe' benchmark:
# Executed 1000000 pipe operations between two processes
Total time: 2.068 [sec]
2.068208 usecs/op
483510 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 1000000 pipe operations between two processes
Total time: 2.097 [sec]
2.097126 usecs/op
476843 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 1000000 pipe operations between two processes
Total time: 2.091 [sec]
2.091716 usecs/op
478076 ops/sec
Performance counter stats for 'system wide' (3 runs):
12,690,156,407 instructions
2.087612423 seconds time elapsed ( +- 0.43% )
the stddev printout of 'instructions' is gone! This defeats the main purpose of
--repeat.
The 'elapsed' time +- stddev/noise display (which is still present) is only part
of the story.
I'm pretty sure we had the printout for all the measured fields a couple of months
ago - does any of you know what happened to it?
Thanks,
Ingo
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
'perf stat --repeat N' oddity/regression Ingo Molnar <mingo@kernel.org> - 2016-01-25 19:30 +0100
Re: 'perf stat --repeat N' oddity/regression Ingo Molnar <mingo@kernel.org> - 2016-01-25 19:40 +0100
Re: 'perf stat --repeat N' oddity/regression Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-25 20:50 +0100
Re: 'perf stat --repeat N' oddity/regression Ingo Molnar <mingo@kernel.org> - 2016-01-26 09:10 +0100
Re: 'perf stat --repeat N' oddity/regression Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-26 15:20 +0100
Re: 'perf stat --repeat N' oddity/regression Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-25 20:50 +0100
csiph-web