JPH06250793A - Data processor - Google Patents

Data processor

Info

Publication number
JPH06250793A
JPH06250793A JP5770693A JP5770693A JPH06250793A JP H06250793 A JPH06250793 A JP H06250793A JP 5770693 A JP5770693 A JP 5770693A JP 5770693 A JP5770693 A JP 5770693A JP H06250793 A JPH06250793 A JP H06250793A
Authority
JP
Japan
Prior art keywords
data
access
storage device
recording surface
seek movement
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
JP5770693A
Other languages
Japanese (ja)
Inventor
Toshio Nakamura
敏男 中村
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP5770693A priority Critical patent/JPH06250793A/en
Publication of JPH06250793A publication Critical patent/JPH06250793A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the speed of access to an auxiliary storage device by storing a seek movement quantity at individual data to be access object and reallocating the write positions of data on a recording surface so that the total seek movement quantity becomes smaller while an application program is executed for a prescribed time. CONSTITUTION:Each time the auxiliary storage device 3 is accessed, the quantity of seek movement of a read head on the recording surface 7 is stored, at individual data. The difference in sector number between the last accessed data and current accessed data corresponds to the seek movement quantity and when the data 15 are widely dispersed and recorded on the recording surface 7, the total seek movement quantity of the respective data 15 becomes large. A data reallocation control part 13 reallocates the dispersed data 15 on the recording surface 7 so that they are mutually approaching. Consequently, when the same application program is executed, the seek movement quantity of the head becomes small on the average and the access speed is increased.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、磁気ディスク装置等の
補助記憶装置に対しデータの読み書きを行う場合に、そ
のアクセス速度の高速化を図るためのデータ処理装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device for increasing the access speed when data is read from or written to an auxiliary storage device such as a magnetic disk device.

【0002】[0002]

【従来の技術】コンピュータその他のデータ処理装置に
おいては、大量のデータを磁気ディスク装置等の補助記
憶装置に記憶し、必要に応じてこれをアクセスし、演算
処理を実行する。図2に、従来のデータ処理装置ブロッ
ク図を示す。この装置は、アプリケーションプログラム
1をオペレーティングシステム2が制御し、補助記憶装
置3から読み出されたデータを処理する構成の装置であ
る。補助記憶装置3は、磁気ディスク装置、光ディスク
装置等の大容量記憶装置から構成される。キャッシュメ
モリ4は、補助記憶装置3から読み出されたデータを一
時的に格納し、高速アクセスを可能にするためのメモリ
である。オペレーティングシステム2は、ファイルシス
テム5及びディスク制御部6から構成される。
2. Description of the Related Art In a computer or other data processing device, a large amount of data is stored in an auxiliary storage device such as a magnetic disk device, which is accessed as necessary to execute arithmetic processing. FIG. 2 shows a block diagram of a conventional data processing device. This device is a device configured to control the application program 1 by the operating system 2 and process the data read from the auxiliary storage device 3. The auxiliary storage device 3 is composed of a large-capacity storage device such as a magnetic disk device or an optical disk device. The cache memory 4 is a memory for temporarily storing the data read from the auxiliary storage device 3 and enabling high speed access. The operating system 2 includes a file system 5 and a disk control unit 6.

【0003】上記のような装置は、アプリケーションプ
ログラム1からオペレーティングシステム2に対し補助
記憶装置3に対するアクセス要求が届くと、ファイルシ
ステム5がディスク制御部6に対し補助記憶装置3のど
こにアクセスするかを指定し、そのアクセスを依頼す
る。ディスク制御部6は補助記憶装置3に対しアクセス
を行うが、一度読み込んだ内容はキャッシュメモリ4に
蓄えておく。そして、アプリケーションプログラム1が
再び補助記憶装置3のアクセスを要求すると、ディスク
制御部6は、そのアクセス対象とするデータがキャッシ
ュメモリ4に格納されたデータに該当する場合は、それ
を読み出してファイルシステム5に対し、その結果を返
す。
When the application program 1 requests the operating system 2 to access the auxiliary storage device 3, the above-mentioned device determines to which part of the auxiliary storage device 3 the file system 5 accesses to the disk control unit 6. Specify and request access. Although the disk control unit 6 accesses the auxiliary storage device 3, the contents that have been read once are stored in the cache memory 4. When the application program 1 requests access to the auxiliary storage device 3 again, if the data to be accessed corresponds to the data stored in the cache memory 4, the disk control unit 6 reads it and outputs it to the file system. The result is returned to 5.

