On Apr 18, 2006, at 11:08 PM, sanjeeb kumar deka wrote:
> 1.If there are 5 processes in shared memory collective
> communication, how many sending and receving buffers will be
> created? Only 2(shared by all of them) or 10?
> 2.Which memory will be allocated to the sending and receiving
> buffers
> if process are considered in a distributed system?
For question #1, we will create buffers based on number of peers.
The exact number is a bit quirky, but I think what you were asking
was how we scaled out in usage.
For question #2, I'm not sure I understand the question. If
processes are on different hosts, memory really isn't allocated for
send / receive buffers, beyond what is needed at the moment.
Usually, this memory is negligable, and is mainly dependent upon the
communication patterns - if we need to buffer more user buffers,
we'll use more memory.
Brian
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|