JPH07146757A - Disk device - Google Patents

Disk device

Info

Publication number
JPH07146757A
JPH07146757A JP5318959A JP31895993A JPH07146757A JP H07146757 A JPH07146757 A JP H07146757A JP 5318959 A JP5318959 A JP 5318959A JP 31895993 A JP31895993 A JP 31895993A JP H07146757 A JPH07146757 A JP H07146757A
Authority
JP
Japan
Prior art keywords
disk
sub
disks
access
disk device
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
JP5318959A
Other languages
Japanese (ja)
Inventor
Setsu Fukushima
節 福島
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 JP5318959A priority Critical patent/JPH07146757A/en
Publication of JPH07146757A publication Critical patent/JPH07146757A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten average seek time by adjacently arranging areas where accesses are frequently generated with each other. CONSTITUTION:The definition information of a virtual disk is assigned in order of sub-disks Sd-a1 to Sd-a5 with a prescribed width from the leading area of a physical disk. As a result of the statistics and investigation of the number of times of access at the time of an operation as for each of these sub-disks, accesses are frequently generated in order of sub-disks Sd-a1, Sd-a5, Sd-a2, Sd-a3 and Sd-4, for instance. Because sub-disks having a high access frequency with each other are adjacently arranged and are arranged at the center of the disk, the redefinition information of the virtual disk is organized in order of Sd-a3, Sd-a5, Sd-a1, Sd-a2 and Sd-a4. Therefore, the distance on the physical disk of the Sd-a1 and Sd-a5 with large access frequencies is shortened and a probability that a head stands by at the central part of the disk becomes high.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はディスク装置に関し、特
に仮想ディスクを用いたディスク装置のアクセス時にお
ける平均シーク時間の短縮方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk device, and more particularly to a method for shortening the average seek time when accessing a disk device using a virtual disk.

【0002】[0002]

【従来の技術】従来、ディスク装置のアクセス時におけ
る平均シーク時間の短縮方法としては種々の提案がなさ
れている。例えば、固定ディスク装置において、ヘッド
の位置を直前にアクセスしたトラック上に停止させてお
き、アクセス毎に次のトラックへのヘッド移動量を算出
してヘッド移動制御をなす方式や、アクセスが頻繁な領
域にヘッドを予め待機させておく方式(特開昭62−2
23866号公報)や、更にはヘッドを複数設けてアク
セス高速化を行う方式(特開平2−218055号公
報)等がある。
2. Description of the Related Art Conventionally, various proposals have been made as a method of reducing an average seek time when accessing a disk device. For example, in a fixed disk device, the head position is stopped on the track that has been accessed immediately before, and the head movement amount is calculated for each access to calculate the head movement amount. A method in which the head is made to stand by in advance in the area (Japanese Patent Application Laid-Open No. 62-2
No. 23866), and a method of providing a plurality of heads to speed up access (Japanese Patent Laid-Open No. 2-218055).

【0003】[0003]

【発明が解決しようとする課題】従来のこの種のシーク
時間短縮方式では、全てヘッドの制御を行うものであ
り、アクセスが頻繁な領域が多く存在して、ヘッドの数
よりも多ければ、物理ディスク上の領域の利用形態にそ
の効果が依存してしまうという問題があり、好ましい方
法ではない。
In the conventional seek time shortening method of this type, the heads are all controlled, and if there are many frequently accessed areas and the number of heads is larger than the number of heads, the physical control is performed. There is a problem in that the effect depends on the usage pattern of the area on the disc, which is not a preferable method.

【0004】本発明の目的は、仮想ディスクの技術を用
いてアクセスが頻繁に生ずる領域を互いに隣接配置せし
めることによって平均シーク時間の短縮を図ったディス
ク装置を提供することである。
It is an object of the present invention to provide a disk device in which the average seek time is shortened by arranging frequently accessed areas adjacent to each other using the virtual disk technology.

【0005】[0005]

【課題を解決するための手段】本発明によるディスク装
置は、仮想ディスクを構成する複数のサブディスクの各
アクセス状態の統計処理をなす統計処理手段と、この統
計処理に基づきアクセス回数の多い少なくとも2つのサ
ブディスクを互いに隣接配置するように仮想ディスクの
再編成を行う再編成手段とを含むことを特徴としてい
る。
DISCLOSURE OF THE INVENTION A disk device according to the present invention comprises a statistical processing means for performing statistical processing of each access state of a plurality of subdisks constituting a virtual disk, and at least 2 times of frequent access based on this statistical processing. Reorganizing means for reorganizing the virtual disks so that the two subdisks are arranged adjacent to each other.

