RFC 394 UNKNOWN IMP · TIMEOUTS · ARPANET

Two Proposed Changes to the IMP-Host Protocol

BBN proposes marking silent Hosts as dead and adding a 15 second timeout in the Host-to-IMP direction.

On rfc-editor.org ↗
PUBLISHED
September 1972
AUTHORS
J.M. McQuillan
STREAM
Legacy
BUILDS ON
RFC 381 — Three aids to improved network operation
EXISTING IMP-TO-HOST TIMEOUT
30 seconds
PROPOSED HOST-TO-IMP TIMEOUT
15 seconds
NEW NOTICE
Type 9, subtype 4
PLANNED INSTALLATION
Tuesday, October 10
DOI
10.17487/RFC0394

RFC text

Original text · RFC Editor View on rfc-editor.org ↗
Network Working Group                    John M. McQuillan
Request for Comments #394                Bolt Beranek and Newman Inc.
NIC 11856                                27 September 1972
Categories:  B.1
Updates:  RFC #381
Obsoletes:

             TWO PROPOSED CHANGES TO THE IMP-HOST PROTOCOL
---------------------------------------------
     This note describes two changes to the IMP-Host communication
protocol described in BBN Report 1822 and revised in RFC 381.  The
first deals with the IMP-to-Host interface and the 30-second timeout
mechanism on each IMP transmission to the Host.  The second deals with
the Host-to-IMP interface and proposes a new timeout mechanism.  These
changes are independent; in statement and in implementation.  We
invite comments on each proposal.  If no adverse comments are
received, they will be installed in the network on Tuesday, October 10
(if serious adverse comments are received, action will be delayed
until early November).

1)  Declaring an unresponsive Host as dead to the network
    -----------------------------------------------------
     Currently, a Host is given 30 seconds to accept each packet of a
regular message and is also given 30 seconds to accept non- regular
messages.  If the Host is unresponsive for this period of time, the
IMP takes the following actions:

     a)  All messages held for the Host are discarded.

     b)  The source Host for each discarded messages is sent
         a type 9, subtype 0 message (Incomplete Transmission -
         Destination Host Tardy).

     c)  The IMP ready line is dropped and raised again.

     d)  The Host is sent 3 type 4 messages (NOP).

     e)  The Host is sent a type 10 message (IMP-Host Interface
         Reset).

     We propose that in addition the IMP declare the Host dead to the
network.  Upon receipt of the next bit from the Host, the IMP will
declare the Host alive and begin the 30-second delay while the
information that the Host is now alive is propagated throughout the
network.

     This change is an attempt to alleviate some problems that are
caused by Hosts whose ready lines are up when they are not able to
accept bits from the IMP. Several Hosts fall into this category.
There are some Hosts whose ready lines are wired to be on all the
time.  It is annoying, in terminal use and in running survey programs,
to have to wait for 30 seconds to find out that a Host is not
responding.  Other Hosts sometimes go into "break- point mode" for
system debugging for several minutes at a time.  The NCP software is
not running, and messages accumulate in the network and are thrown
away.  It seems preferable to declare such Hosts to be dead until they
send a message* to the IMP, and then any source Host attempting to
communicate can be notified at once that the destination Host is dead.

2) Timing out Host-to-IMP messages in 15 seconds
   ---------------------------------------------

     When the IMP receives a message from a Host, it must acquire
several internal resources in order to process the message.  It must
assign it a message number, make an entry in an internal table, and so
on.  If any of these IMP resources is not available, the IMP simply
waits until it does become available.  It cannot take any more
messages from the Host, and so the interface is stopped.  This
condition is usually momentary, but under unusual circumstances the
IMP may not be able to process a message it has begun to accept for
many seconds.  This situation creates an especially difficult problem
for Hosts with half-duplex interfaces.  If the IMP takes 30 seconds to
process a message, then the IMP-to- Host timeout outlined in 1) takes
effect, and the Host loses all messages sent to it in the last 30
seconds.  (It should be noted that the half-duplex interface may be
the cause of a deadly embrace, e.g. the reason that the IMP cannot
acquire the necessary resources to process a given message may be that
the Host in question has several messages on its queue and they are
tying up storage, message





__________________
*Thus a Host should send its IMP at least two NOPs (or other
 messages) whenever it receives a type 10 message from its IMP.

numbers, or table slots.  The Host must accept these messages before
any more messages can be introduced into the network.)  Even for Hosts
with full-duplex interfaces, occurrences of this situation might
interfere with other useful communication.

     We propose to notify the Host when the IMP cannot continue to
