JP2687910B2 - Data transfer control method and data transfer control device - Google Patents

Data transfer control method and data transfer control device

Info

Publication number
JP2687910B2
JP2687910B2 JP7004777A JP477795A JP2687910B2 JP 2687910 B2 JP2687910 B2 JP 2687910B2 JP 7004777 A JP7004777 A JP 7004777A JP 477795 A JP477795 A JP 477795A JP 2687910 B2 JP2687910 B2 JP 2687910B2
Authority
JP
Japan
Prior art keywords
data
virtual block
data transfer
main memory
virtual
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 - Fee Related
Application number
JP7004777A
Other languages
Japanese (ja)
Other versions
JPH08194582A (en
Inventor
栄一 軒内
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 JP7004777A priority Critical patent/JP2687910B2/en
Publication of JPH08194582A publication Critical patent/JPH08194582A/en
Application granted granted Critical
Publication of JP2687910B2 publication Critical patent/JP2687910B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、情報処理システム内の
主メモリとディスク装置とのデータ転送を制御するデー
タ転送制御方法およびデータ転送制御システムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer control method and a data transfer control system for controlling data transfer between a main memory and a disk device in an information processing system.

【0002】[0002]

【従来の技術】キャッシュメモリと主メモリとの間のブ
ロック転送において、キャッシュメモリ上のアドレスの
マッピング技術が1988年マグローヒル・ブック・カ
ンパニー(McGraw-Hill Book Company)から発行された
ジョン・ピーハイエス(JohnP.Hayes )氏著の刊行物
「コンピュータ・アーキテクチャ・アンド・オーガナイ
ゼーション(Conpater Architecture And Organizatio
n)」の第2版に示されている。
2. Description of the Related Art In block transfer between a cache memory and a main memory, an address mapping technique on the cache memory was issued by McGraw-Hill Book Company in 1988 by John P. Hies. .Hayes) "Computer Architecture And Organizatio"
n) ”, second edition.

【0003】この第445頁には「最も簡単なメモリマ
ッピング技術の1つは、ダイレクト・マッピングと呼ば
れている。M1 をS1 =2K 領域M1 (0),M
1 (1),…M1 (S1 −1)に区分けする。区分けさ
れたそれぞれは、n個の連続ワードの1ブロックを格納
する。主メモリM2 は、1ブロック領域M2 (0),M
2 (1),…M2 (S2 −1)に同様に区分けされる。
(主メモリ)M2 における各領域M2 (i)は(キャッ
シュメモリ)M1 における固定領域M1 (i)上にマッ
プされる。…例えば(主メモリ)M2 における偶数ブロ
ックがM1 (0)上にマップされ、一方(主メモリ)M
2 における奇数ブロックがM1 (1)上にマップされ
る。」…「ダイレクト・マッピングの不利益は、2以上
の使用頻度の高いブロックがキャッシュ上の同じ領域に
マップされることが偶然おきたら、キャッシュのヒット
レイシオは急激に落ちることにある。」と記載されてい
る。
On page 445, "One of the simplest memory mapping techniques is called direct mapping. M 1 is S 1 = 2 K region M 1 (0), M
1 (1), ... M 1 (S 1 -1). Each partitioned stores a block of n consecutive words. The main memory M 2 has one block area M 2 (0), M
2 (1), ... M 2 (S 2 -1).
Each area M 2 (i) in (main memory) M 2 is mapped onto a fixed area M 1 (i) in (cache memory) M 1 . ... For example, an even block in (main memory) M 2 is mapped onto M 1 (0) while one (main memory) M
The odd block in 2 is mapped onto M 1 (1). "The disadvantage of direct mapping is that if two or more frequently used blocks are accidentally mapped to the same area on the cache, the cache hit ratio drops sharply." Has been done.

【0004】従来の主メモリと磁気ディスクとのデータ
転送について図面を参照して説明する。
Data transfer between a conventional main memory and a magnetic disk will be described with reference to the drawings.

【0005】図4を参照すると、従来この種のデータ転
送では、磁気ディスク入出力用の領域が主メモリ401
上に確保される。
Referring to FIG. 4, in the conventional data transfer of this type, an area for inputting / outputting a magnetic disk is a main memory 401.
Reserved on top.

【0006】このデータ転送においては、転送されるデ
ータの磁気ディスク402上の格納位置とは全く無関係
に、主メモリ401上の空き領域404に転送データが
格納される。この空き領域404は、他のデータの格納
されていない領域である。
In this data transfer, the transfer data is stored in the empty area 404 on the main memory 401, regardless of the storage position of the transferred data on the magnetic disk 402. The empty area 404 is an area in which other data is not stored.

