Re: [ofa-general] Re: Demand paging for memory regions

From: Christoph Lameter
Date: Wed Feb 13 2008 - 15:32:26 EST


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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/