linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Galbraith <mgalbraith@suse.de>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>,
	RT <linux-rt-users@vger.kernel.org>
Subject: Re: [RFC][PATCH 0/3] update to cpupri algorithm
Date: Mon, 01 Aug 2011 20:41:35 +0200	[thread overview]
Message-ID: <1312224095.8151.78.camel@marge.simson.net> (raw)
In-Reply-To: <1312208313.18583.28.camel@gandalf.stny.rr.com>

On Mon, 2011-08-01 at 10:18 -0400, Steven Rostedt wrote:
> On Sat, 2011-07-30 at 11:19 +0200, Mike Galbraith wrote:
> > On Fri, 2011-07-29 at 11:13 -0400, Steven Rostedt wrote:
> > > Hi Mike,
> > > 
> > > Could you try this patch set out. Add the first patch and then
> > > run your tests. The first patch only adds benchmarking, and does not
> > > modify the scheduler algorithm.
> > > 
> > > Do this:
> > > 
> > > 1. apply first patch, build and boot
> > > 2. # mount -t debugfs nodev /sys/kernel/debug
> > > 3. # echo 0 > /sys/kernel/debug/cpupri; ./runtest; cat /sys/kernel/debug/cpupri > output
> > > 
> > > The output will give you the contention of the vector locks in the
> > > cpupri algorithm.
> > > 
> > > Then apply the second patch and do the same thing.
> > > 
> > > Then apply the third patch and do the same thing.
> > > 
> > > After that, could you send me the results of the output file for all
> > > three runs?  The final patch should probably be the best overall
> > > results.
> > 
> > These patches are RFC, so here's my Comment.  Steven rocks.
> 
> /me blushes!

Don't, they're excellent.  /me was having one _hell_ of a hard time
trying to convince box that somewhat tight constraint realtime really
really should be possible on isolated CPUs.

> Thanks for testing! I'll redo the patches to remove the logging, and
> send them to you again. Could you return back a 'Tested-by' tag
> afterward.

(I did the logging removal, the posted numbers were that, but..)

Sure.  I've been beating on them (heftily), there are there have been no
ill effects detected.  You can have my..
	Tested-by: Mike Galbraith <mgalbraith@suse.de> ||
	Tested-by: Mike Galbraith <efault@gmx.de> (the real /me)
..now fwiw, they were the deciding factor here.

> Could you also post the results without the two cpupri patches?

Sure, will do.  As noted, the cyclictest numbers were never as nasty as
the benchmark indicated they could (did) get.  With this particular test
app, there's there's a nasty feedback perturbation source, tty.  It can
feed on itself if several threads start griping.

While testing your patches, I just let it do it's thing with a ~full up
load it never could handle, and let the chips fall where they may.  The
cyclictest numbers I post will be 1:1 with the results posted, ie taking
tty out of the picture, so the difference won't be as huge as the lock
benchmark showed it can (did) get.

	-Mike


  reply	other threads:[~2011-08-01 18:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-29 15:13 [RFC][PATCH 0/3] update to cpupri algorithm Steven Rostedt
2011-07-29 15:13 ` [RFC][PATCH 1/3] cpupri: Add profiling Steven Rostedt
2011-07-29 15:13 ` [RFC][PATCH 2/3] cpupri: Remove vector locks and read entire loop Steven Rostedt
2011-07-29 15:13 ` [RFC][PATCH 3/3] cpupri: Add atomic vector count to speed up loop Steven Rostedt
2011-07-29 15:38 ` [RFC][PATCH 0/3] update to cpupri algorithm Mike Galbraith
2011-07-29 18:24 ` Mike Galbraith
2011-07-30  7:12   ` Mike Galbraith
2011-07-30  8:16     ` Mike Galbraith
2011-07-30  9:19 ` Mike Galbraith
2011-08-01 14:18   ` Steven Rostedt
2011-08-01 18:41     ` Mike Galbraith [this message]
2011-08-01 18:54       ` Steven Rostedt
2011-08-01 19:06         ` Mike Galbraith
2011-08-02  8:59         ` Mike Galbraith
2011-08-02  8:46     ` 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=1312224095.8151.78.camel@marge.simson.net \
    --to=mgalbraith@suse.de \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    /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;
as well as URLs for NNTP newsgroup(s).