JPH03103951A - Memory patrol control system - Google Patents

Memory patrol control system

Info

Publication number
JPH03103951A
JPH03103951A JP1242511A JP24251189A JPH03103951A JP H03103951 A JPH03103951 A JP H03103951A JP 1242511 A JP1242511 A JP 1242511A JP 24251189 A JP24251189 A JP 24251189A JP H03103951 A JPH03103951 A JP H03103951A
Authority
JP
Japan
Prior art keywords
memory
patrol
buffer memory
address
main storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1242511A
Other languages
Japanese (ja)
Inventor
Kiyoshi Kawanishi
清 川西
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 JP1242511A priority Critical patent/JPH03103951A/en
Publication of JPH03103951A publication Critical patent/JPH03103951A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To avoide a memory patrol to an unnecessary address by not executing the patrol at the time when data of a patrol address is registered in a buffer memory. CONSTITUTION:The write control of a main storage device 111 and a buffer memory 113 is performed in the swap system, and data is written in the buffer memory 113 in accordance with the occurrence of write, and data in the buffer memory 113 is transferred and written in the main storage device 111 when the data is the substitution object. The memory patrol for error correction is performed in the main storage device 111. A memory patrol control means 121 instructs the patrol to the address which is not registered in the buffer memory 113. Thus, the patrol to an unnecessary address is avoided.

Description

【発明の詳細な説明】 〔概 要〕 主記憶装置に対して定期的にデータのり一ド/ライトを
行ないソフトエラーを補償するメモリパトロールの制御
方式に関し、 不必要なアドレスのメモリパトロールを回避できること
を目的とし、 主記憶装置と、バッファメモリを有し、主記憶装置およ
びバッファメモリの書き込み制御をスワップ方式で行な
う中央処理装置と、中央処理装置の指示により、定期的
に主記憶装置の格納データの誤り訂正を行なうメモリパ
トロール実行手段を含む主記憶制御装置とを備えたメモ
リパトロール制御方弐において、中央処理装置は、メモ
リパトロールを行なう主記憶装置のアドレスに対応ずる
データがバッファメモリに登録されているか否かを判断
し、バッファメモリに未登録のアドレスに対してメモリ
パトロール実行手段にパトロールを指示するメモリパト
ロール制御手段を含むことを特徴とする。
[Detailed Description of the Invention] [Summary] A memory patrol control method for compensating for soft errors by periodically reading/writing data to a main storage device, and capable of avoiding memory patrol of unnecessary addresses. A central processing unit has a main memory and a buffer memory, and controls writing to the main memory and buffer memory using a swap method. In the second memory patrol control method, the central processing unit registers data corresponding to the address of the main storage device that performs the memory patrol in the buffer memory. The present invention is characterized in that it includes a memory patrol control means that determines whether or not the address is registered in the buffer memory and instructs the memory patrol execution means to patrol the address that is not registered in the buffer memory.

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

本発明は、主記憶装置に対して定期的にデータのリード
/ライトを行ないソフトエラーを補償するメモリパトロ
ールの制御方式に関するものである。
The present invention relates to a memory patrol control method that periodically reads/writes data to/from a main memory to compensate for soft errors.

〔従来の技術〕[Conventional technology]

コンピュータ・システムでは、中央処理装置にバッファ
メモリを備え、主記憶装置が格納するデータを適宜バッ
ファメモリに格納し、このバッファメモリをアクセスす
ることにより高速処理が実現されている。
In computer systems, high-speed processing is achieved by providing a central processing unit with a buffer memory, storing data stored in a main memory in the buffer memory as appropriate, and accessing the buffer memory.

ところで、中央処理装置がバッファメモリおよび主記憶
装置にデータを書き込む方式の一つてあるスワップ方式
は、書き込み処理発生に応じて、バッファメモリにだけ
書き込み処理を行なう方法である。したがって、スワッ
プ方式では、更新されたデータが置換の対象になったと
きに、主記憶装置にそのデータが転送され、主記憶装置
の内容が更新される。すなわち、バッファメモリと主記
憶装置が格納する内容は一致せず、最新データは、バッ
ファメモリに格納されている。
Incidentally, the swap method, which is one of the methods in which the central processing unit writes data to the buffer memory and the main storage device, is a method in which writing processing is performed only to the buffer memory in response to the occurrence of writing processing. Therefore, in the swap method, when updated data becomes a replacement target, the data is transferred to the main storage, and the contents of the main storage are updated. That is, the contents stored in the buffer memory and the main storage device do not match, and the latest data is stored in the buffer memory.

