mpjdev, the low-level MPJ device. Aamir Shafi email@example.com Distributed Systems Group 12 th March, 2004. Trinity: Neo... No one has ever done anything like this. Neo: That's why it's going to work. Sequence. Introduction History of MPJ Overview of java.nio package
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Distributed Systems Group
12th March, 2004
Trinity: Neo... No one has ever done anything like this.Neo: That's why it's going to work.Sequence
Neo: What are you trying to tell me? That I can dodge bullets?Morpheus: No, Neo. I'm trying to tell you that when you're ready, you
won't have to.Sequence
Huge Memory at Receiver
1 2 3 4 5 6
Checks if step 2 has already posted recv, if yes, initiates step 3, else posts a req in Que
Checks if step 1 has posted a recv request, if yes, initiates step 3, else posts a request.
NOTE :- STEP 1 & 2 needs synchronization
Writes back to sender that recv’r is ready to receive
Receives the data
Sender posts send(), Req stored in Queue
Sender sends the control message asking if matching recv is posted ?
Sender receives response confirming there is a matching recv
Sender sends the actual data
int intArray = new int;
int = 1; int = 2;
WriteBuffer wBuffer = new WriteBuffer(24);
wBuffer.write(intArray, 0,2); wBuffer.pack();
X X X X Size (24) int T X X X 2(NoEls) int int
int intArray = new int; long longArray = new long;
int = 1; int = 2; longArray = 1L; longArray = 2L;
WriteBuffer wBuffer = new WriteBuffer(48);
wBuffer.write(intArray, 0,2); wBuffer.write(longArray, 0,2);
X X X X Size (24) int X X X 2(NoEls) int int L X X X 2 long long
Neo: Why do my eyes hurt? walking theMorpheus: You've never used them before.Sequence
Morpheus: Unfortunately, no one can be told what the Matrix is. You have to
see it for yourself.