Re: manual page migration -- issue list

Paul Jackson
2005-02-16T01:17:09Z

As a straw man, let me push the factored migration call to the
extreme, and propose a call:

sys_page_migrate(pid, oldnode, newnode)

that moves any physical page in the address space of pid that is
currently located on oldnode to newnode.

Won't this come about as close as we are going to get to replicating the
physical memory layout of a job, if we just call it once, for each task
in that job? Oops - make that one call for each node in use by the job
- see the following ...

Earlier I (pj) wrote:
> The one thing not trivially covered in such a one task, one node pair at
> a time factoring is memory that is placed on a node that is remote from
> any of the tasks which map that memory. Let me call this 'remote
> placement.' Offhand, I don't know why anyone would do this.

Well - one case - headless nodes. These are memory-only nodes.

Typically one sys_page_migrate() call will be needed for each such node,
specifying some task in the job that has all the relevent memory on that
node mapped, specifying that (old) node, and specifying which new node
that memory should be migrated to.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.650.933.1373, 1.925.600.0401