【0004】図3に、従来のデータ転送動作説明図を示
す。例えば、磁気ディスク装置の記録面7には、多数の
トラック8が形成されている。ここにデータが書き込ま
れている。データアクセス要求があると、ヘッド9は図
の矢印X方向にシーク動作を行い、指定されたトラック
8のデータアクセスを実行する。異なるトラック8に書
き込まれたデータをアクセスする場合は、ヘッド9がそ
の都度矢印X方向にスライドし、データの読み書きが行
われる。一般に、このようなヘッド9による機械的な動
作を伴うアクセス速度は、半導体メモリ等に比べて非常
に遅い。そこで、半導体メモリから成るキャッシュメモ
リ4に対し一定量のデータを転送し、その後は、図2に
示すオペレーティングシステム2がキャッシュメモリ4
に格納されたデータをアクセスし、データ処理の高速化
を図っている。
FIG. 3 shows an explanatory view of a conventional data transfer operation. For example, a large number of tracks 8 are formed on the recording surface 7 of the magnetic disk device. Data is written here. When there is a data access request, the head 9 performs a seek operation in the direction of arrow X in the figure to execute the data access of the designated track 8. When accessing the data written in different tracks 8, the head 9 slides in the direction of arrow X each time, and the data is read and written. Generally, the access speed accompanied by the mechanical operation by the head 9 is much slower than that of a semiconductor memory or the like. Therefore, a certain amount of data is transferred to the cache memory 4 composed of a semiconductor memory, and thereafter the operating system 2 shown in FIG.
The data stored in is accessed to speed up data processing.

【0005】[0005]

【発明が解決しようとする課題】ところで、上記のよう
な従来一般のデータ処理装置には、次のような問題点が
あった。まず、データ処理高速化のために設けられるキ
ャッシュメモリ4には、データ処理装置の主記憶装置と
して使用されるRAM(ランダム・アクセス・メモリ)
が使用される。この主記憶装置には、アプリケーション
プログラムも同時に記憶される。
However, the conventional general data processing apparatus as described above has the following problems. First, in the cache memory 4 provided for speeding up data processing, a RAM (random access memory) used as a main storage device of the data processing device is provided.
Is used. An application program is also stored in the main storage device at the same time.

【0006】キャッシュヒット率を高めるためにはキャ
ッシュメモリのサイズを大きくする方が良いが、それで
はアプリケーションプログラムを格納するべきメモリサ
イズが減少してしまい、アプリケーションプログラムの
動作等を制約してしまうおそれがあった。反対にキャッ
シュメモリのメモリサイズを小さく設定し過ぎると、大
きなサイズのアプリケーションプログラムを格納するこ
とが可能になるが、データアクセスの際、キャッシュミ
スヒットが増加し、ディスクアクセス回数が増加するた
め、アクセス速度の十分な向上が図れないという問題も
あった。
In order to increase the cache hit rate, it is better to increase the size of the cache memory, but this may reduce the memory size for storing the application program and may limit the operation of the application program. there were. Conversely, if the memory size of the cache memory is set too small, it is possible to store a large size application program.However, when data is accessed, cache miss hits increase and the number of disk accesses increases, so There was also a problem that the speed could not be sufficiently improved.

【0007】本発明は以上の点に着目してなされたもの
で、上記のような主記憶装置の記憶容量に制限があるよ
うな場合に、補助記憶装置のアクセス速度を向上させる
データ処理装置を提供することを目的とするものであ
る。
The present invention has been made in view of the above points, and provides a data processing device for improving the access speed of the auxiliary storage device when the storage capacity of the main storage device is limited as described above. It is intended to be provided.

