mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Davide Libenzi <davidel@xmailserver.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Mike Fedyk <mfedyk@matchmail.com>,
	Linus Torvalds <torvalds@transmeta.com>,
	lkml <linux-kernel@vger.kernel.org>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [patch] scheduler cache affinity improvement for 2.4 kernels
Date: Sun, 11 Nov 2001 14:31:28 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.40.0111111429360.7269-100000@blue1.dev.mcafeelabs.com> (raw)
In-Reply-To: <Pine.LNX.4.40.0111111308250.7269-100000@blue1.dev.mcafeelabs.com>

On Sun, 11 Nov 2001, Davide Libenzi wrote:

> Ingo, i'm giving the timer_ticks patch a try in my proposed scheduler coz
> i like the idea of skipping the if inside goodness(), and i can do this
> safely because inside the proposed scheduler i don't have any cross CPU
> goodnesses ( no "if (p->processor != this_cpu) weight -= p->timer_ticks;" ).
> I made a change to it anyway, that is adding a water-mark in the decay
> behavior ( timer.c ).
> When counter is above this watermark ( currently 20 ) the counter decay as
> usual while if counter <= watermark, ticks accumulates in timer_ticks.
> This solution keeps the same good behavior for CPU bound tasks while it
> gives a "human"/current decay to tasks that has got a lot of counter
> accumulation inside the recalc loop ( I/O bound ).

The watermark is 10 ( DEF_COUNTER ) not 20.




- Davide



  reply	other threads:[~2001-11-11 22:23 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-08 14:30 Ingo Molnar
2001-11-08 15:22 ` M. Edward Borasky
2001-11-08 16:33   ` Ingo Molnar
2001-11-08 17:15 ` Davide Libenzi
2001-11-08 18:27   ` Ingo Molnar
2001-11-08 18:03     ` Davide Libenzi
2001-11-08 19:40       ` Ingo Molnar
2001-11-08 19:13         ` Davide Libenzi
2001-11-08 23:37           ` Mike Fedyk
2001-11-09  0:37             ` Davide Libenzi
2001-11-09  1:07               ` Mike Fedyk
2001-11-09  1:29                 ` Davide Libenzi
2001-11-09  1:34                   ` Mike Fedyk
2001-11-09  2:09                     ` Davide Libenzi
2001-11-09  2:08                       ` Mike Fedyk
2001-11-19 18:34               ` bill davidsen
2001-11-09  8:28             ` Ingo Molnar
2001-11-09  8:05               ` Mike Fedyk
2001-11-11 21:18               ` Davide Libenzi
2001-11-11 22:31                 ` Davide Libenzi [this message]
2001-11-08 23:46 ` Andrea Arcangeli
2001-11-09  0:31 ` Davide Libenzi
2001-11-14  4:56 ` Mike Kravetz
2001-11-14 18:08   ` Davide Libenzi

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.4.40.0111111429360.7269-100000@blue1.dev.mcafeelabs.com \
    --to=davidel@xmailserver.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mfedyk@matchmail.com \
    --cc=mingo@elte.hu \
    --cc=torvalds@transmeta.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

all inboxes | Powered by JetHome®