Re: [patch][rfc] optimise resched, idle task

From: Nick Piggin
Date: Sun Apr 03 2005 - 08:30:01 EST


Nick Piggin wrote:

This actually improves performance noticably (ie. a % or so) on schedule /
wakeup happy benchmarks (tbench, on a dual Xeon with HT using mwait idle).


Here are some numbers on a 2 socket Xeon with HT and mwait idle.

Average of 3 runs, tbench, single client and single server processes on:
samethread samecpu othercpu
before patch: 188.684 MB/s 189.237 MB/s 172.306 MB/s
after patch : 188.425 MB/s 191.628 MB/s 174.224 MB/s

The improvement on other CPUs should be due to the removal of
RMW operations in resched_task.

-
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/