JPH08123722A - Method and device for controlling storage in information processing system - Google Patents

Method and device for controlling storage in information processing system

Info

Publication number
JPH08123722A
JPH08123722A JP6260720A JP26072094A JPH08123722A JP H08123722 A JPH08123722 A JP H08123722A JP 6260720 A JP6260720 A JP 6260720A JP 26072094 A JP26072094 A JP 26072094A JP H08123722 A JPH08123722 A JP H08123722A
Authority
JP
Japan
Prior art keywords
data
write
storage
storage device
external device
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.)
Granted
Application number
JP6260720A
Other languages
Japanese (ja)
Other versions
JP3260566B2 (en
Inventor
Masatoshi Sugino
正敏 杉野
Yukihiko Kitano
之彦 北野
Naozumi Aoki
直純 青木
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP26072094A priority Critical patent/JP3260566B2/en
Publication of JPH08123722A publication Critical patent/JPH08123722A/en
Application granted granted Critical
Publication of JP3260566B2 publication Critical patent/JP3260566B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE: To suppress a deterioration of storing performance and to improve processing speed by executing a store request from an external device without uselessly waiting the request with respect to storage controlling method and device in an information processing system provided with a store-in system buffer storage for speeding up data access. CONSTITUTION: When a data part for a storage device 11 which is a write request object is stored in a buffer storage 13 at the time of receiving a write request to the storage device 11 from an external device 14, write data following the write request from the device 14 are written in the storage device 11 in parallel with the issue of a move-out request for reading out the data part concerned from the buffer storage 13 and writing it in the storage device 11 to the buffer storage 13.

Description

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

【0001】(目次) 産業上の利用分野 従来の技術(図12〜図14) 発明が解決しようとする課題(図12〜図14) 課題を解決するための手段(図1) 作用(図1) 実施例(図2〜図11) 発明の効果(Table of Contents) Industrial Application Conventional Technology (FIGS. 12 to 14) Problem to be Solved by the Invention (FIGS. 12 to 14) Means for Solving the Problem (FIG. 1) Operation (FIG. 1) ) Example (FIGS. 2-11) Effect of the invention

【0002】[0002]

【産業上の利用分野】本発明は、データアクセスの高速
化を目的としてストアイン方式のバッファストレイジを
そなえた情報処理システムにおいて用いられる記憶制御
方法および記憶制御装置に関し、特に、外部装置からの
ストア要求(書込要求)に対応した書込制御について改
善をはかった方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage control method and a storage control device used in an information processing system having a store-in type buffer storage for the purpose of speeding up data access, and more particularly to a store from an external device. The present invention relates to a method and an apparatus for improving write control corresponding to a request (write request).

【0003】[0003]

【従来の技術】近年の情報処理システムでは、高速化の
要求に伴い、図12に示すように、処理装置(CPU)
1と記憶装置(MSU)5との間にバッファストレイジ
10を装備することが一般的になっている。つまり、処
理装置1が使用する記憶装置5内のデータのうち使用頻
度の高いと判断される一部のデータをバッファストレイ
ジと呼ばれる高速かつ小容量のメモリに格納することに
より、処理装置1からの実効的なアクセス時間を短縮し
て、情報処理システム全体の性能を向上させている。な
お、図12では、バッファストレイジ10が処理装置1
内にそなえられている場合が図示されるとともに、後述
するごとく特に外部装置3から記憶装置5に対してスト
ア要求(書込要求)を行なう信号系が図示されている。
2. Description of the Related Art In recent information processing systems, as shown in FIG.
It has become common to equip a buffer storage 10 between a storage device 1 and a storage device (MSU) 5. That is, by storing a part of the data in the storage device 5 used by the processing device 1 that is determined to be used frequently in a high-speed and small-capacity memory called buffer storage, The effective access time is shortened and the performance of the entire information processing system is improved. In addition, in FIG. 12, the buffer storage 10 is the processing device 1.
In addition to the case where it is provided inside, a signal system for making a store request (write request) from the external device 3 to the storage device 5 is illustrated as will be described later.

【0004】一般に、バッファストレイジ10では、内
部をブロックと呼ばれる数十から数百バイトの単位に区
切り、記憶装置5のデータとの対応づけをブロック単位
で行なっている。そして、バッファストレイジ10に
は、ブロックに分割されたデータを保持するデータ部1
0aと、タグ部(TAG1)10bとがそなえられてい
る。タグ部10bは、データ部10aにおける各ブロッ
クに1対1に対応したエントリを格納するメモリで、こ
のタグ部10bの各エントリの中に、対応するブロック
の記憶装置5上のアドレスを格納している。
Generally, in the buffer storage 10, the inside is divided into units of several tens to several hundreds of bytes called blocks, and the correspondence with the data in the storage device 5 is performed in units of blocks. The buffer storage 10 has a data section 1 that holds data divided into blocks.
0a and a tag portion (TAG1) 10b are provided. The tag unit 10b is a memory that stores an entry corresponding to each block in the data unit 10a on a one-to-one basis. The address of the corresponding block in the storage device 5 is stored in each entry of the tag unit 10b. There is.

【0005】処理装置1でデータ要求が発生すると、ま
ずバッファストレイジ10のタグ部10bを参照し、要
求されたデータのアドレスがタグ部10bのいずれかの
エントリに格納されていれば、要求されたデータがバッ
ファストレイジ(データ部)1aに存在すると判断し
て、対応するブロック内のデータを処理装置1へ送出す
る。もし、要求されたデータのアドレスがタグ部10b
に格納されていなければ、そのデータが存在しないと判
断して、要求されたデータを記憶装置5からバッファス
トレイジ10にムーブインする。
When a data request is generated in the processor 1, first, the tag unit 10b of the buffer storage 10 is referred to. If the address of the requested data is stored in any entry of the tag unit 10b, the request is made. When it is determined that the data exists in the buffer storage (data section) 1a, the data in the corresponding block is sent to the processing device 1. If the requested data address is the tag portion 10b
If not stored, the requested data is determined to be absent and the requested data is moved from the storage device 5 to the buffer storage 10.

【0006】なお、図12において、2はチャネル処理
装置(CHP)、3は外部装置(チャネル装置;C
H)、4は記憶制御装置(MCU)で、チャネル処理装
置2は、外部装置3を接続されるとともに、記憶制御装
置4を介して記憶装置5に接続され、外部装置3から記
憶装置5に対するフェッチ(読出)/ストア要求を受け
た場合に、記憶制御装置4に対してその要求を発行する
ようになっている。
In FIG. 12, 2 is a channel processor (CHP), 3 is an external device (channel device; C).
H) and 4 are storage control units (MCU), the channel processing device 2 is connected to the external device 3 and is also connected to the storage device 5 via the storage control device 4, and the external device 3 is connected to the storage device 5. When a fetch (read) / store request is received, the request is issued to the storage controller 4.

【0007】記憶制御装置4は、処理装置1やチャネル
処理装置2と記憶装置5との間のデータのやり取りを制
御するもので、タグ複写部(TAG2)4a,セレクタ
4bおよび書込制御回路4cを有して構成されている。
ここで、タグ複写部4aは、バッファストレイジ10に
おけるタグ部10bの写しを保持するものであり、セレ
クタ4bは、処理装置1からのストアデータと外部装置
3(チャネル処理装置2)からのストアデータとのいず
れか一方を選択して記憶装置5へ出力するものである。
The storage control device 4 controls the exchange of data between the storage device 5 and the processing device 1 or the channel processing device 2, and includes a tag copying section (TAG2) 4a, a selector 4b and a write control circuit 4c. Is configured.
Here, the tag copying unit 4a holds a copy of the tag unit 10b in the buffer storage 10, and the selector 4b stores the store data from the processing device 1 and the store data from the external device 3 (channel processing device 2). One of the two is selected and output to the storage device 5.

【0008】また、書込制御回路4cは、外部装置3か
ら記憶装置5に対する書込(ストア)を制御するための
もので、セレクタ4bによるデータ選択状態を切換制御
したり、ストアデータのサイズに応じて後述するような
書込抑止信号を記憶装置5に対して出力したりする機能
のほか、ストアアドレスがタグ複写部4aに存在した場
合(ヒット)に、処理装置1に対してバッファストレイ
ジ10におけるデータのムーブアウト要求を発行する機
能も有している。
Further, the write control circuit 4c is for controlling writing (store) from the external device 3 to the storage device 5, and controls switching of the data selection state by the selector 4b and sets the size of the store data. Accordingly, in addition to the function of outputting a write inhibit signal to the storage device 5 as described later, when the store address is present in the tag copying unit 4a (hit), the buffer storage 10 is transmitted to the processing device 1. It also has a function to issue a move out request for data in.

【0009】ところで、処理装置1における半導体の高
速化に比べ記憶素子の高速化は進んでおらず、記憶素子
の開発については高速化よりも大容量化の方向へ進んで
いる。このため、処理装置1による書込動作を、バッフ
ァストレイジ10のみならず、毎回、記憶装置5に対し
ても行なうストアスルー方式を適用した場合、記憶装置
5と処理装置1との間の処理速度差をフェッチでしか吸
収できず問題になってきている。従って、近年、処理装
置1による書込動作をバッファストレイジ10で完了す
るストアイン方式を適用する場合が多くなっている。
By the way, the speeding up of the memory element has not progressed as compared with the speeding up of the semiconductor in the processing apparatus 1, and the development of the memory element is progressing toward the capacity increase rather than the speed up. Therefore, when the store-through method in which the writing operation by the processing device 1 is performed not only on the buffer storage 10 but also on the storage device 5 each time is applied, the processing speed between the storage device 5 and the processing device 1 is increased. The difference can be absorbed only by fetching, which is becoming a problem. Therefore, in recent years, the store-in method in which the writing operation by the processing device 1 is completed by the buffer storage 10 is often applied.

【0010】このようなストアイン方式のバッファスト
レイジ10では、最新のデータが記憶装置5上に存在せ
ずバッファストレイジ10に存在することがあるため、
バッファストレイジ10内の最新のデータをバッファス
トレイジ10から記憶装置5へ読み出すムーブアウト処
理を行なった後でなければ、記憶装置5に対して処理を
行なうことができない。
In such a store-in type buffer storage 10, since the latest data may not exist in the storage device 5 but may exist in the buffer storage 10.
The storage device 5 can be processed only after the move-out process of reading the latest data in the buffer storage 10 from the buffer storage 10 to the storage device 5.

【0011】ストアイン方式のバッファストレイジ10
を使用した場合、バッファストレイジ10と記憶装置5
との間のデータのやり取りはバッファストレイジ10の
ブロックサイズで行なわれることが多いため、記憶装置
5の物量削減のために、記憶装置5のフェッチ/ストア
もこのブロックサイズで行なわれることが多い。しか
し、外部装置3のようにバッファストレイジ10をもた
ない装置からのフェッチ/ストア要求は、ブロックサイ
ズで要求される訳ではないので、ブロックサイズよりも
少ないデータ量のフェッチ/ストアも処理できるように
制御する必要がある。
Store-in type buffer storage 10
Buffer storage 10 and storage device 5
Data is often exchanged with the block size of the buffer storage 10. Therefore, in order to reduce the physical quantity of the storage device 5, fetch / store of the storage device 5 is also often performed with this block size. However, since a fetch / store request from a device that does not have the buffer storage 10 such as the external device 3 is not required by the block size, it is possible to process a fetch / store of a data amount smaller than the block size. Need to control.

【0012】記憶装置5からブロックサイズ分のデータ
をフェッチする場合には、必要なデータだけをフェッチ
して要求装置に転送すればよいが、ブロックサイズより
も少ないデータを記憶装置5にストアするためには、ス
トア要求されたデータ分のストアを行なった後、記憶制
御装置4の書込制御回路4cから記憶装置5に書込抑止
信号を送って、ブロックサイズの残りのデータが記憶装
置5にストアされるのを抑止している。
When fetching the data of the block size from the storage device 5, only the necessary data needs to be fetched and transferred to the request device, but since the data smaller than the block size is stored in the storage device 5. After storing the requested data, the write control circuit 4c of the storage control device 4 sends a write inhibit signal to the storage device 5, and the remaining data of the block size is stored in the storage device 5. Suppressed from being stored.

【0013】また、ストアイン方式のバッファストレイ
ジ10では、前述したように最新データがバッファスト
レイジ10に保持されている場合があるので、記憶装置
5にストアを行なう前に、バッファストレイジ10内の
データを記憶装置5にムーブアウトした後に、記憶装置
5に対してストアを行なう必要がある。このような動作
を制御する記憶制御装置4の処理動作について図13
(フローチャート)および図14(タイムチャート)に
より説明する。
Further, in the store-in type buffer storage 10, since the latest data may be held in the buffer storage 10 as described above, the data in the buffer storage 10 should be stored before the storage in the storage device 5. After moving out to the storage device 5, it is necessary to store in the storage device 5. Regarding the processing operation of the storage control device 4 for controlling such operation, FIG.
(Flowchart) and FIG. 14 (Time chart).

【0014】ここでは、前述したブロックサイズが64
バイトであり、チャネル処理装置2(外部装置3)から
記憶制御装置4に対して32バイト分のデータのストア
要求があった場合(図13のステップA1,図14のタ
イミングT1参照)について説明する。まず、チャネル
処理装置2からのストアアドレス(タグ)のプライオリ
ティが選択され(図14のタイミングT2参照)、タグ
複写部4aに保持されるタグの中にそのストアアドレス
と一致するものが存在した場合(TAG2ヒット;図1
3のステップA2でYES判定の場合,図14のタイミ
ングT3参照)、バッファストレイジ10におけるデー
タのムーブアウト要求を記憶制御装置4から処理装置1
に対して発行する(図13のステップA3,図14のタ
イミングT4参照)。
In this case, the block size is 64.
This is a byte, and a case will be described in which the channel processing device 2 (external device 3) requests the storage control device 4 to store 32 bytes of data (see step A1 in FIG. 13 and timing T1 in FIG. 14). . First, when the priority of the store address (tag) from the channel processing device 2 is selected (see timing T2 in FIG. 14) and there is a tag that matches the store address among the tags held in the tag copying unit 4a. (TAG2 hit; Figure 1
If YES is determined in step A2 of 3), refer to timing T3 in FIG. 14), and a data moveout request in the buffer storage 10 is issued from the storage control device 4 to the processing device 1.
(See step A3 in FIG. 13 and timing T4 in FIG. 14).