【0007】このデータ転送では、データ転送頻度のあ
まり高くない磁気ディスク402上の領域403に存在
するデータでも、主メモリ401に空き領域404が存
在する限り、その空き領域404を自由に使用して主メ
モリ401にデータが格納される。
In this data transfer, even data existing in the area 403 on the magnetic disk 402, which is not frequently transferred, is free to use the free area 404 as long as the free area 404 exists in the main memory 401. Data is stored in the main memory 401.

【0008】[0008]

【発明が解決しようとする課題】上述のデータ転送で
は、磁気ディスク402上のデータ転送発生頻度の高い
領域405内のデータが転送される場合、主メモリ40
1上の空き領域404が不足し、主メモリ401に既に
格納されている転送頻度の低い領域のデータの、磁気デ
ィスク402への書き戻し406が行われる。このと
き、書き戻されたデータの格納されていた主メモリ40
1上の転送頻度の低い領域は開放される。
In the above-mentioned data transfer, when the data in the area 405 on the magnetic disk 402 where the data transfer frequently occurs is transferred, the main memory 40 is transferred.
The vacant area 404 in 1 is insufficient, and the data of the area of low transfer frequency already stored in the main memory 401 is written back 406 to the magnetic disk 402. At this time, the main memory 40 in which the rewritten data was stored
The area of low transfer frequency on 1 is released.

【0009】磁気ディスク上の転送頻度の高いデータが
主メモリ上に格納されていても、転送頻度の低いデータ
転送が発生すると、主メモリ401の空き領域404が
不足している場合、格納されていたデータ転送発生頻度
の高いデータが磁気ディスク402に書き出され、主メ
モリ401上の空き領域404が確保される。このよう
な動作は、データ転送回数を増加させ、ディスク入出力
処理の性能が向上しない場合がある。
Even if data with high transfer frequency on the magnetic disk is stored in the main memory, if data transfer with low transfer frequency occurs, if there is a shortage of free space 404 in the main memory 401, it is stored. Data having a high frequency of data transfer is written to the magnetic disk 402, and a free area 404 on the main memory 401 is secured. Such an operation may increase the number of data transfers and may not improve the performance of disk input / output processing.

【0010】たとえば、日常の定形業務と電子メールサ
ーバとしての使用を兼ねる部門コンピュータにおいて、
このような問題が発生するケースである。すなわち、電
子メールの送受信により不規則であるが断続的な磁気デ
ィスクとのデータ転送が発生する。このため、主にやら
なければならない業務アプリケーションによる頻度の高
いデータ転送が疎外される。特に、大容量のデータ転送
が発生する場合、頻度の低い転送であってもキャッシュ
メモリの大部分が消費されていた。
For example, in a departmental computer that serves both daily routine work and use as an electronic mail server,
This is a case where such a problem occurs. That is, transmission and reception of e-mail causes irregular but intermittent data transfer with the magnetic disk. For this reason, high-frequency data transfer mainly due to the business application that must be performed is excluded. In particular, when a large amount of data is transferred, most of the cache memory is consumed even if the transfer is infrequent.

【0011】本発明の目的は、キャッシュメモリ領域の
有効利用を図るようにしたデータ転送制御方法およびデ
ータ転送制御システムを提供することにある。
An object of the present invention is to provide a data transfer control method and a data transfer control system for effectively utilizing the cache memory area.

【0012】本発明の他の目的は、ディスク転送処理の
性能を向上させるようにしたデータ転送制御方法および
データ転送制御システムを提供することにある。
Another object of the present invention is to provide a data transfer control method and a data transfer control system for improving the performance of disk transfer processing.

【0013】本発明の他の目的は、主メモリと磁気ディ
スクとの間のデータ転送頻度を削減するようにしたデー
タ転送制御方法およびデータ転送制御システムを提供す
ることにある。
Another object of the present invention is to provide a data transfer control method and a data transfer control system for reducing the frequency of data transfer between the main memory and the magnetic disk.

