From: Tim Chen <tim.c.chen@linux.intel.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] sched: yield debugging
Date: Mon, 30 Jul 2007 11:10:52 -0700 [thread overview]
Message-ID: <1185819052.19777.52.camel@localhost.localdomain> (raw)
In-Reply-To: <20070729173735.GA4041@elte.hu>
On Sun, 2007-07-29 at 19:37 +0200, Ingo Molnar wrote:
> Tim,
>
> * Tim Chen <tim.c.chen@linux.intel.com> wrote:
>
>
> Could you try the patch below? It does not change the default behavior
> of yield but introduces 2 other yield strategies which you can activate
> runtime (if CONFIG_SCHED_DEBUG=y) via:
>
> # default one:
> echo 0 > /proc/sys/kernel/sched_yield_bug_workaround
>
> # always queues the current task next to the next task:
> echo 1 > /proc/sys/kernel/sched_yield_bug_workaround
>
> # NOP:
> echo 2 > /proc/sys/kernel/sched_yield_bug_workaround
>
> does variant '1' improve Java's VolanoMark performance perhaps?
>
Here's a summary of Volanomark performance numbers:
Variant 0 is 80% down from 2.6.22
Variant 1 is 20% down from 2.6.22 (this is indeed helped)
Variant 2 is 89% down from 2.6.22
> i'm also wondering, which JDK is this, and where does Java make use of
> sys_sched_yield()? It's a voefully badly defined (and thus unreliable)
> system call, IMO Java should stop using it ASAP and use a saner locking
> model.
I am using a JRockit JDK.
Thanks.
Tim
next prev parent reply other threads:[~2007-07-30 20:04 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 22:01 Volanomark slows by 80% under CFS Tim Chen
2007-07-28 0:31 ` Chris Snook
2007-07-28 0:59 ` Andrea Arcangeli
2007-07-28 3:43 ` pluggable scheduler flamewar thread (was Re: Volanomark slows by 80% under CFS) Chris Snook
2007-07-28 5:01 ` pluggable scheduler " Andrea Arcangeli
2007-07-28 6:51 ` Chris Snook
2007-07-30 18:49 ` Tim Chen
2007-07-30 21:07 ` Chris Snook
2007-07-30 21:24 ` Andrea Arcangeli
2007-07-28 13:28 ` Volanomark slows by 80% under CFS Dmitry Adamushko
2007-07-28 2:47 ` Rik van Riel
2007-07-28 20:26 ` Dave Jones
2007-07-28 12:36 ` Dmitry Adamushko
2007-07-28 18:55 ` David Schwartz
2007-07-29 17:37 ` [patch] sched: yield debugging Ingo Molnar
2007-07-30 18:10 ` Tim Chen [this message]
2007-07-31 20:33 ` Ingo Molnar
2007-08-01 20:53 ` Tim Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1185819052.19777.52.camel@localhost.localdomain \
--to=tim.c.chen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox