延迟的构成与往返时间的定义
时间间隔 T(i)-T(i-1) 主要由以下延迟和等待时间构成:
T(2)-T(1): -HOST processing delay
-HOST-IMP transmission delay for the 32-bit leader
-Waiting time for a message number to become free (only
four messages can simultaneously be transmitted between
any pair of source IMP - destination IMP)
-Waiting time for a buffer to become free (there must be
more than three buffers on the "free buffer list")
-HOST-IMP transmission delay for the first packet
-Waiting time for an entry in the PPT or PLT to become
available (there are eight entries in the PPT and twelve
in the PLT table)
T(3)-T(2): -Waiting time for a store-and-forward (S/F) buffer to
become free (the maximum number of S/F-buffers is 20).
-Waiting time for a logical ACK-channel to become free
(there are 8 logical ACK-channels for each physical
channel).
-For multiple packet messages, waiting time until the
ALLOCATE is received (unless an allocation from a previous
multiple-packet message still exists; such an allocation
is returned in the RFNM and expires after 125 msec)
T(4)-T(3): -Queuing delay, transmission delay, and propagation delay
in all the IMPs and lines in the path from source IMP to
destination IMP
-Possibly retransmission delay due to transmission errors
or lack of buffer space (for multiple packet messages the
delays for the individual packets overlap)
T(5)-T(4): -Queuing delay in the destination IMP
-IMP-HOST transmission delay for the first packet
-For multiple-packet messages, waiting time for reassembly
buffers to become free to piggy-back an ALLOCATE on the
RFNM (if this waiting time exceeds one second then the
RFNM is sent without the ALLOCATE)
T(6)-T(5): -Queuing delay, transmission delay, and propagation delay
for the RFNM in all the IMPs and lines in the path from
destination IMP to source IMP
T(7)-T(6): -Queuing delay for the RFNM in the source IMP
-IMP-HOST transmission delay for the RFNM
该表未包含 IMP 的处理延迟,因为它们通常很小。此外,上述某些等待时间在许多情况下会降为零,例如等待消息编号可用的时间以及等待缓冲区空闲的时间。
如果源 HOST 和目的 HOST 连接在同一个 IMP 上,该表可简化如下:
T(2)-T(1): as before
T(3)-T(2): for multiple packet messages: waiting time until
reassembly space becomes available (there are up to 66
reassembly buffers)
T(4)-T(3): for multiple packet messages: HOST-IMP transmission delay
for packets 2,3,...
T(5)-T(4): as before
T(6)-T(5): 0
T(7)-T(6): as before
到目前为止,我们忽略了单分组消息因缺少重组空间而在目的 IMP 被拒绝的可能性。如果发生这种情况,该单分组消息会被当作缓冲空间分配请求,时间间隔 T(3)-T(2) 会增加等待相应“ALLOCATE”到达的时间。
往返时间(RTT)现在定义为时间间隔 T(6)-T(2)。注意,多分组消息的 RTT 确实包含等待 ALLOCATE 到达的时间;但不包含源 HOST 的处理延迟(即 NCP 中的延迟)、HOST-IMP 传输延迟,以及等待消息编号可用的时间。还要注意,RFNM 是在多分组消息的第一个分组被目的 HOST 接收之后发送的。