JPH0528037A - Buffer control system - Google Patents

Buffer control system

Info

Publication number
JPH0528037A
JPH0528037A JP3181426A JP18142691A JPH0528037A JP H0528037 A JPH0528037 A JP H0528037A JP 3181426 A JP3181426 A JP 3181426A JP 18142691 A JP18142691 A JP 18142691A JP H0528037 A JPH0528037 A JP H0528037A
Authority
JP
Japan
Prior art keywords
buffer
request
trace
area
release
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
Application number
JP3181426A
Other languages
Japanese (ja)
Inventor
Toshio Ueda
壽雄 上田
Tatsuhiko Miike
龍彦 三池
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Software Kyushu Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp, NEC Software Kyushu Ltd filed Critical NEC Corp
Priority to JP3181426A priority Critical patent/JPH0528037A/en
Publication of JPH0528037A publication Critical patent/JPH0528037A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To grasp the operating state of a buffer by tracing buffer request information between a buffer request source and a buffer address for each buffer request. CONSTITUTION:A buffer request reception means 3 of a main storage device 1 receives buffer request from a request source group 2. If it is a buffer acquisition request, a buffer acquisition means 8 acquires a buffer from a buffer group 14 of a buffer control table 13 through a buffer acquisition request reception means 4. If it is a buffer release request, a buffer release means 9 releases a buffer through a buffer release request reception means 5. A trace information writing means 10 writes trace information on acquiring and releasing a buffer in a buffer trace area 11, writing it out on an external storage device 12 every time the area is written up.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、バッファ管理方式に関
し、特に情報処理システムの主記憶装置に有するバッフ
ァを管理するバッファ管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a buffer management system, and more particularly to a buffer management system for managing a buffer in a main memory of an information processing system.

【0002】[0002]

【従来の技術】従来のバッファ管理方式は、あらかじめ
定められた数のバッファを管理するバッファプールを持
ち、要求元のバッファ要求に対して、バッファプールに
バッファがある場合に、即座にそのバッファを与えてい
た。
2. Description of the Related Art A conventional buffer management system has a buffer pool that manages a predetermined number of buffers, and when there is a buffer in the buffer pool for the request source buffer request, the buffer is immediately opened. I was giving.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のバッフ
ァ管理方式は、あらかじめ定められた数のバッファを管
理するバッファプールにバッファ要求を行う場合に、バ
ッファプールがある場合に、即座にバッファを与え、何
も情報を残さないので、バッファの使用状況を判断する
ことができないという欠点を有している。
The above-mentioned conventional buffer management system gives a buffer immediately when there is a buffer pool when making a buffer request to a buffer pool which manages a predetermined number of buffers. However, since it leaves no information, it has the drawback that it cannot judge the usage status of the buffer.

【0004】[0004]

【課題を解決するための手段】本発明のバッファ管理方
式は、要求元から受け付けたバッファ要求を要求種別に
より振り分け、バッファ要求が獲得要求時にはバッファ
獲得要求を制御し、バッファ種別毎に存在してバッファ
管理テーブルにリンクされているバッファプールから必
要な個数を切り離して要求元に与え、その時の要求元と
与えようとするバッファアドレスとをバッファトレース
エリアに書き込み、バッファ要求が解放要求時にはバッ
ファ解放要求を制御し、解放要求のバッファを前記バッ
ファ管理テーブルにリンクし、その時の要求元と解放す
るバッファアドレスとを前記バッファトレースエリアに
書き込み、主記憶装置内の前記バッファトレースエリア
が一杯になり次第、外部記憶装置に書き出すことにより
構成されている。
According to the buffer management method of the present invention, a buffer request received from a request source is sorted according to a request type, and when the buffer request is an acquisition request, the buffer acquisition request is controlled and exists for each buffer type. Separate the required number from the buffer pool linked to the buffer management table and give it to the request source, write the request source at that time and the buffer address to be given to the buffer trace area, and when the buffer request is a release request, release the buffer. Control the release request buffer linked to the buffer management table, write the request source at that time and the buffer address to be released to the buffer trace area, as soon as the buffer trace area in the main storage device is full, It is configured by writing to an external storage device.