【0006】特に、これ等アクセス回数の多いサブディ
スクは物理ディスクの中央付近に配置するようにしたこ
とを特徴としている。
Particularly, the sub-disks which are frequently accessed are characterized by being arranged near the center of the physical disk.

【0007】[0007]

【実施例】以下、本発明の実施例について図面を用いて
詳述する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

【0008】図1は本発明の実施例に用いる仮想ディス
クと物理ディスク上の実体との構成を示す図である。図
に示す如く、仮想ディスクvol−1はプレックス(p
lex)1という実体である物理ディスクを持ってお
り、この物理ディスク上の5つのサブディスクsd−a
1,sd−a2,sd−a3,sd−a4,sd−a5
により構成されている。
FIG. 1 is a diagram showing the configuration of a virtual disk and an entity on a physical disk used in the embodiment of the present invention. As shown in the figure, the virtual disk vol-1 is a plex (p
lex) 1 has a physical disk that is an entity, and has five subdisks sd-a on this physical disk.
1, sd-a2, sd-a3, sd-a4, sd-a5
It is composed by.

【0009】ここで、物理ディスクはセクタ,シリンダ
等を有する実際のディスク装置であり、通常物理ディス
クはファイルシステムとして扱われるので、任意の連続
した領域に分割して使用される。この連続した領域に相
当するものを、物理ディスク上の任意の位置に任意の大
きさをもって実存する領域(サブディスク)の集合体で
構成したものをプレックスと称し、図1のplex1で
示している。
Here, the physical disk is an actual disk device having sectors, cylinders, etc. Since the physical disk is usually treated as a file system, it is divided into arbitrary continuous areas for use. What corresponds to this continuous area is composed of an aggregate of existing areas (subdisks) of arbitrary size at arbitrary positions on the physical disk is called a plex, and is indicated by plex1 in FIG. .

【0010】このプレックスは等しい大きさの仮想ディ
スクと関連付けされ、オペレータは物理ディスク上の構
成を意識することなく仮想ディスクをアクセスすること
ができるようになっている。また、仮想ディスクはプレ
ックスと一対多の関係とすることが可能であり、この関
連付け及びその解消は動的な関係となっている。尚、こ
の関連付けはアソシエートと称され、その解消はディソ
シエートと称される。
This plex is associated with virtual disks of the same size so that the operator can access the virtual disks without being aware of the configuration on the physical disk. Further, the virtual disk can have a one-to-many relationship with the plex, and this association and its cancellation are in a dynamic relationship. It should be noted that this association is referred to as associate, and the cancellation thereof is referred to as associate.

【0011】そこで、本発明では、この仮想ディスクの
概念を用いて、物理ディスクの各サブディスクsd−a
1〜sd−a5を、最初に(運用開始前に)、図1の如
く定義しておくものとする。このとき、仮想ディスクの
定義情報は物理ディスクの先頭の領域から8192ブロ
ックの幅をもってsd−a1〜sd−a5の順番に割当
てられている。
Therefore, in the present invention, each subdisk sd-a of the physical disk is used by using the concept of the virtual disk.
It is assumed that 1 to sd-a5 are first defined (before the operation is started) as shown in FIG. At this time, the virtual disk definition information is allocated in the order of sd-a1 to sd-a5 with a width of 8192 blocks from the top area of the physical disk.

【0012】これ等の各サブディスクの各々について、
運用時の入出力情報であるアクセス回数を統計調査して
おき、この統計調査の結果、sd−a1,sd−a5,
sd−a2,sd−a3,sd−a4の順にアクセスが
頻繁にあったとする。
For each of these subdisks,
The number of accesses, which is input / output information during operation, is statistically surveyed, and as a result of this statistical survey, sd-a1, sd-a5
It is assumed that accesses are frequently made in the order of sd-a2, sd-a3, and sd-a4.

