Download ScaMPI User`s guide

Transcript
4.4 Communication resources
-inter_chunk_size <size> to set the chunk size for inter-node communication
Sections 4.4.1 - 4.4.3 outlines the various types of resources (channel, eagerbuffer,
transporter) being used, and lists the mpimon options used to enforce specific
buffering. However, it is normally not necessary to set the buffer parameters.
Automatic buffer management is performed by ScaMPI, as described in the ‘automatic
buffer management’section of Table 5-1 on page 50.
4.4.1 Channel buffer
For a sender-receiver pair, one channel ringbuffer is used for each communicator.
(5 communicators)
Sender
Channel
Channel
Channel
Ringbuffer
Channel
Ringbuffer
Channel
Ringbuffer
Ringbuffer
Ringbuffer
Receiver
Figure 4-4: Channel resource
Each entry in the ringbuffer is 64 bytes long. An entry in the ringbuffer, which is used
to hold the information forming the message envelope, is reserved each time a message
is being sent, and is utilized by both the inline protocol, the eagerbuffering protocol,
and the transporter protocol (see section 4.5). In addition, one ore more entries are
utilized by the inline protocol for application data being transmitted.
To force the channel resource definitions, use mpimon and specify:
-intra_channel_size <size> to set the ringbuffer size (in bytes) per intrachannel
ScaMPI User’s Guide Version 1.10
40