【0005】[0005]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0006】図1は、本発明のバッファ管理方式の一実
施例を示すブロック図である。図1に示すように、本実
施例における主記憶装置1は、要求元群2からバッファ
要求を受け付けるバッファ要求受け付け手段3と、バッ
ファ獲得要求受け付け手段4と、バッファ解放要求受け
付け手段5と、バッファ獲得可能時にバッファ獲得情報
を整理してバッファトレース要求を行うバッファ獲得情
報トレース要求手段6と、バッファトレース要求を受け
てバッファトレースエリア11に書き込んでバッファト
レースエリア11が一杯になると外部記憶装置12に情
報を書き出すトレース情報書き込み手段10と、バッフ
ァ解放時にバッファ解放情報を整理してバッファトレー
ス要求を行うバッファ解放情報トレース要求手段7と、
バッファ管理テーブル13にリンクしているバッファ群
14からバッファを獲得するバッファ獲得手段8と、バ
ッファ獲得手段8で獲得したバッファを解放するバッフ
ァ解放手段9とを含んでいる。
FIG. 1 is a block diagram showing an embodiment of the buffer management system of the present invention. As shown in FIG. 1, the main storage device 1 according to the present embodiment has a buffer request receiving unit 3, a buffer acquisition request receiving unit 4, a buffer release request receiving unit 5, and a buffer request receiving unit 3, which receives a buffer request from a request source group 2. When the acquisition is possible, the buffer acquisition information trace request means 6 that sorts out the buffer acquisition information and makes a buffer trace request, and the buffer trace area 11 is filled when the buffer trace request is received and the buffer trace area 11 becomes full, and then the external storage device 12 Trace information writing means 10 for writing information, buffer release information trace request means 7 for organizing the buffer release information and releasing a buffer trace request when releasing the buffer,
It includes a buffer acquisition means 8 for acquiring a buffer from the buffer group 14 linked to the buffer management table 13, and a buffer release means 9 for releasing the buffer acquired by the buffer acquisition means 8.

【0007】図2は、本実施例で使用するバッファトレ
ースエリア11の一例を示す図である。本実施例におけ
るトレース情報書き込み手段10は、トレース第一エリ
ア先頭アドレス21、トレース第一エリア終了アドレス
22、トレース第二エリア先頭アドレス23、トレース
第二エリア終了アドレス24、現トレースエリアアドレ
ス25、トレース第一エリア26、トレース第二エリア
27を持つバッファトレースエリア11を制御してい
る。
FIG. 2 is a diagram showing an example of the buffer trace area 11 used in this embodiment. The trace information writing means 10 in the present embodiment includes the trace first area start address 21, the trace first area end address 22, the trace second area start address 23, the trace second area end address 24, the current trace area address 25, and the trace. The buffer trace area 11 having the first area 26 and the trace second area 27 is controlled.

【0008】そして、トレース情報書き込み手段10
は、バッファトレース情報を、トレース第一エリア先頭
アドレス21の位置から書き込み始め、現トレースエリ
アアドレス25を更新して現トレースエリアアドレス2
5がトレース第一エリア終了アドレス22と同じになれ
ば、トレース第一エリア26が一杯とみなしてトレース
第一エリア26の内容を外部記憶装置12のバッファト
レース情報ファイル28に掃き出す。また、トレース情
報書き込み手段10は、外部記憶装置12への掃き出し
の完了を待ち合わせることなしにトレース第二エリア先
頭アドレス23の位置から再開し、トレース第二エリア
27にバッファトレース情報を書き込む。
Then, the trace information writing means 10
Starts writing buffer trace information from the position of the first address 21 of the trace first area, updates the current trace area address 25, and updates the current trace area address 2
If 5 becomes the same as the end address 22 of the first trace area, the first trace area 26 is regarded as full and the contents of the first trace area 26 are flushed to the buffer trace information file 28 of the external storage device 12. Further, the trace information writing means 10 restarts from the position of the trace second area start address 23 without waiting for the completion of the sweep to the external storage device 12, and writes the buffer trace information in the trace second area 27.

