home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 200s / rfc297.txt < prev    next >
Text File  |  1997-03-04  |  4KB  |  113 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. NETWORK WORKING GROUP                     Dave Walden
  8. REQUEST  COMMENTS #297                    BBN
  9. NIC #8485                                 1/31/72
  10. Categories: C or maybe D
  11. Updates: none
  12. Obsoletes: none
  13.  
  14.                           TIP Message Buffers
  15.  
  16.      We have recently heard some groaning about the size of the TIP's
  17. message buffers.  While we realize these aren't as big as some Hosts
  18. might desire, they aren't as small as the intensity of the groans
  19. suggest either.
  20.  
  21.      Let's first consider messages going from a TIP to another Host.
  22. The buffers have the following sizes:
  23.  
  24.      device numbers           buffer size (in 8 bit characters)
  25.          1-2                       64
  26.          3-16                      32
  27.         17-41                      16
  28.         42-62                      8
  29.          63                        6
  30.  
  31. The TIP user has the option of having his messages sent 1) every
  32. character, 2) on line feeds and/or com's, 3) every nth character, or
  33. 4) the OR of 2) and 3). Selecting to have messages sent every large
  34. number of characters, say 100, will result in the TIP sending the
  35. longest messages it can for a given device.  Hosts which don't like to
  36. receive very short messages might advise users accessing them from a
  37. TIP to set the TIP's parameters to use the maximum length buffer.
  38.  
  39.      Now let's consider messages going from another Host to a TIP.
  40. The buffers have the following sizes:
  41.  
  42.      device numbers           buffer size (in 8 bit characters)
  43.         1                          96
  44.         2                          64
  45.         3                          48
  46.        4-17                        24
  47.       18-35                        16
  48.       36-63                         8
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.                                                                 [Page 1]
  59.  
  60. The TIP double buffers its terminal output.  Thus, when a TIP terminal
  61. makes a connection to a Host, the TIP sends off an allocation of
  62. between 8 and 96 characters, depending on the terminals device number,
  63. and when a message comes using up the allocation, the TIP immediately
  64. sends another allocation for the same number of characters while it
  65. prints the first buffer.
  66.  
  67.      For traffic both to and from the TIP, lower numbered devices have
  68. bigger buffers.  Therefore, users of line oriented systems, as well as
  69. users of higher speed devices, should try to come in through the lower
  70. numbered ports on the TIP's multi-line controller, if possible.
  71.  
  72.      The sizes of the TIP's message buffers and the number of each
  73. size are not permanently fixed and can be changed if a better
  74. distribution is suggested.  We didn't know what size buffers to
  75. provide so we have provided a variety, What is fairly fixed is the
  76. total amount of buffer space: two output buffers and one input buffer
  77. for each of 63 devices must come out of this total buffer space.
  78.  
  79.      The answer to your question "Why not dynamically allocate buffers
  80. at run time?" is: It is a complicated job to do that.  It requires
  81. memory compactions, a mechanism to reclaim space from current users
  82. when a new user comes on, etc.  Our guess is that the code to
  83. dynamically allocate buffers at run time would reduce the total space
  84. available for buffers by about one-fifth.
  85.  
  86.  
  87.  
  88.  
  89.        [ This RFC was put into machine readable form for entry ]
  90.        [ into the online RFC archives by BBN Corp. under the   ]
  91.        [ direction of Alex McKenzie.                   12/96   ]
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.                                                                 [Page 2]
  112.  
  113.