【0008】[0008]

【課題を解決するための手段】本発明のデータ処理装置
は、アプリケーションプログラム実行中に、補助記憶装
置のアクセス動作を監視するアクセス監視部と、アクセ
ス対象となるデータ毎に、アクセス動作時の前記補助記
憶装置の記録面上をヘッドがシークするシーク移動量を
記憶する統計データ記憶部と、前記統計データ記憶部を
読み取り、前記アプリケーションプログラムが所定時間
実行される間に前記シーク移動量の合計がより小さくな
るように、前記データの記録面上への書き込み位置を再
配置するデータ再配置制御部とを備えたことを特徴とす
るものである。
A data processing apparatus of the present invention includes an access monitoring unit for monitoring an access operation of an auxiliary storage device during execution of an application program, and an access monitoring unit for each data to be accessed. A statistical data storage unit that stores the seek movement amount that the head seeks on the recording surface of the auxiliary storage device, and the statistical data storage unit is read, and the total seek movement amount during the execution of the application program for a predetermined time is A data rearrangement control unit for rearranging the writing position of the data on the recording surface so as to be smaller.

【0009】[0009]

【作用】この装置は、補助記憶装置がアクセスされる度
に、記録面上をヘッドがシークするシーク移動量を各デ
ータ毎に記憶する。前回アクセスしたデータと今回アク
セスしたデータのセクタ番号の差等がシーク移動量に対
応する。記録面へデータが広く分散して記録されれば、
各データのシーク移動量の合計は大きくなる。データ再
配置制御部は、このように分散したデータを相互に接近
するように記録面上へ再配置する。これにより、その後
同一のアプリケーションプログラムが実行されると、デ
ータアクセスの度にシークするヘッドのシーク移動量が
平均的に小さくなり、アクセス速度の向上が図れる。
With this device, each time the auxiliary storage device is accessed, the seek movement amount that the head seeks on the recording surface is stored for each data. The difference between the sector numbers of the data accessed last time and the data accessed this time corresponds to the seek movement amount. If data is widely distributed and recorded on the recording surface,
The total seek movement amount of each data becomes large. The data rearrangement control unit rearranges the data thus dispersed on the recording surface so as to approach each other. As a result, when the same application program is executed thereafter, the seek movement amount of the head that seeks each time data is accessed becomes smaller on average, and the access speed can be improved.

【0010】[0010]

【実施例】以下、本発明を図の実施例を用いて詳細に説
明する。図1は、本発明のデータ処理装置実施例を示す
説明図である。なお、この図の(a)はデータ処理装置
のブロック図、(b)は再配置動作説明図である。図に
おいて、この装置は、アプリケーションプログラム1を
実行制御するためのオペレーティングシステム10と、
補助記憶装置3から構成される。なお、本発明の装置に
は、この実施例ではキャッシュメモリを設けていない。
本発明では、補助記憶装置3に書き込まれたデータの書
き込み位置を効率的に再配置することによって、補助記
憶装置3を直接アクセスする場合のアクセス速度向上を
図っているためである。しかし、例えば比較的メモリサ
イズの小さいキャッシュメモリを使用した場合には、キ
ャッシュミスヒットの場合に補助記憶装置3を頻繁にア
クセスすることになる。この場合のアクセス速度向上を
図るために、本発明を採用することも効果的である。
The present invention will be described in detail below with reference to the embodiments shown in the drawings. FIG. 1 is an explanatory diagram showing an embodiment of a data processing device of the present invention. It should be noted that (a) of this figure is a block diagram of the data processing device, and (b) is a diagram for explaining the rearrangement operation. In the figure, this device includes an operating system 10 for controlling execution of an application program 1,
It is composed of the auxiliary storage device 3. The apparatus of the present invention does not have a cache memory in this embodiment.
This is because the present invention aims to improve the access speed when the auxiliary storage device 3 is directly accessed by effectively rearranging the write position of the data written in the auxiliary storage device 3. However, for example, when a cache memory having a relatively small memory size is used, the auxiliary storage device 3 is frequently accessed in the case of a cache miss. It is also effective to employ the present invention in order to improve the access speed in this case.