【0015】書込制御回路4cからのムーブアウト要求
に応じて、バッファストレイジ10のタグ部10bにお
ける対応アドレスの更新フラグCを参照し、この更新フ
ラグCが有効でデータ部10aに最新のデータが格納さ
れていると判断された場合には、ムーブアウト要求を処
理装置1から記憶制御装置4に対して発行する(図14
のタイミングT5参照)。なお、更新フラグCが無効で
データ部10aに最新のデータが格納されていない場合
には、ムーブアウトが無いことを示す要求を処理装置1
から記憶制御装置4に対して発行する。
In response to the move-out request from the write control circuit 4c, the update flag C of the corresponding address in the tag section 10b of the buffer storage 10 is referred to, the update flag C is valid, and the latest data is stored in the data section 10a. If it is determined that the data is stored, a moveout request is issued from the processing device 1 to the storage control device 4 (FIG. 14).
Timing T5). If the update flag C is invalid and the latest data is not stored in the data section 10a, a request indicating that there is no move out is issued to the processing device 1.
Issued to the storage controller 4.

【0016】この処理装置1からのムーブアウト要求に
応じてバッファストレイジ10からムーブアウトされる
データのアドレス(タグ)のプライオリティが選択され
ると(図14のタイミングT6参照)、ムーブアウトデ
ータのストア要求を記憶制御装置4から記憶装置5に対
して発行し(図14のタイミングT7参照)、記憶装置
5内でムーブアウトデータのストアを実行する(図13
のステップA4,図14のタイミングT8参照)。
When the priority of the address (tag) of the data to be moved out from the buffer storage 10 is selected in response to the move out request from the processing device 1 (see timing T6 in FIG. 14), the move out data is stored. A request is issued from the storage control device 4 to the storage device 5 (see timing T7 in FIG. 14), and moveout data is stored in the storage device 5 (FIG. 13).
Step A4, timing T8 in FIG. 14).

【0017】処理装置1からのムーブアウトデータを記
憶装置5内にストアし終えると、チャネル処理装置2か
らのストアアドレス(タグ)のプライオリティが、スト
アデータを記憶装置5にストアするために再度選択され
(図14のタイミングT9参照)、32バイト分のデー
タのストア要求を、記憶制御装置4から記憶装置5に対
して発行し(図14のタイミングT10参照)、記憶装
置5内で32バイト分のデータのストアを実行する(図
13のステップA5,図14のタイミングT11参
照)。
When the move-out data from the processing device 1 is completely stored in the storage device 5, the priority of the store address (tag) from the channel processing device 2 is selected again to store the store data in the storage device 5. (See timing T9 in FIG. 14), a storage request for 32 bytes of data is issued from the storage control device 4 to the storage device 5 (see timing T10 in FIG. 14), and 32 bytes of data are stored in the storage device 5. Data is stored (see step A5 in FIG. 13 and timing T11 in FIG. 14).

【0018】このとき、ブロックサイズが64バイトで
あるのに対してストアデータのサイズが32バイトであ
るので、前述したように、32バイト分のデータのスト
アを行なった後、書込制御回路4cから記憶装置5に書
込抑止信号を送って、ブロックサイズの残りの32バイ
ト分のデータが記憶装置5にストアされるのを抑止して
いる。
At this time, since the block size is 64 bytes and the size of the store data is 32 bytes, as described above, after the data of 32 bytes is stored, the write control circuit 4c. Sends a write inhibit signal to the storage device 5 to inhibit the remaining 32 bytes of data of the block size from being stored in the storage device 5.

【0019】このようにして、32バイト分のデータを
記憶装置5にストアし終えると、記憶制御装置4からチ
ャネル処理装置2へストア完了通知を発行して送信する
(図13のステップA6,図14のタイミングT12参
照)。なお、処理装置1から記憶制御装置4に対して、
ムーブアウトが無いことを示す要求が発行された場合に
は、図14のタイミングT5の次にタイミングT9(チ
ャネル処理装置2からのストアアドレスのプライオリテ
ィ選択)に移行し、上述と同様の処理を行なう。
When 32 bytes of data have been stored in the storage device 5 in this way, a storage completion notification is issued from the storage control device 4 to the channel processing device 2 and transmitted (step A6 in FIG. 13; FIG. 14 timing T12). In addition, from the processing device 1 to the storage control device 4,
When a request indicating that there is no move-out is issued, the timing T5 of FIG. 14 is followed by the timing T9 (priority selection of the store address from the channel processing device 2), and the same processing as described above is performed. .

【0020】また、タグ複写部4aに保持されるタグの
中にそのストアアドレスと一致するものが存在しない場
合(TAG2ミスヒット;図13のステップA2でNO
判定の場合)には、直ちに図13のステップA5に移行
し、32バイト分のデータのストア要求を、記憶制御装
置4から記憶装置5に対して発行し、記憶装置5内で3
2バイト分のデータのストアを実行する。このときも、
32バイト分のストアデータ以外の部分については、書
込抑止信号を記憶装置5に送ることにより、書込を抑止
している。
When there is no tag that matches the store address among the tags held in the tag copying section 4a (TAG2 mishit; NO at step A2 in FIG. 13).
13), the process immediately proceeds to step A5 in FIG. 13, and a storage request for 32 bytes of data is issued from the storage control device 4 to the storage device 5, and the storage device 5 executes 3 requests.
Stores 2 bytes of data. Again,
With respect to portions other than the 32 bytes of store data, writing is inhibited by sending a write inhibition signal to the storage device 5.

【0021】[0021]

【発明が解決しようとする課題】図12〜図14により
上述した従来の記憶制御手順(ストア制御手順)では、
外部装置3からのストア処理の完了時間は、タイミング
T4〜T8でバッファストレイジ10から記憶装置5に
対するムーブアウト処理を行なってから、タイミングT
9〜T11で外部装置3からのストアデータを記憶装置
5にストアするため、ストアスルー方式を採用する場合
よりもストアイン方式を採用する方が書込処理に時間を
要する場合があり、外部装置3からの書込性能が大きく
低下するなどの課題があった。
In the conventional storage control procedure (store control procedure) described above with reference to FIGS.
The completion time of the store processing from the external device 3 is the timing T4 to T8 after the move out processing from the buffer storage 10 to the storage device 5 is performed.
Since the store data from the external device 3 is stored in the storage device 5 at 9 to T11, it may take longer to write the data in the store-in method than in the store-through method. However, there was a problem that the writing performance from No. 3 was greatly reduced.

【0022】本発明は、このような課題に鑑み創案され
たもので、ストアイン方式のバッファストレイジをそな
える場合に、外部装置からの書込要求を無駄に待機させ
ることなく実行できるようにして、外部装置からの書込
性能の低下を抑止し処理速度の向上をはかった、情報処
理システムにおける記憶制御方法および記憶制御装置を
提供することを目的とする。
The present invention has been devised in view of the above problems, and when a store-in type buffer storage is provided, a write request from an external device can be executed without wasteful waiting. It is an object of the present invention to provide a storage control method and a storage control device in an information processing system that suppresses a decrease in writing performance from an external device and improves processing speed.

【0023】[0023]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図で、この図1において、11はデータを記憶する
記憶装置、12は記憶装置11のデータに基づいて動作
する処理装置、13はバッファストレイジで、このバッ
ファストレイジ13は、処理装置12が使用しうる記憶
装置11のデータの一部の写しを保持するデータ部13
aと、このデータ部13aに保持されるデータのアドレ
スを含むタグ情報を保持するタグ部13bとから構成さ
れている。
FIG. 1 is a block diagram of the principle of the present invention. In FIG. 1, 11 is a storage device that stores data, 12 is a processing device that operates based on the data of the storage device 11, and 13 Is a buffer storage, and the buffer storage 13 holds a copy of a part of the data in the storage device 11 that the processing device 12 can use.
a and a tag unit 13b that holds tag information including the address of the data held in the data unit 13a.

【0024】また、14は本発明の情報処理システムに
接続される外部装置、15は記憶装置11とバッファス
トレイジ13および外部装置14との間のデータ転送を
ストアイン方式で制御する記憶制御装置である。この記
憶制御装置15には、タグ複写部16,ムーブアウト要
求発行部17および書込制御部18がそなえられてい
る。
Further, 14 is an external device connected to the information processing system of the present invention, and 15 is a storage control device for controlling data transfer between the storage device 11 and the buffer storage 13 and the external device 14 by a store-in method. is there. The storage control device 15 includes a tag copying unit 16, a moveout request issuing unit 17, and a writing control unit 18.

【0025】ここで、タグ複写部16は、バッファスト
レイジ13のタグ部13bの一部または全部の写しを保
持するものであり、ムーブアウト要求発行部17は、バ
ッファストレイジ13のデータ部13aにおけるデータ
を読み出して記憶装置11に書き込むためのムーブアウ
ト要求を、バッファストレイジ13に対して発行するも
のであり、書込制御部18は、記憶装置11へのデータ
の書込を制御するものである。
Here, the tag copying unit 16 holds a copy of part or all of the tag unit 13b of the buffer storage 13. The move-out request issuing unit 17 stores the data in the data unit 13a of the buffer storage 13. Is issued to the buffer storage 13 for reading out and writing to the storage device 11, and the write control unit 18 controls writing of data to the storage device 11.

【0026】そして、本発明においては、外部装置14
から記憶装置11に対する書込要求を受けた時点でその
書込要求の対象となるデータのアドレスを含むタグ情報
がタグ複写部16に保持されている場合、ムーブアウト
要求発行部17が、当該タグ情報に対応するデータ部分
をバッファストレイジ13から読み出して記憶装置11
に書き込むためのムーブアウト要求を、バッファストレ
イジ13に対して発行するのと並行して、書込制御部1
8が、外部装置14からの書込要求に伴う書込データを
記憶装置11に書き込むようになっている(請求項1,
9)。
In the present invention, the external device 14
When the tag copying unit 16 holds the tag information including the address of the data that is the target of the write request at the time of receiving the write request from the storage device 11 by the move-out request issuing unit 17, The data portion corresponding to the information is read from the buffer storage 13 and stored in the storage device 11.
In parallel with issuing the moveout request for writing to the buffer storage 13,
8 writes the write data accompanying the write request from the external device 14 into the storage device 11 (claim 1,
9).

【0027】なお、記憶装置11,処理装置12および
バッファストレイジ13の相互間の読出処理/書込処理
を予め定められた特定ブロック長のデータブロック単位
で行なう場合に、外部装置14からの書込要求に伴う書
込データのデータ長が特定ブロック長よりも短い時に
は、書込制御部18が、外部装置14からの書込データ
のみを記憶装置11に書き込むとともに、ムーブアウト
要求発行部17により発行されたムーブアウト要求に応
じてバッファストレイジ13から読み出されたムーブア
ウトデータのうち、外部装置14からの書込データ以外
の部分のみを記憶装置11に書き込むようにする(請求
項2,10)。
When the read / write processing among the storage device 11, the processing device 12 and the buffer storage 13 is performed in data block units of a predetermined specific block length, writing from the external device 14 is performed. When the data length of the write data accompanying the request is shorter than the specific block length, the write control unit 18 writes only the write data from the external device 14 to the storage device 11 and is issued by the moveout request issuing unit 17. Of the move-out data read from the buffer storage 13 in response to the generated move-out request, only the part other than the write data from the external device 14 is written to the storage device 11 (claims 2 and 10). .

【0028】また、外部装置14からの書込要求に応じ
てムーブアウト要求発行部17によりムーブアウト要求
が発行された場合にその旨を示す情報を設定される情報
設定部と、記憶装置11へのデータの書込を抑止するた
めの書込抑止信号を記憶装置11に対して出力する書込
抑止指示部とをそなえてもよい。このとき、書込制御部
18が外部装置14からの書込データを特定ブロック長
のデータブロック単位で記憶装置11に書き込む際に
は、書込抑止指示部が、記憶装置11に対して書込抑止
信号を出力し、特定ブロック長のデータブロックのうち
外部装置14からの書込データ以外の部分が記憶装置1
1に書き込まれるのを抑止する。そして、書込制御部1
8がバッファストレイジ13からのムーブアウトデータ
を記憶装置11に書き込む際には、当該ムーブアウトデ
ータが外部装置14からの書込要求に応じたものである
旨が情報設定部に設定されている場合、書込抑止指示部
が、記憶装置11に対して書込抑止信号を出力し、前記
特定ブロック長のムーブアウトデータのうち外部装置1
4からの書込データに対応する部分が記憶装置11に書
き込まれるのを抑止する(請求項3,11)。
Further, when the move-out request issuing unit 17 issues a move-out request in response to a write request from the external device 14, an information setting unit for setting information indicating that fact is sent to the storage unit 11. May be provided with a write inhibition instruction unit for outputting to the storage device 11 a write inhibition signal for inhibiting writing of the data. At this time, when the write control unit 18 writes the write data from the external device 14 to the storage device 11 in data block units of a specific block length, the write inhibition instruction unit writes the write data to the storage device 11. The inhibition signal is output, and the portion of the data block of the specific block length other than the write data from the external device 14 is stored in the storage device 1.
Suppress writing to 1. Then, the write control unit 1
8 writes the move-out data from the buffer storage 13 to the storage device 11, when it is set in the information setting unit that the move-out data corresponds to the write request from the external device 14. The write inhibition instruction unit outputs a write inhibition signal to the storage device 11, and the external device 1 of the moveout data of the specific block length is output.
It is prevented that the portion corresponding to the write data from No. 4 is written in the storage device 11 (claims 3 and 11).