【0009】又、現トレースエリアアドレス25も更新
され、現トレースエリアアドレス25がトレース第二エ
リア終了アドレス24と同じになれば、トレース第二エ
リア27が一杯とみなしてトレース第二エリア27の内
容を外部記憶装置12のバッファトレース情報ファイル
28に掃き出す。トレース情報書き込み手段10は、外
部記憶装置12への掃き出しの完了を待ち合わせること
なしにトレース第一エリア先頭アドレス23の位置から
再開する。以上のことを繰り返すことによって、バッフ
ァトレースの制御を行う。
If the current trace area address 25 is also updated and the current trace area address 25 becomes the same as the trace second area end address 24, the trace second area 27 is regarded as full and the contents of the trace second area 27 are considered. To the buffer trace information file 28 of the external storage device 12. The trace information writing means 10 restarts from the position of the trace first area start address 23 without waiting for the completion of the sweep to the external storage device 12. The buffer trace is controlled by repeating the above.

【0010】図3は、本実施例の処理の一例を表す流れ
図である。要求元群2の要求元がバッファ要求数A個の
バッファ要求を行うと、バッファ要求受け付け手段3に
制御が渡され、要求種別を判断し、要求内容に応じてバ
ッファ獲得要求受け付け手段4またはバッファ解放要求
受け付け手段5に制御が渡される(ステップ30)。
FIG. 3 is a flow chart showing an example of the processing of this embodiment. When the request source of the request source group 2 makes a buffer request of A number of buffer requests, the control is passed to the buffer request receiving means 3, the request type is judged, and the buffer acquisition request receiving means 4 or the buffer is received according to the request content. Control is passed to the release request receiving means 5 (step 30).

【0011】そこで、バッファ獲得要求受け付け手段4
は、まずバッファ獲得手段8に制御を渡す。バッファ獲
得手段8は、バッファ管理テーブル13によりバッファ
獲得可能かどうかを判断し(ステップ31)、可能でな
ければ要求元にバッファ獲得不可の通知を行う(ステッ
プ38)。バッファ獲得可能な場合には、バッファ管理
テーブル13にリンクしているバッファ群14からバッ
ファ群を獲得する(ステップ32)。
Therefore, the buffer acquisition request receiving means 4
First transfers control to the buffer acquisition means 8. The buffer acquisition unit 8 determines whether or not the buffer can be acquired from the buffer management table 13 (step 31), and if not, notifies the request source that the buffer cannot be acquired (step 38). If the buffer can be acquired, the buffer group is acquired from the buffer group 14 linked to the buffer management table 13 (step 32).

【0012】その後に、バッファ獲得要求受け付け手段
4に制御が戻り、バッファ獲得情報トレース要求手段6
に制御が渡る。バッファ獲得情報トレース要求手段6
は、要求元情報と獲得した全てのバッファドレスとを求
め、その情報をトレースするようトレース情報書き込み
手段10に要求する。トレース情報書き込み手段10
は、渡された情報をバッファトレースエリア11にトレ
ースし、現行トレースエリアが一杯になった時には、外
部記憶装置12に書き出し、現行トレースエリアの切り
換えをする(ステップ33,34,35,36)。そし
て、要求元群2の要求元にバッファ獲得完了通知を行う
(ステップ37)。
After that, the control returns to the buffer acquisition request reception means 4 and the buffer acquisition information trace request means 6
Control passes. Buffer acquisition information trace requesting means 6
Requests the request source information and all acquired buffer dresses, and requests the trace information writing means 10 to trace the information. Trace information writing means 10
Traces the passed information to the buffer trace area 11, writes it to the external storage device 12 when the current trace area is full, and switches the current trace area (steps 33, 34, 35, 36). Then, the buffer acquisition completion notification is issued to the request source of the request source group 2 (step 37).

【0013】又、要求種別が解放要求でバッファ解放要
求受け付け手段5に制御が渡された場合に、バッファ解
放要求受け付け手段5は、バッファ解放情報トレース要
求手段7に制御を渡す。バッファ解放情報トレース要求
手段7は、要求元情報と解放する全てのバッファアドレ
スとを求め、その情報をトレースするようにトレース情
報書き込み手段10に要求する。トレース情報書き込み
手段10は、渡された情報をバッファトレースエリア1
1にトレースし、現行トレースエリアが一杯になった時
に外部記憶装置12に書き出し、現行トレースエリアの
切り換えをする(ステップ39,40,41,42)。
When the request type is a release request and control is passed to the buffer release request receiving means 5, the buffer release request receiving means 5 passes control to the buffer release information trace requesting means 7. The buffer release information trace requesting means 7 obtains request source information and all buffer addresses to be released, and requests the trace information writing means 10 to trace the information. The trace information writing means 10 stores the passed information in the buffer trace area 1
When the current trace area is full, it is written to the external storage device 12 and the current trace area is switched (steps 39, 40, 41, 42).