【0014】本発明の第1のデータ転送制御方法は、デ
ィスク装置上のデータ領域を仮想的に分割して物理デー
タアドレスにおいて連続した複数の第1のブロック領域
を生成するとともに主メモリ上のデータ領域を仮想的に
分割して物理データアドレスにおいて連続した複数の
2のブロック領域を作成する作成ステップと、前記ディ
スク装置上の1つの前記第1の仮想ブロック内のデータ
を前記主メモリ上のあらかじめ定められた前記第2の
想ブロックだけに対応づけて転送する転送ステップとを
含む。
According to a first data transfer control method of the present invention, a data area on a disk device is virtually divided into a plurality of first block areas which are consecutive at physical data addresses.
And create a virtual data area in main memory
Divide into multiple consecutive primary data addresses .
A step of creating two block areas, and the data in one of the first virtual blocks on the disk device is stored only in the predetermined second virtual block on the main memory. And a transfer step of associating and transferring.

【0015】本発明の第2のデータ転送制御方法は、前
記第1のデータ転送制御方法における前記データ転送ス
テップが、上位プログラムからの該当仮想ブロック領域
内データの転送要求に応答して、前記主メモリ上の仮想
ブロック内に前記ディスク装置上の仮想ブロック内デー
タが格納されていない空き領域が存在すれば、前記主メ
モリ上の仮想ブロック内に要求データを格納し前記ディ
スク装置にデータ転送を行わないことを特徴とする。
According to a second data transfer control method of the present invention, the data transfer step in the first data transfer control method responds to a transfer request of data in the virtual block area from a higher-order program, If there is an empty area in the virtual block in the memory where the virtual block data in the disk device is not stored, the requested data is stored in the virtual block in the main memory and the data is transferred to the disk device. Characterized by not being.

【0016】本発明の第3のデータ転送制御方法は、第
1のデータ転送制御方法における前記データ転送ステッ
プが、存在する各仮想ブロック単位でデータ転送回数を
記録し各仮想ブロックで発生したデータ転送の仮想ブロ
ック間比率を計算する記録計算ステップと、この記録計
算ステップで計算されたデータ転送発生比率の高い前記
主メモリ上の仮想ブロック領域サイズを拡大し前記記録
計算ステップで計算されたデータ転送発生比率の低い前
記主メモリ上の仮想ブロック領域サイズを縮小する主メ
モリ仮想ブロックサイズ調整ステップとを含む。
According to a third data transfer control method of the present invention, in the data transfer step of the first data transfer control method, the number of data transfers is recorded for each existing virtual block, and the data transfer occurred in each virtual block. Recording calculation step for calculating the ratio between virtual blocks, and the data transfer generation calculated in the recording calculation step by enlarging the virtual block area size in the main memory having a high data transfer generation ratio calculated in this recording calculation step A main memory virtual block size adjusting step of reducing a virtual block area size on the main memory having a low ratio.

【0017】本発明の第4のデータ転送制御方法は、前
記第1のデータ転送制御方法における前記データ転送ス
テップが、存在する各仮想ブロック単位でデータ転送回
数を記録し各仮想ブロックで発生したデータ転送の仮想
ブロック間比率を計算する記録計算ステップと、この記
録計算ステップで計算されたデータ転送発生比率の高い
前記ディスク装置上の仮想ブロック領域サイズを縮小
し、前記記録計算ステップで計算されたデータ転送発生
比率の低い前記ディスク装置上の仮想ブロック領域サイ
ズを拡大するディスク仮想ブロックサイズ調整ステップ
とを含む。
According to a fourth data transfer control method of the present invention, in the data transfer step of the first data transfer control method, the number of data transfers is recorded for each existing virtual block, and the data generated in each virtual block is recorded. A recording calculation step for calculating a ratio between virtual blocks of transfer, a virtual block area size on the disk device having a high data transfer occurrence ratio calculated in the recording calculation step is reduced, and data calculated in the recording calculation step is reduced. And a disk virtual block size adjusting step for expanding a virtual block area size on the disk device having a low transfer occurrence ratio.

【0018】本発明の第1のデータ転送制御装置は、主
メモリの仮想ブロックとディスク装置の仮想ブロックと
の間のデータ転送を非同期で行う非同期転送処理手段
と、この非同期転送処理手段で処理される非同期データ
転送回数を監視し、各仮想ブロックで発生したデータ転
送の仮想ブロック間比率を計算する非同期データ転送監
視手段と、この非同期データ転送監視手段で計算された
データ転送発生比率に基づいて前記主メモリ上の仮想ブ
ロックサイズを調整する主メモリ仮想ブロックサイズ調
整手段と、前記非同期データ転送監視手段で計算された
データ転送発生比率に基づいて前記ディスク装置上の仮
想ブロックサイズを調整するディスク仮想ブロックサイ
ズ調整手段とを含む。
A first data transfer control device of the present invention is an asynchronous transfer processing means for asynchronously transferring data between a virtual block of a main memory and a virtual block of a disk device, and is processed by this asynchronous transfer processing means. Asynchronous data transfer monitoring means for monitoring the number of times of asynchronous data transfer and calculating an inter-virtual block ratio of data transfer occurring in each virtual block, and the aforesaid data transfer occurrence ratio calculated by the asynchronous data transfer monitoring means Main memory virtual block size adjusting means for adjusting the virtual block size on the main memory, and disk virtual block for adjusting the virtual block size on the disk device based on the data transfer occurrence ratio calculated by the asynchronous data transfer monitoring means And a size adjusting means.