【0029】さらに、バッファストレイジ13からのム
ーブアウト順序を制御するムーブアウト順序制御部をそ
なえ、外部装置14からの書込データのデータ長が特定
ブロック長の半分である場合、ムーブアウト順序制御部
が、バッファストレイジ13からのムーブアウト順序を
制御し、外部装置14からの書込データを記憶装置11
に書き込む際の書込抑止指示部からの書込抑止信号の出
力タイミングと、バッファストレイジ13からのムーブ
アウトデータを記憶装置11に書き込む際の書込抑止指
示部からの書込抑止信号の出力タイミングとを同一にす
ることもできる(請求項4,12)。
Furthermore, a move-out sequence control unit for controlling the move-out sequence from the buffer storage 13 is provided, and when the data length of the write data from the external device 14 is half the specific block length, the move-out sequence control unit. Controls the order of move-out from the buffer storage 13 and transfers write data from the external device 14 to the storage device 11.
Output timing of the write inhibit signal from the write inhibit instruction section when writing to the memory and output timing of the write inhibit signal from the write inhibit instruction section when writing the moveout data from the buffer storage 13 to the storage device 11 And can be the same (claims 4 and 12).

【0030】また、バッファストレイジ13におけるム
ーブアウト対象データが更新されている場合のみバッフ
ァストレイジ13からのムーブアウトが行なわれるよう
に構成してもよい(請求項5,13)。この場合、バッ
ファストレイジ13からムーブアウトデータを受ける
と、書込制御部18が、外部装置14からの書込データ
部分と、バッファストレイジ13からのムーブアウトデ
ータのうち外部装置14からの書込データに対応しない
部分とを組み合わせて記憶装置11に書き込んでもよい
(請求項6,14)。また、バッファストレイジ13か
らのムーブアウトが行なわれなかった場合、書込抑止指
示部が、記憶装置11に対して書込抑止信号を出力して
特定ブロック長のデータブロックのうち外部装置14か
らの書込データ以外の部分が記憶装置11に書き込まれ
るのを抑止しながら、書込制御部18が、外部装置14
からの書込データを記憶装置11に書き込む(請求項
7,15)。
Further, the move-out from the buffer storage 13 may be performed only when the move-out target data in the buffer storage 13 is updated (claims 5 and 13). In this case, when the moveout data is received from the buffer storage 13, the write control unit 18 causes the write data portion from the external device 14 and the write data from the external device 14 out of the moveout data from the buffer storage 13. The data may be written in the storage device 11 in combination with a portion that does not correspond to the above (claims 6 and 14). Further, when the move out from the buffer storage 13 is not performed, the write inhibition instruction unit outputs a write inhibition signal to the storage device 11 to output the data block of the specific block length from the external device 14. The write control unit 18 controls the external device 14 while suppressing writing of a portion other than the write data in the storage device 11.
The write data from is written in the storage device 11 (claims 7 and 15).

【0031】一方、バッファストレイジ13におけるム
ーブアウト対象データの更新/未更新に係わらず、バッ
ファストレイジ13からのムーブアウトを行ない、書込
制御部18が、常に、外部装置14からの書込データ部
分と、バッファストレイジ13からのムーブアウトデー
タのうち外部装置14からの書込データに対応しない部
分とを組み合わせて記憶装置11に書き込むように構成
してもよい(請求項8,16)。
On the other hand, regardless of the update / unupdate of the move-out target data in the buffer storage 13, the move-out from the buffer storage 13 is performed, and the write control unit 18 always writes the write data portion from the external device 14. Alternatively, the move-out data from the buffer storage 13 and a portion that does not correspond to the write data from the external device 14 may be combined and written to the storage device 11 (claims 8 and 16).

【0032】[0032]

【作用】図1により上述した本発明の情報処理システム
における記憶制御装置15では、外部装置14から記憶
装置11に対する書込要求を受けた時点で、その書込要
求の対象となるデータのアドレスを含むタグ情報がタグ
複写部16に保持されている場合、つまり、書込要求対
象のデータ部分がバッファストレイジ13に保持されて
いる場合、ムーブアウト要求発行部17により、該当デ
ータ部分についてのムーブアウト要求がバッファストレ
イジ13に対して発行される。また、これに並行して、
書込制御部18により、外部装置14からの書込データ
が記憶装置11に書き込まれる。従って、外部装置14
からの書込要求を無駄に待機させることなく実行するこ
とができる(請求項1,9)。
In the storage controller 15 in the information processing system of the present invention described above with reference to FIG. 1, when a write request for the storage device 11 is received from the external device 14, the address of the data to be the write request is set. If the tag information including the tag information is held in the tag copying unit 16, that is, if the data portion of the write request target is held in the buffer storage 13, the move-out request issuing unit 17 moves the corresponding data portion out. The request is issued to the buffer storage 13. Also, in parallel with this,
The write control unit 18 writes the write data from the external device 14 into the storage device 11. Therefore, the external device 14
It is possible to execute the write request from the client without wasting the wait (claims 1 and 9).

【0033】なお、外部装置14から特定ブロック長よ
りも短いデータの書込が要求された時には、書込制御部
18により、外部装置14からの書込データのみが記憶
装置11に書き込まれるとともに、ムーブアウトデータ
のうち外部装置14からの書込データ以外の部分のみが
記憶装置1に書き込まれる。これにより、外部装置14
からの書込データを壊すことなくムーブアウトデータを
記憶装置11に書き込むことができる(請求項2,1
0)。
When the external device 14 requests writing of data shorter than the specific block length, the write control unit 18 writes only the write data from the external device 14 to the storage device 11, and Only the part of the move-out data other than the write data from the external device 14 is written in the storage device 1. Thereby, the external device 14
The move-out data can be written in the storage device 11 without destroying the write data from the storage device 11 (claims 2 and 1).
0).

【0034】このとき、書込抑止指示部から記憶装置1
1に対し書込抑止信号を出力して、特定ブロック長のデ
ータブロックのうち外部装置14からの書込データ以外
の部分の記憶装置11への書込を抑止することで、書込
制御部18により外部装置14からの書込データのみを
記憶装置11に書き込むことができる。また、情報設定
部を参照してムーブアウトデータが外部装置14からの
書込要求に応じたものであると判断した場合には、同様
に、書込抑止指示部から記憶装置11に対し書込抑止信
号を出力して、特定ブロック長のムーブアウトデータの
うち外部装置14からの書込データに対応するデータ部
分の記憶装置11への書込を抑止することで、書込制御
部18によりムーブアウトデータを記憶装置11に書き
込むことができる(請求項3,11)。
At this time, the write inhibition instruction section causes the storage device 1 to
The write control unit 18 outputs a write inhibit signal to the write control unit 1 to inhibit writing of a portion of the data block having a specific block length other than the write data from the external device 14 to the storage device 11. Thus, only the write data from the external device 14 can be written in the storage device 11. When it is determined that the move-out data is in response to the write request from the external device 14 by referring to the information setting unit, similarly, the write inhibition instruction unit writes the move-out data to the storage device 11. By outputting the inhibition signal to inhibit the writing of the data portion corresponding to the write data from the external device 14 in the move-out data of the specific block length to the storage device 11, the write control unit 18 moves the data. Out data can be written in the storage device 11 (claims 3 and 11).

【0035】さらに、外部装置14から特定ブロック長
の半分の大きさのデータの書込が要求された時には、ム
ーブアウト順序制御部により、バッファストレイジ13
からのムーブアウト順序を制御することで、外部装置1
4からの書込データの書込時の書込抑止信号の出力タイ
ミングと、ムーブアウトデータの書込時の書込抑止信号
の出力タイミングとを同一化でき、書込抑止指示部によ
る書込抑止信号の出力制御を外部書込要求とムーブアウ
トで共通化することができる(請求項4,12)。
Further, when the external device 14 requests the writing of the data of the half size of the specific block length, the buffer storage 13 is controlled by the move-out sequence control unit.
By controlling the moveout sequence from the external device 1
The output timing of the write inhibit signal at the time of writing the write data from 4 and the output timing of the write inhibit signal at the time of writing the moveout data can be made the same, and the write inhibit by the write inhibit instructing section The output control of the signal can be shared by the external write request and the move out (claims 4 and 12).

【0036】また、バッファストレイジ13におけるム
ーブアウト対象データが未更新であれば、同じデータが
記憶装置11にも保持されていることになるので、対象
データが更新されている場合のみムーブアウトを行なう
ことにより、ムーブアウト処理を簡略化することができ
る(請求項5,13)。この場合、記憶制御装置15側
でバッファストレイジ13からムーブアウトデータを受
けると、書込制御部18により、外部装置14からの書
込データ部分とムーブアウトデータのうち外部装置14
からの書込データに対応しない部分とを組み合わせて記
憶装置11に書き込むことで、外部装置14からの書込
データとムーブアウトデータとを一つのデータブロック
として記憶装置11に書き込むことができる(請求項
6,14)。
If the move-out target data in the buffer storage 13 has not been updated, the same data is also held in the storage device 11. Therefore, the move-out is performed only when the target data has been updated. As a result, the move-out process can be simplified (claims 5 and 13). In this case, when the storage controller 15 receives the move-out data from the buffer storage 13, the write controller 18 causes the write controller to move the write-out data from the external device 14 and the move-out data to the external device 14.
By writing to the storage device 11 in combination with a portion that does not correspond to the write data from the storage device 11, the write data from the external device 14 and the moveout data can be written to the storage device 11 as one data block (claim). (6, 14).

【0037】ただし、ムーブアウトが行なわれなかった
場合には、前述と同様、書込抑止指示部からの書込抑止
信号により、特定ブロック長のデータブロックのうち外
部装置14からの書込データ以外の部分の記憶装置11
への書込を抑止することで、書込制御部18により、外
部装置14からの書込データのみを記憶装置11に書き
込むことができる(請求項7,15)。
However, if the move-out is not performed, the write inhibit signal from the write inhibit instructing unit causes the data block other than the write data from the external device 14 to be included in the data block having the specific block length, as described above. Storage device 11
By suppressing writing to the storage device 11, only the write data from the external device 14 can be written to the storage device 11 by the write control unit 18 (claims 7 and 15).

【0038】一方、バッファストレイジ13におけるム
ーブアウト対象データの更新/未更新に係わらずムーブ
アウトを行ない、書込制御部18により、常に、外部装
置14からの書込データ部分とムーブアウトデータのう
ち外部装置14からの書込データに対応しない部分とを
組み合わせて記憶装置11に書き込むことで、外部装置
14からの書込データとムーブアウトデータとを一つの
データブロックとして記憶装置11に書き込むことがで
きる(請求項8,16)。
On the other hand, the move-out is carried out regardless of the update / unupdate of the move-out target data in the buffer storage 13, and the write control section 18 always writes the write-data portion from the external device 14 and the move-out data. By writing to the storage device 11 in combination with a portion that does not correspond to the write data from the external device 14, the write data from the external device 14 and the moveout data can be written to the storage device 11 as one data block. It is possible (claims 8 and 16).

【0039】[0039]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図2は本発明の一実施例を示すブロック図であ
り、この図2において、21は情報処理装置(CPU;
Central Processing Unit)、22はチャネル処理装置
(CHP;CHannel Processor)、23は外部装置(C
H;CHannel unit)、24は記憶制御装置(MCU;Main
storage Control Unit)、25は記憶装置(MSU;Ma
in Storage Unit)である。
Embodiments of the present invention will be described below with reference to the drawings. 2 is a block diagram showing an embodiment of the present invention. In FIG. 2, reference numeral 21 denotes an information processing device (CPU;
Central Processing Unit), 22 is a channel processor (CHP), and 23 is an external device (C
H: CHannel unit), 24 is a storage control unit (MCU; Main)
storage control unit), 25 is a storage device (MSU; Ma
in Storage Unit).

【0040】ここで、情報処理装置21には、ストアイ
ン方式で制御されるバッファストレイジ30がそなえら
れている。このバッファストレイジ30は、図12によ
り前述したものと同様、ブロックに分割されたデータ
(情報処理装置21が使用しうる記憶装置25のデータ
の一部の写し)を保持するデータ部30aと、このデー
タ部30aに保持されるデータのアドレスを含むタグ情
報を保持するタグ部(TAG1)30bとを有して構成
されている。
Here, the information processing device 21 is provided with a buffer storage 30 controlled by a store-in method. This buffer storage 30 is similar to that described above with reference to FIG. 12, and has a data section 30a that holds data divided into blocks (a copy of a part of the data in the storage device 25 that can be used by the information processing device 21), and The tag unit (TAG1) 30b holds the tag information including the address of the data held in the data unit 30a.

【0041】タグ部30bは、データ部30aにおける
各ブロックに1対1に対応したエントリを格納するメモ
リで、このタグ部30bの各エントリの中に、図3に示
すように、対応するブロックの記憶装置25上のアドレ
スが格納されるとともに、当該エントリが有効(データ
部30aにデータが格納されている状態)であるか否か
を示すV(Valid)フラグと、データ部30aに格納され
たデータに対して情報処理装置21により変更が施され
ているか否かを示すC(Change)フラグとが格納されてい
る。
The tag section 30b is a memory for storing an entry corresponding to each block in the data section 30a on a one-to-one basis. In each entry of the tag section 30b, as shown in FIG. An address on the storage device 25 is stored, and a V (Valid) flag indicating whether or not the entry is valid (a state in which data is stored in the data section 30a) and a V (Valid) flag are stored in the data section 30a. A C (Change) flag indicating whether or not the data has been changed by the information processing device 21 is stored.

【0042】なお、図2では、バッファストレイジ30
が情報処理装置21内にそなえられている場合が図示さ
れるとともに、後述するごとく特に外部装置23から記
憶装置25に対してストア要求を行なう信号系のみが図
示されている。また、情報処理装置21には、レジスタ
21a〜21dがそなえられている。レジスタ21a
は、記憶制御装置24からのムーブアウト要求アドレス
(データブロックの代表アドレス)がセットされるもの
であり、レジスタ21bは、バッファストレイジ30か
らムーブアウトされるデータブロックの代表アドレスが
セットされるものであり、レジスタ21cは、バッファ
ストレイジ30からムーブアウトされるデータブロック
がセットされるものである。
In FIG. 2, the buffer storage 30 is used.
Is provided in the information processing device 21, and only the signal system for requesting a store from the external device 23 to the storage device 25 is illustrated, as will be described later. The information processing device 21 also includes registers 21a to 21d. Register 21a
Indicates that the move-out request address (representative address of the data block) from the storage controller 24 is set, and the register 21b sets the representative address of the data block that is moved out from the buffer storage 30. In the register 21c, the data block to be moved out from the buffer storage 30 is set.

