JPH02304651A - Data processor - Google Patents

Data processor

Info

Publication number
JPH02304651A
JPH02304651A JP1125729A JP12572989A JPH02304651A JP H02304651 A JPH02304651 A JP H02304651A JP 1125729 A JP1125729 A JP 1125729A JP 12572989 A JP12572989 A JP 12572989A JP H02304651 A JPH02304651 A JP H02304651A
Authority
JP
Japan
Prior art keywords
data
address
speed storage
speed
low
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
JP1125729A
Other languages
Japanese (ja)
Inventor
Fumio Ichikawa
文男 市川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1125729A priority Critical patent/JPH02304651A/en
Publication of JPH02304651A publication Critical patent/JPH02304651A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To eliminate a storage system designation for storing in a high speed storage executed from a host device, and also, to store actually data whose use frequency is high in the high speed storage, and moreover, to improve the processing performance by providing a low speed storage address storage means, etc. CONSTITUTION:In the case a read-out/write instruction of low speed storage data is outputted from a host device, the data read-out/write frequency requested from the host device is stored at every address in a low speed storage address storage means 200 by keeping pace with a data processing operation executed by a high speed storage address comparing means 400, etc. Subsequently, by a low speed storage address comparing means 300, the data read-out/write frequency is compared at every address, and only a signal line 3N1 corresponding to the address in which magnitude of the read-out/write frequency becomes an N + 1-th address becomes effective. Next, a data processing means 700 executes a data processing through an N-th data high speed storage means 6N0, and in a first - an N-th high speed storage means 600 - 6N0, the storage contents of first and N-th magnitude of the read-out/write frequency of the data are always stored, the data storage system designation from the host device becomes unnecessary, and the processing performance can be improved.

Description