【0014】その後に、制御がバッファ解放要求受け付
け手段5に戻り、バッファ解放手段9に制御が渡る。バ
ッファ解放手段9は、解放要求されたバッファをバッフ
ァ管理テーブル13にリンクしているバッファ群14の
中に解放する(ステップ43)。そして、要求元群2の
要求元にバッファ解放完了通知を行う(ステップ4
4)。
Thereafter, the control returns to the buffer release request receiving means 5 and the control is passed to the buffer releasing means 9. The buffer release means 9 releases the release-requested buffer into the buffer group 14 linked to the buffer management table 13 (step 43). Then, a buffer release completion notification is issued to the request sources of the request source group 2 (step 4).
4).

【0015】[0015]

【発明の効果】以上説明したように、本発明のバッファ
管理方式は、バッファ要求毎にバッファ要求元とバッフ
ァアドレスとのバッファ要求情報をトレースすることに
より、バッファの使用状況がすぐにわかるという効果を
有している。
As described above, the buffer management system of the present invention traces the buffer request information of the buffer request source and the buffer address for each buffer request, so that the usage status of the buffer can be immediately known. have.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明のバッファ管理方式の一実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of a buffer management system of the present invention.

【図2】本実施例で使用するバッファトレースエリア1
1の一例を示す図である。
FIG. 2 is a buffer trace area 1 used in this embodiment.
It is a figure which shows an example of 1.

【図3】本実施例の処理の一例を表す流れ図である。FIG. 3 is a flowchart showing an example of processing of this embodiment.

【符号の説明】[Explanation of symbols]

1 主記憶装置 2 要求元群 3 バッファ要求受け付け手段 4 バッファ獲得要求受け付け手段 5 バッファ解放要求受け付け手段 6 バッファ獲得情報トレース要求手段 7 バッファ解放情報トレース要求手段 8 バッファ獲得手段 9 バッファ解放手段 10 トレース情報書き込み手段 11 バッファトレースエリア 12 外部記憶装置 13 バッファ管理テーブル 14 バッファ群 21 トレース第一エリア先頭アドレス 22 トレース第一エリア終了アドレス 23 トレース第二エリア先頭アドレス 24 トレース第二エリア終了アドレス 25 現トレースエリアアドレス 26 トレース第一エリア 27 トレース第二エリア 28 バッファトレース情報ファイル DESCRIPTION OF SYMBOLS 1 main memory device 2 request source group 3 buffer request acceptance means 4 buffer acquisition request acceptance means 5 buffer release request acceptance means 6 buffer acquisition information trace request means 7 buffer release information trace request means 8 buffer acquisition means 9 buffer release means 10 trace information Writing means 11 Buffer trace area 12 External storage device 13 Buffer management table 14 Buffer group 21 Trace first area start address 22 Trace first area end address 23 Trace second area start address 24 Trace second area end address 25 Current trace area address 26 first trace area 27 second trace area 28 buffer trace information file

Claims (1)

【特許請求の範囲】 【請求項1】 要求元から受け付けたバッファ要求を要
求種別により振り分け、バッファ要求が獲得要求時には
バッファ獲得要求を制御し、バッファ種別毎に存在して
バッファ管理テーブルにリンクされているバッファプー
ルから必要な個数を切り離して要求元に与え、その時の
要求元と与えようとするバッファアドレスとをバッファ
トレースエリアに書き込み、バッファ要求が解放要求時
にはバッファ解放要求を制御し、解放要求のバッファを
前記バッファ管理テーブルにリンクし、その時の要求元
と解放するバッファアドレスとを前記バッファトレース
エリアに書き込み、主記憶装置内の前記バッファトレー
スエリアが一杯になり次第、外部記憶装置に書き出すこ
とを特徴とするバッファ管理方式。
What is claimed is: 1. A buffer request accepted from a request source is distributed according to a request type, and when the buffer request is an acquisition request, the buffer acquisition request is controlled, and each buffer type exists and is linked to a buffer management table. The required number is given to the request source from the buffer pool, and the request source at that time and the buffer address to be given are written to the buffer trace area. When the buffer request is a release request, the buffer release request is controlled and the release request is issued. Link the above buffer to the buffer management table, write the request source at that time and the buffer address to be released to the buffer trace area, and write to the external storage device as soon as the buffer trace area in the main storage device is full. A buffer management method characterized by.
JP3181426A 1991-07-23 1991-07-23 Buffer control system Pending JPH0528037A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3181426A JPH0528037A (en) 1991-07-23 1991-07-23 Buffer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3181426A JPH0528037A (en) 1991-07-23 1991-07-23 Buffer control system