【0043】そして、レジスタ21dは、1ビットまた
は複数ビットからなり情報設定部として機能するもの
で、記憶制御装置24からのムーブアウト要求に応じて
情報処理装置21から記憶制御装置24へ送られるムー
ブアウトデータが、後述する通常のムーブアウト要求に
よるものか、あるいは、外部装置23からの書込要求に
応じて発行されたムーブアウト要求によるものかが要求
種別としてセットされるものである。
The register 21d is composed of one bit or a plurality of bits and functions as an information setting unit. In response to a move-out request from the storage controller 24, a move sent from the information processor 21 to the storage controller 24. Whether the out data is a normal move-out request described later or a move-out request issued in response to a write request from the external device 23 is set as a request type.

【0044】一方、チャネル処理装置22は、外部装置
23を接続されるとともに、記憶制御装置24を介して
記憶装置25に接続され、外部装置23から記憶装置2
5に対するフェッチ/ストア要求を受けた場合に、記憶
制御装置24に対してその要求を発行するもので、スト
ア要求系として、外部装置23からのストア要求アドレ
スがセットされるレジスタ22aと、外部装置23から
のストア要求データがセットされるレジスタ22bとを
有している。
On the other hand, the channel processing device 22 is connected to the external device 23 as well as to the storage device 25 via the storage control device 24, and the external device 23 to the storage device 2 is connected.
5 is issued to the storage control device 24 when a fetch / store request for the device 5 is received. As a store request system, a register 22a in which a store request address from the external device 23 is set, and an external device Register 22b to which store request data from 23 is set.

【0045】また、記憶装置25は、各種データを記憶
するメモリ部25aのほか、レジスタ25b〜25dを
有して構成されている。レジスタ25bは、メモリ部2
5aへのストアデータのアドレスがセットされるもので
あり、レジスタ25cは、メモリ部25aへのストアデ
ータがセットされるものであり、レジスタ25dは、記
憶制御装置24からの書込抑止信号をセットされるレジ
スタである。
Further, the storage device 25 has a memory section 25a for storing various data and registers 25b to 25d. The register 25b is the memory unit 2
The address of the store data to 5a is set, the register 25c is set to the store data to the memory section 25a, and the register 25d sets the write inhibit signal from the storage controller 24. It is a registered register.

【0046】そして、本実施例の記憶制御装置24は、
記憶装置25と情報処理装置21およびチャネル処理装
置22(外部装置23)との間のデータ転送をストアイ
ン方式で制御するもので、タグ複写部(TAG2)24
a,データ選択回路24b,書込制御回路24c,ムー
ブアウト制御部24d,タグプライオリティ部24gの
ほか、レジスタ24e,24f,24h,24i,24
n,24pやムーブアウトデータバッファ24j,スト
アデータバッファ24kを有して構成されている。
The storage control device 24 of this embodiment is
The data transfer between the storage device 25 and the information processing device 21 and the channel processing device 22 (external device 23) is controlled by a store-in method.
a, data selection circuit 24b, write control circuit 24c, moveout control unit 24d, tag priority unit 24g, and registers 24e, 24f, 24h, 24i, 24.
n, 24p, move-out data buffer 24j, and store data buffer 24k.

【0047】ここで、タグ複写部24aは、バッファス
トレイジ30におけるタグ部30bの写しを保持するも
のであり、このタグ複写部24aの各エントリの中に、
図4に示すように、バッファストレイジ30に格納され
ているデータアドレスとともに、当該エントリが有効で
あるか否かを示すV(Valid)フラグが格納されるように
なっている。
Here, the tag copying unit 24a holds a copy of the tag unit 30b in the buffer storage 30, and in each entry of this tag copying unit 24a,
As shown in FIG. 4, together with the data address stored in the buffer storage 30, a V (Valid) flag indicating whether or not the entry is valid is stored.

【0048】また、データ選択回路24bは、情報処理
装置21からのムーブアウトデータ(ストアデータ)と
外部装置23(チャネル処理装置22)からのストアデ
ータとのいずれか一方を選択して出力するものである。
書込制御回路24cは、記憶装置25へのデータ書込
(ストア)を制御するためのもので、データ選択回路2
4bによるデータ選択状態を切換制御する機能のほか、
書込データのサイズに応じて後述するような書込抑止信
号を記憶装置5に対して出力する書込抑止指示部として
の機能を有している。
The data selection circuit 24b selects and outputs either move-out data (store data) from the information processing device 21 or store data from the external device 23 (channel processing device 22). Is.
The write control circuit 24c is for controlling data writing (store) to the storage device 25, and the data selection circuit 2
In addition to the function to switch the data selection state by 4b,
It has a function as a write inhibition instruction unit that outputs a write inhibition signal to be described later to the storage device 5 according to the size of the write data.

【0049】さらに、ムーブアウト制御部24dは、ム
ーブアウト要求発行部として機能するもので、外部装置
23からのストア要求アドレスがタグ複写部24aに存
在した場合(ヒット)に、バッファストレイジ30のデ
ータ部30aにおけるデータを読み出して記憶装置25
に書き込むためのムーブアウト要求を、バッファストレ
イジ30(情報処理装置21)に対して発行するもので
ある。このムーブアウト制御部24dは、本実施例の変
形例として後述するごとく、バッファストレイジ30か
らのムーブアウト順序を制御するムーブアウト順序制御
部としても機能するものである。
Further, the move-out control unit 24d functions as a move-out request issuing unit, and when the store request address from the external device 23 exists in the tag copying unit 24a (hit), the data in the buffer storage 30 is stored. The data in the unit 30a is read out and stored in the storage device 25.
A move-out request for writing to the buffer storage 30 (information processing device 21) is issued. The move-out control unit 24d also functions as a move-out order control unit that controls the move-out order from the buffer storage 30, as will be described later as a modified example of this embodiment.

【0050】なお、レジスタ24eは、情報処理装置2
1からのムーブアウトアドレスがセットされるものであ
り、レジスタ24fは、チャネル処理装置22からのス
トア要求アドレスがセットされるものであり、タグプラ
イオリティ部24gは、レジスタ24e,24fに保持
されたアドレス(タグ)のいずれか一方を選択して出力
するものである。このタグプライオリティ部24gによ
るタグ選択により、バッファストレイジ30からのムー
ブアウトに応じた書込処理もしくは外部装置23からの
ストア要求に応じた書込処理のいずれか一方が選択され
て実行されるようになっている。
The register 24e is used by the information processing device 2
The move-out address from 1 is set, the register 24f is set with the store request address from the channel processing device 22, and the tag priority unit 24g is the address held in the registers 24e and 24f. One of (tags) is selected and output. By the tag selection by the tag priority unit 24g, either the writing process according to the move out from the buffer storage 30 or the writing process according to the store request from the external device 23 is selected and executed. Has become.

【0051】また、レジスタ24hは、タグプライオリ
ティ部24gにより選択・出力された要求アドレスが一
時的にセットされるものであり、このレジスタ24hに
セットされた要求アドレスが外部装置23からのもので
ある場合に、タグ複写部24aにおけるタグ検索が行な
われるようになっている。そして、レジスタ24iは、
タグプライオリティ部24gにより選択されレジスタ2
4hを経た要求アドレスを、記憶装置25に対するスト
ア要求対象のアドレスとしてセットされるものである。
In the register 24h, the request address selected / output by the tag priority unit 24g is temporarily set, and the request address set in the register 24h is from the external device 23. In this case, the tag search in the tag copying unit 24a is performed. And the register 24i is
Register 2 selected by tag priority unit 24g
The request address after 4h is set as the address of the store request target for the storage device 25.

【0052】さらに、ムーブアウトデータバッファ24
jは、情報処理装置21(バッファストレイジ30)か
らのムーブアウトデータを一時的に格納するものであ
り、ストアデータバッファ24kは、チャネル処理装置
22からのストアデータを一時的に格納するものであ
る。レジスタ24mは、ムーブアウト制御部24dから
発行されたムーブアウト要求がセットされるものであ
り、レジスタ24nは、データ選択回路24bにより選
択された記憶装置25に対するストアデータを格納する
ものであり、レジスタ24pは、情報処理装置21から
のムーブアウトの要求種別(情報処理装置21のレジス
タ21dにセットされる情報)を一時的に記憶すること
により、情報設定部として機能するものである。
Further, the moveout data buffer 24
j is for temporarily storing the moveout data from the information processing device 21 (buffer storage 30), and the store data buffer 24k is for temporarily storing the store data from the channel processing device 22. . The register 24m is for setting the move-out request issued from the move-out control unit 24d, and the register 24n is for storing the store data for the storage device 25 selected by the data selection circuit 24b. 24p temporarily stores the move-out request type (information set in the register 21d of the information processing device 21) from the information processing device 21, thereby functioning as an information setting unit.

【0053】ところで、本実施例では、バッファストレ
イジ30のブロックサイズ(データ長)を例えば64バ
イト(特定データ長)とし、ムーブアウトデータやスト
アデータを保持するレジスタ21c,22b,24n,
25cのデータ幅を例えば8バイトとし、バッファ24
j,24kのバッファサイズは例えば64バイトとす
る。
By the way, in this embodiment, the block size (data length) of the buffer storage 30 is set to, for example, 64 bytes (specific data length), and registers 21c, 22b, 24n for holding moveout data and store data are stored.
The data width of 25c is, for example, 8 bytes, and the buffer 24
The buffer size of j and 24k is, for example, 64 bytes.

【0054】また、記憶装置25への書込は、64バイ
トの単位に要求されるものとし、8バイト毎に8サイク
ルかけてストアデータが記憶装置25に送られるものと
する。64バイトよりも少ないデータのストアを行なう
場合には、書込制御回路24cからの書込抑止信号をレ
ジスタ25dにセットし、その書込抑止信号を使用する
ことにより、後述するごとく8バイト単位にストアデー
タの書込を部分的に抑止することができるようになって
いる。
Further, it is assumed that writing to the storage device 25 is required in units of 64 bytes, and that store data is sent to the storage device 25 in 8 cycles every 8 bytes. When storing less than 64 bytes of data, a write inhibit signal from the write control circuit 24c is set in the register 25d, and the write inhibit signal is used to set a unit of 8 bytes as described later. Writing of store data can be partially suppressed.

【0055】次に、上述のごとく構成された本実施例の
動作について、外部装置23から32バイトストア要求
があった場合を例として、図5(a),(b)および図
6に示すフローチャートと図7〜図9に示すタイムチャ
ートとを参照しながら説明する。外部装置23から記憶
制御装置24に対して、特定ブロック長64バイトの半
分の32バイト分のデータのストア要求があった場合
〔図5(a)のステップS1,図7のタイミングT21
参照〕、その32バイトストア要求アドレスは、チャネ
ル処理装置22のレジスタ22aから記憶制御装置24
のレジスタ24fにセットされる。
Next, regarding the operation of the present embodiment configured as described above, the flow charts shown in FIGS. 5A, 5B, and 6 will be described with an example in which a 32-byte store request is issued from the external device 23. And the time charts shown in FIGS. 7 to 9 will be described. When the external device 23 requests the storage controller 24 to store 32 bytes of data, which is half the specific block length of 64 bytes [step S1 of FIG. 5A, timing T21 of FIG. 7].
The 32-byte store request address is stored in the storage controller 24 from the register 22a of the channel processor 22.
Is set in the register 24f.

【0056】このレジスタ24fにセットされたアドレ
ス(タグ)のプライオリティが、タグプライオリティ部
24gにより選択され、そのアドレスがレジスタ24h
にセットされると(図7のタイミングT22参照)、タ
グ複写部24a内に登録されているアドレスと比較され
る。タグ複写部24aに登録されているタグの中にその
ストアアドレスと一致するものが存在し、Vフラグが設
定されそのエントリが有効である場合には、そのストア
アドレスを含む64バイトのデータブロックがバッファ
ストレイジ30に格納されていることになる。これをヒ
ットと呼ぶ。
The priority of the address (tag) set in the register 24f is selected by the tag priority unit 24g, and the address is registered in the register 24h.
Is set (see timing T22 in FIG. 7), the address is compared with the address registered in the tag copying section 24a. If there is a tag matching the store address among the tags registered in the tag copying unit 24a, the V flag is set, and the entry is valid, a 64-byte data block including the store address is stored. It is stored in the buffer storage 30. This is called a hit.

【0057】このようにタグ複写部24aでヒットした
場合〔TAG2ヒット;図5(a)のステップS2でY
ES判定の場合,図7のタイミングT23参照〕、バッ
ファストレイジ30内に最新データが格納されている可
能性があるため、ムーブアウト制御部24dにより、バ
ッファストレイジ30におけるストア対象のデータブロ
ックのムーブアウト要求を情報処理装置21に対して発
行する〔図5(a)のステップS3,図7のタイミング
T25参照〕。
When there is a hit in the tag copying section 24a in this way [TAG2 hit; Y in step S2 of FIG. 5 (a)]
In the case of ES determination, refer to timing T23 in FIG. 7]. Since the latest data may be stored in the buffer storage 30, the move-out control unit 24d causes the move-out of the data block to be stored in the buffer storage 30. A request is issued to the information processing device 21 [see step S3 of FIG. 5 (a) and timing T25 of FIG. 7].

【0058】ムーブアウト要求を受けた情報処理装置2
1では、その要求が記憶制御装置24のレジスタ24m
からレジスタ21cにセットされる(図6のステップS
11)。そして、そのムーブアウト要求対象のアドレス
に基づいてバッファストレイジ30のタグ部30bを検
索し(図6のステップS12)、バッファストレイジ3
0のデータ部30aに登録されているムーブアウト要求
対象のデータが更新されているか否かを、該当エントリ
内のCフラグを参照してチェックする(図6のステップ
S13)。
Information processing apparatus 2 that has received the move-out request
1, the request is the register 24m of the storage controller 24.
To the register 21c (step S in FIG. 6).
11). Then, the tag portion 30b of the buffer storage 30 is searched based on the move-out request target address (step S12 in FIG. 6), and the buffer storage 3 is searched.
It is checked by referring to the C flag in the corresponding entry whether or not the move-out request target data registered in the 0 data section 30a is updated (step S13 in FIG. 6).

【0059】このCフラグが有効である場合(ステップ
S13でYES判定の場合)、対応するデータブロック
の最新データがバッファストレイジ30に保持されてい
るので、記憶制御装置24に対し、レジスタ21bから
レジスタ24eを通してムーブアウト要求(アドレス)
を発行する(図6のステップS14,図7のタイミング
T27参照)。
If the C flag is valid (YES in step S13), the latest data of the corresponding data block is held in the buffer storage 30, so that the storage controller 24 is transferred from the register 21b to the register 21b. Move out request (address) through 24e
Is issued (see step S14 in FIG. 6 and timing T27 in FIG. 7).

【0060】この場合、そのムーブアウト要求が外部装
置23からのストア要求に伴うムーブアウト要求である
ことを示す情報(所定値)を、要求種別としてレジスタ
21dにセットし、ムーブアウト要求を情報処理装置2
1から記憶制御装置24へ発行する際に、その要求種別
をレジスタ21dから記憶制御装置24のレジスタ24
pにセットする。
In this case, information (predetermined value) indicating that the move-out request is a move-out request accompanying the store request from the external device 23 is set in the register 21d as the request type, and the move-out request is processed. Device 2
1 to the storage controller 24, the request type is changed from the register 21d to the register 24 of the storage controller 24.
Set to p.

【0061】情報処理装置21が自分のもつバッファス
トレイジ30に格納されている所定データを記憶装置2
5に書き込むためにムーブアウト要求を発行する場合も
あるが、その際には、そのムーブアウト処理が通常のム
ーブアウト処理であることを示す情報(所定値)を、要
求種別としてレジスタ21dにセットし、このレジスタ
21dから記憶制御装置24のレジスタ24pにセット
する。
The information processing device 21 stores the predetermined data stored in its own buffer storage 30 into the storage device 2.
In some cases, a move-out request is issued in order to write the data in the No. 5, but at that time, information (predetermined value) indicating that the move-out process is a normal move-out process is set in the register 21d as the request type. Then, the register 21d is set in the register 24p of the storage controller 24.

【0062】上述したいずれ種別のムーブアウト要求の
場合も、ムーブアウト要求対象のデータ(ムーブアウト
データ)は、レジスタ21aから記憶制御装置24のム
ーブアウトデータバッファ24jに渡される。このムー
ブアウトデータは、特定ブロック長の64バイトであ
る。なお、タグ部30bで参照した該当エントリのCフ
ラグが無効である場合(ステップS13でNO判定の場
合)は、バッファストレイジ30内のムーブアウト要求
対象のデータは、記憶装置25に格納されているものと
全く同一であるため、ムーブアウト処理は不要であり、
本実施例では、ムーブアウト処理を行なわない旨を示す
要求を、記憶制御装置24に発行する(図6のステップ
S15)。この場合、その要求に伴う処理によって記憶
装置25に書き込むべきデータが無いため、レジスタ2
1d,24pにセットされる要求種別を示す値は、通常
処理を示す値であっても、外部装置23からのストア要
求に応じた処理(応答処理)を示す値であっても、記憶
制御装置24により実行される処理は変わらない。
In any of the above types of move-out requests, the move-out request target data (move-out data) is passed from the register 21a to the move-out data buffer 24j of the storage controller 24. This move-out data has a specific block length of 64 bytes. If the C flag of the corresponding entry referred to by the tag unit 30b is invalid (NO in step S13), the data for the moveout request in the buffer storage 30 is stored in the storage device 25. Since it is exactly the same as the one, move out processing is unnecessary,
In this embodiment, a request indicating that the move-out process is not performed is issued to the storage controller 24 (step S15 in FIG. 6). In this case, since there is no data to be written in the storage device 25 due to the processing associated with the request, the register 2
Whether the value indicating the request type set in 1d or 24p is a value indicating a normal process or a value indicating a process (response process) according to a store request from the external device 23, the storage controller The processing performed by 24 remains unchanged.

【0063】ところで、従来、記憶制御装置24のタグ
複写部24aにおいて外部装置23からのストア要求ア
ドレスがヒットした場合に、最新データがバッファスト
レイジ30に存在し情報処理装置21からその最新デー
タのムーブアウトを行なう時には、ムーブアウト処理を
記憶装置25に対して行なった後に、チャネル処理装置
22からの32バイトストアを記憶装置25に対して行
なっていた(図14参照)。また、情報処理装置21か
らのムーブアウトが無い場合には、その旨を示す応答を
情報処理装置21から受け取ることにより、チャネル処
理装置22からの32バイトストアを記憶装置25に対
して行なっていた。
By the way, conventionally, when the store request address from the external device 23 is hit in the tag copying section 24a of the storage control device 24, the latest data exists in the buffer storage 30 and the latest data is moved from the information processing device 21. When performing the out, the move-out process is performed on the storage device 25, and then the 32-byte store from the channel processing device 22 is performed on the storage device 25 (see FIG. 14). Further, when there is no move-out from the information processing device 21, a 32-byte store from the channel processing device 22 is performed to the storage device 25 by receiving a response to that effect from the information processing device 21. .

【0064】これに対して、本実施例では、ムーブアウ
ト制御部24dがムーブアウト要求を発行するのと並行
して外部装置23からのストア要求データを記憶装置2
5に書き込むべく、書込制御回路24cにより、記憶装
置25に対するストア要求を実行している〔図5(a)
のステップS4,図7のタイミングT24参照〕。チャ
ネル処理装置22からのストアデータは、レジスタ22
bからストアデータバッファ24kに一時的に格納され
た後、書込制御回路24cにより、8バイト単位で32
バイト分読み出され、レジスタ24nを通じて記憶装置
25のレジスタ25cへ送出される。また、ストア要求
アドレスは、タグ複写部24aでの検索後にレジスタ2
4hからレジスタ24iにセットされ、さらに記憶装置
25のレジスタ25bにセットされ、そのアドレスに基
づいて、64バイトストアが記憶装置25に対して要求
される。
On the other hand, in the present embodiment, the store request data from the external device 23 is sent to the storage device 2 in parallel with the move out control unit 24d issuing the move out request.
5, the write control circuit 24c executes a store request to the storage device 25 [FIG. 5 (a)].
Step S4 of FIG. 7, timing T24 in FIG. 7]. Stored data from the channel processing device 22 is stored in the register 22.
After being temporarily stored in the store data buffer 24k from b, the write control circuit 24c stores the data in 32 bytes in units of 8 bytes.
The bytes are read and sent to the register 25c of the storage device 25 through the register 24n. In addition, the store request address is stored in the register 2 after the search in the tag copying unit 24a.
4h is set in the register 24i, and further set in the register 25b of the storage device 25, and a 64-byte store is requested to the storage device 25 based on the address.

【0065】このとき、実際にストアすべきデータは3
2バイトであるため、例えば図8に示すように、最初の
4τ間は、書込制御回路24c(書込抑止指示部)から
記憶装置25へ出力されレジスタ25dにセットされる
書込抑止信号を無効にし、後半の4τ間は、その書込抑
止信号を有効にすることにより、後半のデータの記憶装
置25への書込が抑止される。
At this time, the data to be actually stored is 3
Since it is 2 bytes, for example, as shown in FIG. 8, during the first 4τ, the write inhibit signal output from the write control circuit 24c (write inhibit instruction unit) to the storage device 25 and set in the register 25d is set. By invalidating and enabling the write inhibit signal during 4τ in the latter half, the writing of the latter half data to the storage device 25 is inhibited.

【0066】従って、記憶装置25における64バイト
分のデータブロックのうち、外部装置23からのストア
データ以外の部分を壊すことなく、外部装置23からス
トア要求された最初の32バイト分のデータのみが記憶
装置25のメモリ部25aに書き込まれる〔図5(a)
のステップS4,図7のタイミングT26参照〕。な
お、1τは1制御周期で、この1τ間に8バイト分の書
込が行なわれるようになっている。
Therefore, of the 64-byte data block in the storage device 25, only the first 32-byte data requested to be stored by the external device 23 is destroyed without destroying the portion other than the store data from the external device 23. It is written in the memory unit 25a of the storage device 25 [FIG.
Step S4, timing T26 in FIG. 7]. Note that 1τ is one control cycle, and 8 bytes are written during this 1τ.

【0067】このようにして、外部装置23からのスト
アデータの書込を終了すると、記憶制御装置24からチ
ャネル処理装置22へストア完了通知が送信され〔図5
(a)のステップS5,図7のタイミングT31参
照〕、従来に比べて(図14のタイミングT12参
照)、ストアの完了通知をチャネル処理装置22に対し
て極めて早く行なうことができる。
When the writing of the store data from the external device 23 is completed in this way, a storage completion notification is transmitted from the storage control device 24 to the channel processing device 22 [FIG.
Step S5 of (a), see timing T31 in FIG. 7] As compared with the conventional case (see timing T12 in FIG. 14), the store completion notification can be sent to the channel processing device 22 extremely quickly.

【0068】さて、情報処理装置21から記憶制御装置
24に対してムーブアウト要求がある場合には、そのム
ーブアウト要求(アドレス)がレジスタ24eにセット
されるとともに、そのムーブアウト要求の種別がレジス
タ24pにセットされる〔図5(b)のステップS6,
図7のタイミングT27参照〕。このレジスタ24eに
セットされたムーブアウト要求アドレスのプライオリテ
ィが、タグプライオリティ部24gにより選択され、そ
のアドレスがレジスタ24iにセットされると(図7の
タイミングT28参照)、レジスタ21cからムーブア
ウトデータバッファ24jに一時的に格納された情報処
理装置21からのムーブアウトデータが、書込制御回路
24cにより、8バイト単位で32バイト分読み出さ
れ、レジスタ24nを通じて記憶装置25のレジスタ2
5cへ送出される。また、ムーブアウト先のアドレス
は、レジスタ24iから記憶装置25のレジスタ25b
にセットされ、そのアドレスに基づいて、64バイトス
トアが記憶装置25に対して要求される(図7のタイミ
ングT29参照)。
When there is a move-out request from the information processing device 21 to the storage controller 24, the move-out request (address) is set in the register 24e, and the type of the move-out request is registered. 24p [Step S6 of FIG. 5 (b)]
Refer to timing T27 in FIG. 7]. When the priority of the move-out request address set in the register 24e is selected by the tag priority unit 24g and the address is set in the register 24i (see timing T28 in FIG. 7), the move-out data buffer 24j is transferred from the register 21c. The move-out data from the information processing device 21 temporarily stored in the storage device 25 is read by the write control circuit 24c for 32 bytes in units of 8 bytes, and is transferred to the register 2 of the storage device 25 through the register 24n.
5c. Further, the move-out destination address is from the register 24i to the register 25b of the storage device 25.
, And a 64-byte store is requested to the storage device 25 based on the address (see timing T29 in FIG. 7).

【0069】このとき、通常のムーブアウト処理を行な
い、64バイト分のデータを記憶装置25にストアして
しまうと、図7のタイミングT26で先にストアしたチ
ャネル処理装置22からのストアデータを壊してしま
う。そこで、本実施例では、記憶制御装置24によりム
ーブアウト処理を行なう際には、レジスタ24pにセッ
トされる要求種別の値を参照し、今回のムーブアウト処
理が、チャネル処理装置22(外部装置23)からのス
トア要求に応じたものであるか否かを判定する〔図5
(b)のステップS7〕。
At this time, if normal move-out processing is performed and 64 bytes of data are stored in the storage device 25, the stored data from the channel processing device 22 previously stored at timing T26 in FIG. 7 is destroyed. Will end up. Therefore, in this embodiment, when the storage controller 24 performs the move-out process, the value of the request type set in the register 24p is referred to, and the move-out process this time is performed by the channel processor 22 (external device 23). ) To determine whether or not the request is for a store request (FIG. 5).
Step S7 of (b)].

【0070】レジスタ24pの値が、チャネル処理装置
22からのストア要求の応答によるムーブアウト処理を
示している場合(ステップS7でYES判定の場合)に
は、例えば図9に示すように、最初の4τ間は、書込抑
止信号を有効にすることにより、チャネル処理装置22
からのストアデータに対応する前半の32バイト分のデ
ータの記憶装置25への書込が抑止される。
When the value of the register 24p indicates the move-out process in response to the store request from the channel processing device 22 (YES in step S7), for example, as shown in FIG. During 4τ, the channel processor 22 is enabled by enabling the write inhibit signal.
Writing of the first half 32 bytes of data corresponding to the store data from the storage device 25 to the storage device 25 is suppressed.

【0071】また、後半の4τ間は、その書込抑止信号
を無効にして、64バイトのデータブロックのうち残り
(後半)の32バイト分の最新データを記憶装置25の
メモリ部25aに書き込む。従って、記憶装置25にお
ける64バイト分のデータブロックのうち、先にストア
された外部装置23からのストアデータの部分を壊すこ
となく、情報処理装置21からムーブアウトされた64
バイト分の最新データのうち後半のデータのみが記憶装
置25のメモリ部25aに書き込まれる〔図5(b)の
ステップS8のリバースストア処理,図7のタイミング
T30参照〕。
During the latter half 4τ, the write inhibition signal is invalidated and the remaining (the latter half) 32-byte latest data of the 64-byte data block is written in the memory unit 25a of the storage device 25. Therefore, of the 64-byte data block in the storage device 25, the 64 blocks that have been moved out of the information processing device 21 without destroying the portion of the stored data from the external device 23 that was previously stored.
Only the latter half of the bytes of the latest data is written in the memory unit 25a of the storage device 25 [reverse store processing of step S8 of FIG. 5B, see timing T30 of FIG. 7].

【0072】なお、レジスタ24pの値が、通常のムー
ブアウト処理を示している場合(ステップS7でNO判
定の場合)には、書込抑止信号を発行しない通常のムー
ブアウト処理を行ない、情報処理装置21からの64バ
イト分のムーブアウトデータをそのまま記憶装置25の
メモリ部25aにストアする〔図5(b)のステップS
9〕。
When the value of the register 24p indicates the normal move-out process (NO in step S7), the normal move-out process in which the write inhibit signal is not issued is executed, and the information processing is performed. The 64-byte move-out data from the device 21 is stored as it is in the memory unit 25a of the storage device 25 [step S of FIG. 5 (b)].
9].

