From: "François Cami" <stilgar2k@wanadoo.fr>
To: mingo@elte.hu
Cc: Mike Kravetz <kravetz@us.ibm.com>,
Linus Torvalds <torvalds@transmeta.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
Anton Blanchard <anton@samba.org>,
george anzinger <george@mvista.com>,
Davide Libenzi <davidel@xmailserver.org>,
Rusty Russell <rusty@rustcorp.com.au>
Subject: Re: [patch] O(1) scheduler, -G1, 2.5.2-pre10, 2.4.17 (fwd)
Date: Fri, 11 Jan 2002 22:42:27 +0100 [thread overview]
Message-ID: <3C3F5C43.7060300@wanadoo.fr> (raw)
In-Reply-To: <Pine.LNX.4.33.0201110142160.12174-100000@localhost.localdomain>
Ingo Molnar wrote:
> On Thu, 10 Jan 2002, Mike Kravetz wrote:
>
>
>>If I run 3 cpu-hog tasks on a 2 CPU system, then 1 task will get an
>>entire CPU while the other 2 tasks share the other CPU (easily
>>verified by a simple test program). On previous versions of the
>>scheduler 'balancing' this load was achieved by the global nature of
>>time slices. No task was given a new time slice until the time slices
>>of all runnable tasks had expired. In the current scheduler, the
>>decision to replenish time slices is made at a local (pre-CPU) level.
>>I assume the load balancing code should take care of the above
>>workload? OR is this the behavior we desire? [...]
>>
>
> Arguably this is the most extreme situation - every other distribution
> (2:3, 3:4) is much less problematic. Will this cause problems? We could
> make the fairness-balancer more 'sharp' so that it will oscillate the
> length of the two runqueues at a slow pace, but it's still caching loss.
>
>
>>We certainly have optimal cache use.
>>
>
> indeed. The question is, should we migrate processes around just to get
> 100% fairness in 'top' output? The (implicit) cost of a task migration
> (caused by the destruction & rebuilding of cache state) can be 10
> milliseconds easily on a system with big caches.
>
> Ingo
I do vote for optimal cache use. Using squid (200MB process in my case)
can be much faster if squid stays on the same CPU for a while, instead
of hopping from one CPU to another (dual PII350 machine).
François Cami
next prev parent reply other threads:[~2002-01-11 21:36 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-10 14:19 [patch] O(1) scheduler, -G1, 2.5.2-pre10, 2.4.17 (fwd) Ingo Molnar
2002-01-10 18:20 ` Linus Torvalds
2002-01-10 20:11 ` george anzinger
2002-01-10 23:54 ` Ingo Molnar
2002-01-10 23:22 ` Ingo Molnar
2002-01-11 0:01 ` Ingo Molnar
2002-01-10 20:01 ` Robert Love
2002-01-10 23:44 ` Ingo Molnar
2002-01-10 21:57 ` Mike Kravetz
2002-01-11 0:48 ` Ingo Molnar
2002-01-10 23:04 ` Davide Libenzi
2002-01-11 21:42 ` François Cami [this message]
2002-01-11 21:46 ` Timothy Covell
[not found] ` <1010814327.2018.5.camel@phantasy>
2002-01-12 11:48 ` François Cami
2002-01-12 16:26 ` Timothy Covell
2002-01-12 20:00 ` Robert Love
2002-01-12 20:44 ` Davide Libenzi
2002-01-12 20:44 ` Timothy Covell
2002-01-12 23:56 ` Robert Love
2002-01-13 6:59 ` Rusty Russell
2002-01-14 8:40 ` Marian Jancar
2002-01-11 21:53 ` Mark Hahn
-- strict thread matches above, loose matches on Subject: below --
2002-01-13 20:30 Dieter Nützel
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=3C3F5C43.7060300@wanadoo.fr \
--to=stilgar2k@wanadoo.fr \
--cc=anton@samba.org \
--cc=davidel@xmailserver.org \
--cc=george@mvista.com \
--cc=kravetz@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rusty@rustcorp.com.au \
--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