Prev: staging: winbond: mds.c: converted long if-else to switch
Next: intel_txt: enable VMXON check with SMX in KVM
From: Hitoshi Mitake on 2 May 2010 10:00
I made a change on "perf bench" and made patch series
for parallel oriented benchmarking.
Previous perf bench provided only least
framework for each benchmark programs,
but I felt this was not enough.
Because it seems that lots of today's performance issue
is found by multi thread/process programs.
So I made perf bench to provide the framework
for easy parallel benchmark writing.
And this is a preparation for "perf bench syscall".
Because each benchmarks of system call
will be required parallel workloads,
but parallel frameworks for each benchmarks will be fat code.
Request for comments!
Cc: Peter Zijlstra <a.p.zijlstra(a)chello.nl>
Cc: Paul Mackerras <paulus(a)samba.org>
Cc: Arnaldo Carvalho de Melo <acme(a)redhat.com>
Cc: Frederic Weisbecker <fweisbec(a)gmail.com>
Hitoshi Mitake (4):
perf bench: add "sample" subsystem and "sample" suite as sample
perf bench: fix "mem" subsystem to adopt new style of perf bench
perf bench: fix "sched" subsystem to adopt new style of perf bench
perf bench: improve perf bench for parallel oriented benchmarking
tools/perf/Makefile | 5 +
tools/perf/bench/bench.h | 32 ++
tools/perf/bench/mem-memcpy.c | 182 ++++--------
tools/perf/bench/mem.h | 4 +
tools/perf/bench/sample-sample.c | 98 +++++++
tools/perf/bench/sample.h | 4 +
tools/perf/bench/sched-messaging.c | 553 ++++++++++++++++++++----------------
tools/perf/bench/sched-pipe.c | 146 +++++-----
tools/perf/bench/sched.h | 8 +
tools/perf/builtin-bench.c | 227 +++++++++++----
10 files changed, 762 insertions(+), 497 deletions(-)
create mode 100644 tools/perf/bench/mem.h
create mode 100644 tools/perf/bench/sample-sample.c
create mode 100644 tools/perf/bench/sample.h
create mode 100644 tools/perf/bench/sched.h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/