public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Galbraith <bitbucket@online.de>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: RT <linux-rt-users@vger.kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: rt: rtmutex experiment doubled tbench throughput
Date: Thu, 28 Feb 2013 06:59:33 +0100	[thread overview]
Message-ID: <1362031173.4460.87.camel@marge.simpson.net> (raw)
In-Reply-To: <1361938754.4599.88.camel@marge.simpson.net>

On Wed, 2013-02-27 at 05:19 +0100, Mike Galbraith wrote: 
> On Tue, 2013-02-26 at 14:45 -0500, Steven Rostedt wrote: 

> > I would be interested in seeing what happens if we just made rt_tasks
> > spin instead of sleep (call yield). Actually, if we made real-time tasks
> > always spin (never sleep), just yield, if this would give us much better
> > performance.
> 
> Maybe you can get that working without the requeueing  Without it being
> a global head -> tail -> head thing, my big box died and died and.. 

As noted, prior to global queue to head, I made dead box.. a lot.

However, yesterday I had to hunt down a localhost throughput regression
in 3.0.65 (794ed393) anyway, and I used the opportunity to do a little
concurrent tinkering...

With SCHED_OTHER brain-o fixed up, as mentioned, -rt beat its NOPREEMPT
parent tree at hefty tbench throughput.  This morning, I tried real rt
spinning again, only yielding when mandatory.  With global queue to head
in place, no silent box syndrome happened, worked fine.  That should
mean that across the box contention induced jitter can shrink by sched
cost * players, no?

Maybe with some refinement, experiment will work out.

Longish jitter test just finished, though worst case doesn't look any
better (darn), it doesn't look any worse either, so I'll poke send.

(hm, maybe if I avoid pounding raw lock through the floor...)

-Mike


  reply	other threads:[~2013-02-28  5:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-22 16:36 rt: rtmutex experiment doubled tbench throughput Mike Galbraith
2013-02-23  8:25 ` Mike Galbraith
2013-02-26 19:45 ` Steven Rostedt
2013-02-27  4:19   ` Mike Galbraith
2013-02-28  5:59     ` Mike Galbraith [this message]
2013-02-26 21:25 ` Steven Rostedt
2013-02-27  2:22   ` Paul Gortmaker
2013-02-27  2:32     ` Steven Rostedt
2013-02-27  2:35       ` Steven Rostedt
2013-02-27  2:52         ` Paul Gortmaker
2013-02-27  4:55         ` Mike Galbraith

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=1362031173.4460.87.camel@marge.simpson.net \
    --to=bitbucket@online.de \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    /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