Publications (1)

Publication Number Publication Date
JPH0528037A true JPH0528037A (en) 1993-02-05

Family

ID=16100571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3181426A Pending JPH0528037A (en) 1991-07-23 1991-07-23 Buffer control system

Country Status (1)

Country Link
JP (1) JPH0528037A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6467083B1 (en) 1998-09-30 2002-10-15 Nec Corporation Debugging system for computer program, method for checking target program and information storage medium for storing checking program
US6768062B2 (en) 2000-10-12 2004-07-27 Murata Manufacturing Co., Ltd. Connection method and connection structure of pad electrodes, and inspecting methods for connection state thereof
US7274093B2 (en) 2004-12-24 2007-09-25 Yamaichi Electronics Co., Ltd. Semiconductor device connector, semiconductor device carrier, semiconductor device socket using the same and probe card
JP2009026169A (en) * 2007-07-23 2009-02-05 Epson Toyocom Corp Event recorder interrupt generation method, event recorder, and electronic apparatus equipped with the same
US8076232B2 (en) 2008-04-03 2011-12-13 Stats Chippac, Ltd. Semiconductor device and method of forming composite bump-on-lead interconnection
US8318537B2 (en) 2005-03-25 2012-11-27 Stats Chippac, Ltd. Flip chip interconnection having narrow interconnection sites on the substrate

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6467083B1 (en) 1998-09-30 2002-10-15 Nec Corporation Debugging system for computer program, method for checking target program and information storage medium for storing checking program
US6768062B2 (en) 2000-10-12 2004-07-27 Murata Manufacturing Co., Ltd. Connection method and connection structure of pad electrodes, and inspecting methods for connection state thereof
US7274093B2 (en) 2004-12-24 2007-09-25 Yamaichi Electronics Co., Ltd. Semiconductor device connector, semiconductor device carrier, semiconductor device socket using the same and probe card
US8318537B2 (en) 2005-03-25 2012-11-27 Stats Chippac, Ltd. Flip chip interconnection having narrow interconnection sites on the substrate
JP2009026169A (en) * 2007-07-23 2009-02-05 Epson Toyocom Corp Event recorder interrupt generation method, event recorder, and electronic apparatus equipped with the same
US8076232B2 (en) 2008-04-03 2011-12-13 Stats Chippac, Ltd. Semiconductor device and method of forming composite bump-on-lead interconnection

Similar Documents

Publication Publication Date Title
AU2497199A (en) Data base for persistent data
JP2000057013A (en) Trace information sampling device and mechanically readable recording medium recording program
JP2856003B2 (en) Asynchronous data input / output method
JP3368378B2 (en) Storage content management method and data processing device
JPH0540721A (en) Computer system
JPS63180146A (en) Multiplex buffering control system for work file
JPS63298550A (en) Non-stop trace system
JP2976456B2 (en) Protocol trace device
JP2735400B2 (en) Asynchronous I/O control method
JPH0720149B2 (en) Multimedia information communication controller
JPS6048774B2 (en) Data file management method
JPS60178549A (en) Registration system for data to memory device
JPH0553975A (en) Bus controller
JPH04138546A (en) Buffer control device
JPS6174026A (en) Management method for printer output message files
JPH07104824B2 (en) Print control device
JPS60254256A (en) Information processor
JPH064472A (en) Input/output priority order control system
JPH11175312A (en) Data transfer control device
JPH05210556A (en) Double registration system for image data
JPH08221208A (en) Data output system
JPH10304336A (en) Multimedia information providing device
JPH04360248A (en) Remote file updating system
JPS61259289A (en) Display controller
JPH0535579A (en) Buffer control system