linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Con Kolivas <kernel@kolivas.org>
Cc: Ingo Molnar <mingo@elte.hu>, linux-kernel@vger.kernel.org
Subject: Re: [patch] sched-2.6.0-test1-G6, interactivity changes
Date: Tue, 29 Jul 2003 22:49:13 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.3.96.1030729224509.27753B-100000@gatekeeper.tmr.com> (raw)
In-Reply-To: <200307290800.24003.kernel@kolivas.org>

On Tue, 29 Jul 2003, Con Kolivas wrote:

> On Tue, 29 Jul 2003 07:38, Bill Davidsen wrote:

> > It would seem to me that the lower limit for a given CPU is a function of
> > CPU speed and cache size. One reason for longer slices is to preserve the
> > cache, but the real time to get good use from the cache is not a constant,
> > and you just can't pick any one number which won't be too short on a slow
> > cpu or unproductively long on a fast CPU. Hyperthreading shrinks the
> > effective cache size as well, but certainly not by 2:1 or anything nice.
> >
> > Perhaps this should be a tunable set by a bit of hardware discovery at
> > boot and diddled at your own risk. Sure one factor in why people can't
> > agree on HZ and all to get best results.
> 
> Agreed, and no doubt the smaller the timeslice the worse it is. I did a little 
> experimenting with my P4 2.53 here and found that basically no matter how 
> much longer the timeslice was there was continued benefit. However the 
> benefit was diminishing the higher you got. If you graphed it out it was a 
> nasty exponential curve up to 7ms and then there was a knee in the curve and 
> it was virtually linear from that point on with only tiny improvements. A p3 
> 933 behaved surprisingly similarly. That's why on 2.4.21-ck3 it was running 
> with timeslice_granularity set to 10ms. However the round robin isn't as bad 
> as pure timeslice limiting because if they're still on the active array I am 
> led to believe there is less cache trashing. 
> 
> There was no answer in that but just thought I'd add what I know so far.

I think your agreement that one size doesn't fit all at least indicates
that hardware performance does enter into the settings. I'm disappointed
that you see no nice sharp "best value," but real data is better than
theory.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.


  reply	other threads:[~2003-07-30  2:57 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-27 13:40 [patch] sched-2.6.0-test1-G6, interactivity changes Ingo Molnar
2003-07-27 14:03 ` Con Kolivas
2003-07-28  7:24   ` Ingo Molnar
2003-07-28  8:50     ` Con Kolivas
2003-07-28 21:38     ` Bill Davidsen
2003-07-28 22:00       ` Con Kolivas
2003-07-30  2:49         ` Bill Davidsen [this message]
2003-08-08 19:41         ` Rob Landley
2003-07-27 19:18 ` Felipe Alfaro Solana
2003-07-28  6:04   ` Mike Galbraith
2003-07-28  6:45     ` Andre Hedrick
2003-07-28  7:05     ` Con Kolivas
2003-07-28  7:33       ` Mike Galbraith
2003-07-28  7:44         ` Ingo Molnar
2003-07-30 14:24           ` Szonyi Calin
     [not found]         ` <Pine.LNX.4.44.0307280935300.4596-100000@localhost.localdom ain>
2003-07-28  8:15           ` Mike Galbraith
2003-07-28  8:42             ` Con Kolivas
2003-07-28  8:49               ` Mike Galbraith
     [not found]     ` <Pine.LNX.4.10.10307272338160.30891-100000@master.linux-ide .org>
2003-07-28  7:27       ` Mike Galbraith
2003-07-28 17:33         ` Andre Hedrick
     [not found]         ` <Pine.LNX.4.10.10307281030180.30891-100000@master.linux-ide .org>
2003-07-29  7:44           ` Mike Galbraith
2003-07-28 17:17 ` Jose Luis Domingo Lopez

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=Pine.LNX.3.96.1030729224509.27753B-100000@gatekeeper.tmr.com \
    --to=davidsen@tmr.com \
    --cc=kernel@kolivas.org \
    --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;
as well as URLs for NNTP newsgroup(s).