【0019】本発明の第2のデータ転送制御装置は第1
のデータ転送制御装置における前記非同期転送処理手段
が、ディスク装置上のデータ領域を物理データアドレス
において連続した複数のブロック領域に仮想的に分割し
た仮想ブロックと、主メモリ上のデータ領域を物理デー
タアドレスにおいて連続した複数のブロック領域に仮想
的に分割した仮想ブロックとの間でデータを非同期に転
送することを特徴とする。
The second data transfer control device of the present invention is the first
Of the data transfer control device, the asynchronous transfer processing means virtually divides the data area on the disk device into a plurality of continuous block areas at the physical data address, and the data area on the main memory at the physical data address. In the above, data is asynchronously transferred to and from a virtual block virtually divided into a plurality of continuous block areas.

【0020】本発明の第3のデータ転送制御装置は、前
記第1のデータ転送制御装置における前記主メモリ仮想
ブロックサイズ調整手段が、前記非同期データ転送監視
手段で計算されたデータ転送比率の高い前記主メモリ上
の仮想ブロック領域サイズを拡大し前記非同期転送監視
手段で計算されたデータ転送比率の低い前記主メモリ上
の仮想ブロック領域サイズを縮小することを特徴とす
る。
In a third data transfer control device of the present invention, the main memory virtual block size adjusting means in the first data transfer control device has a high data transfer ratio calculated by the asynchronous data transfer monitoring means. The virtual block area size on the main memory is enlarged to reduce the virtual block area size on the main memory having a low data transfer ratio calculated by the asynchronous transfer monitoring means.

【0021】本発明の第4のデータ転送制御装置は、前
記第1のデータ転送制御装置における前記ディスク仮想
ブロックサイズ調整手段は、前記非同期データ転送監視
手段で計算されたデータ転送発生比率の高い前記ディス
ク装置上の仮想ブロック領域サイズを縮小し、前記非同
期データ転送監視手段で計算されたデータ転送発生比率
の低い前記ディスク装置上の仮想ブロック領域サイズを
拡大することを特徴とする。
In a fourth data transfer control device of the present invention, the disk virtual block size adjusting means in the first data transfer control device has the high data transfer occurrence ratio calculated by the asynchronous data transfer monitoring means. The virtual block area size on the disk device is reduced, and the virtual block area size on the disk device having a low data transfer occurrence ratio calculated by the asynchronous data transfer monitoring means is expanded.

【0022】[0022]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0023】図1を参照すると、本発明の第1の実施例
における主メモリ101は、主メモリ上のデータ領域を
物理データアドレスにおいて連続した複数のブロック領
域に仮想的に分割した仮想ブロック201,202およ
び209を有する。
Referring to FIG. 1, the main memory 101 according to the first embodiment of the present invention is a virtual block 201 in which a data area on the main memory is virtually divided into a plurality of continuous block areas at physical data addresses. 202 and 209.

【0024】第1の実施例におけるディスク装置102
は、ディスク装置上のデータ領域を物理データアドレス
において連続した複数のブロック領域に仮想的に分割し
た仮想ブロック203,204および210を有する。
このディスク装置102は、磁気ディスク装置が望まし
く、書替え可能な光ディスク装置にも適用できる。
The disk device 102 in the first embodiment.
Has virtual blocks 203, 204 and 210, which are obtained by virtually dividing a data area on the disk device into a plurality of continuous block areas at physical data addresses.
The disk device 102 is preferably a magnetic disk device and can be applied to a rewritable optical disk device.

【0025】非同期転送処理手段103は、主メモリ1
01上の仮想ブロックとディスク装置102上の仮想ブ
ロックとの間でデータを非同期に転送する処理を実行す
る。
The asynchronous transfer processing means 103 is the main memory 1
A process of asynchronously transferring data between the virtual block on 01 and the virtual block on the disk device 102 is executed.

