[ofa-general] Re: Demand paging for memory regions
Christoph Lameter
clameter at sgi.com
Wed Feb 13 12:32:12 PST 2008
On Wed, 13 Feb 2008, Christian Bell wrote:
> not always be in the thousands but you're still claiming scalability
> for a mechanism that essentially logs who accesses the regions. Then
> there's the fact that reclaim becomes a collective communication
> operation over all region accessors. Makes me nervous.
Well reclaim is not a very fast process (and we usually try to avoid it
as much as possible for our HPC). Essentially its only there to allow
shifts of processing loads and to allow efficient caching of application
data.
> However, short of providing user-level notifications for pinned pages
> that are inadvertently released to the O/S, I don't believe that the
> patchset provides any significant added value for the HPC community
> that can't optimistically do RDMA demand paging.
We currently also run XPmem with pinning. Its great as long as you just
run one load on the system. No reclaim ever iccurs.
However, if you do things that require lots of allocations etc etc then
the page pinning can easily lead to livelock if reclaim is finally
triggerd and also strange OOM situations since the VM cannot free any
pages. So the main issue that is addressed here is reliability of pinned
page operations. Better VM integration avoids these issues because we can
unpin on request to deal with memory shortages.
More information about the general
mailing list