【0011】オペレーティングシステム10は、ファイ
ルシステム5及びディスク制御部6を備えている。これ
らの構成は従来のデータ処理装置と同様である。また、
本発明の装置にはこの他に、アクセス監視部11と、統
計データ記憶部12と、データ再配置制御部13とが設
けられている。アクセス監視部11は、ディスク制御部
6の補助記憶装置3に対するアクセス動作を監視し、フ
ァイルシステム5から要求された補助記憶装置3のどの
記録面にどのようなアクセス、即ちリード処理かライト
処理かという情報や、アクセスされるデータのサイズ等
を受け入れる部分である。統計データ記憶部12は、ア
クセス監視部11がその監視動作によって受け入れた情
報を元に生成した統計データを記憶しておく部分であ
る。
The operating system 10 comprises a file system 5 and a disk control unit 6. These configurations are similar to those of the conventional data processing device. Also,
In addition to the above, the device of the present invention is provided with an access monitoring unit 11, a statistical data storage unit 12, and a data rearrangement control unit 13. The access monitoring unit 11 monitors the access operation of the disk control unit 6 with respect to the auxiliary storage device 3, and determines what kind of access to which recording surface of the auxiliary storage device 3 requested by the file system 5, that is, read processing or write processing. Information, the size of data to be accessed, etc. The statistical data storage unit 12 is a unit for storing statistical data generated based on the information received by the access monitoring unit 11 by the monitoring operation.

【0012】図4に、統計データの内容説明図を示す。
例えば、この統計データは、セクタ番号16と、データ
サイズ17と、シーク移動量18から構成される。セク
タ番号16というのは、例えば磁気ディスクのデータ書
き込み位置を示す番号で、何番目のトラックのどの位置
にデータが書き込まれているかを表わすものである。デ
ータサイズ17は、セクタ番号16のセクタから何セク
タ連続してアクセス対象となるデータが書き込まれてい
るかを示す部分である。シーク移動量18は、このセク
タ番号16のデータをアクセスする際に、ヘッドがどれ
だけシーク動作を行ったか、その距離に相当するデータ
を記憶する部分である。具体的には、例えば前回アクセ
スしたデータのセクタ番号16と、今回アクセスしたデ
ータのセクタ番号16の差によって、このシーク移動量
18を計算する。
FIG. 4 shows the contents of the statistical data.
For example, this statistical data includes a sector number 16, a data size 17, and a seek movement amount 18. The sector number 16 is, for example, a number indicating a data writing position on the magnetic disk and indicates at which position on which track the data is written. The data size 17 is a part indicating how many consecutive sectors the sector number 16 has been written with the data to be accessed. The seek movement amount 18 is a portion for storing data corresponding to the distance of the seek operation of the head when accessing the data of the sector number 16. Specifically, for example, the seek movement amount 18 is calculated based on the difference between the sector number 16 of the previously accessed data and the sector number 16 of the currently accessed data.

【0013】再び、図1に戻って、データ再配置制御部
13は、適当なタイミングで統計データ記憶部12から
先に説明したような構成の統計データを読み取り、ディ
スク制御部6を起動して、アプリケーションプログラム
が所定時間実行される間に、データ毎のシーク移動量の
合計が全体としてより小さくなるように、データの記録
面上への書き込み位置を再配置する動作を行う部分であ
る。例えば、図の(b)の左側に示すように、記録面7
上にデータ15が比較的広く分散配置されていたとす
る。この場合、これらのデータに交互にアクセスが行わ
れると、ヘッドのシーク移動量の合計値が非常に大きく
なる。そこで、データ書き込み位置の再配置によって、
図の右側に示すように、記録面7の適当な空き領域にデ
ータ15を集めるようにする。これによって、これらの
データのアクセスの際、シーク移動量が十分に短縮され
る。
Returning to FIG. 1 again, the data relocation control unit 13 reads the statistical data having the above-described configuration from the statistical data storage unit 12 at an appropriate timing, and activates the disk control unit 6. During the execution of the application program for a predetermined time, this is a part for performing an operation of rearranging the writing position of the data on the recording surface so that the total seek movement amount for each data becomes smaller as a whole. For example, as shown on the left side of FIG.
It is assumed that the data 15 is distributed relatively widely on the upper side. In this case, if these data are alternately accessed, the total value of the seek movement amount of the head becomes very large. Therefore, by rearranging the data writing position,
As shown on the right side of the figure, the data 15 is collected in an appropriate empty area of the recording surface 7. This sufficiently reduces the seek movement amount when accessing these data.