【0013】アクセス頻度の多いsd−a1及びsd−
a5はディスクの両端(内周と外周)に位置しているの
で、平均シーク時間が大きくなる要因となっていると考
えることができる。そこで、vol−1の内容を一時他
の媒体に退避させて、図2に示す如きsd−b1,sd
−b2,sd−b3,sd−b4,sd−b5からなる
プレックス2を新たに定義し直して再編成するのであ
る。
Sd-a1 and sd- that are frequently accessed
Since a5 is located at both ends (inner circumference and outer circumference) of the disk, it can be considered that it is a factor that increases the average seek time. Therefore, the contents of vol-1 are temporarily saved to another medium, and sd-b1 and sd as shown in FIG.
The plex 2 consisting of -b2, sd-b3, sd-b4, sd-b5 is newly defined and reorganized.

【0014】図2において、サブディスク番号sd−b
1〜sd−b5は、図1のサブディスク番号sd−1〜
sd−5と夫々対応しているものとする。
In FIG. 2, the sub disk number sd-b
1 to sd-b5 are sub-disk numbers sd-1 to sd-1 of FIG.
It corresponds to sd-5, respectively.

【0015】図2に示す如く、仮想ディスクの再定義情
報は、アクセス頻度の高いサブディスク同士を互いに隣
接配置せしめ、かつディスク中央に配置せしめるように
なっており、他のサブディスクについてはアクセス頻度
の大なるものから順に中央から外側へ配置せしめるもの
である。
As shown in FIG. 2, the virtual disk redefinition information is such that subdisks with high access frequency are arranged adjacent to each other and at the center of the disk, and the access frequency for other subdisks. It is arranged from the center to the outside in order from the largest one.

【0016】そして、仮想ディスクの定義情報であるプ
レックス2にプレックス1の内容を戻し、仮想ディスク
の実体とすることにより、ディスク先頭付近へのアクセ
スであったsd−a1へのアクセスはディスクの中央付
近のsd−b1へのアクセスへと変わる。従って、アク
セス頻度の大なるsd−a1,sd−a5の物理ディス
ク上での距離は短縮され、また、ヘッドはディスクの中
央部で待機する確率が高くなって、平均シーク時間の短
縮が図れるのである。
By returning the contents of plex 1 to plex 2, which is the definition information of the virtual disk, and making it the entity of the virtual disk, the access to sd-a1 which was the access near the beginning of the disk is the center of the disk. Change to access to nearby sd-b1. Therefore, the distances of the frequently accessed sd-a1 and sd-a5 on the physical disk are shortened, and the probability that the head waits at the center of the disk is increased, so that the average seek time can be shortened. is there.

【0017】ディスク運用中は常に各サブディスクへの
アクセス回数を統計する様にし、アクセス頻度に変化が
見られれば、新たな仮想ディスク定義情報を生成してデ
ィスクの再編成をなすことにより常にシーク時間の短縮
が可能となる。
During disk operation, the number of times of access to each subdisk is always statisticized, and if the access frequency changes, new virtual disk definition information is generated and disk reorganization is performed to constantly seek. The time can be shortened.

【0018】図3に、ディスク運用中における仮想ディ
スク定義情報の再編成の処理過程をフローチャートとし
て示している。ステップ31において、サブディスク,
プレックスの構成が定義されており、図1に示す最初の
状態である。
FIG. 3 is a flowchart showing the process of reorganizing the virtual disk definition information during disk operation. In step 31, the subdisk,
The plex configuration is defined and is the first state shown in FIG.

【0019】この状態で運用が開始されると、ステップ
32にて、その運用中のサブディスク毎のアクセス状態
(回数)の採取がなされて統計処理が行われる。ある程
度の運用がなされて各サブディスクに関するアクセス頻
度が算出されると、ステップ33で、その時のアクセス
対象のサブディスクの位置が、、ディスク上で適当かど
うかの判定がなされる。
When the operation is started in this state, in step 32, the access state (number of times) of each operating sub-disk is collected and statistical processing is performed. After the operation is performed to some extent and the access frequency for each sub-disk is calculated, it is determined in step 33 whether the position of the sub-disk to be accessed at that time is appropriate on the disk.

【0020】この判定方法としては、例えば、当該アク
セス時のヘッドのシーク時間やヘッドシーク移動距離等
を予め設定している閾値と比較し、大であれば、そのア
クセスディスク対象のサブディスク位置は不適と判断す
るのである。
As the determination method, for example, the seek time of the head at the time of the access, the head seek movement distance, etc. are compared with a preset threshold value. Judge as inappropriate.

