From: "Antonio Vargas" <windenntw@gmail.com>
To: "Ludovic Drolez" <ldrolez@linbox.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sched.c: Be a bit more conservative in SMP
Date: Tue, 19 Sep 2006 19:50:46 +0200 [thread overview]
Message-ID: <69304d110609191050w777a5c48ibe84bc0e3ce65df3@mail.gmail.com> (raw)
In-Reply-To: <loom.20060919T155900-330@post.gmane.org>
On 9/19/06, Ludovic Drolez <ldrolez@linbox.com> wrote:
> Vincent Pelletier <vincent.plr <at> wanadoo.fr> writes:
> > I'll do some tests soon to see which version gives better performance at a
> > higher level than just process migration cost - if different at all.
>
> I think that your patch should improve the performance because process
> migrations are expensive (cache miss) and should be avoided when not
> really necessary.
>
> Cheers,
>
> Ludovic.
>
A variant on this theme would be (not tested or somewhat, just a
random idea for considering):
1. find if the process is a cpu-hog, if not then ignore
2. find somehow how much time has this process on it's current cpu
3. then, instead of always substracting 1 from th current load on the
current cpu, substract for example 1...0 when running from 0 to 60
seconds... this way cpu hogs would only rotate slowly?
in code:
number_to_sub_from_queue_load = (256 - min(256,
time_from_last_change_of_cpu)) >> 8;
somehow managing to get fixedpoint loadlevels on the runqueues would
make this work better....
--
Greetz, Antonio Vargas aka winden of network
http://network.amigascne.org/
windNOenSPAMntw@gmail.com
thesameasabove@amigascne.org
Every day, every year
you have to work
you have to study
you have to scene.
next prev parent reply other threads:[~2006-09-19 17:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-03 13:41 Vincent Pelletier
2006-09-03 17:10 ` Vincent Pelletier
2006-09-06 23:30 ` Vincent Pelletier
2006-09-19 14:06 ` Ludovic Drolez
2006-09-19 17:50 ` Antonio Vargas [this message]
2006-09-20 7:42 ` Ludovic Drolez
2006-09-20 16:26 ` Poor scheduling when not loaded at 100% (Was: [PATCH] sched.c: Be a bit more conservative in SMP) Ludovic Drolez
2006-09-21 18:36 ` [PATCH] sched.c: Be a bit more conservative in SMP Vincent Pelletier
2006-09-22 7:24 ` Ludovic Drolez
2006-09-22 12:31 ` Antonio Vargas
2006-09-19 13:39 ` Ludovic
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=69304d110609191050w777a5c48ibe84bc0e3ce65df3@mail.gmail.com \
--to=windenntw@gmail.com \
--cc=ldrolez@linbox.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®