home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 600s / rfc618.txt < prev    next >
Text File  |  1992-10-14  |  5KB  |  227 lines

  1. Network Working Group                                   Edward Taft (PARC-MAXC)
  2. Request for Comments: 618                                             Feb 1974
  3. NIC #21989
  4.  
  5.  
  6.                 A Few Observations on NCP Statistics
  7.  
  8.  
  9. The NCP in use at HARV-10, CMU-10A, and CMU-10B collects a number of
  10. operating and error statistics, which may be typed out on demand by
  11. any user by means of the 'IMP ERROR' command, as shown on the sample
  12. typescript.
  13.  
  14.     The figures shown cover the period since the system was last
  15.     restarted. They are not logged or recorded in any more permanent
  16.     form due to extremely limited on-line storage at HARV-10. where
  17.     the software was implemented. However, due to the small size of
  18.     the system and infrequent monitor development work, HARV-10 tends
  19.     to stay up for periods approaching the interval between hardware
  20.     maintenance, which is one week. The attached output was obtained
  21.     after 168 hours system uptime.
  22.  
  23.  
  24. There are a few things I would like to point out that may be of
  25. interest to NCP implementers.
  26.  
  27.  
  28. First, note that the number of discarded (unexpected) RFNMs is equal
  29. to the number of simulated (timed out) RFNMs. This has been the case
  30. almost every time I have looked at these statistics. It suggests
  31. that the RFNMs are not being lost but are rather delayed beyond the
  32. NCP timeout interval, which I believe is 30 seconds.
  33.  
  34.     I have heard talk among a few people in the Network community
  35.     about "lost RFNMs", and would like to suggest this as a possible
  36.     alternative explanation. Perhaps longer timeouts are in order.
  37.  
  38.  
  39. Second, the observed ratio of received allocates to transmitted
  40. allocates (on the order of two to one) is also fairly typical. I
  41. believe this reflects differences in allocation strategies among
  42. various hosts.
  43.  
  44.     Many hosts appear to send out an allocate for every data message
  45.     received. While this is reasonable for connections such as FTP
  46.     data transfer connections, it imposes considerable extra traffic
  47.     in the case of the single character messages that seem to be the
  48.     most common on the network.
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.                                   -1-
  58.  
  59.  
  60.     The strategy used by the Harvard NCP is to assign a "desired level
  61.     of allocation" figure to each socket (typically quite small for
  62.     Telnet connections and large for FTP data connections; it is a
  63.     user program settable parameter). When the actual allocation for
  64.     the socket falls below 50% of this level, enough additional
  65.     allocation is sent to bring it up to the full "desired level".
  66.  
  67.     The effect of this strategy is to significantly reduce the number
  68.     of allocates returned for a given number of small messages
  69.     received. This reduces both network traffic and control message
  70.     overhead at the other end. The strategy has no effect on FTP data
  71.     messages, since each message is usually large enough to reduce
  72.     outstanding allocation by at least half at a single blow.
  73.  
  74.  
  75. Finally, I should remark on the appallingly large number of NOPs
  76. received (typically 25% of all control messages). Most of these seem
  77. to be piggy-backed onto other control messages, so the situation is
  78. not as awful as the figures would indicate. Nevertheless, I am
  79. forced to wonder why anyone would want to send so many.
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86. TELNET typescript file started at THU 31 JAN 74 428:05
  87.  
  88. #harv-10 (settings loaded) is complete.#
  89.  
  90. Harvard 5.06A-18 7:28:38
  91. Type "HELP" if you need it.
  92.  
  93. .login 62,#
  94. JOB 2 Harvard 5.06A-18 TTY25
  95. Your name please (last name first): Taft
  96. You are logged in as 62,404000
  97. 0728 31-Jan-74 Thur
  98. SCHEDULED PM ON THURSDAYS, 0830-1200 EOT
  99.  
  100. .imp error
  101.  
  102. NCP version 1573.1604 operating statistics
  103.  
  104. 07:29:02 31-JAN-74
  105.  
  106.  
  107. NCP (link 0) message errors:
  108. Socket not found: 2184
  109.  
  110.  
  111.  
  112.  
  113.  
  114.                                   -2-
  115.  
  116.  
  117. Improper state: 323
  118. Illegal message type: 2
  119. Last discarded allocation from PARC-MAXC (XEROX) link 12
  120. Timed-out exec ICPs: 3
  121.  
  122. NCP messages:
  123. Type Received Sent
  124. NOP 81850 0
  125. RTS 3688 2507
  126. STR 2388 3562
  127. CLS 6055 6059
  128. ALL 183050 101442
  129. GVB 772 0
  130. RET 0 772
  131. INS 109 0
  132. ECO 7472 15426
  133. ERP 15065 7472
  134. ERR 2 0
  135. RST 2782 226
  136. RRP 162 2782
  137.  
  138. Received NCP error messages:
  139. Type Count
  140. 4 2
  141.  
  142. Most recent error: type 4 from UCLA-CCN
  143. Data (octal) 4 74 0 10 0 0 74 254 0 200
  144. (decimal)    4 60 0  8 0 0 60 172 0 128
  145.  
  146. IMP data message faults:
  147. Hardware fault: 2
  148. Link not found: 8
  149. Discarded RFNMs: 10
  150. Simulated (timed out) RFNMs: 10
  151.  
  152. Received IMP messages:
  153. Regular 590812
  154. Err w/o id 3
  155. NOP 4
  156. RFNM 490095
  157. Dest dead 366
  158. Inc trans 52
  159. IMP reset 2
  160.  
  161. Histogram of received data message sizes
  162. Bits Count
  163. <1 3
  164. <16 146834
  165. <32 39751
  166.  
  167.  
  168.  
  169.  
  170.  
  171.                                      -3-
  172.  
  173.  
  174. <64 7044
  175. <128 196983
  176. <256 46099
  177. <512 147609
  178. <1024 534
  179. <2048 1820
  180. <4096 1152
  181. <8192 2979
  182.  
  183. 72 free buffers
  184. 7% average buffer utilization
  185.  
  186. .kjob/k
  187. Job 2, User [62,404000] Logged off TTY25 0729 31-Jan-74
  188. Runtime 0 Min, 03.29 Sec
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.                                   -4-