一方、メモリパトロールは、プログラムによるアクセス
とは無関係に、中央処理装置が主記憶装置に格納される
データを定期的に順次読み出してエラーチェックを行な
い、1ビット単位でソフトエラーを補償するものである
On the other hand, with memory patrol, the central processing unit periodically and sequentially reads data stored in the main memory, regardless of program access, and performs error checking to compensate for soft errors on a bit-by-bit basis. .

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

したがって、主記憶装置およびバッファメモリがスワッ
プ方式で書き込み制御されるコンピュータ・システムで
は、主記憶装置に対してアドレスを順次更新しながら行
なうメモリパトロールは、最新データがないアドレスに
対しても一律に行なわれている。すなわち、バックァメ
モリのデータがいずれ置換される主記憶装置のアドレス
に対しては、メモリパトロールを行なうこと自体が無駄
であり、この不必要なアドレスへのメモリパトロールに
よってメモリのビジー率が一層高まっていた。
Therefore, in a computer system where the main memory and buffer memory are write-controlled using a swap method, memory patrol, which is performed while sequentially updating addresses in the main memory, is performed uniformly even for addresses that do not have the latest data. It is. In other words, it is wasteful to perform memory patrols on addresses in the main memory where data in the backup memory will eventually be replaced, and memory patrols on unnecessary addresses will further increase the memory busy rate. was.

さらに、このような不必要なアドレスへのメモリパトロ
ールにより、メモリの多ビットエラーが発生した場合で
も同様にエラー処理が行なわれるために、システム全体
の処理速度の低下が避けられなかった。
Furthermore, due to such unnecessary memory patrols to addresses, even if a multi-bit error occurs in the memory, error processing is performed in the same way, which inevitably reduces the processing speed of the entire system.

本発明は、主記憶装置とバッファメモリとを有し、スワ
ップ方式により書き込み制御が行なわれるコンピュータ
・システムにおいて、不必要なアドレスへのパトロール
を回避できるメモリパトロール制御方式を提供すること
を目的としている。
An object of the present invention is to provide a memory patrol control method that can avoid patrolling unnecessary addresses in a computer system that has a main storage device and a buffer memory and performs write control using a swap method. .

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

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

図において、本発明のメモリパトロール制御方式は、主
記憶装置111と、中央処理装置115と、主記憶制御
装置119とを備える。
In the figure, the memory patrol control method of the present invention includes a main storage device 111, a central processing unit 115, and a main storage control device 119.

中央処理装置115は、バッファメモリ113を有し、
主記憶装置111およびバッファメモリ113の書き込
み制御をスワップ方式で行なう。
The central processing unit 115 has a buffer memory 113,
Writing control of the main storage device 111 and buffer memory 113 is performed using a swap method.

主記憶制御装置119は、中央処理装置115の指示に
より、定期的に主記憶装置111の格納データの誤り訂
正を行なうメモリパトロール実行手段117を含む。
The main storage control device 119 includes a memory patrol execution unit 117 that periodically performs error correction on data stored in the main storage device 111 according to instructions from the central processing unit 115.

本発明では、中央処理装置115は、メモリパトロール
を行なう主記憶装置111のアドレスに対応するデータ
がバッファメモリ113に登録されているか否かを判断
し、バッツァメモリ113に未登録のアドレスに対して
メモリパトロール実行手段117にパトロールを指示す
るメモリパトロール制御千段121を含む。
In the present invention, the central processing unit 115 determines whether or not data corresponding to the address of the main storage device 111 that performs memory patrol is registered in the buffer memory 113, and stores the data for the address that is not registered in the batza memory 113. It includes a memory patrol control stage 121 that instructs the patrol execution means 117 to perform patrol.

〔作 用〕[For production]

主記憶装置111およびバッファメモリ113は、スワ
ップ方式で書き込み制御が行なわれており、バッファメ
モリ113には、書き込み発生に応して書き込みが行な
われ、主記憶装置111には、バッファメモリ113の
データが置換の対象となったときに主記憶装置111に
そのデータが転送されて書き込みが行なわれる。
Writing control is performed on the main storage device 111 and the buffer memory 113 using a swap method, and writing is performed in the buffer memory 113 in response to write occurrence, and the data in the buffer memory 113 is stored in the main storage device 111. When the data becomes a replacement target, the data is transferred to the main storage device 111 and written.

