Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6153745B2 - - Google Patents
[go: Go Back, main page]

JPS6153745B2 - - Google Patents

Info

Publication number
JPS6153745B2
JPS6153745B2 JP57197327A JP19732782A JPS6153745B2 JP S6153745 B2 JPS6153745 B2 JP S6153745B2 JP 57197327 A JP57197327 A JP 57197327A JP 19732782 A JP19732782 A JP 19732782A JP S6153745 B2 JPS6153745 B2 JP S6153745B2
Authority
JP
Japan
Prior art keywords
data
storage
error
stored
buffer storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP57197327A
Other languages
Japanese (ja)
Other versions
JPS5987683A (en
Inventor
Noryuki Toyoki
Masatake Iwato
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 JP57197327A priority Critical patent/JPS5987683A/en
Publication of JPS5987683A publication Critical patent/JPS5987683A/en
Publication of JPS6153745B2 publication Critical patent/JPS6153745B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 発明の技術分野 本発明は、スワツプ方式のバツフアストレイジ
の制御方法に関し、バツフアストレイジからメイ
ンストレイジへのデータストア時に障害が発生し
たらストアデータを故意に破壊しようとするもの
である。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a swap-type buffer storage control method that intentionally destroys stored data if a failure occurs during data storage from buffer storage to main storage. It is something.

技術の背景 電子計算機におけるデータ処理は、メインスト
レイジ(主記憶)の全データを均等に使うことは
希で、一時的に限れば一部のデータを繰り返し使
用するケースが多い。そこで最近使用したデータ
はその都度メインストレイジにストアせず、別の
小容量のストレイジに蓄えておくと都合が良い。
これがスワツプ方式のバツフアストレイジであ
り、メインストレイジから新たなデータをバツフ
アストレイジに格納する動作はムーブ・インサイ
クルで行われ、また逆方向の格納動作はムーブ・
アウトサイクルで行われる。
Technical Background When processing data in a computer, it is rare that all the data in the main storage is used evenly, and there are many cases where some data is repeatedly used temporarily. Therefore, it is convenient to store recently used data in another small-capacity storage instead of storing it in the main storage each time.
This is a swap-type buffer storage, and the operation of storing new data from the main storage to the buffer storage is performed by a move-in cycle, and the storage operation in the opposite direction is performed by a move-in cycle.
It is done in an out-cycle.

従来技術と問題点 かかるスワツプ方式のバツフアストレイジで
は、スワツプ動作のストアサイクルに影響する障
害が発生しても、そのストアアドレスが必ずしも
その時実行中のプログラムで使用されているアド
レス空間と一致するとは限らないので、ソフトウ
エアに通知しても簡単には処理できない。例えば
バツフアストレイジにないデータを使用するため
にはバツフアストレイジ上から不要なデータをメ
インストレイジ側に追い出し、代りに必要なデー
タをメインストレイジから取り込む場合、ソフト
ウエアはメインストレイジの追出し先アドレスと
は関係のないアドレス空間で動いているため、追
い出しデータにエラーが検出されたことをソフト
ウエアに通知しても適切な処置がなされない。
Prior Art and Problems In such swap-based buffer storage, even if a failure that affects the store cycle of a swap operation occurs, the store address does not necessarily match the address space being used by the program currently being executed. Therefore, even if the software is notified, it cannot be easily processed. For example, if you want to use data that is not on the buffer storage, you should eject unnecessary data from the buffer storage to the main storage and import the necessary data from the main storage instead. is running in an unrelated address space, so even if the software is notified that an error has been detected in the evicted data, no appropriate action will be taken.

発明の目的 本発明は、バツフアストレイジからメインスト
レイジへのストアサイクルでエラーを検出したら
ストアデータを故意に誤らせるだけで後続処理は
続行し、エラー処理はその後に委ねようとするも
のである。
OBJECTS OF THE INVENTION In the present invention, when an error is detected during a store cycle from buffer storage to main storage, subsequent processing is continued by simply intentionally making the store data incorrect, and error processing is left to the subsequent processing.

発明の構成 本発明は、バツフアストレイジの記憶データの
一をメインメモリへ戻してその空いた記憶領域に
新データを格納するスワツプ方式のバツフアスト
レイジの制御方法において、該バツフアストレイ
ジからメインストレイジへのストアサイクルで障
害が発生したときはストアデータを修正不可能に
破壊して該メインストレイジにストアし、その後
該データがメインストレイジから読出されたとき
エラー処理することを特徴とするが、以下図示の
実施例を参照しながらこれを詳細に説明する。
Composition of the Invention The present invention provides a swap-type buffer storage control method in which part of the data stored in the buffer storage is returned to the main memory and new data is stored in the vacant storage area. When a failure occurs during a store cycle to the storage, the stored data is irreparably destroyed and stored in the main storage, and then when the data is read from the main storage, error handling is performed. This will be explained in detail with reference to the illustrated embodiment.

発明の実施例 図面は本発明の一実施例を示すロツク図で、1
はバツフアストレイジ(BS)、2は誤り訂正符号
(ECC)発生回路、3はストアデータ(SD)レジ
スタ、4はメインストレイジ(MS)、5はフエツ
チデータ(FD)レジスタ、6はシングルエラー
コレクト(SEC)/ダブルエラーデイテクト
(DED)型のECC回路、7,8は排他的論理和
(EOR)ゲートである。BSIから読出されたスト
アデータはレジスタ3に一時蓄積されるが、その
ときECC発生回路2による誤り訂正符号ECCが
付加される。EORゲート7,8は正常時にはエ
ラー検出信号ERRが0でスルー状態であるか
ら、レジスタ3内のデータSDはそのままMS4に
ストアされる一方、MS4から読出されたデータ
FDはレジスタ5、ECC回路6を通してBSIにフ
エツチされるが、この際ECC回路6は1ビツト
の誤りは訂正し、2ビツト以上の誤りは修正不可
能なエラーとしてプログラムに通知する。
Embodiment of the invention The drawing is a lock diagram showing an embodiment of the invention.
is buffer storage (BS), 2 is error correction code (ECC) generation circuit, 3 is store data (SD) register, 4 is main storage (MS), 5 is fetch data (FD) register, 6 is single error correction ( SEC)/Double Error Detect (DED) type ECC circuit, 7 and 8 are exclusive OR (EOR) gates. The store data read from the BSI is temporarily stored in the register 3, and at this time an error correction code ECC by the ECC generation circuit 2 is added. Since the EOR gates 7 and 8 are in a through state when the error detection signal ERR is 0 during normal operation, the data SD in the register 3 is stored as is in the MS4, while the data read out from the MS4
The FD is fetched into the BSI through the register 5 and the ECC circuit 6. At this time, the ECC circuit 6 corrects a 1-bit error and notifies the program of 2-bit or more errors as an uncorrectable error.

以上の動作は従来と同様であるが、本例ではス
トアサイクルでエラーまたは障害が検出されても
それをプログラムには通知せず、ストアデータを
故意に2ビツト誤らせてMS4にストアする。具
体的にはエラー検出信号ERRのレベルを1に
し、EORゲート7,8でストアデータ中の2ビ
ツトを反転する(故意に誤らせる)。この2ビツ
ト誤りは次に同じデータやMS4から読出される
場合にしか判らないが、このことは格別問題には
ならない。そしてこのとき走つていたプログラム
は、エラーが通知されないからストツプすること
はなく、そのまゝステツプを進めて動作を継続す
る。その後上記の2ビツトエラーを起してストア
した該データがMS4から読出されると(これは
何時だか分らないが、かゝるプログラムが走つた
とき、である)、ECC回路6は上記の2ビツト誤
りを検出する。このフエツチサイクルにおいてプ
ログラムが使用しているアドレス空間は該2ビツ
ト誤りのあるデータの格納アドレス空間に関する
ものであるからエラー処理は容易である。このエ
ラーはECCでは修正不可能なものであるから、
エラー処理は当該空間を切り離し、これを使用し
ているジヨブを落とす、等のことになる。
The above operation is the same as the conventional one, but in this example, even if an error or failure is detected in the store cycle, the program is not notified of it, and the store data is intentionally made erroneous by 2 bits and stored in the MS4. Specifically, the level of the error detection signal ERR is set to 1, and the EOR gates 7 and 8 invert 2 bits in the store data (deliberately make them erroneous). This 2-bit error is only noticeable when the same data or MS4 is read out next time, but this does not pose a particular problem. Since the program that was running at this time is not notified of the error, it does not stop, and continues to run through the steps. After that, when the data stored with the above 2-bit error is read out from the MS4 (I don't know when, but this is when the program is run), the ECC circuit 6 detects the 2-bit error mentioned above. Detect errors. Since the address space used by the program in this fetch cycle is related to the storage address space for the data with the 2-bit error, error handling is easy. This error cannot be corrected with ECC, so
Error handling involves separating the space, dropping the job using it, etc.

尚、本例ではダブルエラー検出のECC回路6
を用いているのでゲート7,8で2ビツト誤りを
生じさせているが、エラー検出の構成がこれと異
なる場合にはその構成に合わせたデータ破壊を行
なう。例えば単純にバイト単位でパリテイビツト
を付加するシステムではストアデータに1ビツト
誤りを生じさせるだけで足りる。
In addition, in this example, the ECC circuit 6 for double error detection
Since this is used, a 2-bit error occurs in gates 7 and 8, but if the error detection configuration is different from this, data destruction is performed in accordance with the configuration. For example, in a system that simply adds a parity bit in units of bytes, it is sufficient to cause a 1-bit error in the stored data.

発明の効果 以上述べたように本発明によれば、スワツプ方
式のバツフアストレイジを使用する電子計算機シ
ステムにおいて、バツフアストレイジからメイン
ストレイジへのデータストア時に障害が生じて
も、そのエラー処理は次に同じデータがメインス
トレイジから取り出される際になされるので、差
し当つて動作に支障はなくまたエラー処理が簡単
になる。
Effects of the Invention As described above, according to the present invention, even if a failure occurs during data storage from the buffer storage to the main storage in a computer system that uses swap-type buffer storage, the error handling is performed as follows. This is done when the same data is retrieved from the main storage, so there is no problem with operation for the time being, and error handling becomes easier.

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

図面は本発明の一実施例を示すブロツク図であ
る。 図中、1はバツフアストレイジ、4はメインス
トレイジ、6はECC回路、7,8はストアデー
タ破壊用のゲート回路である。
The drawing is a block diagram showing one embodiment of the present invention. In the figure, 1 is a buffer storage, 4 is a main storage, 6 is an ECC circuit, and 7 and 8 are gate circuits for destroying stored data.

Claims (1)

【特許請求の範囲】[Claims] 1 バツフアストレイジの記憶データの一部をメ
インメモリへ戻してその空いた記憶領域に新デー
タを格納するスワツプ方式のバツフアストレイジ
の制御方法において、該バツフアストレイジから
メインストレイジへのストアサイクルで障害が発
生したときはストアデータを修正不可能に破壊し
て該メインストレイジにストアし、その後該デー
タがメインストレイジから読出されたときエラー
処理することを特徴とするスワツプ方式のバツフ
アストレイジの制御方法。
1. In a swap-type buffer storage control method in which a part of buffer storage data is returned to the main memory and new data is stored in the free storage area, a store cycle from the buffer storage to the main storage is performed. Swap-type buffer storage control characterized in that when a failure occurs, stored data is irreparably destroyed and stored in the main storage, and then error handling is performed when the data is read from the main storage. Method.
JP57197327A 1982-11-10 1982-11-10 Controlling method of swap system buffer storage Granted JPS5987683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57197327A JPS5987683A (en) 1982-11-10 1982-11-10 Controlling method of swap system buffer storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57197327A JPS5987683A (en) 1982-11-10 1982-11-10 Controlling method of swap system buffer storage

Publications (2)

Publication Number Publication Date
JPS5987683A JPS5987683A (en) 1984-05-21
JPS6153745B2 true JPS6153745B2 (en) 1986-11-19

Family

ID=16372617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57197327A Granted JPS5987683A (en) 1982-11-10 1982-11-10 Controlling method of swap system buffer storage

Country Status (1)

Country Link
JP (1) JPS5987683A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2891897B2 (en) * 1995-04-14 1999-05-17 甲府日本電気株式会社 Store-in cache failure handling system

Also Published As

Publication number Publication date
JPS5987683A (en) 1984-05-21

Similar Documents

Publication Publication Date Title
US4296494A (en) Error correction and detection systems
EP0381885B1 (en) Method for identifying bad data
JPS6061837A (en) Error corrector
JPS6310460B2 (en)
JPS6153745B2 (en)
JPS59148954A (en) Patrolling system of control storage
JP3130796B2 (en) Control storage device
JPS5841497A (en) Memory controlling system
JPH0816488A (en) Electronic disk device
JPH06149685A (en) Memory error recovering circuit
JPS5853097A (en) Processing system for key storage error
JPH01194046A (en) Memory access system
JPS5837638B2 (en) Kiokusouchi
JPH03152643A (en) Double bit error control circuit
JPH02207355A (en) Memory readout system
JPH04255032A (en) Error correcting system for control storage
JPH0667989A (en) Patrol circuit for memory
JPH045219B2 (en)
JPH03168839A (en) Control memory one-bit error correcting system
JPS58169254A (en) Error processing system of control and storage device
JPH01133147A (en) Data processor
JPH01320558A (en) Microprogram controller
JPH058652U (en) Memory device having error detection and correction circuit
JPS6218066B2 (en)
JPH0230060B2 (en)