【0021】不適であれば、ステップ34へ移行し、各
サブディスクのアクセス頻度の統計データを基にして、
図2に示す如き仮想ディスクの定義情報を生成してディ
スクの再編成が行われ、運用が再び開始されステップ3
2へ戻る。ステップ33で適当と判断されれば、運用が
そのまま行われステップ32へ戻る。
If it is not suitable, the process proceeds to step 34, and based on the statistical data of the access frequency of each subdisk,
The virtual disk definition information as shown in FIG. 2 is generated, the disk is reorganized, and the operation is restarted. Step 3
Return to 2. If it is determined to be appropriate in step 33, the operation is performed as it is and the process returns to step 32.

【0022】尚、ディスク再編成のために、運用中断が
行われるが、二重化構成のディスク装置の場合には、一
方のディスクの再編成処理中に他方のディスクを運用使
用する構成とすれば、運用中断をなくすことができるも
のである。
Although the operation is suspended for reorganization of the disk, in the case of a disk device having a duplicated structure, if the other disk is operated and used during the reorganization process of one disk, The operation interruption can be eliminated.

【0023】[0023]

【発明の効果】叙上の如く、本発明によれば、物理ディ
スク上のアクセスが頻繁な領域を物理的に隣接配置する
ようにし、更にこれ等をディスク中央に配置させるよう
にすることにより、物理ディスクの領域の利用形態に関
係なく平均シーク時間を短縮できるという効果がある。
As described above, according to the present invention, the frequently accessed areas on the physical disk are physically arranged adjacent to each other, and further, these areas are arranged at the center of the disk. There is an effect that the average seek time can be shortened regardless of the usage form of the physical disk area.

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

【図1】本発明の実施例の仮想ディスクと物理ディスク
上の実体との関係図及び仮想ディスク定義情報の例を示
す図である。
FIG. 1 is a diagram showing a relationship diagram between a virtual disk and an entity on a physical disk and an example of virtual disk definition information according to an embodiment of the present invention.

【図2】アクセス頻度の大なる順にディスク上の配置を
編成し直した場合を示す図である。
FIG. 2 is a diagram showing a case where the arrangement on the disk is rearranged in the order of increasing access frequency.

【図3】本発明の実施例の動作概要を示すフロー図であ
る。
FIG. 3 is a flowchart showing an outline of operation of the embodiment of the present invention.

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

vol−1 仮想ディスク plex1,2 物理ディスク sd−a1〜a5,sd−b1〜b5 サブディスク vol-1 virtual disk plex1,2 physical disk sd-a1 to a5, sd-b1 to b5 sub disk

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 仮想ディスクを構成する複数のサブディ
スクの各アクセス状態の統計処理をなす統計処理手段
と、この統計処理に基づきアクセス回数の多い少なくと
も2つのサブディスクを互いに隣接配置するように仮想
ディスクの再編成を行う再編成手段とを含むことを特徴
とするディスク装置。
1. A statistical processing means for performing statistical processing of respective access states of a plurality of subdisks constituting a virtual disk, and at least two subdisks having a large number of accesses based on the statistical processing are arranged so as to be adjacent to each other. A disk device comprising a reorganization unit for reorganizing a disk.
【請求項2】 前記再編成手段は、アクセス時のヘッド
移動距離が所定値を越えたときに前記仮想ディスクの再
編成を行うよう構成されていることを特徴とする請求項
1記載のディスク装置。
2. The disk device according to claim 1, wherein the reorganization unit is configured to reorganize the virtual disk when a head movement distance at the time of access exceeds a predetermined value. .
【請求項3】 前記再編成手段は、前記アクセス回数の
多い少なくとも2つのサブディスクをディスク中央付近
に配置するように構成されていることを特徴とする請求
項1または2記載のディスク装置。
3. The disk device according to claim 1, wherein the reorganization unit is configured to arrange at least two sub-disks that have been frequently accessed near a disk center.
【請求項4】 二重化構成のディスク装置であって、前
記再編成手段が再編成処理中に他の仮想ディスクを現用
使用するよう構成されていることを特徴とする請求項1
〜3いずれか記載のディスク装置。
4. A disk device having a duplicated structure, wherein the reorganizing means is configured to currently use another virtual disk during the reorganization process.
The disk device according to any one of 3 to 3.
JP5318959A 1993-11-25 1993-11-25 Disk device Pending JPH07146757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5318959A JPH07146757A (en) 1993-11-25 1993-11-25 Disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5318959A JPH07146757A (en) 1993-11-25 1993-11-25 Disk device

