Re: [Lse-tech] hackbench: New Multiqueue Scheduler Benchmark

Mike Kravetz (kravetz@us.ibm.com)
Tue, 11 Dec 2001 09:02:01 -0800


On Tue, Dec 11, 2001 at 06:07:39PM +1100, Rusty Russell wrote:
> I've cut down the chat benchmark into a version which doesn't
> use threads or semaphores, and called it hackbench:
>
> On a 12-way PPC64:
> 2.4.17-pre7:
> hackbench 50: Time: 851.469 Time: 847.143 Time: 826.868
>
> 2.4.17-pre7-multiqueue-patch:
> hackbench 50: Time: 15.120 Time: 14.766 Time: 15.067

I suspect the reason for the big difference is runqueue lock contention
(as in the original chat benchmark).

It might be interesting to keep the benchmark load the same and
rerun with a varying number of CPUs. My 'guess' is that with the
default scheduler you will see better numbers with less CPUs. When
we were working with chat on an 8-way Intel, we saw benchmark
numbers peak at around 4 CPUs. As you added more than 4 CPUs,
your benchmark numbers got worse. You can see this graphicly at:
http://lse.sourceforge.net/scheduling/ols2001/img54.htm

-- 
Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/