Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Shared Memory (SM) module and shared cache implications
From: Simone Pellegrini (spellegrini_at_[hidden])
Date: 2009-06-25 04:39:52

I have a simple question for the shared memory (sm) module developers of
Open MPI.

In the current implementation, is there any advantage of having shared
cache among processes communicating?
For example let say we have P1 and P2 placed in the same CPU on 2
different physical cores with shared cache, P1 wants to send a message
to P2 and the message is already in the cache.

How the message is being actually exchanged? Is the cache line
invalidated, written to main memory and exchanged by using some DMA
transfer... or is the message in the cache used (avoiding access to the
main memory)?

thanks in advance, Simone P.