process a message that it has begun to accept.  The IMP will try to
process the message for 15 seconds, and then will send the Host a type
9, subtype 4 message (bits 30,31,32 = 100) which will be defined as
Incomplete Transmission - Resources Unavailable.  In such a case, the
IMP has not been able to send any part of the message into the
network.  The IMP will take in the remainder of the message; at that
point a Host with a half-duplex interface should begin to accept
messages from the IMP, while a Host with a full-duplex interface might
attempt to transmit some other message.  The Host may attempt to
retransmit the incomplete message if that is desirable.












       [ This RFC was put into machine readable form for entry ]
       [ into the online RFC archives by BBN Corp. under the   ]
       [ direction of Alex McKenzie.                      1/97 ]

AI ELI5

On this page
PROBLEMHosts with ready lines up but unable to accept bits, or stuck in a debugging mode, left messages piling up and made others wait 30 seconds to learn the Host was not responding. A busy IMP could also stall a Host's sending with no notice.
MECHANISMThe IMP would declare an unresponsive Host dead to the network until it sends another bit, and would notify the Host with a type 9, subtype 4 message if it cannot process a message within 15 seconds.
STATUS TODAYThe changes were independent, open to comment, and planned for installation on Tuesday, October 10 unless serious objections arrived.

§1Two Independent Changes

John McQuillan of BBN describes two changes to the IMP-Host protocol, defined in BBN Report 1822 and revised in RFC 381, which this RFC updates. One concerns the IMP-to-Host interface and its 30 second timeout; the other concerns the Host-to-IMP interface and proposes a new timeout.

The two changes are independent in statement and implementation. Comments are invited, and if no adverse comments arrive, they would be installed on Tuesday, October 10. Serious adverse comments would delay action until early November.

BBN asks for opinions about two separate rule changes. If nobody objects, they happen on a set day.

§2Declaring a Silent Host Dead

Today a Host has 30 seconds to accept each packet of a regular message, and 30 seconds for non-regular messages. If it does not, the IMP discards all messages held for the Host, sends each source Host a type 9, subtype 0 message (Incomplete Transmission - Destination Host Tardy), drops and raises the IMP ready line, sends 3 type 4 messages (NOP), and sends a type 10 message (IMP-Host Interface Reset).

The proposal adds that the IMP also declare the Host dead to the network. On receipt of the next bit from the Host, the IMP declares it alive and begins a 30 second delay while that news propagates. The motivation: some Hosts have ready lines wired on all the time, and others spend minutes in breakpoint mode, so the wait for a reply is annoying and messages are thrown away. A Host should send at least two NOPs when it receives a type 10 message.

If a computer stops answering, the network box would tell everyone it is away. Then nobody waits around, until the computer speaks up again.

§3A 15 Second Host-to-IMP Timeout

To accept a message, the IMP must acquire internal resources such as a message number and a table entry. If they are unavailable, the IMP waits and the interface is stopped. This is hard on Hosts with half-duplex interfaces: if it takes 30 seconds, the IMP-to-Host timeout fires and the Host loses messages sent to it in the last 30 seconds.

The proposal is that the IMP try for 15 seconds, then send the Host a type 9, subtype 4 message (bits 30, 31, 32 = 100) defined as Incomplete Transmission - Resources Unavailable. No part of the message has entered the network. The IMP takes in the rest of the message, after which a half-duplex Host should start accepting messages and the Host may retransmit if desired.

If the network box is too busy to take a message, it waits 15 seconds and then says so. The computer can then try again.

§4References