From: Nick Piggin <nickpiggin@yahoo.com.au>
To: jmerkey@galt.devicelogics.com
Cc: "Jeff V. Merkey" <jmerkey@drdos.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>, Robert Love <rml@novell.com>,
Ankit Jain <ankitjain1580@yahoo.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: processor affinity
Date: Fri, 01 Oct 2004 13:09:21 +1000 [thread overview]
Message-ID: <415CCA61.5060209@yahoo.com.au> (raw)
In-Reply-To: <20040930124708.GA2520@galt.devicelogics.com>
jmerkey@galt.devicelogics.com wrote:
> On Thu, Sep 30, 2004 at 12:39:12PM +1000, Nick Piggin wrote:
>>Of course, I don't really have any idea how to interpret patents...
^^^
keeping that in mind
>
> The implementation in NetWare and the Implementation in Linux are
> similiar but not identical, but they are close enough. CPU bitmasks were
> used. The best apporach would be for someone to locate prior art in the
> field and challenge the patent in the event any claims were ever brought
> or avoid the same methods.
It seems that the actual patent describes the implementation of the
scheduler that achieves this. And in it, the method used is a locked
global queue and unlocked local queues. But anyway.
> I was able to achieve greater than
> 100% scaling per processor due to Intel's quirky cache behavior.
And probably most cache behaviours. If you have a set of tasks with
a working set larger than the cache of 1 processor but that can be
divided to fit into the cache of 2, then you're laughing.
More than 1 CPU can dramatically lower task switch (and mm switch)
rates in ideal situations, too.
> If
> you can get a small subset of code in the cache controllers for
> processes through hueristics (i.e. guessing) additive processor
> scaling can be increased dramatically due to taking advantage
> of the L1 and L2 proceesor caches. Linux is somewhat crude
> from an SMP perspective even today, although it has an impressive
> array of hardware support for SMP systems and architectures, but
> based on the small number of processes than run on average (< 100)
> this technique would work on Linux.
>
Well it has pretty strong CPU affinity, and roughly distributes
load evenly over CPUs. What more do you want? :)
prev parent reply other threads:[~2004-10-01 3:10 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-28 12:25 processor affinity Ankit Jain
2004-09-28 13:39 ` Toon van der Pas
2004-09-28 13:47 ` Jon Masters
2004-09-28 13:55 ` Neil Horman
2004-09-28 14:04 ` Jeff V. Merkey
2004-09-28 15:58 ` Robert Love
2004-09-28 16:02 ` Jeff V. Merkey
2004-09-28 21:51 ` Alan Cox
2004-09-29 16:56 ` Jeff V. Merkey
2004-09-29 17:45 ` Christoph Hellwig
2004-09-29 19:24 ` Jeff V. Merkey
2004-09-29 20:08 ` Jon Masters
2004-09-29 19:43 ` Jeff V. Merkey
2004-09-29 20:28 ` Jon Masters
2004-09-29 20:03 ` Jeff V. Merkey
2004-09-30 2:39 ` Nick Piggin
[not found] ` <20040930124708.GA2520@galt.devicelogics.com>
2004-10-01 3:09 ` 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=415CCA61.5060209@yahoo.com.au \
--to=nickpiggin@yahoo.com.au \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=ankitjain1580@yahoo.com \
--cc=jmerkey@drdos.com \
--cc=jmerkey@galt.devicelogics.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rml@novell.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