Publications (1)

Publication Number Publication Date
JPH07146757A true JPH07146757A (en) 1995-06-06

Family

ID=18104907

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5318959A Pending JPH07146757A (en) 1993-11-25 1993-11-25 Disk device

Country Status (1)

Country Link
JP (1) JPH07146757A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293317A (en) * 1996-04-08 2000-10-20 Hitachi Ltd Storage controller
JP2003271425A (en) * 2003-04-01 2003-09-26 Hitachi Ltd Storage control device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04151745A (en) * 1990-10-16 1992-05-25 Nec Software Kansai Ltd Integrated magnetic disk volume system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04151745A (en) * 1990-10-16 1992-05-25 Nec Software Kansai Ltd Integrated magnetic disk volume system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293317A (en) * 1996-04-08 2000-10-20 Hitachi Ltd Storage controller
US6446161B1 (en) 1996-04-08 2002-09-03 Hitachi, Ltd. Apparatus and method for reallocating logical to physical disk devices using a storage controller with access frequency and sequential access ratio calculations and display
US6708252B2 (en) 1996-04-08 2004-03-16 Hitachi, Ltd. Apparatus and method for reallocating logical to physical disk devices using a storage controller, with access frequency and sequential access ratio calculations and display
US6915382B2 (en) 1996-04-08 2005-07-05 Hitachi, Ltd. Apparatus and method for reallocating logical to physical disk devices using a storage controller, with access frequency and sequential access ratio calculations and display
US7069383B2 (en) 1996-04-08 2006-06-27 Hitachi, Ltd. Apparatus and method for reallocating logical to physical disk devices using a storage controller, with access frequency and sequential access ratio calculations and display
US7577815B2 (en) 1996-04-08 2009-08-18 Hitachi, Ltd. Apparatus and method for reallocating logical to physical disk devices using a storage controller, with access frequency and sequential access ratio calculations and display
US8032733B2 (en) 1996-04-08 2011-10-04 Hitachi, Ltd. Apparatus and method for reallocating logical to physical disk devices using a storage controller with access frequency and sequential access ratio calculations and display
US8898383B2 (en) 1996-04-08 2014-11-25 Hitachi, Ltd. Apparatus for reallocating logical to physical disk devices using a storage controller and method of the same
JP2003271425A (en) * 2003-04-01 2003-09-26 Hitachi Ltd Storage control device

Similar Documents

Publication Publication Date Title
US5734861A (en) Log-structured disk array with garbage collection regrouping of tracks to preserve seek affinity
US6170037B1 (en) Method and apparatus for storing information among a plurality of disk drives
DE69528430T2 (en) Method and system for selecting data for migration in a hierarchical data storage system with frequency distribution tables
JP2006024024A (en) Logical disk management method and device
RU2003106549A (en) METHOD OF DATA MANAGEMENT FOR PLAYBACK AND / OR READING FROM DISK, METHOD OF DATA MANAGEMENT FOR RECORDING AND / OR PLAYBACK FROM DISK, METHOD OF MANAGING PLAYBACK FOR PLAYBACK
JPH07146757A (en) Disk device
JPH08339318A (en) Data recorder and data management method
JP3851723B2 (en) Disk storage device and segment cache control method in the same device
JP3471347B2 (en) Optical disk and optical disk drive
JPH07319636A (en) Controller for storing data of magnetic disk
JPH06332622A (en) Information processor
JPH0368468B2 (en)
JP3809674B2 (en) Disk control method and apparatus
US4727439A (en) Magnetic disc unit system
JPH0567005A (en) Recording medium access system
JP3510747B2 (en) Recording medium having logical format, recording / reproducing device, logical format device, and logical format forming method
JPH05100927A (en) Buffer managing method
JPH11176102A (en) Method for controlling rotating storage device and rotating storage device
JP3504257B2 (en) Optical disk and optical disk drive
JPH04340664A (en) Shape data management device
JPH09146712A (en) Multiplexed disk access control system
JP3490079B2 (en) Optical disk drive
JPH06187735A (en) Control device for alternative region of disk recording and reproducing device
JPH03113625A (en) Disk cache equipment
JPH0554541A (en) Magnetic disk device and formatting method