【0026】非同期データ転送監視手段106は、この
非同期転送処理手段103で処理される仮想ブロック間
の非同期データ転送回数を監視し、各仮想ブロックで発
生したデータ転送の仮想ブロック間比率を計算する。
The asynchronous data transfer monitoring means 106 monitors the number of times of asynchronous data transfer between virtual blocks processed by the asynchronous transfer processing means 103, and calculates the inter-virtual block ratio of data transfer occurring in each virtual block.

【0027】主メモリ仮想ブロックサイズ調整手段10
4は、非同期データ転送監視手段103で計算されたデ
ータ転送比率の高い主メモリ101上の仮想ブロック領
域サイズを拡大し、非同期データ転送監視手段10
計算されたデータ転送比率の低い主メモリ101上の仮
想ブロック領域サイズを縮小する。
Main memory virtual block size adjusting means 10
4, asynchronous data transfer monitoring section 103 in an enlarged calculated virtual block area size of the data transfer high ratio of main memory on 101, asynchronous data transfer monitoring section 106 in computed data transfer ratio lower main memory 101 Reduce the virtual block area size above.

【0028】ディスク仮想ブロックサイズ調整手段10
5は、非同期データ転送監視手段103で計算されたデ
ータ転送比率の高いディスク装置102上の仮想ブロッ
ク領域サイズを縮小し、非同期データ転送監視手段10
で計算されたデータ転送発生比率の低いディスク装置
上の仮想ブロック領域サイズを拡大する。
Disk virtual block size adjusting means 10
5 reduces the virtual block area size on the disk device 102 having a high data transfer ratio calculated by the asynchronous data transfer monitoring means 103, and the asynchronous data transfer monitoring means 10
The virtual block area size on the disk device having a low data transfer occurrence rate calculated in 6 is enlarged.

【0029】次に本発明の第1の実施例における動作に
ついて図面を参照して詳細に説明する。
Next, the operation of the first embodiment of the present invention will be described in detail with reference to the drawings.

【0030】図1を参照すると、ディスク装置102上
のデータ領域は、物理データアドレスにおいて連続した
複数のブロック領域に仮想的に分割される。これととも
に主メモリ101上のデータ領域も物理データアドレス
において連続した複数のブロック領域に仮想的に分割し
て仮想ブロックが作成される。
Referring to FIG. 1, the data area on the disk device 102 is virtually divided into a plurality of continuous block areas at physical data addresses. At the same time, the data area on the main memory 101 is virtually divided into a plurality of continuous block areas at the physical data address to create a virtual block.

【0031】ディスク装置102上のある仮想ブロック
内のデータが主メモリ101上のあらかじめ定められた
仮想ブロックのみに転送される。
Data in a virtual block on the disk device 102 is transferred only to a predetermined virtual block on the main memory 101.

【0032】次に本発明の第2の実施例について図面を
参照して詳細に説明する。
Next, a second embodiment of the present invention will be described in detail with reference to the drawings.

【0033】図2を参照すると、本発明の第2の実施例
では、システムの初期状態において、主メモリ101が
任意の数の連続する仮想ブロック領域201および20
2に分割される。一方、磁気ディスク装置102上のデ
ータ領域が仮想ブロック201および202の数と同数
の任意の数の連続する仮想ブロック領域203および2
04に分割される。プログラムからの磁気ディスク装置
102上のデータ205の参照要求が発生した場合、こ
のデータ205は、主メモリ101上の仮想ブロック領
域201に転送されデータ206として格納される。同
様に、磁気ディスク装置102上のデータ207が主メ
モリ101上の仮想ブロック領域202に転送され、デ
ータ208として格納される。
Referring to FIG. 2, in the second embodiment of the present invention, in the initial state of the system, the main memory 101 has an arbitrary number of consecutive virtual block areas 201 and 20.
Divided into two. On the other hand, the data area on the magnetic disk device 102 has an arbitrary number of consecutive virtual block areas 203 and 2 equal to the number of virtual blocks 201 and 202.
It is divided into 04. When a program requests a reference to the data 205 on the magnetic disk device 102, the data 205 is transferred to the virtual block area 201 on the main memory 101 and stored as data 206. Similarly, the data 207 on the magnetic disk device 102 is transferred to the virtual block area 202 on the main memory 101 and stored as data 208.

