Re: [PATCH][RFC] Adding hackbench.c to tools/

From: Rusty Russell
Date: Mon Nov 02 2009 - 08:27:44 EST


On Mon, 2 Nov 2009 09:11:24 pm Ingo Molnar wrote:
>
> * Hitoshi Mitake <mitake@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> > Hi Ingo,
> >
> > It seems that hackbench is the de-fact standard benchmarking program
> > for scheduler of Linux. But when I ask google where hackbench.c is,
> > some answers are replied. Like these, (in order of google result)
> >
> > http://devresources.linux-foundation.org/craiger/hackbench/ (this page
> > containts link to hackbench.c)
> > http://people.redhat.com/mingo/cfs-scheduler/tools/hackbench.c
> >
> > And it seems that second one is newer.
> >
> > I think this situation is very confusable. So I wrote this patch to
> > add hackbench to tools/ of kernel tree. This may help hackbench users
> > like me.
>
> I think we can do something nicer: would you be interested in adding it
> as a 'perf bench hackbench' sub-command of tools/perf/?
>
> We already have the tools to measure scheduling behavior under 'perf
> sched', so having a 'perf bench' array of common tests would be nice to
> have.
>
> ( I've Cc:-ed Rusty, the original author of hackbench.c. Rusty, the file
> has no explicit GPLv2 compatible license - is it fine to be put
> into GPLv2 code? )

Yep, like all my code it's standard v2 "or later".

Sounds like a good plan, thanks!
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/