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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Lameter <clameter@...>
Cc: Jason Gunthorpe <jgunthorpe@...>, Rik van Riel <riel@...>, Andrea Arcangeli <andrea@...>, <a.p.zijlstra@...>, <izike@...>, Roland Dreier <rdreier@...>, <steiner@...>, <linux-kernel@...>, <avi@...>, <linux-mm@...>, <daniel.blueman@...>, Robin Holt <holt@...>, <general@...>, Andrew Morton <akpm@...>, <kvm-devel@...>
Date: Tuesday, February 12, 2008 - 9:55 pm

On Tue, 12 Feb 2008, Christoph Lameter wrote:


HPC environments won't be amenable to a pessimistic approach of
synchronizing before every data transfer.  RDMA is assumed to be a
low-level data movement mechanism that has no implied
synchronization.  In some parallel programming models, it's not
uncommon to use RDMA to send 8-byte messages.  It can be difficult to
make and hold guarantees about in-memory pages when many concurrent
RDMA operations are in flight (not uncommon in reasonably large
machines).  Some of the in-memory page information could be shared
with some form of remote caching strategy but then it's a different
problem with its own scalability challenges.

I think there are very potential clients of the interface when an
optimistic approach is used.  Part of the trick, however, has to do
with being able to re-start transfers instead of buffering the data
or making guarantees about delivery that could cause deadlock (as was
alluded to earlier in this thread).  InfiniBand is constrained in
this regard since it requires message-ordering between endpoints (or
queue pairs).  One could argue that this is still possible with IB,
at the cost of throwing more packets away when a referenced page is
not in memory.  With this approach, the worse case demand paging
scenario is met when the active working set of referenced pages is
larger than the amount physical memory -- but HPC applications are
already bound by this anyway.

You'll find that Quadrics has the most experience in this area and
that their entire architecture is adapted to being optimistic about
demand paging in RDMA transfers -- they've been maintaining a patchset
to do this for years.

    . . christian

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 0/6] MMU Notifiers V6, Christoph Lameter, (Fri Feb 8, 6:06 pm)
Re: [patch 0/6] MMU Notifiers V6, Jack Steiner, (Wed Feb 13, 10:31 am)
Re: [patch 0/6] MMU Notifiers V6, Andrew Morton, (Fri Feb 8, 6:23 pm)
Re: [patch 0/6] MMU Notifiers V6, Christoph Lameter, (Fri Feb 8, 7:32 pm)
Re: [patch 0/6] MMU Notifiers V6, Robin Holt, (Fri Feb 8, 7:36 pm)
Re: [patch 0/6] MMU Notifiers V6, Christoph Lameter, (Fri Feb 8, 7:41 pm)
Re: [patch 0/6] MMU Notifiers V6, Robin Holt, (Fri Feb 8, 7:43 pm)
Re: [patch 0/6] MMU Notifiers V6, Andrew Morton, (Fri Feb 8, 7:56 pm)
Re: [patch 0/6] MMU Notifiers V6, Christoph Lameter, (Fri Feb 8, 8:05 pm)
Re: [patch 0/6] MMU Notifiers V6, Andrew Morton, (Fri Feb 8, 8:12 pm)
Re: [patch 0/6] MMU Notifiers V6, Christoph Lameter, (Fri Feb 8, 8:18 pm)
Re: [ofa-general] Re: [patch 0/6] MMU Notifiers V6, Roland Dreier, (Fri Feb 8, 8:12 pm)
Re: [ofa-general] Re: [patch 0/6] MMU Notifiers V6, Christoph Lameter, (Fri Feb 8, 8:16 pm)
Re: [ofa-general] Re: [patch 0/6] MMU Notifiers V6, Roland Dreier, (Fri Feb 8, 8:22 pm)
Re: [ofa-general] Re: [patch 0/6] MMU Notifiers V6, Christoph Lameter, (Fri Feb 8, 8:36 pm)
Re: [ofa-general] Re: [patch 0/6] MMU Notifiers V6, Andrea Arcangeli, (Fri Feb 8, 9:24 pm)
Re: [ofa-general] Re: [patch 0/6] MMU Notifiers V6, Christoph Lameter, (Fri Feb 8, 9:27 pm)
Re: [ofa-general] Re: [patch 0/6] MMU Notifiers V6, Andrea Arcangeli, (Fri Feb 8, 9:56 pm)
Re: [ofa-general] Re: [patch 0/6] MMU Notifiers V6, Christoph Lameter, (Fri Feb 8, 10:16 pm)
Re: [ofa-general] Re: [patch 0/6] MMU Notifiers V6, Rik van Riel, (Sat Feb 9, 8:55 am)
Re: [ofa-general] Re: [patch 0/6] MMU Notifiers V6, Christoph Lameter, (Sat Feb 9, 5:46 pm)
Re: Demand paging for memory regions (was Re: MMU Notifiers ..., Christoph Lameter, (Tue Feb 12, 6:10 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Roland Dreier, (Tue Feb 12, 6:41 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christoph Raisch, (Wed Feb 13, 8:11 am)
Re: [ofa-general] Re: Demand paging for memory regions, Christoph Lameter, (Wed Feb 13, 3:02 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christoph Lameter, (Tue Feb 12, 8:56 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Jason Gunthorpe, (Tue Feb 12, 7:23 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christoph Lameter, (Tue Feb 12, 9:01 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christian Bell, (Tue Feb 12, 9:55 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christoph Lameter, (Tue Feb 12, 10:19 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Jason Gunthorpe, (Tue Feb 12, 9:26 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christoph Lameter, (Tue Feb 12, 10:35 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christian Bell, (Wed Feb 13, 12:09 am)
Re: [ofa-general] Re: Demand paging for memory regions, Pete Wyckoff, (Wed Feb 13, 7:23 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Jason Gunthorpe, (Wed Feb 13, 8:01 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christoph Lameter, (Wed Feb 27, 6:11 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christoph Lameter, (Wed Feb 13, 3:00 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christian Bell, (Wed Feb 13, 3:46 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christoph Lameter, (Wed Feb 13, 4:32 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Kanoj Sarcar, (Wed Feb 13, 6:44 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christoph Lameter, (Wed Feb 13, 7:02 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Kanoj Sarcar, (Wed Feb 13, 7:43 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christoph Lameter, (Thu Feb 14, 3:35 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Andrea Arcangeli, (Wed Feb 13, 8:56 pm)
Re: Demand paging for memory regions, Jesse Barnes, (Wed Feb 13, 7:48 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Jason Gunthorpe, (Tue Feb 12, 11:25 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christoph Lameter, (Wed Feb 13, 2:51 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Jason Gunthorpe, (Wed Feb 13, 3:51 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Christoph Lameter, (Wed Feb 13, 4:36 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Patrick Geoffray, (Tue Feb 12, 11:56 pm)
Re: [ofa-general] Re: Demand paging for memory regions, Jason Gunthorpe, (Wed Feb 13, 12:26 am)
Re: [ofa-general] Re: Demand paging for memory regions, Patrick Geoffray, (Wed Feb 13, 12:47 am)