【0014】シーク移動量が十分に小さい場合には、該
当するデータについての統計データは必要としない。ま
た、統計データ記憶部12の記憶容量は、メモリ資源の
有効利用のために十分小さく設定することが好ましい。
従って、例えばシーク移動量の比較的大きいものについ
てだけ、上記のような統計データを記憶することが好ま
しい。このためには、適当な基準値を設定しておき、こ
れとその都度計算されたシーク移動量を比較する。この
実施例では、シーク移動量が、この基準値を超えた場合
にのみ統計データが記憶される。シーク移動量の基準値
としては、例えばハードディスクの記録面の先頭から最
後までの距離の2分の1程度とする。
If the seek movement amount is sufficiently small, the statistical data of the corresponding data is not required. In addition, the storage capacity of the statistical data storage unit 12 is preferably set to be sufficiently small for effective use of memory resources.
Therefore, it is preferable to store the statistical data as described above only for, for example, the seek movement amount that is relatively large. For this purpose, an appropriate reference value is set, and this is compared with the seek movement amount calculated each time. In this embodiment, the statistical data is stored only when the seek movement amount exceeds the reference value. The reference value of the seek movement amount is, for example, about one half of the distance from the beginning to the end of the recording surface of the hard disk.

【0015】また、同一内容のデータアクセスがされた
場合には、セクタ番号16、データサイズ17、シーク
移動量18の他にアクセス回数の記録領域を設ける。こ
れによって、効率よくデータ書き込み位置の再配置のた
めの統計データを収集し記憶することができる。
When data having the same contents are accessed, a recording area for the number of accesses is provided in addition to the sector number 16, the data size 17, the seek movement amount 18. As a result, it is possible to efficiently collect and store statistical data for relocation of the data writing position.

【0016】図5に、本発明の装置によるシーク動作と
アクセス時間の説明図を示す。まず、図1に示すデータ
再配置制御部13が動作する前に、アプリケーションプ
ログラム1が、例えばアクセス対象ファイルAやアクセ
ス対象ファイルBのアクセスをオペレーティングシステ
ム10に要求したとする。この場合、記録面7上のデー
タをアクセスするために、ヘッド9がシーク動作を行
う。図5にはヘッド9のシーク動作を説明するために、
横軸にアクセス位置、縦軸に時間をとって、ヘッド9の
軌跡を示した。この図の第1期間T1では、アクセス監
視部11が統計データの収集を行い、統計データ記憶部
12に対し、その内容を記憶する。そして、例えば装置
のシャットダウンを行う際、データ再配置制御部13が
起動する。このとき、先に図1(b)で説明した要領
で、分散した記録面7上のデータを互いに接近した位置
に再配置する。
FIG. 5 is an explanatory view of the seek operation and access time by the device of the present invention. First, it is assumed that the application program 1 requests the operating system 10 to access, for example, the access target file A or the access target file B before the data relocation control unit 13 shown in FIG. 1 operates. In this case, the head 9 performs a seek operation to access the data on the recording surface 7. In order to explain the seek operation of the head 9 in FIG.
The locus of the head 9 is shown by plotting the access position on the horizontal axis and the time on the vertical axis. In the first period T1 in this figure, the access monitoring unit 11 collects statistical data and stores the contents in the statistical data storage unit 12. Then, for example, when the device is shut down, the data relocation control unit 13 is activated. At this time, the dispersed data on the recording surface 7 are rearranged at positions close to each other in the same manner as described above with reference to FIG.