【0073】また、タグ複写部24aに保持されるタグ
の中に外部装置23からのストアアドレスと一致するも
のが存在しない場合〔TAG2ミスヒット;図5(a)
のステップA2でNO判定の場合〕には、バッファスト
レイジ30に、ストア要求対象のデータは保持されてい
ないので、直ちに図5(a)のステップS4に移行し、
32バイト分のデータのストア要求を記憶装置5に対し
て発行し、記憶装置25内で32バイト分のデータのス
トアを実行する。
Further, when there is no tag that matches the store address from the external device 23 among the tags held in the tag copying section 24a [TAG2 mishit; FIG. 5 (a)]
If NO is determined in step A2 of No.], the buffer storage 30 does not hold the data to be stored, and therefore the process immediately shifts to step S4 in FIG.
A request to store 32 bytes of data is issued to the storage device 5, and 32 bytes of data is stored in the storage device 25.

【0074】このときも、図8に示した例と同様、最初
の4τ間は、書込抑止信号を無効にし、後半の4τ間
は、その書込抑止信号を有効にすることにより、後半の
データの記憶装置25への書込を抑止することにより、
記憶装置25における64バイト分のデータブロックの
うち、外部装置23からのストアデータ以外の部分を壊
すことなく、外部装置23からストア要求された最初の
32バイト分のデータのみを記憶装置25のメモリ部2
5aに書き込む。
Also at this time, similarly to the example shown in FIG. 8, the write inhibit signal is invalidated during the first 4τ, and the write inhibit signal is enabled during the latter 4τ, so that the latter half of the 4τ is enabled. By suppressing the writing of data to the storage device 25,
Of the 64-byte data block in the storage device 25, only the first 32-byte data requested to be stored by the external device 23 is stored in the memory of the storage device 25 without destroying the portion other than the store data from the external device 23. Part 2
Write to 5a.

【0075】このように、本発明の一実施例によれば、
外部装置23からのストア要求時にそのストア要求対象
のデータ部分がバッファストレイジ30に変更・保持さ
れている場合、ムーブアウト要求の発行と並行して外部
装置23から記憶装置25へのストア処理が実行される
ので、外部装置23からの書込要求を無駄に待機させる
ことなく実行でき、外部装置23からの書込性能の低下
が抑止され処理速度が大幅に向上する。
Thus, according to one embodiment of the present invention,
When the store request from the external device 23 changes and holds the data portion of the store request target in the buffer storage 30, the store process from the external device 23 to the storage device 25 is executed in parallel with the issue of the moveout request. Therefore, the write request from the external device 23 can be executed without waiting unnecessarily, the deterioration of the write performance from the external device 23 is suppressed, and the processing speed is significantly improved.

【0076】このとき、外部装置23からのストアデー
タが64バイト(特定ブロック長)よりも少なくても、
前述したように、そのストアデータのみが記憶装置25
に書き込まれた後、ムーブアウトデータのうち外部装置
23からのストアデータに対応しない部分の最新データ
が、外部装置23からのストアデータを壊すことなく記
憶装置に書き込まれる。
At this time, even if the stored data from the external device 23 is less than 64 bytes (specific block length),
As described above, only the store data is stored in the storage device 25.
Then, the latest data of the part of the move-out data that does not correspond to the store data from the external device 23 is written to the storage device without destroying the store data from the external device 23.

【0077】従って、特定ブロック長(ここでは64バ
イト)よりも少ないデータのストア要求に要する処理時
間を、少なくともストアスルー方式による書込処理時間
と同等の時間で完了でき、チャネル処理装置22(外部
装置23)に対するストア完了通知を早く行なうことが
できる。また、バッファストレイジ30からムーブアウ
トが行なわれない場合でも、ムーブアウト処理を行なわ
ない旨を示す要求が情報処理装置21から応答として返
ってくる前に、図7に示すように、チャネル処理装置2
2からのストアを実行することができ、チャネル処理装
置22に対するストア完了通知を早く行なうことができ
る。
Therefore, the processing time required to store data of less than the specific block length (64 bytes in this case) can be completed at least in the time equivalent to the write processing time by the store-through method, and the channel processing device 22 (external) The store completion notification to the device 23) can be promptly issued. Even if the moveout is not performed from the buffer storage 30, before the request indicating that the moveout process is not performed is returned from the information processing device 21 as a response, as shown in FIG.
The store from No. 2 can be executed, and the store completion notification to the channel processing device 22 can be sent earlier.

【0078】なお、上述した実施例では、特定ブロック
長64バイトの半分の32バイト分のデータのストアを
外部装置23から要求された場合について説明したが、
本発明はこれに限定されるものではなく、特定ブロック
長64バイトよりも少ない8バイト単位のデータについ
てストア要求があれば、上述と同様に書込抑止信号を出
力することにより、上記実施例と同様の作用効果を得る
ことができる。
In the above-described embodiment, the case where the external device 23 requests the data storage of 32 bytes, which is half the specific block length of 64 bytes, has been described.
The present invention is not limited to this, and if there is a store request for data in 8-byte units, which is smaller than the specific block length of 64 bytes, the write inhibit signal is output in the same manner as described above, thereby making it possible to realize the above-mentioned embodiment. The same effect can be obtained.

【0079】例えば、外部装置23からのストアデータ
が32,16,8バイトである場合の、各データ長毎の
書込抑止信号の有効/無効タイミングを図10に示す。
この図10中、“0”は記憶装置25への書込抑止を行
なわないつまりストアを実行することを示し、“1”は
記憶装置25への書込抑止を行なうことを示す。この図
10の上段に示すように、外部装置23からのストアデ
ータが32バイトである場合(上述した実施例と同じ場
合)は、チャネル処理装置(CHP)22からのストア
処理時に、後半4τ間、書込抑止信号を有効にし、情報
処理装置(CPU)21からのムーブアウト処理時に、
前半4τ間、書込抑止信号を有効にする。
For example, FIG. 10 shows the valid / invalid timing of the write inhibit signal for each data length when the store data from the external device 23 is 32, 16 and 8 bytes.
In FIG. 10, "0" indicates that writing to storage device 25 is not inhibited, that is, store is executed, and "1" indicates that writing to storage device 25 is inhibited. As shown in the upper part of FIG. 10, when the store data from the external device 23 is 32 bytes (the same as the above-mentioned embodiment), during the store process from the channel processing device (CHP) 22, the latter half 4τ. , The write inhibit signal is validated, and during the move out process from the information processing device (CPU) 21,
During the first half 4τ, the write inhibit signal is enabled.

【0080】また、外部装置23からのストアデータが
16バイトである場合は、図10の中段に示すように、
CHPストア処理時に、後半6τ間、書込抑止信号を有
効にし、CPUムーブアウト処理時に、前半2τ間、書
込抑止信号を有効にする。さらに、外部装置23からの
ストアデータが8バイトである場合は、図10の下段に
示すように、CHPストア処理時に、後半7τ間、書込
抑止信号を有効にし、CPUムーブアウト処理時に、前
半1τ間、書込抑止信号を有効にする。
When the store data from the external device 23 is 16 bytes, as shown in the middle part of FIG.
During the CHP store processing, the write inhibit signal is valid during the latter half 6τ, and during the CPU moveout processing, the write inhibit signal is valid during the first half 2τ. Further, when the store data from the external device 23 is 8 bytes, as shown in the lower part of FIG. 10, the write inhibit signal is enabled during the latter half 7τ during the CHP store processing, and the first half during the CPU moveout processing. The write inhibit signal is enabled for 1τ.

【0081】また、上述した実施例では、タグ部30b
における更新ビット(Cフラグ)が無効である場合に
は、ムーブアウト処理を行なわない旨を示す要求を記憶
制御装置24に発行しているが、情報処理装置21から
のムーブアウト処理を、タグ部30bにおける更新ビッ
ト(Cフラグ)の有効/無効に関係なく実行するように
してもよい。この場合、チャネル処理装置22からの3
2バイトストアに際しては、書込抑止信号を有効にしな
い、つまり書込抑止制御を不要にすることができる。た
だし、情報処理装置21からのムーブアウト処理時に
は、チャネル処理装置23からのストアアクセスにより
先に書き込んだデータ部分を上書きで消去してしまわな
いように、図9にて説明したタイミングで書込抑止信号
を有効にして書込抑止制御を行なう。
In the above-described embodiment, the tag section 30b is used.
If the update bit (C flag) is invalid, the memory controller 24 issues a request indicating that the move-out process is not to be performed. It may be executed regardless of the validity / invalidity of the update bit (C flag) in 30b. In this case, 3 from the channel processor 22
At the time of 2-byte store, the write inhibit signal is not enabled, that is, the write inhibit control can be made unnecessary. However, during the move-out process from the information processing device 21, the write inhibition is performed at the timing described with reference to FIG. 9 so that the data part previously written by the store access from the channel processing device 23 is not overwritten and erased. The signal is validated and write inhibition control is performed.

【0082】ところで、上述した実施例のように、外部
装置23からのストアデータのデータ長が特定ブロック
長(64バイト)の半分(32バイト)である場合、バ
ッファストレイジ30からのムーブアウト順序を制御す
るムーブアウト順序制御部としての機能を、ムーブアウ
ト制御部24dにそなえておくことにより、以下のよう
な制御を行なうことができる。
By the way, when the data length of the store data from the external device 23 is half (32 bytes) of the specific block length (64 bytes) as in the above-mentioned embodiment, the move out order from the buffer storage 30 is set. By providing the move-out control unit 24d with a function as a move-out sequence control unit for controlling, the following control can be performed.

【0083】即ち、ムーブアウト順序制御部としての機
能を用い、情報処理装置21にムーブアウトを要求する
場合のアドレス(先頭の32バイト分)として、チャネ
ル処理装置22からのストアアドレスを送り、ムーブア
ウト対象となるデータを後半32バイトから先にバッフ
ァストレイジ30から追い出すことにより、ムーブアウ
トデータを記憶装置25に書き込む場合の書込抑止信号
を後半4τ(32バイト)間だけ有効にすることができ
る。
That is, by using the function as the move-out sequence control unit, the store address from the channel processing device 22 is sent as the address (the first 32 bytes) when the information processing device 21 is requested to perform the move-out operation. By pushing out the data to be out from the buffer storage 30 in the latter half 32 bytes first, the write inhibit signal when writing the move-out data to the storage device 25 can be made valid only in the latter half 4τ (32 bytes). .

【0084】これにより、外部装置23からのストアデ
ータを記憶装置25に書き込む際の書込抑止信号の出力
タイミングと、バッファストレイジ30からのムーブア
ウトデータを記憶装置25に書き込む際の書込抑止信号
の出力タイミングとを同一にすることもできる。なお、
ムーブアウトのデータの順序変更は、情報処理装置21
に送るストアアドレスを変更するのではなく、記憶制御
装置24内のムーブアウトデータバッファ24jからの
データ追い出し順序と記憶装置25へ転送するアドレス
の順序とを変更することによっても行なうことができ
る。
Thus, the output timing of the write inhibit signal when writing the store data from the external device 23 to the storage device 25 and the write inhibit signal when writing the moveout data from the buffer storage 30 to the storage device 25. It is also possible to make the output timing of the same. In addition,
The information processing device 21 can change the order of move-out data.
Instead of changing the store address to be sent to the storage controller 24, the order of erasing data from the move-out data buffer 24j in the storage controller 24 and the order of addresses transferred to the storage device 25 can be changed.

【0085】上述のように、外部装置23からのストア
データが特定ブロック長の半分である場合には、ムーブ
アウト順序を制御することにより、書込抑止信号の出力
制御を外部書込要求とムーブアウトで共通化でき、その
出力制御を簡易化できる利点がある。一方、チャネル処
理装置22から記憶装置25へのストア処理を、情報処
理装置21からのムーブアウトデータがムーブアウトデ
ータバッファ24jに格納されるのを待ってから、書込
制御回路24cにより図11に示すタイミングでデータ
選択回路24bを制御することにより、ストアデータバ
ッファ24kからのストアデータとムーブアウトデータ
バッファ24jからのムーブアウトデータとを選択し組
み合わせることにより、64バイトデータ(一つのデー
タブロック)のストアを記憶装置25に対して行なうこ
ともできる。
As described above, when the stored data from the external device 23 is half of the specific block length, the output control of the write inhibit signal is controlled by the external write request by controlling the move-out order. There is an advantage that the output can be shared and the output control can be simplified. On the other hand, the store processing from the channel processing device 22 to the storage device 25 waits for the move-out data from the information processing device 21 to be stored in the move-out data buffer 24j, and then the write control circuit 24c displays the data in FIG. By controlling the data selection circuit 24b at the timing shown, the store data from the store data buffer 24k and the move-out data from the move-out data buffer 24j are selected and combined to make a 64-byte data (one data block). The store can also be performed in the storage device 25.

【0086】この場合、記憶装置25への書込抑止信号
を制御する、有効にする必要がなく、書込抑止信号を用
いずに、外部装置23からのストアデータとムーブアウ
トデータとを一つのデータブロックとして記憶装置25
に書き込むことができ、制御系,制御手法を簡略化する
ことができる。このとき、情報処理装置21からのムー
ブアウト処理を、タグ部30bにおける更新ビット(C
フラグ)の有効/無効に関係なく実行することにより、
書込抑止信号を一切有効にすることなく、つまり、書込
抑止信号を全く用いることなく、常に、外部装置23か
らの書込データとムーブアウトデータとを一つのデータ
ブロックとして記憶装置25に書き込むことができ、制
御系,制御手法を大幅に簡略化することができる。
In this case, it is not necessary to control and validate the write inhibit signal to the storage device 25, and the store data and move out data from the external device 23 are combined into one without using the write inhibit signal. Storage device as data block 25
Can be written in, and the control system and control method can be simplified. At this time, the move-out process from the information processing device 21 is performed by the update bit (C
By executing it regardless of whether the flag) is enabled or disabled,
The write data from the external device 23 and the move-out data are always written in the storage device 25 as one data block without enabling the write inhibit signal at all, that is, without using the write inhibit signal at all. Therefore, the control system and control method can be greatly simplified.

【0087】なお、上述した実施例では、特定ブロック
長が64バイトの場合について説明したが、本発明はこ
れに限定されるものでない。
Although the specific block length is 64 bytes in the above-mentioned embodiment, the present invention is not limited to this.