【0034】磁気ディスク装置102上の仮想ブロック
203内のデータ205が、主メモリ101上の仮想ブ
ロック領域202に転送されることはない。また、磁気
ディスク装置102上の仮想ブロック領域204内のデ
ータ207が主メモリ101上の仮想ブロック領域20
1に転送されることもない。プログラムからの磁気ディ
スク装置102上のデータ205の更新要求が発生した
場合、主メモリ101上の仮想ブロック領域201内の
データ206が更新され、磁気ディスク装置102には
データ206は転送されない。
The data 205 in the virtual block 203 on the magnetic disk device 102 is not transferred to the virtual block area 202 on the main memory 101. Further, the data 207 in the virtual block area 204 on the magnetic disk device 102 is stored in the virtual block area 20 on the main memory 101.
It is not transferred to 1. When an update request for the data 205 on the magnetic disk device 102 is issued from the program, the data 206 in the virtual block area 201 on the main memory 101 is updated and the data 206 is not transferred to the magnetic disk device 102.

【0035】次に本発明の第3の実施例について図面を
参照して詳細に説明する。
Next, a third embodiment of the present invention will be described in detail with reference to the drawings.

【0036】本発明の第3の実施例は、主メモリ101
から磁気ディスク装置102へのデータ転送が発生する
例である。
The third embodiment of the present invention is a main memory 101.
In this example, data transfer from the disk to the magnetic disk device 102 occurs.

【0037】図3を参照すると、主メモリ101上の仮
想ブロック領域301には、磁気ディスク装置102上
の仮想ブロック領域302内のデータ303と同じデー
タが格納されている。
Referring to FIG. 3, the virtual block area 301 on the main memory 101 stores the same data 303 as the data 303 in the virtual block area 302 on the magnetic disk device 102.

【0038】いま、この仮想ブロック領域301内に
は、データの格納されていない空き領域が存在しない状
態にある。この状態で、プログラムから磁気ディスク装
置102上の仮想ブロック領域302内のデータ304
の参照要求が発生した場合、主メモリ101上の仮想ブ
ロック領域301に格納されているデータ305が磁気
ディスク装置102上の仮想ブロック領域302内の該
当位置にデータ転送される。これとともに、データ30
4は主メモリ101上の仮想ブロック領域301のデー
タ305の格納位置に転送される。
Now, in this virtual block area 301, there is no empty area in which data is not stored. In this state, the program stores data 304 in the virtual block area 302 on the magnetic disk device 102.
When the reference request is generated, the data 305 stored in the virtual block area 301 on the main memory 101 is transferred to the corresponding position in the virtual block area 302 on the magnetic disk device 102. Along with this, data 30
4 is transferred to the storage position of the data 305 in the virtual block area 301 on the main memory 101.

【0039】非同期データ転送監視手段306は、主メ
モリ101上の仮想ブロック領域301から磁気ディス
ク装置102上の仮想ブロック領域302への非同期デ
ータ転送回数309と、主メモリ101上のその他の仮
想ブロック領域307から磁気ディスク装置102上の
仮想ブロック領域308への非同期データ転送回数31
0を記録し、これらの非同期データ転送回数309およ
び310の比率を計算する。
Asynchronous data transfer monitoring means 306 detects magnetic data from virtual block area 301 on main memory 101.
The number of asynchronous data transfers 309 to the virtual block area 302 on the hard disk device 102 and the number of asynchronous data transfers 31 from the other virtual block area 307 on the main memory 101 to the virtual block area 308 on the magnetic disk device 102.
Record 0 and calculate the ratio of these asynchronous data transfers 309 and 310.

【0040】非同期データ転送回数309が他の非同期
データ転送回数310より多い場合、主メモリ仮想ブロ
ックサイズ調整手段311は、非同期データ転送監視手
段306により計算された転送回数比率に応じて、主メ
モリ101上の仮想ブロック領域301のサイズを拡大
し、主メモリ101上の仮想ブロック領域307のサイ
ズを縮小する。磁気ディスク装置102の仮想ブロック
サイズ調整手段312は、非同期データ転送監視手段3
06により計算された転送回数比率に応じて磁気ディス
ク装置102上の仮想ブロック領域302のサイズを縮
小し、磁気ディスク装置102上の仮想ブロック領域3
08のサイズを拡大する。
When the asynchronous data transfer count 309 is greater than the other asynchronous data transfer counts 310, the main memory virtual block
The clock size adjusting means 311 expands the size of the virtual block area 301 in the main memory 101 according to the transfer count ratio calculated by the asynchronous data transfer monitoring means 306, and the size of the virtual block area 307 in the main memory 101. Shrink. The virtual block size adjusting means 312 of the magnetic disk device 102 is the asynchronous data transfer monitoring means 3
The size of the virtual block area 302 on the magnetic disk device 102 is reduced according to the transfer count ratio calculated according to 06 , and the virtual block area 3 on the magnetic disk device 102 is reduced.
Expand the size of 08 .

