From: Chuck Ebbert <cebbert@redhat.com>
To: Arjan van de Ven <arjan@infradead.org>
Cc: "Linda W." <lkml@tlinx.org>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: linux scheduler and "cache-mate" processors
Date: Wed, 31 Jan 2007 15:20:33 -0500 [thread overview]
Message-ID: <45C0FA11.1060303@redhat.com> (raw)
In-Reply-To: <1170238640.2865.4.camel@laptopd505.fenrus.org>
Arjan van de Ven wrote:
>> 1) does the scheduler know enough to try to spread tasks
>> equally over both the pairs to make best use of the 16MB total
>> cache? (i.e. given cpu bound processes "1" and "2", if they
>> are both on CPU "A", then the "C-D" cache remains unused, but
>> keeping "1" on "a" and "2" on "C" would tend to minimize
>> their caches being consumed by each other.
>>
>
> yes this works just fine
>
>
>
>> 2) Since either A&B both have access to the 8MB cache, then
>> if a process was running on "A", it seems it would have a
>> low migration cost to be scheduled on "B" -- i.e. shouldn't
>> the process, if it were migrated to "A"'s "cache-mate", "B",
>> be able to benefit by any previous caching done on "A"?
>> If that's true, does the scheduler give preference, when
>> migrating a process, to a CPU's "cache-mate"?
>>
>
> afaik yes as well
>
>
You do have to enable "Multi-core scheduler support" in the kernel
.config, though.
prev parent reply other threads:[~2007-01-31 20:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-25 0:10 linux scheduler and "cache-mate" processors Linda W.
2007-01-31 10:17 ` Arjan van de Ven
2007-01-31 20:20 ` Chuck Ebbert [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=45C0FA11.1060303@redhat.com \
--to=cebbert@redhat.com \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@tlinx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.