next up previous contents index
Next: SELECT Up: Protocol Specifications Previous: IP

MSP

NAME

MSP (Message Stream Protocol)

SPECIFICATION

L. Peterson and B. Davie. Computer Networks: A Systems Approach. Morgan Kaufmann Publishers, San Francisco, CA (1996).

SYNOPSIS

MSP extends SWP to include exlicit connection setup/tear-down and flow control. MSP expects a higher level protocol to buffer incoming messages, and inform MSP as to the amount of available buffer space via the MSP_SETRCVBUFSIZE control op. This is similar to TCP's TCP_SETRCVBUFSPACE control op. The implementation of MSP is directly derived from SWP. Like SWP, MSP is a message-oriented protocol, rather than a byte-oriented protocol like TCP.

Because MSP does not implement congestion control, should the intial advertized flow control window be large enough, it is possible that an MSP source will send a large burst of packets upon startup. This is not unlike TCP's behavior before slow start was implemented. Even if MSP is being run over a single ethernet, is is possible for this initial burst to cause congestion-like losses. This is because when running on top of Unix using SIMETH, the UDP receiver buffer on the receiving host may overflow, analogous to the way router buffers overflow with a non-slow-started TCP. When this happens, the x-kernel prints sim_ether ERROR: Can't get next buffer, dropping incoming packet. MSP is robust, however, so it will eventually recover from these losses. An interesting exercise would be to add slow-start to MSP.

REALM

MSP is in the ASYNC realm.

PARTICIPANTS

MSP removes a pointer to a long (the MSP port number) from the participant stack. MSP ports must be less than 0x10000. If the local participant is missing, or if the local protocol number is ANY_PORT, MSP will select an unused local port.

CONTROL OPERATIONS

MSP_SETRCVBUFSIZE:
Sets the receiver's buffer size to the specified number of bytes. This effectively opens the flow control window to this size.
Input:
int bufsize
Output:
none

CONFIGURATION

name=msp protocols=ip;

AUTHOR

Tim Newsham



next up previous contents index
Next: SELECT Up: Protocol Specifications Previous: IP



Larry Peterson
Tue Jul 1 14:50:34 MST 1997