【0017】その後、装置が再び起動されると、図5の
第2期間T2に示すように、ヘッド9のシーク距離が全
体的にも平均的にも、第1期間T1に比べて十分に小さ
くなる。これによって、補助記憶装置に対するアクセス
が頻繁に行われた場合においても、そのアクセス速度を
従来より十分向上させることができる。
After that, when the apparatus is restarted, as shown in the second period T2 of FIG. 5, the seek distance of the head 9 is sufficiently smaller than that of the first period T1 in whole and on average. Become. As a result, even when the auxiliary storage device is frequently accessed, the access speed can be sufficiently improved as compared with the conventional case.

【0018】なお、上記実施例においては、例えば1個
のアプリケーションプログラムが複数のアクセス対象フ
ァイルをアクセスする際に、ヘッドの実際のシーク動作
を監視し、一定時間のシーク動作中のシーク移動量を集
計して、これがより小さくなるようにデータを再配置す
るようにした。このようにすれば、特定の目的に使用さ
れるデータ処理装置の特定のアプリケーションプログラ
ムが動作した場合に、その実用的な動作中における補助
記憶装置のアクセス時間を十分に小さくし、処理の高速
化を図ることができる。
In the above embodiment, for example, when one application program accesses a plurality of access target files, the actual seek operation of the head is monitored, and the seek movement amount during the seek operation for a fixed time is determined. I aggregated and rearranged the data so that it was smaller. In this way, when a specific application program of the data processing device used for a specific purpose operates, the access time of the auxiliary storage device during the practical operation is sufficiently reduced to speed up the process. Can be achieved.

【0019】例えば、アプリケーションプログラムが1
個のファイルのみをアクセスする場合には、補助記憶装
置の記録面上で、特定のそのアクセス対象となるファイ
ルを構成するデータをそれぞれ近い場所に集めるような
処理を実行すればよい。しかしながら、通常アプリケー
ションプログラムは多数のファイルをアクセスして一定
の処理を実行する。従って、必ずしも同一ファイルに属
するデータをそれぞれ書き込み位置が近くなるように再
配置したとしても、全体としてシーク移動量の合計値が
小さくなるとは限らない。従って、本発明のように実際
にシーク移動量の集計を行い、アクセス対象となるファ
イル数にこだわらず効率的なデータの再配置を行うよう
にすることが、より実用的であるといえる。
For example, if the application program is 1
When accessing only the individual files, it is sufficient to execute a process of collecting the data constituting the specific file to be accessed at a close location on the recording surface of the auxiliary storage device. However, an application program normally accesses a large number of files and executes a certain process. Therefore, even if the data belonging to the same file are rearranged so that the writing positions are close to each other, the total value of the seek movement amount does not always become small as a whole. Therefore, it can be said that it is more practical to actually aggregate the seek movement amount as in the present invention so as to efficiently rearrange data regardless of the number of files to be accessed.

【0020】また、上記のようなデータの再配置は、例
えば適切な位置に、書き込もうとするトラックの空き領
域を見つけ、集められるべきデータをそこに移動させる
といった方法によればよい。しかしながら、例えば1枚
の記録面に記憶されたデータを一旦別の場所に移し、理
想的な再配置計画に基づき、改めてデータの書き込みを
行うといった方法を採用しても差し支えない。
The rearrangement of data as described above may be performed by, for example, finding an empty area of a track to be written at an appropriate position and moving data to be collected there. However, for example, a method of temporarily moving the data stored on one recording surface to another location and writing the data again based on an ideal rearrangement plan may be adopted.

