public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: FabF <Fabian.Frederick@skynet.be>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org,
	Badari Pulavarty <pbadari@us.ibm.com>
Subject: Re: [PATCH 2.6.6-rc3-mm1] Add maxthinktime to sysfs
Date: Sat, 01 May 2004 13:41:10 +1000	[thread overview]
Message-ID: <40931C56.4030500@yahoo.com.au> (raw)
In-Reply-To: <1083368224.4976.9.camel@bluerhyme.real3>

FabF wrote:
> On Sat, 2004-05-01 at 00:42, Andrew Morton wrote:

>>Badari, did you find any need to vary this in the AS tuning work which you
>>were doing?  (What happened to that, btw?)
>>
>>If we're going to expose this tunable to users it needs to be documented in
>>as-iosched.txt
> 
> 
> I'm an absolute beginner Andrew ... Maybe someone more experienced could do that ?
> 

No no, writing end user documentation is much easier than writing
kernel code!

But either way you needn't worry about it because this isn't something
that you would want to tweak from userspace really. If you find it
useful to do some tuning then I guess it can go in -mm.

> PS:Attached the patch v2.
> 
> Best regards,
> Fabian
> 
> 
> ------------------------------------------------------------------------
> 
> ffbench 11 - Fabian Frederick 04/2004 - asio - maxthinktime - 10 clients
> 5	100	300
> ---------------------
> 5.37	21.26	16.28
> 11.71	23.10	20.14
> 15.22	21.05	20.20
> 13.85	18.03	17.55
> 11.58	16.39	16.86
...

maxthinktime of 5 is below the default antic_expire of 6. This
basically turns off the thinktime heuristic, so it isn't really
surprising that it runs like crap.

The *minimum* maxthinktime you should be playing with is probably
about double the antic_expire value.

Raising the value will make the heuristic a bit more restrictive
which could be a good idea. I think OSDL's STP has a couple of
database tests where the anticipatory scheduler has a small
regression (dbt2, dbt3). They might be helpful to you.

      parent reply	other threads:[~2004-05-01  3:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-30 22:26 [PATCH 2.6.6-rc3-mm1] Add maxthinktime to sysfs FabF
2004-04-30 22:42 ` Andrew Morton
2004-04-30 23:37   ` FabF
2004-04-30 23:34     ` Andrew Morton
2004-05-01  3:41     ` Nick Piggin [this message]

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=40931C56.4030500@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=Fabian.Frederick@skynet.be \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbadari@us.ibm.com \
    /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