摘要 |
PURPOSE: The method for transmitting the message of SPAX(Scalable Parallel Architecture computer based on X-bar network) is provided to transmit the large data to the destination node by using the Xcent Net. CONSTITUTION: The memory area for building the message header is allocated(501). The space to wait for the transmission completion is allocated(502). If sending messages are synchronous transmission(503), the space waiting for the responding message is allocated(504). And the size to send is calculated(505), and the memory for building the message body to send in the size is allocated(506). If sending messages are synchronous transmission(507), the size of the responding message is also calculated(508). Otherwise, the header is built in the allocated header area with the content, the destination node, the transmission method, the body place, the message size, etc(509). The body is built with the message content and the receiving port information received from the system server(510). If there is an empty MSB(Message Send Buffer) among eight(511), the content of the header is written in the allocated MSB(512), waiting until the written message is moved to the empty space of the MSB(513), and waiting for the transmission completion of messages(514). The allocated memory for building the header and body is returned(515). If the sending messages is synchronous transmission(516), waiting for the responding messages(517), which is delivered to the system server(518). The space allocated for the responding messages is returned(519) and the space allocated for the transmission completion waiting is also returned(520).
|