JPH0231225A - Test system for data control rule of buffer memory - Google Patents

Test system for data control rule of buffer memory

Info

Publication number
JPH0231225A
JPH0231225A JP63182690A JP18269088A JPH0231225A JP H0231225 A JPH0231225 A JP H0231225A JP 63182690 A JP63182690 A JP 63182690A JP 18269088 A JP18269088 A JP 18269088A JP H0231225 A JPH0231225 A JP H0231225A
Authority
JP
Japan
Prior art keywords
data
input
command
slot
buffer storage
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
JP63182690A
Other languages
Japanese (ja)
Inventor
Yoshikazu Yonezawa
米澤 禎和
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
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP63182690A priority Critical patent/JPH0231225A/en
Publication of JPH0231225A publication Critical patent/JPH0231225A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To test the function of a data control rule at high speed despite the large capacity of a buffer memory area by giving a command to an input/output controller to freely change the capacity kept in a busy mode of the buffer memory area. CONSTITUTION:When the function of an FIFO is tested, a buffer area part 25 is entirely set to an idle slot and gives a command to an input/output controller 2 to store the data to be driven out as an undesired slot in the final step into the part 25. Then a command is given to an input/output controller 2 to change the number of slots kept under the busy modes. Then the contents of a slot control table are changed to the display of a busy mode from the display of an idle mode by the number designated by a command given from a computer system 1. Therefore it is possible to confirm the replacement of data with the data stored first just by producing a command to store the new data into the part 25 as long as a number is designated so as to eliminate all idle slots out of the memory 25.

Description

【発明の詳細な説明】 反血豆ヱ 本発明はM衝記憶のデータ管理規則の試験方式に関し、
特に計算機システム側からのデータの入力要求に対して
高速に応答する目的で入出力装置側のデータを一時蓄え
るための緩衝記憶のデータ管理規則試験方式に関するも
のである。
[Detailed Description of the Invention] The present invention relates to a test method for data management rules for M-shock memory,
In particular, the present invention relates to a test method for data management rules for buffer storage for temporarily storing data on the input/output device side for the purpose of quickly responding to data input requests from the computer system side.

