From: mccalpin@frakir.engr.sgi.com (John McCalpin)
Subject: Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?)
Date: 1998/05/07 [thread overview]
Message-ID: <6isp7p$861$1@murrow.corp.sgi.com> (raw)
In-Reply-To: 6ianno$19lk$1@news.rchland.ibm.com
In article <6ianno$19lk$1@news.rchland.ibm.com>,
Del Cecchi <dcecchi@vnet.ibm.com> wrote:
> [asking about some features of the SGI Origin2000 ccNUMA machine...]
>
> Maybe I have asked this in the past, but how do you handle page
> faults? Do you force the new page coming in to be local to the
> node that generated the page fault, or allow it to go anywhere,
> or is there some options in the page fault handler to choose?
>--
>Del Cecchi
>cecchi@rchland
The default handler tries to allocate a page local to the cpu that
faulted. If it is unable to find a free page of the correct size on
that node, it will start searching on neighboring nodes. The free
page finder understands the network topology and will search all
the "1-hop-away" nodes before going to the "2-hop-away" nodes, etc.
When requesting pages of non-standard (i.e. large) size, there is
an additional degree of freedom. You can give either smaller pages
locally, or the requested size remotely. I don't know what the system
does by default -- I make the right decisions manually when I deal
with this problem.
You can change from the default "first touch" policy for allocation
to a "round-robin" policy simply by setting an environment variable.
The "round-robin" policy allocates pages around the set of nodes
that have been requested for your job (usually the number of cpus
divided by two), so you still have a degree of locality.
If you want another policy, you have to read a lot of documentation
and build your own policy module. I have never needed to do this,
but it is available to users.
--
--
John D. McCalpin, Ph.D. Server System Architect
Server Platform Engineering http://reality.sgi.com/mccalpin/
Silicon Graphics, Inc. mccalpin@sgi.com 650-933-7407
next prev parent reply other threads:[~1998-05-07 4:00 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <35359B3A.2A830CB1@earthlink.net>
[not found] ` <6hl9s9$fec$1@pulp.ucs.ualberta.ca>
[not found] ` <6hmu26$il3$1@lyra.csx.cam.ac.uk>
[not found] ` <6hpadq$le2$1@alanya.m.isar.de>
1998-04-25 4:00 ` Latency vs performance (was Re: Sun Servers take advantage of board local memory?) John McCalpin
1998-04-25 4:00 ` Carl Perkins
1998-04-25 4:00 ` John McCalpin
1998-04-27 4:00 ` Maynard Handley
1998-04-28 4:00 ` John McCalpin
1998-04-28 4:00 ` Jeremy Harris SUN Telco Platforms Group
1998-04-28 4:00 ` John McCalpin
1998-04-30 4:00 ` Jim Tuccillo
1998-04-30 4:00 ` John McCalpin
1998-04-30 4:00 ` Jim Tuccillo
1998-04-30 4:00 ` John McCalpin
1998-05-01 4:00 ` ASHOK SINGHAL
1998-05-08 4:00 ` John McCalpin
1998-05-12 4:00 ` ASHOK SINGHAL
1998-05-13 4:00 ` John McCalpin
1998-05-01 4:00 ` Mark W Brehob
[not found] ` <6ianno$19lk$1@news.rchland.ibm.com>
1998-05-07 4:00 ` John McCalpin [this message]
1998-04-26 4:00 ` Mark W Brehob
1998-04-27 4:00 ` John McCalpin
1998-04-27 4:00 ` Mark W Brehob
1998-04-28 4:00 ` ASHOK SINGHAL
1998-05-04 4:00 ` William Lane
1998-05-04 4:00 ` John McCalpin
1998-05-06 4:00 ` Brian Jonathan Lee
1998-05-12 4:00 ` Salim Qadri
1998-04-27 4:00 ` Nick Maclaren
1998-04-27 4:00 ` Mark W Brehob
1998-04-27 4:00 ` Scott Walters
1998-04-27 4:00 ` Scott Walters
1998-04-28 4:00 ` Nick Maclaren
1998-04-28 4:00 ` Scott Walters
1998-04-28 4:00 ` Latency vs performance John Hascall
1998-04-29 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-04-29 4:00 ` Scott Walters
1998-04-29 4:00 ` Scott Walters
1998-05-01 4:00 ` Scott Hess
1998-05-12 4:00 ` Latency vs performance (was Re: Sun Servers take advantage of board local memory?) Brian Inglis
1998-05-05 4:00 ` Doug Siebert
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox