[Mpi-22] please review - Send Buffer Access (ticket #45)

Supalov, Alexander alexander.supalov at [hidden]
Fri Dec 5 16:26:17 CST 2008


Dear Erez,

Thank you. I'm afraid I would need to have it explained in more detail why review may not include arguments on the substance. If something in the proposal makes one think that the proposed matter may be detrimental to the MPI standard and its implementations, I consider it one's duty to point this out.

Following up on your reply: the segfault situation you described will make an MPI compliant program break. Thus, the implementation will have to keep the send buffer mapped into the sending process address space. This is a limitation on the MPI implementation that should be taken into account during the voting.

Another possibility that has been pointed out earlier was that the proposed change disallows byte swap and other send buffer conversions to be done in place. At least one historical MPI implementation was doing this to a great avail. Who knows what is going to happen in the future?

Best regards.

Alexander

________________________________
From: mpi-22-bounces_at_[hidden] [mailto:mpi-22-bounces_at_[hidden]] On Behalf Of Erez Haba
Sent: Friday, December 05, 2008 11:18 PM
To: MPI 2.2
Subject: Re: [Mpi-22] please review - Send Buffer Access (ticket #45)

I think that the idea is for the reviewers to check the text for any mistakes and compatibility with the existing text, rather than check for the validity of the proposal. The later as I recall is left for the MPI forum assembly.

As for your question, I'm sure that you can answer it yourself. :) If the memory is still also mapped to the original process (as with shared memory) that everything is fine. If the memory is removed from the original process, than the app will get an access-violation fault.
(if this system works on a page boundary, to take this action it needs to make sure that there are no other allocation on the same page)

Thanks,
.Erez

From: mpi-22-bounces_at_[hidden] [mailto:mpi-22-bounces_at_[hidden]] On Behalf Of Supalov, Alexander
Sent: Friday, December 05, 2008 2:05 PM
To: MPI 2.2
Subject: Re: [Mpi-22] please review - Send Buffer Access (ticket #45)

Hi,

I'd like to review this proposal. Let's consider the following scenario:

- In the MPI_Isend, MPI maps the send buffer into the address space of the receiving process.
- In the matching MPI_Recv, the receiving process makes a copy of the mapped send buffer into the receive buffer.
- Once the copy is complete, the send buffer is mapped back into the sender address space during the wait/test call.

What will happen one tries to access the send buffer in between?

Best regards.

Alexander

________________________________
From: mpi-22-bounces_at_[hidden] [mailto:mpi-22-bounces_at_[hidden]] On Behalf Of Erez Haba
Sent: Friday, December 05, 2008 10:48 PM
To: MPI 2.2
Subject: [Mpi-22] please review - Send Buffer Access (ticket #45)
This proposal has passed 1st voting and needs reviewers.  We need 3 volunteers to sign-off on this proposal, plus the 3 chapter authors to sign-off on the text.

The Chapter Authors for

Chapter 3: Point-to-Point Communication
Chapter 5: Collective Communication
Chapter 11: One-Sided Communication

Please add a comment to the ticket saying that you reviewed the proposal, or please send me your comments.

Send Buffer Access: https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/45

Thanks,
.Erez

---------------------------------------------------------------------

Intel GmbH

Dornacher Strasse 1

85622 Feldkirchen/Muenchen Germany

Sitz der Gesellschaft: Feldkirchen bei Muenchen

Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer

Registergericht: Muenchen HRB 47456 Ust.-IdNr.

VAT Registration No.: DE129385895

Citibank Frankfurt (BLZ 502 109 00) 600119052

This e-mail and any attachments may contain confidential material for

the sole use of the intended recipient(s). Any review or distribution

by others is strictly prohibited. If you are not the intended

recipient, please contact the sender and delete all copies.
---------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 Ust.-IdNr.
VAT Registration No.: DE129385895
Citibank Frankfurt (BLZ 502 109 00) 600119052

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.





* 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpi-22/attachments/20081205/5b81abd2/attachment.html>


More information about the Mpi-22 mailing list