JPS62283752A - Buffer allocating system in host computer - Google Patents
Buffer allocating system in host computerInfo
- Publication number
- JPS62283752A JPS62283752A JP61127472A JP12747286A JPS62283752A JP S62283752 A JPS62283752 A JP S62283752A JP 61127472 A JP61127472 A JP 61127472A JP 12747286 A JP12747286 A JP 12747286A JP S62283752 A JPS62283752 A JP S62283752A
- Authority
- JP
- Japan
- Prior art keywords
- buffer
- data
- pool
- communication control
- host computer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 239000000872 buffer Substances 0.000 title claims abstract description 129
- 238000004891 communication Methods 0.000 claims abstract description 44
- 238000000034 method Methods 0.000 claims abstract description 29
- 230000005540 biological transmission Effects 0.000 claims abstract description 21
- 238000009825 accumulation Methods 0.000 abstract 6
- 238000010586 diagram Methods 0.000 description 5
- 230000010365 information processing Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
3、発明の詳細な説明
発明の目的
産業上の利用分野
本発明は、ホストコンピュータと複数の端末装置から構
成されるデータ処理システムに適用されるホストコンピ
ュータ内バッファの割当て方式に関するものである。Detailed Description of the Invention 3. Detailed Description of the Invention Purpose of the Invention Industrial Application Field The present invention is directed to buffer allocation within a host computer applied to a data processing system consisting of a host computer and a plurality of terminal devices. It is related to the method.
従来の技術
ホストコンピュータと複数の端末装置を通信回線で接続
し、ホストコンピュータと端末装置間でデータを送受し
つつ処理してゆくデータ処理システムが普及しつつある
。2. Description of the Related Art Data processing systems are becoming popular in which a host computer and a plurality of terminal devices are connected through communication lines, and data is processed while being transmitted and received between the host computer and the terminal devices.
ホストコンピュータにおいては、プロセッサによる処理
とデータ通信との間の大きな速度差を緩衝しつつプロセ
ッサの処理効率を高めるために、プロセッサと伝送制御
部との間に送受データを一旦蓄積するためのデータ・バ
ッファが設置される。In a host computer, in order to improve the processing efficiency of the processor while buffering the large speed difference between processing by the processor and data communication, a data transfer system is installed between the processor and the transmission control unit to temporarily store the transmitted and received data. A buffer is installed.
システム資源の有効利用の観点から、端末装置コトノ専
用のデータ・バッファをホストコンピュータに設置する
代わりに、ここに端末装置間で共用させる適宜個数の共
用データ・バッファを準備しておき通信を要求した端末
装置に対して空き状態の共用データ・バッファの一つを
選択して割当てる方式が使用されている。このような共
用データ・バッファ群はバッファ・プールと称されてお
り、これを構成する共用データ・バッファの個数は、収
容端末装置の総数や相互接続される他のホストコンピュ
ータの総数などシステム規模から予想されるシステム内
トラフィック量を勘案しつつ妥当な値が選択される。From the perspective of effective use of system resources, instead of installing a dedicated data buffer on the host computer for each terminal device, we prepared an appropriate number of shared data buffers to be shared between the terminal devices and requested communication. A method is used in which one of the free shared data buffers is selected and assigned to the terminal device. This group of shared data buffers is called a buffer pool, and the number of shared data buffers that make up this pool depends on the system scale, such as the total number of terminal devices accommodated and the total number of other host computers interconnected. A reasonable value is selected taking into account the expected amount of traffic within the system.
一般に、一つのホストコンピュータには異なる伝送制御
手順を使用する多数の端末装置が混在して収容される。Generally, one host computer accommodates a large number of terminal devices that use different transmission control procedures.
また、データ・バッファに必要とされる蓄積容量は、一
般に、伝送制御手順によって異なる。Additionally, the storage capacity required for the data buffer generally varies depending on the transmission control procedure.
従来、ホストコンピュータのバッファ・プールを構成す
る全てのデータ・バッファの容量は、最も大きな蓄積容
量を必要とする伝送制御手順に対処できるよう、−律に
そのような最大蓄積容量が設定され、通信を要求した端
末装置に対してその伝送制御手順に関係なくバッファ・
プール内の任意の空きデータ・バッファの一つが割当て
られる。Traditionally, the capacity of all data buffers that make up a host computer's buffer pool is set to a maximum storage capacity in order to cope with the transmission control procedure that requires the largest storage capacity, and communication The buffer is sent to the terminal device that requested it, regardless of its transmission control procedure.
One of any free data buffers in the pool is allocated.
すなわち、第2図のシステム構成ブロック図に例示する
ように、複数の端末装置21.22・・・・2nが通信
回線で接続されるホストコンピュータIOには、通信制
御部11、バッファ・プールBPを備えたバッファ部1
2、プロセッサ13及びバッファ割当て部16が設置さ
れる。通信制御部11は、端末装置21〜2nの一つか
ら通信開始の要求を受けると、バッファ割当て部16に
バッファ・プールBP内のデータ・バッファの割当てを
要求する。この要求を受けたバッファ割当て部16は、
バッファ・プールBPを構成する同一蓄積容量のデータ
・バッファBP、〜BP、のうち空き状態にある任意の
一つを選択して通信制御部11に通知することにより、
バッファの割当てを行う。That is, as illustrated in the system configuration block diagram of FIG. 2, the host computer IO to which a plurality of terminal devices 21, 22, . . . 2n are connected via communication lines includes a communication control unit 11, a buffer pool BP, Buffer part 1 equipped with
2. A processor 13 and a buffer allocation unit 16 are installed. When the communication control unit 11 receives a request to start communication from one of the terminal devices 21 to 2n, it requests the buffer allocation unit 16 to allocate a data buffer in the buffer pool BP. The buffer allocation unit 16 that received this request,
By selecting any free one of the data buffers BP, ~BP, having the same storage capacity and configuring the buffer pool BP, and notifying the communication control unit 11,
Allocate buffers.
発明が解決しようとする問題点
上記従来のデータ・バッファの割当て制御方式は、バッ
ファ・プールを構成するデータ・バッファのすべてに一
律に最大の蓄積容量を設定しているので、そのような最
大の蓄積容量を必要としない伝送制御手順による通信に
おいては、蓄積容量の無駄が生じ、システム資源の利用
効率が低下するという問題がある。Problems to be Solved by the Invention In the conventional data buffer allocation control method described above, the maximum storage capacity is uniformly set for all the data buffers that make up the buffer pool. In communication based on a transmission control procedure that does not require storage capacity, there is a problem in that storage capacity is wasted and system resource usage efficiency is reduced.
発明の構成
問題点を解決するための手段
上記従来技術の問題点を解決する本発明のバッファ割当
て方式によれば、同一の蓄積容量を有する複数のデータ
・バッファの群で構成されるバッファ・プールが、バッ
ファ・プールごとに群内データ・バッファの蓄積容量を
異ならせつつ複数種類ホストコンピュータ内の通信制御
部とプロセッサとの間に設置される。According to the buffer allocation method of the present invention which solves the problems of the prior art described above, a buffer pool is constructed of a group of a plurality of data buffers having the same storage capacity. A plurality of types of in-group data buffers are installed between the communication control unit and the processor in the host computer, with different storage capacities of the intra-group data buffers for each buffer pool.
そして、通信制御部からのデータ・バッファ割当て要求
に対し、まず、複数のバッファ・プールのうちこの割当
て要求に係わる伝送制御手順に応じた必要最小限の蓄積
容量の群内データ・バッファで構成されるバッファ・プ
ールの一つが選択される。Then, in response to a data buffer allocation request from the communication control unit, first, among the multiple buffer pools, the data buffers in the group are configured with the minimum necessary storage capacity according to the transmission control procedure related to this allocation request. one of the buffer pools is selected.
次に、上記選択されたバッファ・プールを構成するデー
タ・バッファのうち空き状態にある任意の一つが選択さ
れ、これが通信制御部に割当てられる。Next, any one of the data buffers constituting the selected buffer pool that is free is selected and assigned to the communication control section.
すなわち、最大蓄積容量を必要としない伝送制御手順用
に、小さな蓄積容量のデータ・バッファが相当数設置さ
れることになり、バッファ部全体の使用効率が向上する
。That is, a considerable number of data buffers with small storage capacities are installed for transmission control procedures that do not require the maximum storage capacity, and the efficiency of use of the entire buffer section is improved.
以下、本発明の作用を実施例と共に詳細に説明する。Hereinafter, the operation of the present invention will be explained in detail together with examples.
実施例
第1図は、本発明の一実施例のホストコンピュータ内バ
ッファ割当て方式を適用する情報処理システムの構成を
例示するブロック図である。Embodiment FIG. 1 is a block diagram illustrating the configuration of an information processing system to which a host computer buffer allocation method according to an embodiment of the present invention is applied.
この情報処理システムは、ホストコンピュータ10と、
これに通信回線を介して接続される複数の端末装置21
.22・・・・2nから構成されている。This information processing system includes a host computer 10,
A plurality of terminal devices 21 connected to this via a communication line
.. 22...2n.
ホストコンピュータ10は、通信制御部11、バッファ
部12、プロセッサ13、バッファ・プール選択部14
、プール内バッファ割当て部15を備えている。The host computer 10 includes a communication control section 11, a buffer section 12, a processor 13, and a buffer pool selection section 14.
, an in-pool buffer allocation section 15.
通信制御部11とプロセッサ13との間に設置されるバ
ッファ部12には、それぞれが同一の蓄積容量を有する
複数のデータ・バッファB、、、 B1□・・・・B
liの群で構成される第1のバッファ・プールBP、と
、それぞれが同一の蓄積容量を有する複数のデータ・バ
ッファB 21 + B 22・・・・B2jの群で
構成される第2のバッファ・プールBP2と、それぞれ
が同一の蓄積容量を有する複数のデータ・バッファB3
1. B3□・・・・B3にの群で構成される第3の
バッファ・プールBP3とが設置されている。3種類の
バッファ・プールBP1〜BP、lに属するデータ・バ
ッファ、例えばデータ・バッファBII+ 8211
821の蓄積容量は、それぞれこのホストコンピュー
タ10と端末装置21〜2n間の通信に使用される3種
類の伝送制御手順によって異なる3種類の所要蓄積容量
に等しい値に設定されている。The buffer unit 12 installed between the communication control unit 11 and the processor 13 includes a plurality of data buffers B, .
a first buffer pool BP consisting of a group of li, and a second buffer consisting of a group of a plurality of data buffers B 21 + B 22 . . . B2j, each having the same storage capacity.・Pool BP2 and multiple data buffers B3 each having the same storage capacity
1. A third buffer pool BP3 consisting of a group of B3□...B3 is installed. Data buffers belonging to three types of buffer pools BP1 to BP, l, for example data buffer BII+ 8211
The storage capacity of 821 is set to a value equal to three types of required storage capacities that differ depending on the three types of transmission control procedures used for communication between the host computer 10 and the terminal devices 21 to 2n.
通信制御部11は、端末装置21〜2nの一つから通信
開始の要求を受けると、この通信に使用する伝送制御手
順の識別コードをバッファ・プール選択部14に通知し
て、バッファ・プールの選択を要求する。この要求を受
けたバッファ・プール選択部14は、該当の伝送制御手
順による通信に必要な蓄積容量のデータ・バッファで構
成されるバッファ・プールを一つ選択して、その識別コ
ードを通信制御部11に返す。When the communication control unit 11 receives a request to start communication from one of the terminal devices 21 to 2n, it notifies the buffer pool selection unit 14 of the identification code of the transmission control procedure used for this communication, and selects the buffer pool. Ask for a choice. Upon receiving this request, the buffer pool selection unit 14 selects one buffer pool consisting of data buffers with storage capacity necessary for communication according to the corresponding transmission control procedure, and sends its identification code to the communication control unit. Return to 11.
このバッファ・プールの通知を受けた通信制御部11は
、これをプール内バッファ割当て部15に通知し、この
バッファ・プール内のデータ・バッファの割当てを要求
する。プール内バッファ割当て部15は、通信制御部1
1が指定したバッファ・プールの使用状況を探索し、空
き状態のデータ・バッファを一つ選択してその識別コー
ドを通信制御部11に通知すると共に、図示しないセレ
クタを制御することによって、割当てたデータ・バッフ
ァを通信制御部11に接続する。The communication control unit 11, which has received the notification of this buffer pool, notifies the in-pool buffer allocation unit 15 of this and requests allocation of the data buffer in this buffer pool. The in-pool buffer allocation unit 15 is the communication control unit 1
1 searches the usage status of the buffer pool specified by 1, selects one free data buffer, notifies the communication control unit 11 of its identification code, and controls a selector (not shown) to allocate the data buffer. Connect the data buffer to the communication control section 11.
プール内バッファ割当て部15は、通信制御部11が指
定したバッファ・プール内に空き状態のデータ・バッフ
ァが存在しない場合には、その旨を通信制御部11に通
知する。この通知を受けた通信制御部14は、使用中の
伝送制御手順が必要とするバッファ蓄積容量よりも1段
階大きな蓄積容量を必要とする伝送制御手順が存在すれ
ば、その識別コードをバッファ・プール選択部14に通
知し、該当のバッファ・プールを選択させ、これをプー
ル内バッファ割当て部15に通知して、空き状態のデー
タ・バッファの割当てを要求する。”通信制御部11は
、上述のような1段階大きな蓄積容量の空きデータ・バ
ッファが存在しない場合において、これよりも更に1段
階大きな蓄積容量を必要とする伝送制御手順が存在する
ときには、その識別コードをバッファ・プール14に通
知してそのようなバッファ・プールを選択させ、このバ
ッファ・プール内の空きデータ・バッファの割当てをプ
ール内バッファ割当て部15に要求する。If there is no free data buffer in the buffer pool specified by the communication control unit 11, the in-pool buffer allocation unit 15 notifies the communication control unit 11 to that effect. When the communication control unit 14 receives this notification, if there is a transmission control procedure that requires a storage capacity one step larger than the buffer storage capacity required by the transmission control procedure in use, the communication control unit 14 transmits its identification code to the buffer pool. The selection unit 14 is notified to select the relevant buffer pool, and this is notified to the in-pool buffer allocation unit 15 to request allocation of a vacant data buffer. ``In the case where there is no free data buffer with one step larger storage capacity as described above, if there is a transmission control procedure that requires one step larger storage capacity, the communication control unit 11 identifies the transmission control procedure. The code is notified to the buffer pool 14 to select such a buffer pool, and the in-pool buffer allocator 15 is requested to allocate a free data buffer in this buffer pool.
そのような空きデータ・バッファが存在すれば、これを
使用して端末装置との間のデータ送受が開始され、存在
しなければビジー通知が端末装置に送出される。If such a free data buffer exists, it is used to initiate data transmission to and from the terminal; if not, a busy notification is sent to the terminal.
以上、バッファ・プールの選択部14とプール内バッフ
ァ割当て部15を分離して設置する構成を例示したが、
これらを一体として設置してもよく、さらに、バッファ
・プール選択機能を通信制御部に付加してもよい。Above, the configuration in which the buffer pool selection unit 14 and the in-pool buffer allocation unit 15 are installed separately has been illustrated.
These may be installed as one unit, and furthermore, a buffer pool selection function may be added to the communication control section.
また、バッファ部12に3種類のバッファ・プールを設
置する構成を例示したが、このバッファ・プールの種類
は、一般に2以上の適宜数とすることができる。Furthermore, although a configuration in which three types of buffer pools are installed in the buffer section 12 has been illustrated, the types of buffer pools can generally be an appropriate number of two or more.
また、ホストコンピュータとこれに収容される端末装置
との間の通信の場合を例にとって本発明の構成と作用を
例示したが、他のホストコンピュータとの間の通信にも
本発明の方式が適用できることは明らかである。Further, although the configuration and operation of the present invention have been illustrated by taking as an example the case of communication between a host computer and a terminal device accommodated therein, the method of the present invention can also be applied to communication between other host computers. It is clear that it can be done.
発明の効果
以上詳細に説明したように、本発明のホストコンビ二−
タ内バッファ割当て方式は、各伝送制御手順が必要とす
る蓄積容量のデータ・バッファから構成される複数種類
のバッファ・プールをバッファ部に設置し、通信に際し
て必要最小限の蓄積容量を有する空きデータ・バッファ
を一つ選択する構成であるから、従来方式と異なり、最
大蓄積容量に満たない容量のデータ・バッファを相当数
設置することが可能になり、バッファ部全体の利用率が
向上するという効果が奏される。Effects of the Invention As explained in detail above, the host combination of the present invention
In the internal buffer allocation method, multiple types of buffer pools consisting of data buffers with the storage capacity required for each transmission control procedure are installed in the buffer section, and free data with the minimum storage capacity necessary for communication is・Because the configuration selects one buffer, unlike the conventional method, it is possible to install a considerable number of data buffers whose capacity is less than the maximum storage capacity, which improves the utilization rate of the entire buffer section. is played.
第1図は本発明に係わるホストコンピュータ内バッファ
割当て方式を適用する情報処理システムの構成を例示す
るブロック図、第2図は従来のバッファ割当て方式が適
用される情報処理システムの構成を例示するブロック図
である。
10・・ホストコンピュータ、11・・通信制御部、1
2・・バッファ部、13・・プロセッサ、14・・バッ
ファ・プール選択部、15・・プール内バッファ割当て
部、BP+ 、BF2 、BPs・・第1.第2.第3
のバッファ・プール、21〜2n・・端末装置。FIG. 1 is a block diagram illustrating the configuration of an information processing system to which the host computer buffer allocation method according to the present invention is applied, and FIG. 2 is a block diagram illustrating the configuration of an information processing system to which the conventional buffer allocation method is applied. It is a diagram. 10...Host computer, 11...Communication control unit, 1
2... Buffer unit, 13... Processor, 14... Buffer pool selection unit, 15... In-pool buffer allocation unit, BP+, BF2, BPs... 1st. Second. Third
buffer pools, 21 to 2n...terminal devices.
Claims (1)
信回線を介して接続されるホストコンピュータにおいて
、 それぞれが同一の蓄積容量を有する複数のデータ・バッ
ファの群で構成されるバッファ・プールを、バッファ・
プールごとに群内データ・バッファの蓄積容量を異なら
せつつ複数種類ホストコンピュータ内の通信制御装置と
プロセッサ間に設置し、 通信制御部からのデータ・バッファ割当て要求に対し、
前記複数のバッファ・プールのうちこの割当て要求に係
わる伝送制御手順に応じた必要最小限の蓄積容量を有す
る群内データ・バッファで構成されるバッファ・プール
の一つを選択し、この選択したバッファ・プールを構成
するデータ・バッファのうち空き状態にあるものを通信
制御部に割当てることを特徴とするホストコンピュータ
内バッファの割当て方式[Claims] In a host computer connected to a terminal device and/or another host computer via a communication line, a buffer comprising a group of a plurality of data buffers each having the same storage capacity is provided. pool, buffer
It is installed between the communication control devices and processors in multiple types of host computers, with the storage capacity of intra-group data buffers differing for each pool, and responds to data buffer allocation requests from the communication control unit.
One of the buffer pools consisting of intra-group data buffers having the minimum required storage capacity according to the transmission control procedure related to this allocation request is selected from among the plurality of buffer pools, and the selected buffer is・A method for allocating buffers in a host computer, which is characterized by allocating empty data buffers that constitute a pool to a communication control unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61127472A JPS62283752A (en) | 1986-05-31 | 1986-05-31 | Buffer allocating system in host computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61127472A JPS62283752A (en) | 1986-05-31 | 1986-05-31 | Buffer allocating system in host computer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62283752A true JPS62283752A (en) | 1987-12-09 |
Family
ID=14960769
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61127472A Pending JPS62283752A (en) | 1986-05-31 | 1986-05-31 | Buffer allocating system in host computer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62283752A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63187750A (en) * | 1987-01-29 | 1988-08-03 | Matsushita Graphic Commun Syst Inc | Transmission buffer administration device |
JPH01166645A (en) * | 1987-12-22 | 1989-06-30 | Fujitsu Ltd | Communication buffer management system for communication control equipment |
US7203812B2 (en) | 2001-12-27 | 2007-04-10 | Nec Corporation | Memory pool management method and system capable of using memory efficiently |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59176952A (en) * | 1983-03-26 | 1984-10-06 | Ricoh Co Ltd | Communication control system |
-
1986
- 1986-05-31 JP JP61127472A patent/JPS62283752A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59176952A (en) * | 1983-03-26 | 1984-10-06 | Ricoh Co Ltd | Communication control system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63187750A (en) * | 1987-01-29 | 1988-08-03 | Matsushita Graphic Commun Syst Inc | Transmission buffer administration device |
JPH01166645A (en) * | 1987-12-22 | 1989-06-30 | Fujitsu Ltd | Communication buffer management system for communication control equipment |
US7203812B2 (en) | 2001-12-27 | 2007-04-10 | Nec Corporation | Memory pool management method and system capable of using memory efficiently |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0432978B1 (en) | Apparatus for conditioning priority arbitration in buffered direct memory addressing | |
EP0459714B1 (en) | Interrupt processing allocation in a multiprocessor system | |
EP0362107B1 (en) | Method to manage concurrent execution of a distributed application program by a host computer and a large plurality of intelligent work stations on an SNA network | |
US4933846A (en) | Network communications adapter with dual interleaved memory banks servicing multiple processors | |
US5471618A (en) | System for classifying input/output events for processes servicing the events | |
US8307053B1 (en) | Partitioned packet processing in a multiprocessor environment | |
CN100442258C (en) | Method for dynamically using direct memory access channel and arbitration circuit therefor | |
US5428796A (en) | System and method for regulating access to direct access storage devices in data processing systems | |
US5515523A (en) | Method and apparatus for arbitrating conflicts by monitoring number of access requests per unit of time in multiport memory systems | |
JP2001331333A (en) | Computer system and method for controlling computer system | |
SK31194A3 (en) | Multi-media signal processor computer system | |
US20100183028A1 (en) | System And Method For Establishing Sufficient Virtual Channel Performance In A Parallel Computing Network | |
US5958031A (en) | Data transmitting/receiving device of a multiprocessor system and method therefor | |
KR920009449B1 (en) | Common bus controller an its method | |
JP2006079495A (en) | Storage system and method for setting logical block | |
US6754658B1 (en) | Database server processing system, method, program and program storage device | |
JPS62283752A (en) | Buffer allocating system in host computer | |
JP2003131814A (en) | Disk array system | |
CN107085557A (en) | Direct memory access system and associated method | |
KR920004061B1 (en) | A system for reconstructing i/o control system | |
CN115269467B (en) | Bus arbitration method and device, storage medium and electronic equipment | |
JP3082297B2 (en) | Task control method | |
JP2000244585A (en) | Bus interface circuit | |
KR100215572B1 (en) | Method and apparatus for controlling interface buffer | |
JPS63121342A (en) | Reception buffer control system for communication processing equipment |