110 likes | 241 Views
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
E N D
Message Passing in Java (MPJ) Aamir Shafi aamir.shafi@port.ac.uk Distributed Systems Group 3rd June, 2004
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
Building a Message Passing System in Java MPJ API mpjdev VIA mpjdev Native mpjdev JNI VIA Native MPI Sockets
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
Conclusion • Performance of mpjdev is reasonable • Currently working on Point to Point communications of MPJ • Questions ?