LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Brian Barrett (brbarret_at_[hidden])
Date: 2007-11-16 19:47:26


On Nov 15, 2007, at 5:48 PM, Mukuntan wrote:

> I am trying to use the rload( ) function call to load a file to a
> remote lam node location. Since I am using the function for a
> replication purpose I am concerned about the performance it may
> effect. So is the rload( ) function a blocking call ?? so that it
> make everything serialized ? or it is a non blocking call.

rload is a blocking call -- it will not return until the data has been
moved to the remote node (or the daemon says it's completed the move
-- it's pretty close to the same thing). It might be possible to send
the requests manually, rather than using the rload() command and get
some non-blocking behavior, but that might also lead to problems with
timing and flooding the UDP daemon transfer pipe (which can be
*really* bad to do), so I wouldn't recommend that course of action.
If you're worried about performance, rload is not the way to go -- it
was designed for basic file staging in a small environment.

Good luck,

Brian

-- 
   Brian Barrett
   LAM/MPI Developer
   Make today a LAM/MPI day!