Re: Improve hackbench

Ingo Molnar
2008-01-04T08:11:11Z

* Zhang, Yanmin <yanmin_zhang@linux.intel.com> wrote:

> hackbench is to test Linux scheduler. The original program is at
> http://devresources.linux-foundation.org/craiger/hackbench/src/hackbench.c
> Based on this multi-process version, a nice person created a
> multi-thread version. Pls. see
> http://www.bullopensource.org/posix/pi-futex/hackbench_pth.c

great. I've uploaded your unified & improved version to:

http://redhat.com/~mingo/cfs-scheduler/tools/hackbench.c

(i made some small changes - two warning fixes on gcc 4.2 and a default
of 10 groups when hackbench is called without parameters, plus a
printout.)

Ingo