また、主記憶装置111は、誤り訂正を行なうメモリパ
トロールが行なわれている。
Furthermore, the main storage device 111 undergoes memory patrol for error correction.

本発明では、メモリパトロール制御手段121が、バッ
ファメモリ113に未登録のアドレスに対してパトロー
ルを指示するので、不必要なアドレスへのパトロールを
回避することができる。
In the present invention, since the memory patrol control means 121 instructs the buffer memory 113 to patrol addresses that are not registered, it is possible to avoid patrolling unnecessary addresses.

〔実施例〕〔Example〕

第2図は、コンピュータ・システムの本発明方式に関連
する部分の構或を示すブロック図である。
FIG. 2 is a block diagram showing the structure of the portion of the computer system related to the method of the present invention.

図において、中央処理装置210のアドレス制御部21
1では、主記憶装置270をアクセスするアドレスある
いはパトロールコマンドが、アドレス/コマンドゲート
217を介して主記憶制御Vi 置2 5 0のアドレ
ス/コマンドゲート251に送出され、また、バッファ
メモリ213をアクセスするアドレスがバッファメモリ
213に送出される。なお、アドレス制御部211には
、アドレス変換部215が接続され、論理アドレスと実
アドレスとの変換が行なわれる。
In the figure, an address control unit 21 of a central processing unit 210
1, an address or patrol command for accessing the main memory 270 is sent to the address/command gate 251 of the main memory control device 250 via the address/command gate 217, and also for accessing the buffer memory 213. The address is sent to buffer memory 213. Note that an address conversion section 215 is connected to the address control section 211 and performs conversion between a logical address and a real address.

主記憶装置250のアドレス/コマントゲート251に
は、主記憶装W270のバ1・ロールコマンドの解析を
行なうコマンド制御部252およびアドレスゲート25
3を介して主記憶装置270が接続される。また、主記
憶装置270から読み出されたデータは、リードデータ
レジスタ255に保持され、その出力が誤り訂正部25
7に入力される。誤り訂正部257の出力は、ライ1〜
データレジスタ259に保持され、その出力が誤り訂正
コード生威部261を介して主記憶装置270に書き込
まれる。なお、中央処理装置210のバッファメモリ2
13と主記憶装置270との接続は、中央処理装置21
0のバッファメモリ213に接続されるデータゲ−1−
 2 1 9と、主記憶制御装置250の誤り訂正部2
57を介してリードデ一タレジスタ255およびライト
データレジスタ259に接続されるデータゲート263
とを介して行なわれる。
The address/command gate 251 of the main memory device 250 includes a command control unit 252 and an address gate 25 that analyze the bar 1/roll command of the main memory device W270.
A main storage device 270 is connected via 3. Further, the data read from the main storage device 270 is held in the read data register 255, and its output is sent to the error correction unit 255.
7 is input. The output of the error correction unit 257 is
The data is held in the data register 259, and its output is written to the main storage device 270 via the error correction code generator 261. Note that the buffer memory 2 of the central processing unit 210
13 and the main storage device 270 are connected to the central processing unit 21
Data game 1 connected to buffer memory 213 of
2 1 9 and the error correction unit 2 of the main storage control device 250
Data gate 263 connected to read data register 255 and write data register 259 via 57
This is done through the

アドレス制御部211では、アクセスアドレスに応じて
、バッファメモリ213あるいは主記憶装置270の一
方に対してアクセスを行なう。
The address control unit 211 accesses either the buffer memory 213 or the main storage device 270 depending on the access address.

第3図は、メモリパトロールの実施例の動作を説明する
図である。
FIG. 3 is a diagram illustrating the operation of the embodiment of memory patrol.

以下、第2図および第3図を参照してメモリパトロール
の実施例動作について説明する。
The operation of an embodiment of memory patrol will be described below with reference to FIGS. 2 and 3.

