Previous Next Contents

6.1   Network protocols






Point to point TCP
TCP sockets are established between every pair of nodes when the program is initiated

Referred to as a TCP socket crossbar

Its run into trouble when scaling up to large number of nodes

No used in PVM

Dynamic TCP sockets
Establish a socket between two communicating nodes at run time when they first communicate with each other

Scales better on large set of nodes

But first communication is significantly slower than subsequent ones.

This startup cost must be amortized by following communications

Used in PVM if the programmer specifies
pvm_setopt (PvmRoute, PvmRouteDirect) ;
        
Daemon mediated communications
Use UDP communication

A socket is attached to each daemon (pvmd)

The processes communicate to their local daemons which forward the communication to another daemon (or to the local process)

That is the default communication mode in PVM


Previous Next Contents