text stringlengths 0 99.6k |
|---|
24 |
I. Implementation Considerations |
1. Time-Out |
A per-character time-out of ten seconds should be used. |
Using anything less can result in a loss of good control |
over the exchange of packet and control sequences. If |
conditions over a switched network degrade sufficiently, a |
small time out can lead to excessive retransmissions of |
data. On the other hand, longer time-out values will result |
in a more sluggish detection of protocol breakdown. |
The receiving entity should be silent when a timeout occurs. |
That is, a <NAK> should not be sent when a timeout occurs |
while receiving a packet. The reason is that under severely |
degraded network loading it may happen that it takes longer |
for the sending entity's data to arrive than the receiving |
entity's timeout interval. This can lead to many kinds of |
situations in which there is excessive retransmission of |
data. The question to be answered by the implementor is: |
"Am I more concerned about how fast I can shut down the |
transfer when the sending entity goes away than I am about |
getting the transfer to occur regardless of how long it |
takes?" If the answer is that response to a vanished sender |
is more important, then send a <NAK> when a timeout occurs. |
If getting the job done is more important, then don't send |
the <NAK> on timeout. |
2. Packet Size. |
The following chart shows the percentage of houskeeping overhead |
for various packet sizes (not including quoted characters): |
Packet |
Data Packet Transmission Time |
Size Size Useful Overhead 300 1200 2400 |
---- ------ ------ -------- ---- ---- ---- |
128 135 94.8 % 5.2 % 4.5 1.1 0.6 |
256 263 97.3 % 2.7 % 8.8 2.2 1.1 |
384 391 97.7 % 2.3 % 13.0 3.3 1.6 |
512 519 98.7 % 1.3 % 17.3 4.3 2.2 |
640 647 98.9 % 1.1 % 21.6 5.4 2,7 |
768 775 99.1 % 0.9 % 25.8 6.5 3,2 |
896 903 99.2 % 0.8 % 30.1 7.5 3.8 |
1024 1031 99.3 % 0.7 % 34.4 8.6 4.3 |
At first glance it might seem reasonable to always use 1024 byte |
data packets. However, consideration should be given to the |
amount of time required to recover from a transmission error. |
For example, using 1024 byte data packets at 300 baud, over a |
minute of excessive transmission time would result (two packets) |
each time an error occured. Experience shows that keeping the |
packet transmission time to between four and five seconds |
results in a reasonably comfortable recovery time. So, for best |
25 |
over-all performance, the following packet sizes are |
recommended: |
Baud Size |
---- ---- |
300 128 |
1200 512 |
2400 1024 |
3. Controlling Excessive Retransmissions. |
Over a very noisy link the send-ahead nature of B Plus might |
cause the performance to degrade due to retransmission of |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.