public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Ray Lee <ray@madrabbit.org>
Cc: Linux Kernel M/L <linux-kernel@vger.kernel.org>
Subject: Re: Sched - graphic smoothness under load - cfs-v13 sd-0.48
Date: Sat, 19 May 2007 20:44:28 -0400	[thread overview]
Message-ID: <464F99EC.3080006@tmr.com> (raw)
In-Reply-To: <2c0942db0705191322p54e05e40p512146f21f68299a@mail.gmail.com>

Ray Lee wrote:
> On 5/19/07, Bill Davidsen <davidsen@tmr.com> wrote:
>> I generated a table of results from the latest glitch1 script, using an
>> HTML postprocessor I not *quite* ready to foist on the word. In any case
>> it has some numbers for frames per second, fairness of the processor
>> time allocated to the compute bound processes which generate a lot of
>> other screen activity for X, and my subjective comments on how smooth it
>> looked and felt.
>>
>> The chart is at http://www.tmr.com/~davidsen/sched_smooth_01.html for
>> your viewing pleasure.
> 
> Is the S.D. columns (immediately after the average) standard
> deviation? If so, you may want to rename those 'stdev', as it's a
> little confusing to have S.D. stand for that and Staircase Deadline.
> Further, which standard deviation is it? (The standard deviation of
> the values (stdev), or the standard deviation of the mean (sdom)?)
> 
What's intended is the stddev from the average, and perl bit me on that 
one. If you spell a variable wrong the same way more than once it 
doesn't flag it as a possible spelling error.

Note on the math, even when coded as intended, the divide of the squares 
of the errors is by N-1 not N. I found it both ways in online doc, but I 
learned it decades ago as "N-1" so I used that.
> Finally, if it is the standard deviation (of either), then I don't
> really believe those numbers for the glxgears case. The deviation is
> huge for all but one of those results.
> 
I had the same feeling, but because of the code error above, what failed 
was zeroing the sum of the errors, so (a) values after the first kept 
getting larger, and when I debugged it against the calculation by hand, 
the first one matched so I thought I had it right.

> Regardless, it's good that you're doing measurements, and keep it up :-).

Okay, here's a bonus, http://www.tmr.com/~davidsen/sched_smooth_02.html 
not only has the right values, the labels are changed, and I included 
more data points from the fc6 recent kernel and the 2.6.21.1 kernel with 
the mainline scheduler.

The nice thing about this test and the IPC test I posted recently is 
that they are reasonable stable on the same hardware, so even if someone 
argues about what they show, they show the same thing each time and can 
therefore be used to compare changes.

As I told a manger at the old Prodigy after coding up some log analysis 
with pretty graphs, "getting the data was the easy part, the hard part 
is figuring out what it means." If this data is useful in suggesting 
changes, then it has value. Otherwise it was a fun way to spend some time.

-- 
Bill Davidsen <davidsen@tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

  reply	other threads:[~2007-05-20  0:44 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-19 20:02 Sched - graphic smoothness under load - cfs-v13 sd-0.48 Bill Davidsen
2007-05-19 20:22 ` Ray Lee
2007-05-20  0:44   ` Bill Davidsen [this message]
2007-05-20  6:12     ` Michael Gerdau
2007-05-20  6:30       ` Ray Lee
2007-05-20  6:59         ` Michael Gerdau
2007-05-20  7:20           ` Ray Lee
2007-05-20  6:55     ` Ray Lee
2007-05-21 18:27     ` Matt Keenan
2007-05-19 20:36 ` Diego Calleja
2007-05-19 20:55   ` Ray Lee
2007-05-19 23:21   ` Mike Galbraith
2007-05-20 16:29 ` Miguel Figueiredo
2007-05-20 16:44   ` Ray Lee
2007-05-20 16:58     ` Miguel Figueiredo
2007-05-20 17:19       ` Ray Lee
2007-05-22 17:55       ` Bill Davidsen
2007-05-22 20:01         ` Miguel Figueiredo
2007-05-23  0:28           ` Bill Davidsen
2007-05-23 13:10             ` Bill Davidsen
2007-05-23 18:29               ` Miguel Figueiredo
2007-05-23 20:45                 ` Bill Davidsen
2007-05-23 21:03                   ` Miguel Figueiredo
2007-05-24  0:36             ` Con Kolivas
2007-05-23  4:06               ` William Lee Irwin III
2007-05-23  5:23               ` Michael Gerdau
2007-05-23  7:58                 ` Xavier Bestel
2007-05-23  8:21                   ` Bill Huey
2007-05-23 18:22                   ` Ian Romanick
2007-05-23 18:43                     ` Xavier Bestel
2007-05-23 17:22                 ` Bill Davidsen
2007-05-23 16:59               ` Bill Davidsen
2007-05-22 17:22   ` Bill Davidsen

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=464F99EC.3080006@tmr.com \
    --to=davidsen@tmr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ray@madrabbit.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