JPH03102446A - Control system for double write of data to storage - Google Patents

Control system for double write of data to storage

Info

Publication number
JPH03102446A
JPH03102446A JP1239434A JP23943489A JPH03102446A JP H03102446 A JPH03102446 A JP H03102446A JP 1239434 A JP1239434 A JP 1239434A JP 23943489 A JP23943489 A JP 23943489A JP H03102446 A JPH03102446 A JP H03102446A
Authority
JP
Japan
Prior art keywords
storage
data
block
address
double write
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1239434A
Other languages
Japanese (ja)
Inventor
Koji Takao
耕司 高尾
Nobuhiko Kuribayashi
栗林 暢彦
Masayuki Ikeda
正幸 池田
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 JP1239434A priority Critical patent/JPH03102446A/en
Publication of JPH03102446A publication Critical patent/JPH03102446A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the control mechanism for a data double write instruction and to reduce the hardware quantity by applying the access control results of the validation of a block, the generation of an intra-block address, and the detection of an address exception applied to one of two storage units to the other storage unit as they are. CONSTITUTION:At execution of a data double write instruction, only an access control logic 4 is turned into a function. In this case, the logic 4 validates all block validating signals to the storage units 1 and 2 and supplies the addresses and data included in the same block to both units 1 and 2. At the same time, the address exception detecting result to be given to the unit 1 also serves as the address exception detecting result to the unit 2. As a result, both a control sequence and a control logic are simplified. Then a control mechanism is simplified for the data double write instruction and the hardware quantity is decreased.

Description

【発明の詳細な説明】 〔概要〕 記憶装置の異なる2つの領域にデータを二重に書き込む
二重書き込み命令を実行するための制御方式に関し, データ二重書き込み命令の制′a機構の簡素化を図り,
ハード量を削減することを目的としインタリーブ構成と
記憶容量とが同一の2つの記憶ユニットからなる記憶装
置の記憶制御装置において 上記2つの記憶ユニットの各々に同一データを書き込む
二重書き込み命令を実行する際.一方の記憶ユニットに
対して行ったブロック有効化とブロック内アドレスの発
生およびアドレス例外検出のアクセス制御結果を他方の
記憶ユニットに対してそのまま通用する構成をもつ。
[Detailed Description of the Invention] [Summary] Regarding a control method for executing a double write instruction that writes data twice to two different areas of a storage device, the present invention relates to a simplification of a mechanism for controlling a data double write instruction. With the aim of
Executing a double write instruction to write the same data to each of the two storage units in a storage control device of a storage device that is composed of two storage units with the same interleaving configuration and storage capacity for the purpose of reducing the amount of hardware. edge. It has a configuration in which the access control results of block validation, intra-block address generation, and address exception detection performed on one storage unit are applied as they are to the other storage unit.

〔産業上の利用分野〕[Industrial application field]

本発明は,記憶装置の異なる2つの領域にデー夕を二重
に書き込む二重書き込み命令を実行するための制御方式
に関し,特に同一構戒の2つの記憶ユニノI・を制御す
る記憶制御装置において,各記憶ユニットに同一のブロ
ンク内アドレスを用いて同一データを並列に書き込むた
めの効率的なデータニ重書き込み制御方式に関する。
The present invention relates to a control method for executing a double write instruction that writes data twice to two different areas of a storage device, and particularly to a storage control device that controls two storage devices with the same configuration. , relates to an efficient data double write control method for writing the same data in parallel to each storage unit using the same address in the bronc.

(従来の技術] 複数のCPUがシステム記憶装置(SSUと呼ばれる)
を共川するマルチプロセッサシステムにおいては たと
えば処理データを現用と予備用とに二重書きし,現用デ
ータを用いた実時間処理で障害が発生した場合予備用デ
ータを用いて実時間処理を続行するなどのR. A S
対応処理や,異なる領域に二重書きされた同一データに
ついて異なる処理を2つのCPUが並行して行う分散処
理などがしばしば行われている。
(Prior art) Multiple CPUs are connected to a system storage unit (called SSU)
In a multiprocessor system that co-sources data, for example, processing data is written twice for the current and backup data, and if a failure occurs during real-time processing using the current data, real-time processing can be continued using the backup data. R. A.S.
Corresponding processing and distributed processing in which two CPUs perform different processing in parallel on the same data written twice in different areas are often performed.

このような場合の従来のデータ二重書き込み制御方式を
第3図に示す。
A conventional data double write control method in such a case is shown in FIG.

第3図において,11.12はそれぞれシステム記憶ユ
ニットのSSUOとSStJ1である。SSUOば2つ
の記憶エレメンl− S S E OとSSE1とで構
威され,SSUIもSSE2とSSE3とで構成されて
いる。各システム記憶ユニットSSUOないしSSUI
はそれぞれ同一のインタリーブ構成と同一の記憶容量と
をそなえ,1つの記憶装置上の2つのブロックを構威し
ている。
In FIG. 3, 11 and 12 are system storage units SSUO and SStJ1, respectively. The SSUO is made up of two storage elements, SSEO and SSE1, and the SSUI is also made up of SSE2 and SSE3. Each system storage unit SSUO or SSUI
Each has the same interleaving configuration and the same storage capacity, and constitutes two blocks on one storage device.

1,314.15はそれぞれC P UやC H Pな
どのアクセス源である。
1,314.15 are access sources such as CPU and CHP, respectively.

16は記憶制御装置であり.アクセス源1314..1
5からのアクセス要求について優先決定制御を行い.優
先順位づけをしたアクセス要求をシステム記憶ユニット
SSUO.SSUIに分配する。
16 is a storage control device. Access source 1314. .. 1
Priority determination control is performed for access requests from 5. The prioritized access requests are sent to system storage unit SSUO. Distribute to SSUI.

17はそのアクセス分配制御を行うアクセス分配回路M
OVERである。
17 is an access distribution circuit M that performs access distribution control.
It is OVER.

)lOVEI?17は,優先決定された1つのアクセス
要求について.アクセス先ブロックに対応する記憶ユニ
ット(S S U OとSSUIの1方)を有効化ずる
リクエスl−VALIDと1記憶ユニット内のアドレス
,つまりブロノク内アドレスADDRESSを発3 生し,データとともに該当する記憶ユニットに印加する
。またMOVEI? 1. 7は,このときのアクセス
アドレスについてアドレス例外検出動作を行う。
)lOVEI? 17 is for one prioritized access request. Generates a request l-VALID to validate the storage unit (one of SSU O and SSUI) corresponding to the access destination block and an address within one storage unit, that is, an internal address ADDRESS, and applies the corresponding data along with the data. applied to the storage unit. MOVEI again? 1. 7 performs an address exception detection operation for the access address at this time.

ところでアクセス源より,SSUOとSSUIを対象と
するデータの二重書き込み命令が入力されたときには.
従来それぞれの書き込み先に対するアクセス制御を別々
に行っており.このためMOVER17は,まずSSU
Oのブロックに対するリクエストVALIDおよびAD
DRESSの発生と.アドレス例外の検出とを行い.次
にSSUIのブロックに対するリクエストVALIDお
よびADDRESSの発生とアドレス例外の検出とを行
っていた。
By the way, when a double write command for data targeting SSUO and SSUI is input from the access source.
Conventionally, access control for each write destination was performed separately. For this reason, MOVER17 first uses SSU
Request VALID and AD for block of O
The occurrence of DRESS. Detects address exceptions. Next, requests VALID and ADDRESS are generated for the SSUI block, and address exceptions are detected.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のデータ二重書き込み制御方式では,記憶
制御装置が,2つの記憶ユニソl−SSUOおよびSS
UIに対して.リクエストVALIDブロック内アドレ
スADDRESSの発生およびアドレス例外検出をそれ
ぞれ独立にかつ順次的に行っていたので,そのための制
御が二重になり.制御機4 構を複雑化させていた。
In the conventional data double write control method described above, the storage control device writes two storage units L-SSUO and SS
For the UI. Since the generation of the request VALID block address ADDRESS and the address exception detection were performed independently and sequentially, the control for this was duplicated. The control mechanism 4 had become complicated.

本発明は,データ二重書き込み命令の制御機構の簡素化
を図り,ハード量を削減ずることを目的としている。
The present invention aims to simplify the control mechanism for data double write commands and reduce the amount of hardware.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は,データニ重書き込み命令の制御において,書
き込み先の2つの記憶ユニッI・に対するアクセス制御
が同一のアドレスの発生とアドレス例外検出を生じるこ
とに着目して,一方の記憶ユニットに対するアクセス制
御で他方の記憶ユニノトに対するアクセス制御を代行す
ることによって他方の記憶ユニットに幻ずるアクセス制
御機構を簡素化するものである。
In controlling a data double write instruction, the present invention focuses on the fact that access control to two write destination storage units I causes generation of the same address and address exception detection, and the present invention provides access control to one storage unit. By delegating access control to the other storage unit, the access control mechanism for the other storage unit is simplified.

第1図は本発明の原理図である。FIG. 1 is a diagram showing the principle of the present invention.

図において, 1および2は.それぞれインタリーブ構成と記憶容量と
が同一の記憶ユニットである。
In the figure, 1 and 2 are. Each storage unit has the same interleaving configuration and storage capacity.

Lは.記i!ユニット1.2に幻ずるアクセス要求を処
理する記憶制御装置である。
L is. Record i! Unit 1.2 is a storage control device that processes access requests.

