• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

RFC297 - TIP Message Buffers

发布: 2007-6-23 14:09 | 作者:   | 来源:   | 查看: 13次 | 进入软件测试论坛讨论

领测软件测试网

   
  NETWORK WORKING GROUP Dave Walden
REQUEST COMMENTS #297 BBN
NIC #8485 1/31/72
Categories: C or maybe D
Updates: none
Obsoletes: none

TIP Message Buffers

We have recently heard some groaning about the size of the TIP's
message buffers. While we realize these aren't as big as some Hosts
might desire, they aren't as small as the intensity of the groans
suggest either.

Let's first consider messages going from a TIP to another Host.
The buffers have the following sizes:

device numbers buffer size (in 8 bit characters)
1-2 64
3-16 32
17-41 16
42-62 8
63 6

The TIP user has the option of having his messages sent 1) every
character, 2) on line feeds and/or com's, 3) every nth character, or
4) the OR of 2) and 3). Selecting to have messages sent every large
number of characters, say 100, will result in the TIP sending the
longest messages it can for a given device. Hosts which don't like to
receive very short messages might advise users accessing them from a
TIP to set the TIP's parameters to use the maximum length buffer.

Now let's consider messages going from another Host to a TIP.
The buffers have the following sizes:

device numbers buffer size (in 8 bit characters)
1 96
2 64
3 48
4-17 24
18-35 16
36-63 8

[Page 1]

The TIP double buffers its terminal output. Thus, when a TIP terminal
makes a connection to a Host, the TIP sends off an allocation of
between 8 and 96 characters, depending on the terminals device number,
and when a message comes using up the allocation, the TIP immediately
sends another allocation for the same number of characters while it
prints the first buffer.

For traffic both to and from the TIP, lower numbered devices have
bigger buffers. Therefore, users of line oriented systems, as well as
users of higher speed devices, should try to come in through the lower
numbered ports on the TIP's multi-line controller, if possible.

The sizes of the TIP's message buffers and the number of each
size are not permanently fixed and can be changed if a better
distribution is suggested. We didn't know what size buffers to
provide so we have provided a variety, What is fairly fixed is the
total amount of buffer space: two output buffers and one input buffer
for each of 63 devices must come out of this total buffer space.

The answer to your question "Why not dynamically allocate buffers
at run time?" is: It is a complicated job to do that. It requires
memory compactions, a mechanism to reclaim space from current users
when a new user comes on, etc. Our guess is that the code to
dynamically allocate buffers at run time would reduce the total space
available for buffers by about one-fifth.

[ This RFCwas put into machine readable form for entry ]
[ into the online RFCarchives by BBN Corp. under the ]
[ direction of Alex McKenzie. 12/96 ]

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网