【0041】[0041]

【発明の効果】本発明は、磁気ディスク装置に対する非
同期転送回数を削減してデータ参照/更新処理速度を向
上することができる。また、本発明は、アクセス頻度の
高い磁気ディスク上のデータ領域に対して、より広いキ
ャッシュメモリ領域を割り当てることにより主メモリの
有効利用を図ることができる。
The present invention can improve the data reference / update processing speed by reducing the number of asynchronous transfers to the magnetic disk device. Further, according to the present invention, it is possible to effectively use the main memory by allocating a wider cache memory area to the data area on the magnetic disk that is frequently accessed.

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

【図1】本発明の第1の実施例を示す図である。FIG. 1 is a diagram showing a first embodiment of the present invention.

【図2】本発明の第2の実施例を示す図である。FIG. 2 is a diagram showing a second embodiment of the present invention.

【図3】本発明の第3の実施例を示す図である。FIG. 3 is a diagram showing a third embodiment of the present invention.

【図4】従来技術の一例を示す図である。FIG. 4 is a diagram showing an example of a conventional technique.

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

101,401 主メモリ 102,402 磁気ディスク装置 103 非同期転送処理手段 104,311 主メモリ仮想ブロックサイズ調整手
段 105,312 磁気ディスク仮想ブロックサイズ調
整手段 106,306 非同期データ転送監視手段 201,202,203,204,301,302,3
07,308 仮想ブロック領域 205,206,207,208,303,304,3
05 データ
101, 401 main memory 102, 402 magnetic disk device 103 asynchronous transfer processing means 104, 311 main memory virtual block size adjusting means 105, 312 magnetic disk virtual block size adjusting means 106, 306 asynchronous data transfer monitoring means 201, 202, 203, 204, 301, 302, 3
07,308 Virtual block area 205,206,207,208,303,304,3
05 data

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ディスク装置上のデータ領域を物理デー
タアドレスにおいて連続した複数のブロック領域に仮想
的に分割するとともに主メモリ上のデータ領域を物理デ
ータアドレスにおいて連続した複数のブロック領域に仮
想的に分割して仮想ブロックを作成する作成ステップ
と、 前記ディスク装置上のある仮想ブロック内のデータを前
記主メモリ上のあらかじめ定められた仮想ブロックだけ
に対応づけて転送する転送ステップとを含むことを特徴
とするデータ転送制御方法。
1. A data area on a disk device is virtually divided into a plurality of block areas continuous at a physical data address, and a data area on a main memory is virtually divided into a plurality of block areas continuous at a physical data address. A step of creating a virtual block by dividing the data in a certain virtual block on the disk device into only a predetermined virtual block on the main memory
And a transfer step of transferring the data in correspondence with the data transfer control method.
【請求項2】 前記転送ステップが、主メモリ上の仮想ブロックおよびディスク装置上の仮想
ブロックの対応づけられた組毎のデータ転送の回数を記
録し複数の該対応づけられた組のデータ転送の比率を計
算する記録計算ステップと、 この記録計算ステップで計算されたデータ転送の比率の
高い前記対応づけられた組の前記主メモリ上の仮想ブロ
ック領域サイズを拡大する主メモリ仮想ブロックサイズ
調整ステップと、 前記記録計算ステップで計算されたデータ転送の比率の
高い前記対応づけられた組の前記ディスク装置上の仮想
ブロックサイズを縮小するディスク仮想ブロックサイズ
調整ステップとを含む ことを特徴とする請求項1記載の
データ転送制御方法。
2. The transfer step comprises a virtual block on a main memory and a virtual block on a disk device.
Record the number of data transfers for each group associated with the block.
And record the ratio of data transfers of the plurality of associated sets.
A recording calculating step of calculation, the ratio of the recording computation step at the calculated data transfer
A high virtual block on the main memory of the associated set
Main memory virtual block size to increase the memory area size
Of the ratio of the data transfer calculated in the adjustment step and the record calculation step
Virtual on the associated set of disk devices that are high
Disk virtual block size to reduce block size
The data transfer control method according to claim 1 , further comprising an adjusting step .
【請求項3】 各々対応づけられた主メモリ上の複数の
仮想ブロックとディスク装置上の複数の仮想ブロックと
の間のデータ転送を非同期で行う非同期転送処理手段
と、 この非同期転送処理手段で処理される非同期データ転送
回数を対応づけられた前記主メモリ上の仮想ブロックお
よび前記ディスク装置上の仮想ブロック毎に監視し各デ
ータ転送毎の比率を求める非同期データ転送監視手段
と、 この非同期データ転送監視手段により求められた前記デ
ータ転送の比率に基づいて前記主メモリ上の仮想ブロッ
クサイズを調整する主メモリ仮想ブロックサイズ調整手
段と、 前記非同期データ転送監視手段により求められたデータ
転送の比率に基づいて前記ディスク装置上の仮想ブロッ
クサイズを調整するディスク仮想ブロックサイズ調整手
段とを含むことを特徴とするデータ転送制御装置。
3. Asynchronous transfer processing means for asynchronously transferring data between a plurality of virtual blocks on a main memory and a plurality of virtual blocks on a disk device respectively associated with each other, and the asynchronous transfer. A virtual block on the main memory associated with the number of asynchronous data transfers processed by the processing means .
And monitoring for each virtual block on the disk device
Asynchronous data transfer monitoring means for obtaining the ratio for each data transfer, and the data obtained by the asynchronous data transfer monitoring means.
Main memory virtual block size adjusting means for adjusting the virtual block size in the main memory based on the ratio of data transfer, and the data obtained by the asynchronous data transfer monitoring means
A data transfer control device comprising: a disk virtual block size adjusting means for adjusting a virtual block size on the disk device based on a transfer ratio.
JP7004777A 1995-01-17 1995-01-17 Data transfer control method and data transfer control device Expired - Fee Related JP2687910B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7004777A JP2687910B2 (en) 1995-01-17 1995-01-17 Data transfer control method and data transfer control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7004777A JP2687910B2 (en) 1995-01-17 1995-01-17 Data transfer control method and data transfer control device