良氷並量 一般に、緩衝記憶領域におけるデータ管理規則の試験方
法は、緩衝記憶領域が最大スロット(データの格納あ゛
るいは放出の単位となる所定大きさの単位領域をいう)
数のデータを保持しているとき、新たなデータを緩衝記
憶領域内に格納しなければならない場合、予め定められ
たデータ管理規則に基づいて不要になったデータと新た
なデータとが正しく置換されるかを確認することによっ
て行われる0例えば、F I FO(First In
 First OuBアルゴリズムという規則によって
データが管理されている場合、最初緩衝記憶領域全体を
空き状態に設定し、最初の第1のデータをMill記憶
領域内に格納する。この後、緩衝記憶領域内に空きスロ
ットがない最大スロット数のデータ保持状態になるまで
入出力制御装置にデータの入出力動作を指示し、緩衝記
憶領域の空スロットにデータを格納する。
In general, the test method for data management rules in buffer storage areas is that the buffer storage area is the maximum slot (a unit area of a predetermined size that is a unit of data storage or release).
When new data must be stored in the buffer storage area, the new data is correctly replaced with the data that is no longer needed based on predetermined data management rules. For example, FIFO (First In
When data is managed according to a rule called the First OuB algorithm, the entire buffer storage area is initially set to an empty state, and the first data is stored in the Mill storage area. Thereafter, the input/output control device is instructed to perform data input/output operations until the buffer storage area reaches a data holding state with the maximum number of slots in which there are no empty slots, and data is stored in the empty slots of the buffer storage area.

緩衝記憶領域が最大スロット数のデータ保持数になった
ならば、もう−戻入力制御装置に入出力動作を指示して
最大スロット数のデータ保持状態にある空き領域の無い
MII記憶領域にデータの置換要因をあたえる。この指
示により新たなデータが緩衝記憶領域に格納され、その
代り最初の第1のデータが放出されることを確認するこ
とにより、FIFOアルゴリズムの規則を試験している
When the buffer storage area reaches the maximum number of slots, the input/output operation is instructed by the return input control device to transfer data to the MII storage area with no free space, which is holding data for the maximum number of slots. Give the replacement factor. The rules of the FIFO algorithm are tested by verifying that this instruction causes new data to be stored in the buffer storage area and the first data to be released in its place.

上述した従来の緩衝記憶領域データ管理規則試験方法で
は、緩衝記憶領域を試験を行う環境に設定するため緩衝
記憶領域内に空き状態のスロットがなくなるまで入出力
動作の指示を出して緩衝記憶領域内の空き状態のスロッ
トにデータを格納する必要があり、特に緩衝記憶領域の
最大スロット数が大きな数の場合(M衝記憶領の容量が
大きい場合)試験環境の作成に手間がかかるという欠点
がある。
In the conventional buffer storage area data management rules test method described above, in order to set the buffer storage area to the test environment, instructions for input/output operations are issued until there are no empty slots in the buffer storage area. It is necessary to store data in empty slots, and there is a disadvantage that it takes time and effort to create a test environment, especially when the maximum number of slots in the buffer storage area is large (when the capacity of the M storage area is large). .

ユ曹しと目的 そこで、本発明はかかる従来技術の欠点を解決すべくな
されたものであて、その目的とするところは、緩衝記憶
領域の容量が大きくても、データ管理規則の機能を高速
で容易に試験可能なデータ管理規則試験方式を提供する
ことにある。
SUMMARY AND OBJECTIVES Therefore, the present invention has been made to solve the drawbacks of the prior art, and its purpose is to implement the functions of data management rules at high speed even if the capacity of the buffer storage area is large. The object of the present invention is to provide a data management rule test method that can be easily tested.

1呪ム亙蔦 本発明によれば、データの格納あるいは放出の単位とな
る所定大きさの領域を複数有する緩衝記憶におけるデー
タ管理規則を試験する試験方式であって、前記領域の各
々に対応して設けられ、対応領域が空き状態か使用状態
かを示すフラグを有する管理テーブルと、前記管理テー
ブルの各フラグを任意に設定自在な手段とを設け、前記
管理テーブルのフラグの使用状態にある数を自在に設定
して、緩衝記憶のデータ管理規則の試験をなすようにし
たことを特徴とする試験方式が得られる。
According to the present invention, there is provided a test method for testing data management rules in a buffer memory having a plurality of areas of a predetermined size that are units of data storage or release, wherein a management table having a flag indicating whether the corresponding area is free or in use, and a means for arbitrarily setting each flag in the management table; A test method is obtained in which the data management rules for buffer storage are tested by freely setting the data management rules.

次に本発明について図面を参照して説明する。Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図であって、
1は計算機システム、2は入出力制御装置、3は入出力
制御装置2によって制御される入出力装置である。入出
力制御装置2内において、2工は指令解析部−22はデ
ータ転送部、23は入出力装置制御部、24は緩衝記憶
制御部、25は**記憶部である。
FIG. 1 is a block diagram showing an embodiment of the present invention,
1 is a computer system, 2 is an input/output control device, and 3 is an input/output device controlled by the input/output control device 2. In the input/output control device 2, 2 is a command analysis section, 22 is a data transfer section, 23 is an input/output device control section, 24 is a buffer storage control section, and 25 is a ** storage section.

第2図は緩衝記憶部25をある任意の大きさに分割した
領域(スロット)毎に「使用中状態」が「空き状態」か
を管理するフラグを有するスロット管理テーブル201
であり、MII記憶制御部24内にあるスロット管理テ
ーブル201のある時刻における管理状態を示したもの
である。
FIG. 2 shows a slot management table 201 that has a flag for managing whether the "in use state" is "free state" for each area (slot) obtained by dividing the buffer storage unit 25 into a certain arbitrary size.
This shows the management state of the slot management table 201 in the MII storage control unit 24 at a certain time.

さて、入出力制御袋!2は計算機システムlと入出力装
置3との間でデータを高速に転送する目的で入出力制御
装置2内にM衝記憶部25を具備している。すなわち計
算機システム1がらアクセスされる頻度が高いデータに
ついては該データをM衝記憶部25上で維持管理してお
り、必要に応じてデータの更新等も緩衝記憶部25上で
行っている0M衝記憶制御部24上では計算機システム
1と入出力装置3との間のデータ転送ができるだけ効率
よく行われるように、**記憶部25と出力装置3との
どちらでデータを保持しておくがを決めるデータ管理規
則に基づいたデータの管理がなされている。
Now, the input/output control bag! 2 is provided with an M storage section 25 within the input/output control device 2 for the purpose of transferring data between the computer system 1 and the input/output device 3 at high speed. In other words, data that is frequently accessed in the computer system 1 is maintained and managed on the M memory section 25, and data is updated as needed on the buffer memory section 25. On the storage control unit 24, in order to transfer data between the computer system 1 and the input/output device 3 as efficiently as possible, data should be held in either the storage unit 25 or the output device 3. Data is managed based on established data management rules.

計算機システム1からのデータ転送要求は指令解析部2
1によって認識される。指令解析部21は緩衝記憶制御
部24に計算機システム1に指定されたデータの転送要
求を行う、1!衝記憶制御部24は転送すべきデータが
緩衝記憶部25に存在すれば、緩衝記憶部25から直接
データ転送部22を介して計算機システム1にデータ転
送を行うし、転送すべきデータが緩衝記憶部25に存在
しないときは入出力装置制御部23を駆動して入出力装
置3からデータを取り出しデータ転送部22を介して計
算機システム1にデータ転送を行う。
Data transfer requests from the computer system 1 are sent to the command analysis unit 2.
Recognized by 1. The command analysis unit 21 requests the buffer storage control unit 24 to transfer the data specified to the computer system 1, 1! If the data to be transferred exists in the buffer memory 25, the storage control unit 24 directly transfers the data from the buffer memory 25 to the computer system 1 via the data transfer unit 22, and the data to be transferred is transferred to the buffer memory 25. When the data does not exist in the input/output device 25, the input/output device control unit 23 is driven to retrieve data from the input/output device 3 and transfer the data to the computer system 1 via the data transfer unit 22.

従って、計算機システム1からのデータ転送要求時でき
るだけ**記憶部25から直接データを転送できれば、
計算機システム、lに高速に応答ができるわけであり、
そのため計算機システム1からデータを格納する指令が
あったとき、できるだけ緩衝記憶部25上にデータを保
持するためのデータ管理規則が採用されている。
Therefore, if data can be transferred directly from the storage unit 25 as much as possible when requesting data transfer from the computer system 1,
This means that the computer system can respond quickly to l.
Therefore, when there is a command to store data from the computer system 1, a data management rule is adopted to hold the data in the buffer storage section 25 as much as possible.

次に、本発明であるこのデータ管理規則に基づいたデー
タ管理動作が正しく行われているかを試験する方法につ
いて説明する。緩衝記憶制御部24は緩衝記憶部25を
スロット毎に分割し、各スロットの使用状況すなわち「
使用中」及び「空き状態」を表示しているスロット管理
テーブル201によって緩衝記憶部25の状態を認識し
、データ管理規則に基づいたデータ管理動作を行ってい
る。
Next, a method of testing whether data management operations based on the data management rules according to the present invention are being performed correctly will be described. The buffer storage control unit 24 divides the buffer storage unit 25 into slots, and records the usage status of each slot, that is, "
The status of the buffer storage section 25 is recognized by the slot management table 201 which displays "in use" and "vacant status", and data management operations are performed based on data management rules.

計算機システム1からのデータを緩衝記憶部25内に格
納しようとするとき、スロット管理テーブル201を参
照し、空きスロットがあれば該スロットにデータを格納
するが、空きスロットが無いときにはI/lI!F記憶
部25上から不要になったスロットを1つ入出力装置3
に追い出して新たなデータを格納する。
When attempting to store data from the computer system 1 in the buffer storage unit 25, the slot management table 201 is referred to, and if there is an empty slot, the data is stored in that slot, but if there is no empty slot, I/lI! One unnecessary slot from the F storage unit 25 is inserted into the input/output device 3.
to store new data.

この種の機能を試験する場合、緩衝記憶部25を全て空
きスロットに設定した後、最後の段階で不要スロットと
して追い出されることになるデータを緩衝記憶部25上
に格納するための指令を入出力制御装置2に与える0次
に、新しく入出力制御装置2に備えられた緩衝記憶部2
5の「使用中状Bjのスロット数を変化させる指令を入
出力制御装置2に与える0本指令は指令解析部21によ
って解析された後、緩衝記憶制御部24に対してスロッ
ト管理テーブル201の変更指示が通知される。
When testing this kind of function, after setting all the buffer storage units 25 to empty slots, input/output a command to store data in the buffer storage unit 25 that will be evicted as unnecessary slots at the final stage. Next, the buffer storage section 2 newly provided in the input/output control device 2 is given to the control device 2.
5. The 0 command that gives a command to the input/output control device 2 to change the number of slots of the in-use Bj is analyzed by the command analysis unit 21, and then sent to the buffer storage control unit 24 to change the slot management table 201. Instructions will be communicated.

緩衝記憶制御部24はスロ・ット管理テーブル201の
内容を計算機システム1からの指令で指定されている数
だけ「空き状FliJから[使用中状Bjの表示に変更
する。従って、入出力制御装置2に与えた[使用中状態
」のスロット数を変化させる指令において、緩衝記憶部
25に空きスロットが無くなるような数を指定しておけ
ば、前記の指令によって緩衝記憶部25はみかけ上空き
領域が無い状態に設定されるわけである。ここで、再度
入出力制御装置2に新たなデータを緩衝記憶部25上に
格納するための指令を与え、このとき最初緩衝記憶部2
5上に格納したデータと最後に格納要求を出したデータ
とが入れ代わることの確認をとるという方法でデータ管
理規則を確認することができる。
The buffer storage control unit 24 changes the contents of the slot management table 201 from "empty FliJ" to "used Bj" by the number of slots specified by the command from the computer system 1. Therefore, input/output control is performed. In the command given to the device 2 to change the number of slots in the [in-use state], if a number is specified so that there are no empty slots in the buffer storage unit 25, the buffer storage unit 25 will appear to be empty due to the above command. This means that the area is set to be empty. Here, a command is again given to the input/output control device 2 to store new data on the buffer storage section 25, and at this time, the first buffer storage section 25
The data management rules can be confirmed by confirming that the data stored on 5 has been replaced with the data for which the last storage request was made.

魚涯しと丸1 以上説明したように本発明によれば、緩衝記憶領域の「
使用中状態」にある容量を自由に変更できる指令を入出
力制御装置に具備することにより、緩衝記憶領域におけ
るデータ管理規則を試験するのに当り、実際の入出力動
作によって**記憶領域の「使用中状態」の容量を変化
させなくても、Mfm記憶領域の「使用中状態」にある
容量を自由に変更できる指令を入出力制御装置に与える
ことにより、データ管理規則の機能を容易にtl、@で
きるという効果がある。
As explained above, according to the present invention, the buffer storage area "
By equipping the input/output control device with a command that can freely change the capacity that is in the "in use state", when testing data management rules in the buffer storage area, it is possible to By giving commands to the input/output control device that can freely change the capacity of the Mfm storage area in the "in use state" without changing the capacity in the "in use state", the functions of data management rules can be easily implemented. , @ has the effect of being able to do it.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例のブロック図、第2図はスロッ
ト管理テーブルの例を示す図である。 主要部分の符号の説明
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a diagram showing an example of a slot management table. Explanation of symbols of main parts

Claims (1)

【特許請求の範囲】[Claims] (1)データの格納あるいは放出の単位となる所定大き
さの領域を複数有する緩衝記憶におけるデータ管理規則
を試験する試験方式であって、前記領域の各々に対応し
て設けられ、対応領域が空き状態か使用状態かを示すフ
ラグを有する管理テーブルと、前記管理テーブルの各フ
ラグを任意に設定自在な手段とを設け、前記管理テーブ
ルのフラグの使用状態にある数を自在に設定して、緩衝
記憶のデータ管理規則の試験をなすようにしたことを特
徴とする試験方式。
(1) A test method for testing data management rules in a buffer memory that has multiple areas of a predetermined size that serve as units of data storage or release, in which a corresponding area is provided corresponding to each of the areas, and the corresponding area is free. A management table having a flag indicating whether it is in use or in use is provided, and a means for freely setting each flag in the management table is provided, and the number of flags in the management table in the use state is freely set, and buffering is achieved. A test method characterized by testing memory data management rules.
JP63182690A 1988-07-21 1988-07-21 Test system for data control rule of buffer memory Pending JPH0231225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63182690A JPH0231225A (en) 1988-07-21 1988-07-21 Test system for data control rule of buffer memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63182690A JPH0231225A (en) 1988-07-21 1988-07-21 Test system for data control rule of buffer memory

Publications (1)

Publication Number Publication Date
JPH0231225A true JPH0231225A (en) 1990-02-01

Family

ID=16122731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63182690A Pending JPH0231225A (en) 1988-07-21 1988-07-21 Test system for data control rule of buffer memory

Country Status (1)

Country Link
JP (1) JPH0231225A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6701461B2 (en) 1998-07-01 2004-03-02 Fujitsu Limited Method and apparatus for testing a cache
JP2019086846A (en) * 2017-11-01 2019-06-06 富士通株式会社 Test control program, test control device and test control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6701461B2 (en) 1998-07-01 2004-03-02 Fujitsu Limited Method and apparatus for testing a cache
JP2019086846A (en) * 2017-11-01 2019-06-06 富士通株式会社 Test control program, test control device and test control method

Similar Documents

Publication Publication Date Title
US6564271B2 (en) Method and apparatus for automatically transferring I/O blocks between a host system and a host adapter
US5337410A (en) Data stream concentrator providing attribute data storage and graphics pipeline access
JPH02227763A (en) Data transfer control system
JPH10500503A (en) Data buffer monitoring device for disk drive system
US20070028066A1 (en) Method for controlling storage device controller, storage device controller, and program
JPH0231225A (en) Test system for data control rule of buffer memory
JPH0784562A (en) Device for storing image
JPH01315880A (en) Image data processor and operation thereof
US6633928B2 (en) Fast process context switching buffer
JPH05165761A (en) Dma controller
JP2000357011A (en) Distributed plant monitoring device
JPH0329041A (en) Decentralized paging control system
JPS5985561A (en) File controller
JPH05173933A (en) Direct memory access transfer system
JPS6229831B2 (en)
JPS6327936A (en) File management method
JPH04148247A (en) Automatic file optimization processing system for random-accessible storage device
JPS6368960A (en) Sequential access controller for shared storage medium
JPH09326832A (en) Common use buffer device and its control method
JPH03246741A (en) Synchronous controller
JPS6019023B2 (en) data processing equipment
JPH0387941A (en) Decentralized data base processing system
JPH02114294A (en) Graphic display device
JPS6349952A (en) Memory control system
JPH05324433A (en) Data base input control system