アドレス制御部211は、メモリパトロールを行なうた
めに順次更新されるアドレス(以下、「パトロールアド
レス」という。)と、バッファメモリ213の対応する
アドレスとを比較し、それらが一致したパトロールアド
レスについてはパトロールを実行しない制御を行なう。
The address control unit 211 compares addresses that are sequentially updated to perform memory patrol (hereinafter referred to as "patrol addresses") with the corresponding addresses in the buffer memory 213, and for patrol addresses that match, Performs control to prevent execution.

すなわち、パトロール実行時に、そのアドレスのデータ
がバッファメモリ213に登録されている場合にはパト
ロールを実行しない制御を行なうことにより、不必要な
アドレスに対するメモリパトロールを回避することがで
きる。
That is, by performing control such that the patrol is not executed if data at that address is registered in the buffer memory 213 when executing the patrol, it is possible to avoid memory patrol for unnecessary addresses.

なお、パトロールアドレスと、八ソファメモリ213の
対応するアドレスが不一致となるパトロールアドレスの
データがバッファメモリ213に登録されていない場合
には、従来通りアドレス制御部211は、主記憶装置2
70に対して所定のメモリパトロールを行なう。
Note that if data of a patrol address in which the patrol address and the corresponding address in the eight sofa memory 213 do not match is registered in the buffer memory 213, the address control unit 211 as usual
70 is subjected to a predetermined memory patrol.

すなわち、主記憶装置270の該当アドレスのデータは
、リードデータレジスク255に読み込まれ、誤り訂正
部257においてエラーチェックされる。ここでソフト
エラーが検出されれば、データは訂正されてライトデー
クレジスタ259に書き込まれる。エラーが検出されな
ければ、データはそのままライトデータレジスタ259
に書き込まれる。ライトデータレジスタ259のデータ
は、誤り訂正コード生或部261において次のパトロー
ル時に使用される訂正コードが付加されて主記憶装置2
70の読み出されたアドレスに再度格納される。
That is, the data at the corresponding address in the main storage device 270 is read into the read data register 255 and checked for errors in the error correction section 257. If a soft error is detected here, the data is corrected and written to the write data register 259. If no error is detected, the data is stored as is in the write data register 259.
will be written to. The data in the write data register 259 is added with a correction code to be used at the next patrol in an error correction code generation section 261, and is stored in the main storage device 2.
It is stored again at the read address of 70.

9 10 〔発明の効果〕 本発明によれば、バッファメモリおよび主記憶装置がス
ワップ方式で書き込み制御されるコンピュータ・システ
ムでは、パトロールアドレスのデータがバッファメモリ
に登録されているときにはパトロールを実行しない。し
たがって、不必要なアドレスへのメモリパトロールが行
なわれないので、主記憶装置のビジー率を低減すること
ができる。
9 10 [Effects of the Invention] According to the present invention, in a computer system in which buffer memory and main storage are write-controlled in a swap manner, patrol is not executed when data of a patrol address is registered in the buffer memory. Therefore, since memory patrol to unnecessary addresses is not performed, the busy rate of the main storage device can be reduced.

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

第1図は本発明の原理ブロック図、 第2図はコンピュータ・システムの本発明方式に関連す
る部分の構威を示すブロック図、第3図はメモリパトロ
ールの実施例の動作を説明する図である。 図において、 111は主記憶装置、 113はバッファメモリ、 l1 本発明の原理ブロンク図 第1図 5は中央処理装置、 7はメモリパトロール実行手段、 9は主記憶制御装置、 1はメモリパトロール制御手段、 0は中央処理装置、 1はアドレス制御部、 3はバッファメモリ、 5はアドレス変換部、 7、251はアドレス/コマンドゲート、9、263は
データゲート、 0は主記憶制御装置、 2はコマンド制御部、 3はアドレスゲート、 5はリードデータレジスタ、 9はライトデータレジスタ、 7は誤り出訂正部、 1は誤り訂正コード生戒部、 0は主記憶装置である。 12 第2図
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram showing the structure of a part of a computer system related to the method of the present invention, and Fig. 3 is a diagram explaining the operation of an embodiment of memory patrol. be. In the figure, 111 is a main storage device, 113 is a buffer memory, l1 is a block diagram of the principle of the present invention, FIG. 5 is a central processing unit, 7 is a memory patrol execution means, 9 is a main memory control device, 1 is a memory patrol control means , 0 is the central processing unit, 1 is the address control unit, 3 is the buffer memory, 5 is the address conversion unit, 7, 251 is the address/command gate, 9, 263 is the data gate, 0 is the main memory control unit, 2 is the command 3 is an address gate, 5 is a read data register, 9 is a write data register, 7 is an error correction unit, 1 is an error correction code generation unit, and 0 is a main storage device. 12 Figure 2