Publications (2)

Publication Number Publication Date
JPH08194582A JPH08194582A (en) 1996-07-30
JP2687910B2 true JP2687910B2 (en) 1997-12-08

Family

ID=11593267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7004777A Expired - Fee Related JP2687910B2 (en) 1995-01-17 1995-01-17 Data transfer control method and data transfer control device

Country Status (1)

Country Link
JP (1) JP2687910B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4594153B2 (en) * 2005-04-08 2010-12-08 キヤノン株式会社 Wireless communication apparatus, control method, program, and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02300935A (en) * 1989-05-16 1990-12-13 Nec Corp Data change system for main storage

Also Published As

Publication number Publication date
JPH08194582A (en) 1996-07-30

Similar Documents

Publication Publication Date Title
US6658549B2 (en) Method and system allowing a single entity to manage memory comprising compressed and uncompressed data
US5926834A (en) Virtual data storage system with an overrun-resistant cache using an adaptive throttle based upon the amount of cache free space
EP0080875B1 (en) Data storage system for a host computer
JP4028820B2 (en) Method and apparatus for selective caching of transactions in a computer system
US6792509B2 (en) Partitioned cache of multiple logical levels with adaptive reconfiguration based on multiple criteria
JPH07320422A (en) Disk array system and storage method as well as controller
JPH08212018A (en) Method and apparatus for dynamic extension of raid
JPH06161898A (en) Method and means for dynamic division of cache
JP4222917B2 (en) Virtual storage system and operation method thereof
US20040260735A1 (en) Method, system, and program for assigning a timestamp associated with data
US20030105923A1 (en) Raid system and mapping method thereof
US7032093B1 (en) On-demand allocation of physical storage for virtual volumes using a zero logical disk
US6052696A (en) Adaptive time-based journal bundling
US7350042B1 (en) Method of optimizing the space and improving the write performance of volumes with multiple virtual copies
US5787461A (en) High speed optical disk drive caching executable and non-executable data
US5778393A (en) Adaptive multitasking for dataset storage
US20040039875A1 (en) Disk array device and virtual volume management method in disk array device
CN106897311B (en) Database batch updating method, data reduction log generating method and storage device
JP2687910B2 (en) Data transfer control method and data transfer control device
US7409512B1 (en) Method and apparatus for maintaining information that indicates valid regions of a working volume and using that information to delay volume initialization
EP0518311A2 (en) File store method, file access method, and distributed processing system using such methods
JP3236166B2 (en) Cache control method and information processing device
JP2975253B2 (en) Multiplexed volume device
JPH0812643B2 (en) Page save / restore device
JP2636470B2 (en) Data transfer path selection method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970225

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970722

LAPS Cancellation because of no payment of annual fees