4は,y一タニ重書き込め命令実行時の記憶ユニッ1・
1,2に対するアクセス制御論理である。
4 is the memory unit 1 when the y-tani double write instruction is executed.
This is the access control logic for 1 and 2.

5は,通常のアクセス命令実行時の記憶ユニット2に対
するアクセス制1卸論理である。
Reference numeral 5 denotes an access control 1 wholesale logic for the storage unit 2 when a normal access command is executed.

データニ重書き込み命令実行時には,アクセス制御論理
4のみが機能化される。この場合,アクセス制御論理4
は,記憶ユニット1.2に対するブロック有効化信号を
全て有効化し,同一のブロノク内アドレスとデータを両
方の記憶ユニット1,2に対して供給する。また記憶ユ
ニット1に対するアドレス例外検出結果を,記憶ユニッ
ト2に対ずるアドレス例外検出としても扱う。
When a data double write instruction is executed, only the access control logic 4 is functionalized. In this case, access control logic 4
validates all block enable signals for storage unit 1.2 and supplies the same block address and data to both storage units 1 and 2. Further, the address exception detection result for storage unit 1 is also handled as address exception detection for storage unit 2.

(作用〕 第1図において.通常のアクセス命令を実行する場合に
は.アクセス先のブロックに応じて,アクセス制御論理
4または5が動作される。
(Operation) In FIG. 1, when a normal access command is executed, the access control logic 4 or 5 is operated depending on the block to be accessed.

また従来のデータ二重書き込み制御方式の場合には,デ
ータ二重書き込み命令に対してアクセス制御論理4によ
り記憶ユニッl− 1のブロックを有効化してブ1コッ
ク内アドレスを発生してデータを書き込んだ後4アクセ
ス制御論理5により記憶ユニット2に対して該当するブ
し1ノクを有効化し記1意ユニッ1・1に対ずる同しブ
ロック内アドレスとデータを用いて書き込みを行ったが
,本発明では,データ二重書き込め命令を検出すると,
アクセス制御論理4がアクセス制御論理5の機能を代行
して,記憶ユニソI−1.2の両方に対し同時にブロッ
ク有効化を行うとともに,同しブロック内アドレスおよ
びデータを分配する。
In addition, in the case of the conventional data double write control method, in response to a data double write command, access control logic 4 enables the block of storage unit l-1, generates an address in the block 1 cock, and writes data. After that, the access control logic 5 enabled the corresponding block 1 for the storage unit 2 and wrote to the memory unit 1.1 using the address and data in the same block. In the invention, when a data double write instruction is detected,
Access control logic 4 takes over the function of access control logic 5, simultaneously validates blocks for both storage units I-1.2, and distributes addresses and data within the same block.

さらに記憶ユニン1・2に対してはアドレス例外検出が
不要となるため,制御シーケンスと制御論理が簡単にな
る。
Furthermore, since address exception detection is not required for storage units 1 and 2, the control sequence and control logic become simpler.

〔実施例] 第2図は.本発明の1実施例の構成図である。〔Example] Figure 2 is. FIG. 1 is a configuration diagram of one embodiment of the present invention.

図において,11はSSEOおよびSSEIからなるシ
ステム記億ユニソ1・S S U O ,  1. 2
 &t SSE2およびSSE3からなるシステム記憶
ユニッ1・SSUI,13ないし15ばアクセス源7 16は記憶制御装置,17′はアクセス分配回路MOV
ERである。11ないし16で示されている各要素は,
第3図の従来方式で説明されたものと同しであるので,
ここでは説明を省略する。
In the figure, 11 is a system memory consisting of SSEO and SSEI. 2
&t System storage unit 1/SSUI consisting of SSE2 and SSE3, 13 to 15 are access sources 7, 16 is a storage controller, 17' is an access distribution circuit MOV
It is ER. Each element shown from 11 to 16 is
Since it is the same as that explained in the conventional method shown in Figure 3,
The explanation will be omitted here.

MOVER 1 7’は,アクセス源13ないし15か
らのアクセス要求を1つに絞ったものについて,データ
ニ重書き込み命令かそれ以外のアクセス命令かを判定し
,通常のアクセス命令の場合には,従来と同様なアクセ
ス制御を行う。しかしデータ二重書き込み命令の場合に
は.アドレス例外検出を行った後,SSUO,SSUI
のSSEO,,SSEl.SSE2,SSE3に対する
リクエストVALIDを全て有効にするとともに,同一
のブロック内八〇DPI!SSを各SSEに供給する。
The MOVER 1 7' determines whether the access request from the access sources 13 to 15 is a data double write command or another access command, and if it is a normal access command, it determines whether it is a data double write command or another access command. Perform similar access control. However, in the case of a data double write instruction. After performing address exception detection, SSUO, SSUI
SSEO,, SSEl. All request VALIDs for SSE2 and SSE3 are enabled, and 80 DPI in the same block! Supply SS to each SSE.