【0021】図1に示すデータ再配置制御部13は、こ
のように補助記憶装置3に書き込まれたデータの書き込
み位置を移動させるといった処理を実行することから、
アプリケーションプログラム1やその他のプログラムが
実行中は、その動作を妨げないために、再配置動作は行
わない。従って、装置全体がシャットダウンされた後、
あるいは装置が起動され業務を開始する直前等に起動さ
れることが好ましい。なお、装置により動作する多数の
アプリケーションプログラムやその他のプログラムより
も、優先度が十分に低い優先度で、このデータ再配置制
御部13の実行条件を設定しておけば、装置がどのプロ
グラムも実行していないアイドル状態になったときに、
自動的にデータ再配置制御部13が起動できる。この場
合、その再配置作業が小刻みに行われる。他のプログラ
ムが起動された場合には、一旦、その再配置作業を停止
し、装置がアイドル状態になると再び動作するといった
処理にすればよい。
Since the data relocation control unit 13 shown in FIG. 1 executes a process of moving the writing position of the data written in the auxiliary storage device 3 in this way,
The relocation operation is not performed while the application program 1 and other programs are running so as not to hinder the operation thereof. Therefore, after the entire device is shut down,
Alternatively, it is preferable that the device is started up and immediately before starting the work. It should be noted that if the execution condition of the data relocation control unit 13 is set at a priority level sufficiently lower than that of a large number of application programs and other programs operated by the apparatus, the apparatus can execute any program. When not in idle,
The data relocation control unit 13 can be automatically activated. In this case, the relocation work is performed in small steps. If another program is started, the rearrangement work may be temporarily stopped, and the apparatus may be restarted when the apparatus enters an idle state.

【0022】[0022]

【発明の効果】以上説明した本発明のデータ処理装置
は、アプリケーションプログラム実行中に補助記憶装置
のアクセス動作をアクセス監視部が監視し、アクセス対
象となるデータ毎に、アクセス動作時補助記憶装置の記
録面上をヘッドがシークするシーク移動量を統計データ
記憶部が記憶し、アプリケーションプログラムが所定時
間実行される間にシーク移動量の合計がより小さくなる
ように、データの記録面上への書き込み位置をデータ再
配置制御部が再配置するようにしたので、補助記憶装置
の記録面上にデータが理想的な形で配置され、ヘッドの
シーク移動量が減少し、アクセス速度の向上を図ること
ができる。従って、主記憶装置上に大サイズのキャッシ
ュメモリの設定が不要になり、資源の有効な活用を図る
ことも可能となる。
In the data processing apparatus of the present invention described above, the access monitoring section monitors the access operation of the auxiliary storage device during execution of the application program, and the auxiliary storage device at the time of access operation of the auxiliary storage device is accessed for each data to be accessed. The statistical data storage unit stores the seek movement amount that the head seeks on the recording surface, and writes the data on the recording surface so that the total seek movement amount becomes smaller while the application program is executed for a predetermined time. Since the data relocation control unit relocates the position, the data is ideally placed on the recording surface of the auxiliary storage device, the seek movement amount of the head is reduced, and the access speed is improved. You can Therefore, it is not necessary to set a large-sized cache memory on the main storage device, and resources can be effectively used.

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

【図1】本発明のデータ処理装置実施例を示す説明図で
ある。
FIG. 1 is an explanatory diagram showing an embodiment of a data processing device of the present invention.

【図2】従来のデータ処理装置ブロック図である。FIG. 2 is a block diagram of a conventional data processing device.

【図3】従来のデータ転送動作説明図である。FIG. 3 is an explanatory diagram of a conventional data transfer operation.

【図4】統計データ説明図である。FIG. 4 is an explanatory diagram of statistical data.

【図5】シーク動作とアクセス時間の説明図である。FIG. 5 is an explanatory diagram of a seek operation and access time.

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

