1 / 11

Message Passing in Java (MPJ)

Message Passing in Java (MPJ). Aamir Shafi aamir.shafi@port.ac.uk Distributed Systems Group 3 rd June, 2004. Introduction. Parallel Programming Shared Memory Message Passing PVM MPI C Binding Fortran Binding Java, a popular distributed systems programming language

Download Presentation

Message Passing in Java (MPJ)

An Image/Link below is provided (as is) to download presentation 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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Message Passing in Java (MPJ) Aamir Shafi aamir.shafi@port.ac.uk Distributed Systems Group 3rd June, 2004

  2. Introduction • Parallel Programming • Shared Memory • Message Passing • PVM • MPI • C Binding • Fortran Binding • Java, a popular distributed systems programming language • Portable, “write once, run anywhere” • Support for non-blocking I/O • Performance for network applications is comparable to C on Fast Ethernet

  3. Building a Message Passing System in Java MPJ API mpjdev VIA mpjdev Native mpjdev JNI VIA Native MPI Sockets

  4. mpjdev – Introduction • Meant for library developers (MPJ), not application programmers • Main Features • Starts-up the device • Implementation of Communication protocols • Eager-Send • The sender assumes that the receiver has infinite buffer space • Rendezvous • There is an exchange of control message before the actual message is being sent • Packing/Unpacking of message

  5. MPJ Point to Point Communication

  6. MPJ Collective Communications

  7. MPJ runtime

  8. Conclusion • Performance of mpjdev is reasonable • Currently working on Point to Point communications of MPJ • Questions ?

More Related