またこのとき,図示省略されているが.書き込みデータ
の供給も行われる。
Also, although it is not shown in the diagram at this time. Write data is also supplied.

これにより,SSUOとSSUIの各々の同一のブロッ
ク内アドレスに,同一のデータが書き込まれる。
As a result, the same data is written to the same block address in each of SSUO and SSUI.

8 [発明の効果〕 本発明によれば,データ二重書き込み命令の制御時のア
クセス制御論理が簡素化され3ハート量の削減とコスI
・の低減とが実現できる。
8 [Effects of the Invention] According to the present invention, the access control logic when controlling a data double write instruction is simplified, and the amount of 3 hearts is reduced and the cost I.
・It is possible to achieve a reduction in

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

第1図は本発明の原理図,第2図は木発明方式の1実施
例構成図.第3図は従来方式の構成図である。 第1図中 1,2:記憶ユニッ1・ 3:記憶制御装置 4;デーク二重辺き込め命令丈行時の記憶ユニッl−1
.2に対ずるアクセス制御論理5:通常のアクセス命令
実行時の記憶ユニッ1−2に対するアクセス制御論理
Figure 1 shows the principle of the present invention, and Figure 2 shows the configuration of one embodiment of the tree invention method. FIG. 3 is a block diagram of a conventional system. 1 and 2 in Figure 1: Storage units 1 and 3: Storage control device 4; Storage unit 1-1 when executing the double edge command
.. Access control logic 5 for storage unit 2: Access control logic for storage unit 1-2 when executing a normal access command

Claims (1)

【特許請求の範囲】 インタリーブ構成と記憶容量とが同一の2つの記憶ユニ
ットからなる記憶装置の記憶制御装置において、 上記2つの記憶ユニットの各々に同一データを書き込む
二重書き込み命令を実行する際、一方の記憶ユニットに
対して行ったブロック有効化とブロック内アドレスの発
生およびアドレス例外検出のアクセス制御結果を他方の
記憶ユニットに対してそのまま適用することを特徴とす
る記憶装置に対するデータ二重書き込み制御方式。
[Scope of Claims] In a storage control device for a storage device consisting of two storage units with the same interleaving configuration and storage capacity, when executing a double write instruction to write the same data to each of the two storage units, Data double write control for a storage device characterized in that the access control results of block validation, intra-block address generation, and address exception detection performed on one storage unit are applied as is to the other storage unit. method.
JP1239434A 1989-09-14 1989-09-14 Control system for double write of data to storage Pending JPH03102446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1239434A JPH03102446A (en) 1989-09-14 1989-09-14 Control system for double write of data to storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1239434A JPH03102446A (en) 1989-09-14 1989-09-14 Control system for double write of data to storage

Publications (1)

Publication Number Publication Date
JPH03102446A true JPH03102446A (en) 1991-04-26

Family

ID=17044719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1239434A Pending JPH03102446A (en) 1989-09-14 1989-09-14 Control system for double write of data to storage

Country Status (1)

Country Link
JP (1) JPH03102446A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683717A (en) * 1992-02-14 1994-03-25 Internatl Business Mach Corp <Ibm> Large fault-resistant nonvolatile plural port memories
JPH076099A (en) * 1992-12-17 1995-01-10 Internatl Business Mach Corp <Ibm> System and method for duplexing of remote data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683717A (en) * 1992-02-14 1994-03-25 Internatl Business Mach Corp <Ibm> Large fault-resistant nonvolatile plural port memories
JPH076099A (en) * 1992-12-17 1995-01-10 Internatl Business Mach Corp <Ibm> System and method for duplexing of remote data

Similar Documents

Publication Publication Date Title
JPH03102446A (en) Control system for double write of data to storage
JPH01169557A (en) Storage control system for computer
JPH04311219A (en) Data backup system
US20080077750A1 (en) Memory block fill utilizing memory controller
JPH08179994A (en) Computer system
JPH0322073A (en) Data transfer controller
JPH02281341A (en) Write data confirming method for debugging
JP2817458B2 (en) Disk cache re-online system
JPS6222165A (en) Control system for access to main storage device
JPH0273420A (en) Semiconductor disk device
JPH04130917A (en) Electronic disk device
JPS60142450A (en) Storage system
JPH0442462A (en) Magnetic disk subsystem
JPH02293947A (en) Virtual storage dualizing system
JPH03233658A (en) Electronic computer
JPS6349257B2 (en)
JPH10187355A (en) Disk control system
JPH03245399A (en) Rom writer
JPS5919287A (en) Input and output processing system by memory access instruction
JPS63165931A (en) Storing system for information on discontinuous instruction fetch address
JPS6343782B2 (en)
JPH01263974A (en) Magnetic disk device
JPH047771A (en) Composite system
JPH0358217A (en) Electronic disk subsystem
JPS6343783B2 (en)