Claims (1)

【特許請求の範囲】[Claims] (1)主記憶装置(111)と、 バッファメモリ(113)を有し、前記主記憶装置(1
11)および前記バッファメモリ(113)の書き込み
制御をスワップ方式で行なう中央処理装置(115)と
、 前記中央処理装置(115)の指示により、定期的に前
記主記憶装置(111)の格納データの誤り訂正を行な
うメモリパトロール実行手段(117)を含む主記憶制
御装置(119)と を備えたメモリパトロール制御方式において、前記中央
処理装置(115)は、メモリパトロールを行なう前記
主記憶装置(111)のアドレスに対応するデータが前
記バッファメモリ(113)に登録されているか否かを
判断し、前記バッファメモリ(113)に未登録のアド
レスに対して前記メモリパトロール実行手段(117)
にパトロールを指示するメモリパトロール制御手段(1
21)を含む ことを特徴とするメモリパトロール制御方式。
(1) It has a main storage device (111) and a buffer memory (113), and has the main storage device (111) and a buffer memory (113).
11) and a central processing unit (115) that performs write control of the buffer memory (113) in a swap manner; In a memory patrol control system comprising a main storage control device (119) including a memory patrol execution means (117) for performing error correction, the central processing unit (115) controls the main storage device (111) for performing memory patrol. The memory patrol execution means (117) determines whether data corresponding to the address is registered in the buffer memory (113), and executes the memory patrol for the address that is not registered in the buffer memory (113).
Memory patrol control means (1) for instructing patrol to
21) A memory patrol control method comprising:
JP1242511A 1989-09-19 1989-09-19 Memory patrol control system Pending JPH03103951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1242511A JPH03103951A (en) 1989-09-19 1989-09-19 Memory patrol control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1242511A JPH03103951A (en) 1989-09-19 1989-09-19 Memory patrol control system

Publications (1)

Publication Number Publication Date
JPH03103951A true JPH03103951A (en) 1991-04-30

Family

ID=17090192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1242511A Pending JPH03103951A (en) 1989-09-19 1989-09-19 Memory patrol control system

Country Status (1)

Country Link
JP (1) JPH03103951A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04354040A (en) * 1991-05-31 1992-12-08 Nec Corp Circuit for preventing storage of single event upset error
KR100414955B1 (en) * 2001-07-31 2004-01-13 김혜령 Diffuser
JP2007263532A (en) * 2006-03-30 2007-10-11 Dainippon Printing Co Ltd Wind speed distribution adjusting device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04354040A (en) * 1991-05-31 1992-12-08 Nec Corp Circuit for preventing storage of single event upset error
KR100414955B1 (en) * 2001-07-31 2004-01-13 김혜령 Diffuser
JP2007263532A (en) * 2006-03-30 2007-10-11 Dainippon Printing Co Ltd Wind speed distribution adjusting device

Similar Documents

Publication Publication Date Title
US7111134B2 (en) Subsystem and subsystem processing method
JPH03103951A (en) Memory patrol control system
JP2004206424A (en) Data processing device and data transfer method for data processing device
JPH11184761A (en) Read modify write control system
JPH08137748A (en) Computer having copy back cache and copy back cashe control method
JP2604604B2 (en) Stack control device
JPH01298453A (en) Cache error processing system
JPH0756640B2 (en) Storage device
US6317857B1 (en) System and method for utilizing checksums to recover data
JPH04259025A (en) Disk array controller
JPH0447350A (en) Main storage read/response control
JPH01255943A (en) Buffer storage control device
JPH03271823A (en) High speed writing system for disk controller
JPH05113888A (en) Microprocessor unit
JPH0488441A (en) Storage device
JPS6269342A (en) Semiconductor disk device
JPH10247157A (en) Transaction processing system and its recovering method
JPH01177668A (en) System for managing message queue
JPH05108466A (en) Main storage device
JPH02293947A (en) Virtual storage dualizing system
JPH04361320A (en) Computer system
JPS60134361A (en) Key storage control system
JPH04114228A (en) Disk cache system
JPH02123426A (en) Microprocessor
JPS61217845A (en) Cache control system