Re: [PATCH v2 2/7] Adding general performance benchmarkingsubcommand to perf.

From: Ingo Molnar
Date: Tue Nov 03 2009 - 12:27:32 EST

* Hitoshi Mitake <mitake@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Adding general performance benchmarking subcommand to perf.
> This patch adds bench/sched-messaging.c.
> This benchmark measures performance of scheduler and IPC mechanisms,
> and is based on hackbench by Rusty Russell.
> Example of use:
> % perf bench sched messaging # Use default options
> 0.295 # Result is time
> % perf bench sched messaging -p -l 1000 -t
> 2.265

Would be nice to standardize the options too, and offer a help line:

perf bench sched --help

perhaps 'perf bench sched' should list all available benchmark modules,
and print a oneliner summary about each of them?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at