Re: [PATCH] futex: add FUTEX_SET_WAIT operation
From: Darren Hart
Date: Tue Nov 17 2009 - 11:16:48 EST
Peter Zijlstra wrote:
On Tue, 2009-11-17 at 09:18 +0100, Ingo Molnar wrote:
Would you be interested in adding it as a 'perf bench futex' testcase?
That way kernel developers could monitor futex performance in the future
as well.
See 'perf bench' in the latest perf events tree:
http://people.redhat.com/mingo/tip.git/README
Do 'cd tools/perf; make -j install' to install perf.
Darren has recently been putting a lot of effort in making a futex test
suite:
http://git.kernel.org/?p=linux/kernel/git/dvhart/futextest.git
Its not yet complete, but hopefully it will soon be :-)
Michael, would you be willing to include a version of this test in the
above test suite? If so, then in keeping with the rest of the test
suite, I would recommend splitting into two tests, one of each opcode
being tested, and add argument to define thread count. The run.sh
script would then run each thread count as a separate test run.
--
Darren Hart
IBM Linux Technology Center
Real-Time Linux Team
--
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/