【0088】[0088]

【発明の効果】以上詳述したように、本発明の情報処理
システムにおける記憶制御方法および記憶制御装置によ
れば、外部装置から書込が要求された時にその書込要求
対象のデータ部分がバッファストレイジに保持されてい
る場合、ムーブアウト要求の発行と並行して外部装置か
ら記憶装置への書込処理が実行されるので、外部装置か
らの書込要求を無駄に待機させることなく実行でき、外
部装置からの書込性能の低下が抑止され処理速度が大幅
に向上する効果が得られる(請求項1,9)。
As described above in detail, according to the storage control method and the storage control device in the information processing system of the present invention, when a write request is made from an external device, the data portion of the write request is buffered. When it is held in the storage, the writing process from the external device to the storage device is executed in parallel with the issuance of the moveout request, so that the writing request from the external device can be executed without wastefully waiting, It is possible to obtain the effect that the deterioration of the writing performance from the external device is suppressed and the processing speed is significantly improved (claims 1 and 9).

【0089】外部装置からの書込データが特定ブロック
長よりも短い時には、その書込データのみを記憶装置に
書き込むとともに、ムーブアウトデータのうち外部装置
からの書込データ以外の部分のみを記憶装置に書き込む
ことで、外部装置からの書込データを壊すことなくムー
ブアウトデータが記憶装置に書き込まれ、特定ブロック
長よりも少ないデータの書込要求に要する処理時間を、
少なくともストアスルー方式による書込処理時間と同等
の時間で完了させることができる(請求項2,10)。
When the write data from the external device is shorter than the specific block length, only the write data is written in the storage device, and only the portion of the moveout data other than the write data from the external device is stored in the storage device. By writing to the memory device, the move-out data is written to the storage device without destroying the write data from the external device, and the processing time required for the data write request less than the specific block length is
It can be completed at least in the time equivalent to the write processing time by the store-through method (claims 2 and 10).

【0090】このとき、データブロックのうち外部装置
からの書込データ以外の部分の記憶装置への書込を抑止
することで、外部装置からの書込データ以外の部分を壊
すことなく外部装置からの書込データのみが記憶装置に
書き込まれ、ムーブアウトデータのうち外部装置からの
書込データに対応するデータ部分の記憶装置への書込を
抑止することで、外部装置からの書込データを壊すこと
なくムーブアウトデータが記憶装置に書き込まれ、特定
ブロック長よりも少ないデータの書込要求に要する処理
時間を、少なくともストアスルー方式による書込処理時
間と同等の時間で完了させることができる(請求項3,
11)。
At this time, by inhibiting the writing of the portion of the data block other than the write data from the external device to the storage device, the portion other than the write data from the external device is not destroyed from the external device. Only the write data from the external device is written to the storage device, and the write data from the external device is prevented by suppressing the writing of the data portion of the moveout data corresponding to the write data from the external device to the storage device. The move-out data is written in the storage device without being destroyed, and the processing time required to write the data smaller than the specific block length can be completed at least in a time equivalent to the write processing time by the store-through method ( Claim 3,
11).

【0091】さらに、外部装置からの書込データが特定
ブロック長の半分である場合には、ムーブアウト順序を
制御することにより、書込抑止指示部による書込抑止信
号の出力制御を外部書込要求とムーブアウトで共通化で
き、その出力制御を簡易化することができる(請求項
4,12)。また、対象データが更新されている場合の
みムーブアウトを実行することにより、不必要にムーブ
アウト処理を行なわずに済み、ムーブアウト処理を簡略
化することができる(請求項5,13)。
Furthermore, when the write data from the external device is half of the specific block length, the move-out order is controlled so that the write-inhibit signal output control by the write-inhibit instruction section is externally written. The request and the moveout can be shared, and the output control can be simplified (claims 4 and 12). Further, by executing the move-out only when the target data has been updated, unnecessary move-out processing is not required, and the move-out processing can be simplified (claims 5 and 13).

【0092】この場合、ムーブアウトデータを受ける
と、外部装置からの書込データ部分とムーブアウトデー
タのうち外部装置からの書込データに対応しない部分と
を組み合わせて記憶装置に書き込むことで、書込抑止信
号を用いずに、外部装置からの書込データとムーブアウ
トデータとを一つのデータブロックとして記憶装置に書
き込め、制御系,制御手法を簡略化することができる
(請求項6,14)。
In this case, when the move-out data is received, the write data part from the external device and the part of the move-out data that does not correspond to the write data from the external device are combined and written in the storage device. The write data from the external device and the move-out data can be written in the storage device as one data block without using the write inhibit signal, and the control system and control method can be simplified (claims 6 and 14). .

【0093】なお、ムーブアウトが行なわれなかった場
合には、書込抑止信号により、データブロックのうち外
部装置からの書込データ以外の部分の記憶装置への書込
を抑止することで、外部装置からの書込データ以外の部
分を壊さずに、外部装置からの書込データのみを記憶装
置に書き込むことができる(請求項7,15)。一方、
ムーブアウト対象データの更新/未更新に係わらずムー
ブアウトを行ない、常時、外部装置からの書込データ部
分とムーブアウトデータのうち外部装置からの書込デー
タに対応しない部分とを組み合わせて記憶装置に書き込
むことにより、書込抑止信号を全く用いることなく、常
に、外部装置からの書込データとムーブアウトデータと
を一つのデータブロックとして記憶装置に書き込め、制
御系,制御手法を大幅に簡略化することができる(請求
項8,16)。
If the move-out is not performed, the write inhibit signal inhibits the writing of a portion of the data block other than the write data from the external device to the storage device, and Only the write data from the external device can be written in the storage device without destroying the parts other than the write data from the device (claims 7 and 15). on the other hand,
The moveout is performed regardless of whether the data to be moved out is updated or not, and the storage device is always a combination of a write data portion from the external device and a portion of the moveout data that does not correspond to the write data from the external device. By writing to the memory device, the write data from the external device and the move-out data can always be written to the storage device as one data block without using the write inhibit signal at all, greatly simplifying the control system and control method. It is possible (claims 8 and 16).

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

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】本発明の一実施例を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of the present invention.

【図3】本実施例のタグ部(TAG1)のエントリ内容
を示す図である。
FIG. 3 is a diagram showing entry contents of a tag part (TAG1) of the present embodiment.

【図4】本実施例のタグ複写部(TAG2)のエントリ
内容を示す図である。
FIG. 4 is a diagram showing entry contents of a tag copying unit (TAG2) of this embodiment.

【図5】(a),(b)はいずれも本実施例の記憶制御
装置(MCU)の動作を説明するためのフローチャート
である。
5A and 5B are flowcharts for explaining the operation of the storage control unit (MCU) of this embodiment.

【図6】本実施例の処理装置(CPU)の動作を説明す
るためのフローチャートである。
FIG. 6 is a flowchart for explaining the operation of the processing device (CPU) of this embodiment.

【図7】本実施例の動作を説明するためのタイムチャー
トである。
FIG. 7 is a time chart for explaining the operation of this embodiment.

【図8】本実施例の動作を説明するためのタイムチャー
トである。
FIG. 8 is a time chart for explaining the operation of this embodiment.

【図9】本実施例の動作を説明するためのタイムチャー
トである。
FIG. 9 is a time chart for explaining the operation of the present embodiment.

【図10】本実施例における書込抑止信号の出力例を説
明するための図である。
FIG. 10 is a diagram for explaining an output example of a write inhibit signal in the present embodiment.

【図11】本実施例の変形例の動作を説明するためのタ
イムチャートである。
FIG. 11 is a time chart for explaining the operation of the modified example of the present embodiment.

【図12】一般的な情報処理システムの構成を示すブロ
ック図である。
FIG. 12 is a block diagram showing a configuration of a general information processing system.

【図13】一般的な情報処理システムにおける記憶制御
装置の処理動作を説明するためのフローチャートであ
る。
FIG. 13 is a flowchart for explaining a processing operation of a storage control device in a general information processing system.

【図14】一般的な情報処理システムにおける記憶制御
装置の処理動作を説明するためのタイムチャートであ
る。
FIG. 14 is a time chart for explaining a processing operation of a storage control device in a general information processing system.

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

