public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <mbligh@aracnet.com>
To: Timothy Miller <miller@techsource.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Lazy NUMA sorting?
Date: Thu, 15 Apr 2004 15:07:26 -0700	[thread overview]
Message-ID: <225720000.1082066846@flay> (raw)
In-Reply-To: <407EFAAB.7060307@techsource.com>

> So, I understand that the 2.6 SMP balancer redistributes workload on a periodic basis.  Once every second or something, it migrates processes.
> 
> A NUMA system would have to do something similar, where if there is a page which is referenced by only one process, and the page is located on the "wrong" node, it could be migrated.  This could be done gradually by a periodic background process.  Is this already how it works?

We don't do page migration. It has proved extraordinarily hard to know when
to migrate pages correctly ... in conjunction with the cross-node movement
of tasks.

> Also, if a page is being referenced by multiple nodes, the same background process could make mirror copies.  (Age of page would be an important consideration here so moves don't happen for short-lived pages.)

We can do that for read-only mappings and kernel text already. Dave Hansen
did a patch for the read-only mappings, though I need to update it to the
latest kernel tree.

M.


      reply	other threads:[~2004-04-15 22:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-15 21:12 Lazy NUMA sorting? Timothy Miller
2004-04-15 22:07 ` Martin J. Bligh [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=225720000.1082066846@flay \
    --to=mbligh@aracnet.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miller@techsource.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