Re: [announce] CFS-devel, performance improvements

From: Ingo Molnar
Date: Thu Sep 13 2007 - 05:32:59 EST



* Rob Hussey <robjhussey@xxxxxxxxx> wrote:

> On 9/13/07, Ingo Molnar <mingo@xxxxxxx> wrote:
> >
> > thanks for the numbers! Could you please also post the .config you used?
>
> Sure, .config for 2.6.23-rc1 and 2.6.23-rc6 attached.

thx! If you've got some time, could you perhaps re-measure with these
disabled:

CONFIG_SCHED_DEBUG=y
CONFIG_SCHEDSTATS=y

these options mask some of the performance enhancements we made. There's
also a new code drop at:

http://people.redhat.com/mingo/cfs-scheduler/devel/

with some fixes for SMP. (and you've got an SMP box it appears)

also, if you want to maximize performance, it usually makes more sense
to build with these flipped around:

# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_FORCED_INLINING=y

i.e.:

CONFIG_CC_OPTIMIZE_FOR_SIZE=y
# CONFIG_FORCED_INLINING is not set

because especially on modern x86 CPUs, smaller x86 code is faster. (and
it also takes up less I-cache size)

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