1 アプリケーションプログラム 3 補助記憶装置 6 ディスク制御部 10 オペレーティングシステム 11 アクセス監視部 12 統計データ記憶部 13 データ再配置制御部 1 Application Program 3 Auxiliary Storage Device 6 Disk Control Unit 10 Operating System 11 Access Monitoring Unit 12 Statistical Data Storage Unit 13 Data Relocation Control Unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 アプリケーションプログラム実行中に、
補助記憶装置のアクセス動作を監視するアクセス監視部
と、 アクセス対象となるデータ毎に、アクセス動作時の前記
補助記憶装置の記録面上をヘッドがシークするシーク移
動量を記憶する統計データ記憶部と、 前記統計データ記憶部を読み取り、前記アプリケーショ
ンプログラムが所定時間実行される間に前記シーク移動
量の合計がより小さくなるように、前記データの記録面
上への書き込み位置を再配置するデータ再配置制御部と
を備えたことを特徴とするデータ処理装置。
1. During execution of an application program,
An access monitoring unit that monitors the access operation of the auxiliary storage device, and a statistical data storage unit that stores the seek movement amount that the head seeks on the recording surface of the auxiliary storage device during the access operation for each data to be accessed. A data rearrangement that reads the statistical data storage unit and rearranges the writing position of the data on the recording surface so that the total seek movement amount becomes smaller while the application program is executed for a predetermined time. A data processing device comprising a control unit.
JP5770693A 1993-02-23 1993-02-23 Data processor Pending JPH06250793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5770693A JPH06250793A (en) 1993-02-23 1993-02-23 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5770693A JPH06250793A (en) 1993-02-23 1993-02-23 Data processor

Publications (1)

Publication Number Publication Date
JPH06250793A true JPH06250793A (en) 1994-09-09

Family

ID=13063393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5770693A Pending JPH06250793A (en) 1993-02-23 1993-02-23 Data processor

Country Status (1)

Country Link
JP (1) JPH06250793A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7536505B2 (en) 2004-03-29 2009-05-19 Kabushiki Kaisha Toshiba Storage system and method for controlling block rearrangement
JP2009217700A (en) * 2008-03-12 2009-09-24 Toshiba Corp Disk array device and optimization method of physical arrangement
JP2010097674A (en) * 2008-10-20 2010-04-30 Cri Middleware Co Ltd Data processing device, data processing method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7536505B2 (en) 2004-03-29 2009-05-19 Kabushiki Kaisha Toshiba Storage system and method for controlling block rearrangement
JP2009217700A (en) * 2008-03-12 2009-09-24 Toshiba Corp Disk array device and optimization method of physical arrangement
JP2010097674A (en) * 2008-10-20 2010-04-30 Cri Middleware Co Ltd Data processing device, data processing method, and program

Similar Documents

Publication Publication Date Title
US5734861A (en) Log-structured disk array with garbage collection regrouping of tracks to preserve seek affinity
US5636355A (en) Disk cache management techniques using non-volatile storage
US4476526A (en) Cache buffered memory subsystem
KR100373313B1 (en) A method and system for managing a cache memory
US4972364A (en) Memory disk accessing apparatus
EP0109309B1 (en) Method of operating a computer system
US5226141A (en) Variable capacity cache memory
EP0354579B1 (en) A controller with a cache memory and control method of the cache memory
JP3254429B2 (en) Data transfer / management system and method
JPH1063578A (en) Information recording and reproducing device
US6490651B1 (en) Host-based virtual disk drive for improving the performance of a hard disk drive's input/output
JP3566319B2 (en) Information storage device
JPH04259048A (en) Pre-read data control system using statistic information
JPH06250793A (en) Data processor
US5875453A (en) Apparatus for and method of information processing
US6209057B1 (en) Storage device having data buffer
JP2845658B2 (en) Access control device for data recording / reproducing device
JPH1011337A (en) Method for controlling data in storage device
US5187778A (en) Buffered disk unit and method of transferring data therein
JPH07134634A (en) Disk device
JPH04251421A (en) Method for decreasing number of moving times of head/arm of disk drive in direction of diameter
JP3083530B2 (en) Cache memory data management method and cache control device
JPS617952A (en) Active trace collector
JPH04311216A (en) External storage controller
JPH11232037A (en) Magnetic disk device having disk cache write function