Re: sched_yield: delete sysctl_sched_compat_yield

From: Ingo Molnar
Date: Tue Nov 27 2007 - 06:17:31 EST



* Zhang, Yanmin <yanmin_zhang@xxxxxxxxxxxxxxx> wrote:

> If echo "1">/proc/sys/kernel/sched_compat_yield before starting
> volanoMark testing, the result is very good with kernel 2.6.24-rc3 on
> my 16-core tigerton.

yep, that's known and has been discussed in detail on lkml. Java should
use something more suitable than sched_yield for its locking. Yield will
always be dependent on scheduling details and _some_ category of apps
will always hurt. That's why we offer the sched_compat_yield flag.

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/