【発明の詳細な説明】 (産業上の利用分野〕 本発明はデータ処理装置に関し、特にデータキャシュ方
式のデータ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a data processing device, and particularly to a data caching type data processing device.

〔従来の技術〕[Conventional technology]

従来、この種のデータ処理装置は、上位装置より高速記
憶に貯蔵するデータの貯蔵方式を指定することにより、
低速記憶のデータの1部を高速記憶に貯蔵し、上位装置
より読出書込要求があった場合、続出書込要求アドレス
と高速記憶に貯蔵されたデータのアドレス比較を行い、
目的のデータであれば、低速記憶に対する読出書込動作
を行わず、高速記憶の読出・書込動作を行い処理性能を
高めていた。
Conventionally, this type of data processing device specifies the data storage method to be stored in high-speed storage from the host device.
A part of the data in the low-speed memory is stored in the high-speed memory, and when there is a read/write request from the host device, the address of the subsequent write request is compared with the address of the data stored in the high-speed memory,
If it is the desired data, reading and writing operations to the low-speed storage are not performed, but reading and writing operations to the high-speed storage are performed to improve processing performance.

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

したがって従来は上位装置から高速記憶に貯蔵するデー
タの貯蔵方式を指定する必要があり、さらに指定された
方式が実際の使用ひん度と一致していない場合は性能が
十分に上がらない欠点があった。
Therefore, in the past, it was necessary to specify the storage method for data to be stored in high-speed memory from the host device, and if the specified method did not match the actual frequency of use, performance could not be sufficiently improved. .

本発明の目的は低速記憶のデータ読出書込アドレスの統
計情報を利用することにより上記欠点を解決し、上位装
置よりの高速記憶に貯蔵する貯蔵方式指定をなくし、実
際に使用ひん度の高いデータを高速記憶に貯蔵し、処理
性能を従来装置より高めた装置を提供することにある。
The purpose of the present invention is to solve the above-mentioned drawbacks by using statistical information of data read/write addresses in low-speed storage, eliminate the need to specify a storage method for storing data in high-speed storage from a host device, and store data that is frequently used in practice. The object of the present invention is to provide a device that stores information in a high-speed memory and has higher processing performance than conventional devices.

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

本発明のデータ処理装置は、低速記憶のデータ読出・書
込アドレスを貯蔵する低速記憶アドレスレジスタ、低速
記憶アドレスレジスタの出力アドレスごとのデータ読出
書込回数を貯蔵する低速記憶アドレス記憶手段、低速記
憶アドレス記憶手段のデータ読出書込回数をアドレスご
とに比較する低速記憶アドレス比較手段、既に低速記憶
に貯蔵されたデータの1部を貯蔵するデータ高速記憶手
段、データ高速記憶手段に貯蔵されたデータの続出書込
アドレスを貯蔵する高速記憶アドレスレジスタ、高速記
憶アドレスレジスタ及び低速記憶アドレスレジスタのデ
ータ読出書込アドレスを比較する高速記憶アドレス比較
手段、及び高速記憶アドレス比較手段及び低速記憶アド
レス比較手段の比較結果によりデータ処理方法を決定す
るデータ処理手段を含んで構成されている。
The data processing device of the present invention includes a low-speed memory address register for storing data read/write addresses in low-speed memory, a low-speed memory address storage means for storing data read/write counts for each output address of the low-speed memory address register, and low-speed memory. A low-speed storage address comparison means for comparing the number of data read/writes in the address storage means for each address; a data high-speed storage means for storing a part of the data already stored in the low-speed storage; Comparison of high-speed memory address register for storing successive write addresses, high-speed memory address comparison means for comparing data read/write addresses of high-speed memory address register and low-speed memory address register, and high-speed memory address comparison means and low-speed memory address comparison means It is configured to include data processing means for determining a data processing method based on the results.

〔実施例〕〔Example〕

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

本発明の実施例を示す第1図において、本発明のデータ
処理装置は、低速記憶のデータ読出書込アドレスを貯蔵
する低速記憶アドレスレジスタ100、低速記憶アドレ
スレジスタ100の出力アドレス101ごとのデータ読
出書込み回数を貯蔵する低速記憶アドレス記憶手段20
0、低速記憶アドレス記憶手段200のデータ読出書込
回数をアドレスごとに比較する低速記憶アドレス比較手
段300、既に低速記憶に貯蔵されたデータの異なるア
ドレスのデータを各高速記憶に貯蔵する第1データ高速
記憶手段600、第2データ高速記憶手段610.・・
・第Nデータ高速記憶手段6NO1各データ高速記憶手
段に対応して、貯蔵されたデータの続出書込アドレスを
貯蔵する第1高速記憶アドレスレジスタ500、第2高
速記憶アドレスレジスタ510.・・・第N高速記憶ア
ドレスレジスタ5NO,第1高速記憶アドレスレジスタ
500の出力アドレス501、第2高速記憶アドレスレ
ジスタ510の出力アドレス511.・・・第N高速記
憶アドレスレジスタ5NOの出力アドレス5N1及び低
速記憶アドレスレジスタ100の出力アドレス101の
データ読出書込アドレス比較する高速記憶アドレス比較
手段400、高速記憶アドレス比較手段400のデータ
高速記憶手段ごとの比較結果出力401,411.・・
・4N1、低速記憶アドレス比較手段300のデータ高
速記憶手段ごとの比較結果出力301,311.・・・
3N1により、低速記憶(図示せず)のデータ線701
、上位装置(図示せず)のデータ線711、各データ高
速記憶手段のデータ線601゜611、・・・6N1の
接続を行うデータ処理手段700から構成されている。
In FIG. 1 showing an embodiment of the present invention, the data processing device of the present invention includes a low-speed memory address register 100 that stores data read/write addresses in low-speed memory, and a data read/write function for each output address 101 of the low-speed memory address register 100. Low-speed memory address storage means 20 for storing the number of writes
0. Low-speed memory address comparison means 300 that compares the number of data read and write times of the low-speed memory address storage means 200 for each address; first data that stores data at a different address of data already stored in the low-speed memory in each high-speed memory; High speed storage means 600, second data high speed storage means 610.・・・
Nth data high-speed storage means 6NO1 Corresponding to each data high-speed storage means, a first high-speed storage address register 500, a second high-speed storage address register 510 . . . . Nth high-speed memory address register 5NO, output address 501 of the first high-speed memory address register 500, output address 511 of the second high-speed memory address register 510. . . . High-speed memory address comparison means 400 that compares the data read/write addresses of the output address 5N1 of the N-th high-speed memory address register 5NO and the output address 101 of the low-speed memory address register 100, and the data high-speed memory means of the high-speed memory address comparison means 400 Comparison result output 401, 411.・・・
- 4N1, comparison result output 301, 311 for each data high speed storage means of the low speed storage address comparison means 300. ...
3N1, data line 701 of low speed storage (not shown)
, a data line 711 of a host device (not shown), and a data processing means 700 that connects data lines 601, 611, . . . 6N1 of each high-speed data storage means.

本構成において、上位装置より低速記憶にデータの続出
書込命令が出された場合、まずデータの読出書込アドレ
スが低速記憶アドレスレジスタ100に貯蔵され、低速
アドレスレジスタの出力101と既に第1〜第Nデータ
高速記憶手段600,601.・・・6NOに貯蔵され
たデータの各読出書込アドレスを貯蔵する第1〜第N高
速アドレスレジスタ500,510、・・・5NOの出
力501,511.・・・5N1とのアドレス比較を高
速記憶アドレス比較手段400にて行い、一致したアド
レスに対応する信号線4N1のみを有効にし、データ処
理手段700に知らせる。データ処理手段700では、
アドレスが一致した高速記憶が存在する場合は上位装置
のデータ線711とアドレスの一致した高速記憶のデー
タ線6N1とを接続し、上位装置と高速記憶6Nlとの
間でデータのやりとりを行う。アドレスが一致しない場
合は上位装置のデータ線711と低速記憶のデータ線7
01とを接続し、上位装置と低速記憶との間でデータの
やりとりを行う。
In this configuration, when a command to write successive data to the low-speed storage is issued from the host device, the read/write address of the data is first stored in the low-speed storage address register 100, and the output 101 of the low-speed address register and the first to Nth data high speed storage means 600, 601. . . . 1st to Nth high-speed address registers 500, 510 storing respective read/write addresses of data stored in 6NOs, . . . ... 5N1 is performed by the high-speed storage address comparison means 400, and only the signal line 4N1 corresponding to the matched address is enabled, and the data processing means 700 is notified. In the data processing means 700,
If a high-speed memory with a matching address exists, the data line 711 of the host device is connected to the data line 6N1 of the high-speed storage with a matching address, and data is exchanged between the host device and the high-speed storage 6Nl. If the addresses do not match, the data line 711 of the host device and the data line 7 of the low-speed memory
01 to exchange data between the host device and low-speed storage.

上記動作に並行して低速記憶アドレス記憶手段200に
上位装置より要求されたデータ読出書込回数をアドレス
ごとに貯蔵し、低速記憶アドレス比較手段300にて、
データ読出書込回数をアドレスごとに比較し、読出書込
回数の大きさが第N+1番目になったアドレスに対応す
る信号線3N1のみを有効にする。データ処理手段70
0では低速記憶アドレス比較手段の比較結果信号3N1
が有効になると低速記憶のデータ線701と比較結果信
号3N1に対応する第Nデータ高速記憶手段6NOのデ
ータ線6N1とを接続し、第N高速記憶アドレスレジス
タ5NOの出力アドレスにもとづいて、第Nデータ高速
記憶手段6NOのデータを低速記憶に書戻した後、上位
装置のデータ線711と低速記憶のデータ線701とを
接続し上位装置と低速記憶との間でデータのやりとりを
行う場合に、第Nデータ高速記憶手段6NOを経由して
行う、同時に第N高速記憶アドレスレジスタ5NOの更
新・を行う。以上により第1〜第N高速記憶600〜6
NOには常にデータの読出書込回数の大きさが第1〜第
N番目の記憶内容が貯蔵されることになる。
In parallel with the above operation, the number of data read/writes requested by the host device is stored in the low-speed memory address storage means 200 for each address, and the low-speed memory address comparison means 300 stores the number of data reads and writes requested by the host device.
The number of data read/writes is compared for each address, and only the signal line 3N1 corresponding to the address whose number of reads/writes is the N+1st is enabled. Data processing means 70
0, the comparison result signal 3N1 of the low-speed storage address comparison means
When becomes valid, the data line 701 of the low-speed memory is connected to the data line 6N1 of the N-th data high-speed storage means 6NO corresponding to the comparison result signal 3N1, and the After writing back the data in the data high-speed storage means 6NO to the low-speed storage, when connecting the data line 711 of the host device and the data line 701 of the low-speed storage to exchange data between the host device and the low-speed storage, At the same time, the Nth data high speed storage address register 5NO is updated via the Nth data high speed storage means 6NO. As a result of the above, the first to Nth high-speed memories 600 to 6
The storage contents of the first to Nth data read/write counts are always stored in NO.

〔発明の効果〕〔Effect of the invention〕

本発明には、以上説明したように低速記憶のデータ読出
書込アドレスの統計情報を記憶し、統計情報の値の大き
さの順に処理装置の記憶手段にデータを記憶するように
構成することにより、上位装置よりのデータ貯蔵方式指
定をなくし、さらに処理性能を高めることができるとい
う効果がある。
As explained above, the present invention is configured to store statistical information of data read/write addresses of low-speed storage, and to store the data in the storage means of the processing device in the order of the magnitude of the value of the statistical information. This has the effect of eliminating the need to specify a data storage method from a host device and further improving processing performance.

図面の簡単な説明 第1図は本発明の一実施例のブロック図である。Brief description of the drawing FIG. 1 is a block diagram of one embodiment of the present invention.

第1図において、100は低速記憶アドレスレジスタ、
101は低速記憶アドレスレジスタ出力、200は低速
記憶アドレス記憶手段、201は低速記憶アドレス記憶
手段出力、300は低速記憶アドレス比較手段、301
,311.・・・3N1は各々第1.第2.・・・第N
データ高速記憶に対応する低速記憶アドレス比較手段結
果出力、400は高速記憶アドレス比較手段、401,
411、・・・4N1は各々第1.第2.・・・第Nデ
ータ高速記憶に対応する高速記憶アドレス比較手段結果
出力、500,510.・・・5NOは各々第1.第2
、・・・第N高速記憶アドレスレジスタ、501゜51
1、・・・5N1は各々第1.第2.・・・第N高速記
憶アドレスレジスタ出力、600,610.・・・6N
Oは各々第1.第2.・・・第Nデータ高速記憶手段、
601,611.・・・6NOは各々第1.第2、・・
・第N高速記憶手段出力、700はデータ処理手段、7
01は低速記憶データ線、702は上位装置のデータ線
である。
In FIG. 1, 100 is a low-speed storage address register;
101 is a low-speed storage address register output, 200 is a low-speed storage address storage means, 201 is a low-speed storage address storage means output, 300 is a low-speed storage address comparison means, 301
, 311. ...3N1 are the 1st. Second. ... No. N
A low-speed storage address comparison means corresponding to data high-speed storage results output; 400 is a high-speed storage address comparison means; 401;
411, . . . 4N1 are the first . Second. . . . High-speed storage address comparison means result output corresponding to Nth data high-speed storage, 500, 510. ... 5 NOs are the 1st. Second
, . . . Nth high-speed storage address register, 501°51
1,...5N1 are the 1st . Second. . . . Nth high-speed storage address register output, 600, 610. ...6N
O is the first. Second. ... Nth data high-speed storage means,
601,611. ...6 NOs are the 1st. Second,...
・Nth high-speed storage means output, 700 is data processing means, 7
01 is a low-speed storage data line, and 702 is a data line of the host device.

Claims (1)

【特許請求の範囲】[Claims] 低速記憶のデータ読出・書込アドレスを貯蔵する低速記
憶アドレスレジスタ、該低速記憶アドレスレジスタの出
力アドレスごとのデータ読出書込回数を貯蔵する低速記
憶アドレス記憶手段、該低速記憶アドレス記憶手段のデ
ータ読出書込回数をアドレスごとに比較する低速記憶ア
ドレス比較手段、既に低速記憶に貯蔵されたデータの1
部を貯蔵するデータ高速記憶手段、該データ高速記憶手
段に貯蔵されたデータの読出書込アドレスを貯蔵する高
速記憶アドレスレジスタ、該高速記憶アドレスレジスタ
及び上記低速記憶アドレスレジスタのデータ読出書込ア
ドレスを比較する高速記憶アドレス比較手段、及び該高
速記憶アドレス比較手段及び上記低速記憶アドレス比較
手段の比較結果によりデータ処理方法を決定するデータ
処理手段を含むことを特徴とするデータ処理装置。
A low-speed memory address register for storing data read/write addresses of low-speed memory, low-speed memory address storage means for storing the number of data read/writes for each output address of the low-speed memory address register, and data reading of the low-speed memory address storage means. Low-speed storage address comparison means for comparing the number of writes for each address, one of the data already stored in the low-speed storage
a data high-speed storage means for storing the data read/write address of the data stored in the data high-speed storage means; a high-speed storage address register for storing the read/write address of the data stored in the data high-speed storage means; a data read/write address of the high-speed storage address register and the low-speed storage address register; A data processing device comprising: high-speed storage address comparison means for comparing; and data processing means for determining a data processing method based on the comparison results of the high-speed storage address comparison means and the low-speed storage address comparison means.
JP1125729A 1989-05-19 1989-05-19 Data processor Pending JPH02304651A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1125729A JPH02304651A (en) 1989-05-19 1989-05-19 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1125729A JPH02304651A (en) 1989-05-19 1989-05-19 Data processor

Publications (1)

Publication Number Publication Date
JPH02304651A true JPH02304651A (en) 1990-12-18

Family

ID=14917340

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1125729A Pending JPH02304651A (en) 1989-05-19 1989-05-19 Data processor

Country Status (1)

Country Link
JP (1) JPH02304651A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60214060A (en) * 1984-04-06 1985-10-26 Nippon Telegr & Teleph Corp <Ntt> Control system of external storage cache

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60214060A (en) * 1984-04-06 1985-10-26 Nippon Telegr & Teleph Corp <Ntt> Control system of external storage cache

Similar Documents

Publication Publication Date Title
JP3569735B2 (en) Select word width for SRAM cache
JPH02304651A (en) Data processor
JPS6391756A (en) Partial write instruction processing system for storage device
JPS59197946A (en) Memory device
JPH09319657A (en) Processor provided with buffer for reading instruction
JPH0298754A (en) Main storage control system
JP2703255B2 (en) Cache memory writing device
JP2625145B2 (en) Memory access control device
JP2964504B2 (en) Document processing device
JPS6252339B2 (en)
JPS6010368A (en) Address conversion buffer control system
EP0369935A2 (en) Multiple posting cache memory
JPS62271029A (en) Disk cache control system
JPH0447344B2 (en)
JPS635432A (en) Microprocessor
JPH1124995A (en) Tlb access control system for address conversion
JPS6373458A (en) Shared memory access device
JPS63292253A (en) Buffer device
JPS63123145A (en) Buffer memory device
JPH0652516B2 (en) Bus interface device
JPH0685154B2 (en) Intermediate buffer control method
JPS63121975A (en) Information processor
JPS61148543A (en) Memory access request processing system
JPH0433059B2 (en)
JPS63298466A (en) Data transfer device