11 記憶装置 12 処理装置 13 バッファストレイジ 14 外部装置 15 記憶制御装置 16 タグ複写部 17 ムーブアウト要求発行部 18 書込制御部 21 処理装置 21a〜21c レジスタ 21d レジスタ(情報設定部) 22 チャネル処理装置 22a,22b レジスタ 23 外部装置 24 記憶制御装置 24a タグ複写部 24b データ選択回路 24c 書込制御回路(書込抑止指示部) 24d ムーブアウト制御部(ムーブアウト要求発行
部,ムーブアウト順序制御部) 24e,24f,24h,24i,24n レジスタ 24j ムーブアウトデータバッファ 24k,ストアデータバッファ 24p レジスタ(情報設定部) 25 記憶装置 25a メモリ部 25b〜25d レジスタ 30 バッファストレイジ 30a データ部 30b タグ部
11 Storage Device 12 Processing Device 13 Buffer Storage 14 External Device 15 Storage Control Device 16 Tag Copying Unit 17 Moveout Request Issuing Unit 18 Writing Control Unit 21 Processing Devices 21a to 21c Registers 21d Register (Information Setting Unit) 22 Channel Processing Device 22a , 22b register 23 external device 24 storage controller 24a tag copying unit 24b data selection circuit 24c write control circuit (write inhibition instruction unit) 24d moveout control unit (moveout request issuing unit, moveout order control unit) 24e, 24f, 24h, 24i, 24n register 24j move out data buffer 24k, store data buffer 24p register (information setting unit) 25 storage device 25a memory unit 25b to 25d register 30 buffer storage 30a data unit 30b Tag section

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 記憶装置と、該記憶装置のデータに基づ
いて動作する処理装置と、該処理装置が使用しうる該記
憶装置のデータの一部の写しを保持するストアイン方式
のバッファストレイジとを有するとともに外部装置を接
続された情報処理システムにおける記憶制御方法であっ
て、 該外部装置から該記憶装置に対する書込要求を受けた時
点で該書込要求の対象となる該記憶装置のデータ部分が
該バッファストレイジに保持されている場合、 該バッファストレイジの該当データ部分を読み出して該
記憶装置に書き込むためのムーブアウト要求を該バッフ
ァストレイジに対して発行するのと並行して、 該外部装置からの書込要求に伴う書込データを該記憶装
置に書き込むことを特徴とする、情報処理システムにお
ける記憶制御方法。
1. A storage device, a processing device that operates based on data in the storage device, and a store-in type buffer storage that holds a copy of part of the data in the storage device that can be used by the processing device. A storage control method in an information processing system having an external device connected to an external device, the data part of the storage device being a target of the write request when a write request to the storage device is received from the external device. Is held in the buffer storage, the move-out request for reading the corresponding data portion of the buffer storage and writing it in the storage device is issued to the buffer storage in parallel with the external device. The write control data according to the write request is written in the storage device.
【請求項2】 該記憶装置,該処理装置および該バッフ
ァストレイジ相互間の読出処理/書込処理を予め定めら
れた特定ブロック長のデータブロック単位で行なう場合
に、該外部装置からの書込要求に伴う書込データのデー
タ長が前記特定ブロック長よりも短い時には、 該外部装置からの書込データのみを該記憶装置に書き込
むとともに、 前記ムーブアウト要求に応じて該バッファストレイジか
ら読み出されたムーブアウトデータのうち該外部装置か
らの書込データ以外の部分のみを該記憶装置に書き込む
ことを特徴とする、請求項1記載の情報処理システムに
おける記憶制御方法。
2. A write request from the external device when read / write processing among the storage device, the processing device and the buffer storage is performed in a data block unit of a predetermined specific block length. When the data length of the write data associated with is shorter than the specific block length, only the write data from the external device is written to the storage device and read from the buffer storage in response to the moveout request. 2. The storage control method in the information processing system according to claim 1, wherein only the part of the move-out data other than the write data from the external device is written to the storage device.
【請求項3】 該外部装置からの書込データを前記特定
ブロック長のデータブロック単位で該記憶装置に書き込
む際、前記特定ブロック長のデータブロックのうち該外
部装置からの書込データ以外の部分が該記憶装置に書き
込まれるのを、該記憶装置に対し書込抑止信号を出力し
て抑止するとともに、 該バッファストレイジからのムーブアウトデータを該記
憶装置に書き込む際、前記特定ブロック長のムーブアウ
トデータのうち該外部装置からの書込データに対応する
部分が該記憶装置に書き込まれるのを、該記憶装置に対
して書込抑止信号を出力して抑止することを特徴とす
る、請求項2記載の情報処理システムにおける記憶制御
方法。
3. When the write data from the external device is written to the storage device in data block units of the specific block length, a portion of the data block of the specific block length other than the write data from the external device. Is written to the storage device by outputting a write inhibit signal to the storage device, and when the moveout data from the buffer storage is written to the storage device, the moveout of the specific block length is performed. 3. A write inhibit signal is output to the storage device to inhibit the portion of the data corresponding to the write data from the external device from being written to the storage device. A storage control method in the described information processing system.
【請求項4】 該外部装置からの書込データのデータ長
が前記特定ブロック長の半分である場合、該バッファス
トレイジからのムーブアウト順序を制御し、該外部装置
からの書込データを該記憶装置に書き込む際の書込抑止
信号の出力タイミングと該バッファストレイジからのム
ーブアウトデータを該記憶装置に書き込む際の書込抑止
信号の出力タイミングとを同一にすることを特徴とす
る、請求項3記載の情報処理システムにおける記憶制御
方法。
4. When the data length of the write data from the external device is half the specific block length, the moveout order from the buffer storage is controlled, and the write data from the external device is stored. 4. The output timing of the write inhibit signal when writing to the device and the output timing of the write inhibit signal when writing the moveout data from the buffer storage to the storage device are the same. A storage control method in the described information processing system.
【請求項5】 該バッファストレイジの該当データ部分
が更新されている場合のみ、該当データ部分をムーブア
ウトデータとして読み出すことを特徴とする、請求項2
記載の情報処理システムにおける記憶制御方法。
5. The relevant data portion is read as move-out data only when the relevant data portion of the buffer storage has been updated.
A storage control method in the described information processing system.
【請求項6】 該バッファストレイジから該当データ部
分がムーブアウトデータとして読み出された場合、該外
部装置からの書込データ部分と、該バッファストレイジ
からのムーブアウトデータのうち該外部装置からの書込
データに対応しない部分とを組み合わせて該記憶装置に
書き込むことを特徴とする、請求項5記載の情報処理シ
ステムにおける記憶制御方法。
6. When the corresponding data portion is read out as move-out data from the buffer storage, the write data portion from the external device and the write-out data from the external device out of the move-out data from the buffer storage. The storage control method in an information processing system according to claim 5, wherein the storage device is written in combination with a portion that does not correspond to the embedded data.
【請求項7】 該バッファストレイジからムーブアウト
データが読み出されなかった場合、前記特定ブロック長
のデータブロックのうち該外部装置からの書込データ以
外の部分が該記憶装置に書き込まれるのを、該記憶装置
に対して書込抑止信号を出力して抑止しながら、該外部
装置からの書込データを該記憶装置に書き込むことを特
徴とする、請求項6記載の情報処理システムにおける記
憶制御方法。
7. When moveout data is not read from the buffer storage, a portion of the data block of the specific block length other than the write data from the external device is written to the storage device, 7. The storage control method in an information processing system according to claim 6, wherein write data from the external device is written to the storage device while outputting and suppressing a write inhibition signal to the storage device. .
【請求項8】 該外部装置からの書込データ部分と、該
バッファストレイジからのムーブアウトデータのうち該
外部装置からの書込データに対応しない部分とを組み合
わせて該記憶装置に書き込むことを特徴とする、請求項
2記載の情報処理システムにおける記憶制御方法。
8. A combination of a write data portion from the external device and a portion of the moveout data from the buffer storage that does not correspond to the write data from the external device is written to the storage device. The storage control method in the information processing system according to claim 2.
【請求項9】 記憶装置と、該記憶装置のデータに基づ
いて動作する処理装置とをそなえるとともに、該処理装
置が使用しうる該記憶装置のデータの一部の写しを保持
するデータ部と該データ部に保持されるデータのアドレ
スを含むタグ情報を保持するタグ部とからなるバッファ
ストレイジをそなえ、外部装置を接続された情報処理シ
ステムにおいて、該記憶装置と該バッファストレイジお
よび該外部装置との間のデータ転送をストアイン方式で
制御する記憶制御装置であって、 該バッファストレイジの該タグ部の一部または全部の写
しを保持するタグ複写部と、 該バッファストレイジのデータ部におけるデータを読み
出して該記憶装置に書き込むためのムーブアウト要求
を、該バッファストレイジに対して発行するムーブアウ
ト要求発行部と、 該記憶装置へのデータの書込を制御する書込制御部とが
そなえられ、 該外部装置から該記憶装置に対する書込要求を受けた時
点で該書込要求の対象となるデータのアドレスを含むタ
グ情報が該タグ複写部に保持されている場合、 該ムーブアウト要求発行部が、当該タグ情報に対応する
データ部分を該バッファストレイジから読み出して該記
憶装置に書き込むためのムーブアウト要求を、該バッフ
ァストレイジに対して発行するのと並行して、 該書込制御部が、該外部装置からの書込要求に伴う書込
データを該記憶装置に書き込むことを特徴とする、情報
処理システムにおける記憶制御装置。
9. A storage device and a processing device that operates based on data in the storage device, and a data section that holds a copy of part of the data in the storage device that can be used by the processing device; In an information processing system having a buffer storage including a tag unit that holds tag information including an address of data held in a data unit, and connecting an external device to the storage device, the buffer storage, and the external device. A storage control device for controlling data transfer between data storage devices by a store-in method, which reads a data in a tag copying unit that holds a copy of a part or all of the tag unit of the buffer storage and a data unit of the buffer storage. Move-out request issuing unit that issues a move-out request for writing to the storage device to the buffer storage A write control unit that controls writing of data to the storage device, and at the time of receiving a write request to the storage device from the external device, sets an address of the data to be the write request. When the tag information including the tag information is held in the tag copying unit, the move-out request issuing unit issues a move-out request for reading the data portion corresponding to the tag information from the buffer storage and writing the data portion in the storage device. In the information processing system, the write control unit writes write data in response to a write request from the external device to the storage device in parallel with issuing to the buffer storage. Storage controller.
【請求項10】 該記憶装置,該処理装置および該バッ
ファストレイジ相互間の読出処理/書込処理を予め定め
られた特定ブロック長のデータブロック単位で行なう場
合に、該外部装置からの書込要求に伴う書込データのデ
ータ長が前記特定ブロック長よりも短い時には、 該書込制御部が、該外部装置からの書込データのみを該
記憶装置に書き込むとともに、該ムーブアウト要求発行
部により発行されたムーブアウト要求に応じて該バッフ
ァストレイジから読み出されたムーブアウトデータのう
ち、該外部装置からの書込データ以外の部分のみを該記
憶装置に書き込むことを特徴とする、請求項9記載の情
報処理システムにおける記憶制御装置。
10. A write request from the external device when read / write processing among the storage device, the processing device and the buffer storage is performed in data block units of a predetermined specific block length. When the data length of the write data accompanying the write is shorter than the specific block length, the write control unit writes only the write data from the external device to the storage device, and the move out request issuing unit issues the write data. 10. The move-out data read from the buffer storage in response to the generated move-out request, only the part other than the write data from the external device is written to the storage device. Storage device in the information processing system of.
【請求項11】 該外部装置からの書込要求に応じて該
ムーブアウト要求発行部によりムーブアウト要求が発行
された場合にその旨を示す情報を設定される情報設定部
と、 該記憶装置へのデータの書込を抑止するための書込抑止
信号を該記憶装置に対して出力する書込抑止指示部とが
そなえられ、 該書込制御部が該外部装置からの書込データを前記特定
ブロック長のデータブロック単位で該記憶装置に書き込
む際、該書込抑止指示部が、該記憶装置に対して書込抑
止信号を出力し、前記特定ブロック長のデータブロック
のうち該外部装置からの書込データ以外の部分が該記憶
装置に書き込まれるのを抑止するとともに、 該書込制御部が該バッファストレイジからのムーブアウ
トデータを該記憶装置に書き込む際、当該ムーブアウト
データが該外部装置からの書込要求に応じたものである
旨が該情報設定部に設定されている場合、該書込抑止指
示部が、該記憶装置に対して書込抑止信号を出力し、前
記特定ブロック長のムーブアウトデータのうち該外部装
置からの書込データに対応する部分が該記憶装置に書き
込まれるのを抑止することを特徴とする、請求項10記
載の情報処理システムにおける記憶制御装置。
11. An information setting unit configured to set information indicating that a move-out request is issued by the move-out request issuing unit in response to a write request from the external device, and to the storage device. A write inhibition instruction section for outputting a write inhibition signal for inhibiting writing of data to the storage device, and the write control section specifies the write data from the external device. When writing to the storage device in data block units of block length, the write inhibition instruction section outputs a write inhibition signal to the storage device, and the data block of the specific block length from the external device is output. A portion other than the write data is prevented from being written in the storage device, and when the write control unit writes the moveout data from the buffer storage to the storage device, the moveout data is When it is set in the information setting unit that it is in response to a write request from an external device, the write inhibition instruction unit outputs a write inhibition signal to the storage device, and the identification 11. The storage control device in the information processing system according to claim 10, wherein a portion of the block-length moveout data corresponding to write data from the external device is prevented from being written in the storage device.
【請求項12】 該バッファストレイジからのムーブア
ウト順序を制御するムーブアウト順序制御部がそなえら
れ、 該外部装置からの書込データのデータ長が前記特定ブロ
ック長の半分である場合、該ムーブアウト順序制御部
が、該バッファストレイジからのムーブアウト順序を制
御し、該外部装置からの書込データを該記憶装置に書き
込む際の該書込抑止指示部からの書込抑止信号の出力タ
イミングと、該バッファストレイジからのムーブアウト
データを該記憶装置に書き込む際の該書込抑止指示部か
らの書込抑止信号の出力タイミングとを同一にすること
を特徴とする、請求項11記載の情報処理システムにお
ける記憶制御装置。
12. A move-out sequence control unit for controlling a move-out sequence from the buffer storage is provided, and when the data length of write data from the external device is half the specific block length, the move-out sequence is performed. An order control unit controls the move-out order from the buffer storage, and outputs the write inhibit signal from the write inhibit instruction unit when writing the write data from the external device to the storage device; 12. The information processing system according to claim 11, wherein the move-out data from the buffer storage is written to the storage device at the same output timing of the write inhibit signal from the write inhibit instructing unit. Storage controller in.
【請求項13】 該バッファストレイジにおけるムーブ
アウト対象データが更新されている場合のみ該バッファ
ストレイジからのムーブアウトが行なわれることを特徴
とする、請求項10記載の情報処理システムにおける記
憶制御装置。
13. The storage control device in an information processing system according to claim 10, wherein the move-out from the buffer storage is performed only when the move-out target data in the buffer storage is updated.
【請求項14】 該バッファストレイジからムーブアウ
トデータを受けると、該書込制御部が、該外部装置から
の書込データ部分と、該バッファストレイジからのムー
ブアウトデータのうち該外部装置からの書込データに対
応しない部分とを組み合わせて該記憶装置に書き込むこ
とを特徴とする、請求項13記載の情報処理システムに
おける記憶制御装置。
14. When receiving the move-out data from the buffer storage, the write control unit writes the write data portion from the external device and the write-out data from the external device out of the move-out data from the buffer storage. 14. The storage control device in the information processing system according to claim 13, wherein the storage control device is written in the storage device in combination with a portion that does not correspond to the embedded data.
【請求項15】 該バッファストレイジからのムーブア
ウトが行なわれなかった場合、該書込抑止指示部が、該
記憶装置に対して書込抑止信号を出力して前記特定ブロ
ック長のデータブロックのうち該外部装置からの書込デ
ータ以外の部分が該記憶装置に書き込まれるのを抑止し
ながら、該書込制御部が、該外部装置からの書込データ
を該記憶装置に書き込むことを特徴とする、請求項14
記載の情報処理システムにおける記憶制御装置。
15. When the move-out from the buffer storage is not performed, the write inhibition instruction section outputs a write inhibition signal to the storage device to output one of the data blocks of the specific block length. The write control unit writes the write data from the external device to the storage device while suppressing a portion other than the write data from the external device from being written to the storage device. Claim 14
A storage controller in the information processing system described.
【請求項16】 該書込制御部が、該外部装置からの書
込データ部分と、該バッファストレイジからのムーブア
ウトデータのうち該外部装置からの書込データに対応し
ない部分とを組み合わせて該記憶装置に書き込むことを
特徴とする、請求項10記載の情報処理システムにおけ
る記憶制御装置。
16. The write control unit combines the write data portion from the external device with a portion of the moveout data from the buffer storage that does not correspond to the write data from the external device. The storage control device in the information processing system according to claim 10, wherein the storage control device writes data in a storage device.
JP26072094A 1994-10-25 1994-10-25 Storage control method and storage control device in information processing system Expired - Fee Related JP3260566B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26072094A JP3260566B2 (en) 1994-10-25 1994-10-25 Storage control method and storage control device in information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26072094A JP3260566B2 (en) 1994-10-25 1994-10-25 Storage control method and storage control device in information processing system

Publications (2)

Publication Number Publication Date
JPH08123722A true JPH08123722A (en) 1996-05-17
JP3260566B2 JP3260566B2 (en) 2002-02-25

Family

ID=17351827

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26072094A Expired - Fee Related JP3260566B2 (en) 1994-10-25 1994-10-25 Storage control method and storage control device in information processing system

Country Status (1)

Country Link
JP (1) JP3260566B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006164077A (en) * 2004-12-09 2006-06-22 Internatl Business Mach Corp <Ibm> Memory system, control method therefor and method for maintaining data coherency

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006164077A (en) * 2004-12-09 2006-06-22 Internatl Business Mach Corp <Ibm> Memory system, control method therefor and method for maintaining data coherency

Also Published As

Publication number Publication date
JP3260566B2 (en) 2002-02-25

Similar Documents

Publication Publication Date Title
KR100274327B1 (en) Methods and apparatus for providing multiple outstanding operations in a cache consistent multiple processor computer system
JP3587591B2 (en) Method of controlling cache miss and computer system thereof
US5353426A (en) Cache miss buffer adapted to satisfy read requests to portions of a cache fill in progress without waiting for the cache fill to complete
US5155832A (en) Method to increase performance in a multi-level cache system by the use of forced cache misses
US8725987B2 (en) Cache memory system including selectively accessible pre-fetch memory for pre-fetch of variable size data
US20030126365A1 (en) Transfer of cache lines on-chip between processing cores in a multi-core system
WO2010035426A1 (en) Buffer memory device, memory system and data trnsfer method
US20070288694A1 (en) Data processing system, processor and method of data processing having controllable store gather windows
JP2005276199A (en) Method to provide cache management command for dma controller
JP4294059B2 (en) Information processing apparatus and information processing method
US20110167223A1 (en) Buffer memory device, memory system, and data reading method
KR100505695B1 (en) Cache memory device having dynamically-allocated or deallocated buffers, digital data processing system comprising it and method thereof
JP4302083B2 (en) Cache system and cache system control method
JPH0934786A (en) Instruction supplying device
JP3973129B2 (en) Cache memory device and central processing unit using the same
JP2006318471A (en) Memory caching in data processing
US9886212B2 (en) Mechanism for copying data in memory
US6934810B1 (en) Delayed leaky write system and method for a cache memory
JP3260566B2 (en) Storage control method and storage control device in information processing system
JP2004326175A (en) Processor, cache system, and cache memory
US7664919B2 (en) Cache system
JP4037806B2 (en) Cache memory device
CN109791521B (en) Apparatus and method for providing primitive subsets of data access
US20190286562A1 (en) Information processing apparatus, cache control apparatus and cache control method
JP6248809B2 (en) Arithmetic processing device and control method of arithmetic processing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011127

LAPS Cancellation because of no payment of annual fees