JP4904942B2 - Disk control system, disk control device, and disk control method - Google Patents
Disk control system, disk control device, and disk control method Download PDFInfo
- Publication number
- JP4904942B2 JP4904942B2 JP2006175121A JP2006175121A JP4904942B2 JP 4904942 B2 JP4904942 B2 JP 4904942B2 JP 2006175121 A JP2006175121 A JP 2006175121A JP 2006175121 A JP2006175121 A JP 2006175121A JP 4904942 B2 JP4904942 B2 JP 4904942B2
- Authority
- JP
- Japan
- Prior art keywords
- verification
- disk control
- control system
- usage rate
- cpu
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3604—Software analysis for verifying properties of programs
- G06F11/3612—Software analysis for verifying properties of programs by runtime analysis
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/11—Plc I-O input output
- G05B2219/11101—Verifying ram data correct, validity, reload faulty data with correct data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Description
本発明は、磁気ディスク等の記憶装置のデータチェック(以下「ベリファイ」という)を行うディスク制御技術に関する。 The present invention relates to a disk control technique for performing data check (hereinafter referred to as “verify”) of a storage device such as a magnetic disk.
近年、複数のHDD(ハードディスクドライブ)を結合してディスクアレイとし1台のHDDとして使うことでアクセス速度を向上させる技術或いはデータを多重化して耐障害性を向上する技術として、RAID(Redundant Arrays of Independent Disks)技術が採用されている。 In recent years, RAID (Redundant Arrays of) is a technique for improving access speed by combining a plurality of HDDs (hard disk drives) to be used as a single HDD as a disk array or a technique for multiplexing data to improve fault tolerance. Independent Disks) technology is employed.
例えば、このようなRAID技術における従来のベリファイの方法では、一度、ベリファイを開始すると、ベリファイを完了するまでその処理を停止することができず、ベリファイを完了するまで一定の負荷をシステムに与え続けるため、CPU使用率が増加し、他の処理の処理速度が遅くなったり、一時的にハングアップしたりすることがあった(例えば、特許文献1参照。)。 For example, in the conventional verification method in such RAID technology, once the verification is started, the processing cannot be stopped until the verification is completed, and a constant load is continuously applied to the system until the verification is completed. For this reason, the CPU usage rate is increased, and the processing speed of other processes may be slowed down or temporarily hung up (see, for example, Patent Document 1).
この不具合を改善する方法として、CPU使用率が一定以上となったときにベリファイ処理を停止するCPU負荷制御処理技術(例えば、特許文献2参照。)や、ベリファイを行うエリアを細分化して、1つのベリファイコマンドあたりの処理時間を短くするエリア分割処理技術(例えば、特許文献3参照。)があった。
しかしながら、従来のCPU負荷制御処理では、CPU使用率が所定以上となるとベリファイ処理を一旦停止させるため、運用中にCPU使用率の高い処理が連続した場合では、ベリファイ処理を停止している時間が長くなり最後までベリファイを行うことができない場合があった。 However, in the conventional CPU load control process, the verification process is temporarily stopped when the CPU usage rate exceeds a predetermined value. Therefore, when the process with a high CPU usage rate continues during operation, the time during which the verification process is stopped is stopped. In some cases, the verification process could not be performed until the end due to the length.
この問題は、近年のHDDの大容量化に伴い、より一層重要な問題となってきている。すなわち、HDDの大容量化に伴い、ベリファイを終了する前にシステム運用が終了してしまい、次回起動時に、再度、最初のアドレスからベリファイを行うことになり、いつまでもベリファイを完了することができないという問題が発生していた。 This problem has become even more important with the recent increase in capacity of HDDs. In other words, as the capacity of the HDD increases, the system operation ends before the verification is completed, and at the next startup, the verification is performed again from the first address, and the verification cannot be completed indefinitely. There was a problem.
また、もう1つのエリア分割処理においても、運用中にCPU使用率が高い処理が連続した場合では、他の処理と競合し影響を与えることがあった。そして、同様に、近年のHDDの大容量化に伴い、ベリファイ終了前に運用が終了していまい、次回起動時に、再度、最初のアドレスからベリファイを行うことになり、いつまでもベリファイを完了することができないという問題が発生していた。 Also, in another area division process, if a process with a high CPU usage rate continues during operation, it may compete with and affect other processes. Similarly, with the recent increase in capacity of HDDs, operation will not be completed before verification is completed, and verification will be performed again from the first address at the next startup, and verification may be completed indefinitely. The problem of being unable to do so occurred.
本発明は、前述の課題を解決するため次の構成を採用する。すなわち、本発明は、記憶装置のベリファイ処理を行うディスク制御システムにおいて、少なくともベリファイ実施済みの情報を格納するパラメータ格納部を設け、前記パラメータ格納部の情報に基づいてベリファイ処理を行うようにした。 The present invention employs the following configuration in order to solve the above-described problems. That is, according to the present invention, in a disk control system that performs verification processing of a storage device, a parameter storage unit that stores at least verified information is provided, and verification processing is performed based on information in the parameter storage unit.
或いは、別の発明では、CPU等の使用率を測定する使用率測定部と、CPU使用率等の判定閾値を格納するパラメータ格納部を設け、前記使用率測定部による測定結果と、前記判定閾値に基づいて、ベリファイ処理を行う頻度を変化させるようにした。 Alternatively, in another invention, a usage rate measuring unit that measures a usage rate of a CPU or the like, and a parameter storage unit that stores a determination threshold value such as a CPU usage rate, the measurement result by the usage rate measuring unit, and the determination threshold value are provided. Based on the above, the frequency of performing the verify process was changed.
以上のように、本発明のディスク制御システムによれば、記憶装置のベリファイ処理を行うディスク制御システムにおいて、少なくともベリファイ実施済みの情報を格納するパラメータ格納部を設け、前記パラメータ格納部の情報に基づいてベリファイ処理を行うようにしたので、他の処理への影響を最小限に抑えるとともに、重複したベリファイを行う必要がなく確実にベリファイを完了することができる。 As described above, according to the disk control system of the present invention, in the disk control system that performs the verification process of the storage device, the parameter storage unit that stores at least the verified information is provided, and based on the information in the parameter storage unit Thus, the verify process is performed, so that the influence on other processes can be minimized, and the verify process can be reliably completed without the need for performing a duplicate verify process.
或いは、CPU等の使用率を測定する使用率測定部と、CPU使用率等の判定閾値を格納するパラメータ格納部を設け、前記使用率測定部による測定結果と、前記判定閾値に基づいて、ベリファイ処理を行う頻度を変化させるようにしたので、他の処理への影響をさらに最小限に抑え、確実にベリファイ処理を実施することができる。 Alternatively, a usage rate measuring unit that measures the usage rate of a CPU or the like and a parameter storage unit that stores a determination threshold value such as a CPU usage rate are provided, and verification is performed based on the measurement result by the usage rate measuring unit and the determination threshold value. Since the frequency of processing is changed, the influence on other processing can be further minimized, and the verification processing can be performed reliably.
以下、本発明に係る実施の形態例を、図面を用いて説明する。なお、以下の説明では、RAID技術を用いたディスクアレイを例として説明するが、バックグランドにて磁気ディスク等の記憶装置のベリファイを行うシステムであればよく、1つの記憶装置のベリファイを行う場合にも適用できる。 Embodiments of the present invention will be described below with reference to the drawings. In the following description, a disk array using RAID technology will be described as an example. However, any system that performs verification of a storage device such as a magnetic disk in the background may be used. It can also be applied to.
実施例1のディスク制御システムは、ベリファイする記憶領域を設定された分割数に分割してベリファイを行いベリファイ済みのエリア番号を記憶するようにし、次のベリファイでは、ベリファイ未実施エリアから実施するようにしたものである。 The disk control system according to the first embodiment divides the storage area to be verified into the set number of divisions, performs verification, and stores the verified area number. In the next verification, the verification is performed from an unverified area. It is a thing.
(構成)
図1は、実施例1のディスク制御システムの構成を示す図である。同図に示したように、RAID技術を用いたファイルシステムでは、高速化を目的とした分散書込みとしてストライピング(RAID0)、信頼性向上を目的としたミラーリング(RAID1)、これらを複合化したもの(RAID1+0)などのいくつかのRAIDレベルをサポートしており、これをRAIDコントローラ1およびディスク制御装置7により制御するようにしている。
(Constitution)
FIG. 1 is a diagram illustrating the configuration of the disk control system according to the first embodiment. As shown in the figure, in a file system using RAID technology, striping (RAID0) for distributed writing for speeding up, mirroring (RAID1) for improving reliability, and a combination of these ( RAID levels such as
そして、例えば、RAID1+0制御の場合では、記憶領域全体を詳細後述のように任意に設定された分割数にて分割された2台のHDD2および3が、これらを制御するディスク制御装置7を経由し、上位装置10であるところの、RAIDコントローラ1、さらにその上位側のオペレーションシステム(以下「OS6」という)、その上位側のアプリケーション(以下「AP」という)に接続された構成となっている。
For example, in the case of
そして、RAIDコントローラ1の内部には、ディスク制御用パラメータを格納するパラメータ格納部4が設けられ、記憶領域全体を分割する値としての分割数4aと、最後にベリファイを完了した実施済エリア番号4bを格納できるようにしている。なお、パラメータ格納部4をRAIDコントローラ1の内部に設ける構成を例として以下説明するが、AP(5)をはじめOS(6)やRAIDコントローラ1などに格納する構成としてもよいし、パラメータ格納部4の内容をレジストリファイルなどに記述してHDD2および3に格納して置くようにしてもよい。
The
(動作)
以上の構成により、実施例1のディスク制御システムは、以下のように動作する。この動作を、図2および図3の動作フローチャートを用いて以下説明する。
(Operation)
With the above configuration, the disk control system of the first embodiment operates as follows. This operation will be described below with reference to the operation flowcharts of FIGS.
まず、図2のように、ベリファイ開始前にパラメータ格納部4の分割数4aおよび実施済エリア番号4bを読込み(ステップS1)、分割数4aによりベリファイ対象の総容量を分割し(ステップS2)、実施済エリア番号4bにより開始エリアを決定し(ステップS3)、ベリファイを実行する(ステップS4)。例えば、図1のように、#002まで、ベリファイを終了しているときは、次回のベリファイでは#003から実施する。
First, as shown in FIG. 2, before the start of verification, the division number 4a and the executed area number 4b of the
そして、図3に移って、本システムの運用を終了する際に、ベリファイを完了しているかどうかを判定し(ステップS5)、新たなエリアのベリファイを完了しているときは、前回ベリファイを実施したときの記録である実施済エリア番号4bを更新する。この場合は、次回のベリファイは、新たにベリファイを完了したエリアの次エリアからベリファイを実行することになる。 Then, referring to FIG. 3, when the operation of this system is finished, it is determined whether or not the verification is completed (step S5). When the verification of the new area is completed, the previous verification is performed. The executed area number 4b which is a record at the time of the update is updated. In this case, in the next verify, the verify is executed from the area next to the newly completed verify.
一方、ステップS5にてベリファイを完了していない場合は、実施済エリア番号4bは更新しない。この場合は、次回のベリファイ実施を行う場合も、今回と同じエリアから実施することになる。 On the other hand, when the verification is not completed in step S5, the executed area number 4b is not updated. In this case, the next verification is performed from the same area as this time.
以上の説明では、実施済みのエリアの最後の番号を記憶しておき、次のベリファイでは、実施済みのエリアの次のエリアから実施するように説明したが、実施済みのエリア番号をすべて記憶して置き、次のベリファイでは未実施エリアから任意に選択したエリアについてベリファイを行うようにしてもよい。 In the above description, the last number of the executed area is stored, and in the next verification, it is described that the process is performed from the area next to the executed area. However, all the executed area numbers are stored. In the next verification, verification may be performed for an area arbitrarily selected from unexecuted areas.
(実施例1の効果)
以上のように、実施例1のディスク制御システムによれば、ベリファイする記憶領域を、設定された分割数に分割してベリファイを行うようにしベリファイ済みのエリア情報を記憶するようにしたので、ベリファイ1回あたりの時間を短くすることができ他の処理への影響を最小限に抑えることができるとともに、次のベリファイでは、実施済みのエリアの次からベリファイを行うことができる。
(Effect of Example 1)
As described above, according to the disk control system of the first embodiment, since the verification is performed by dividing the storage area to be verified into the set number of divisions, the verified area information is stored. The time per one time can be shortened and the influence on other processing can be minimized, and in the next verification, verification can be performed from the next area that has been executed.
実施例2のディスク制御システムは、ベリファイ済みのアドレスを記憶し、次ぎのベリファイでは、記憶したベリファイ済みのアドレスの次ぎからベリファイを実施するようにしたものである。 The disk control system according to the second embodiment stores a verified address, and in the next verification, the verification is performed from the next of the stored verified address.
(構成)
図4は、実施例2のディスク制御システムの構成を示す図である。実施例2のディスク制御システムでは、RAIDコントローラ4のパラメータ格納部4に最後にベリファイを実施した実施済アドレス4cを格納できるようにしている。その他の構成は、実施例1のディスク制御システムの構成と同様であるので、簡略化のためにその説明を省略する。
(Constitution)
FIG. 4 is a diagram illustrating the configuration of the disk control system according to the second embodiment. In the disk control system according to the second embodiment, the last-performed address 4c can be stored in the
(動作)
以上の構成により、実施例2のディスク制御システムは、以下のように動作する。この動作を、図5、図6の動作フローチャートを用いて以下説明する。
(Operation)
With the above configuration, the disk control system of the second embodiment operates as follows. This operation will be described below with reference to the operation flowcharts of FIGS.
まず、図5のように、ベリファイ開始前に、最後にベリファイを実施したアドレスであるパラメータ格納部4の実施済アドレス4cを読み込み(ステップS10)、当該実施済アドレス4cからベリファイ開始アドレスを決定し(ステップS11)、ベリファイを実行する(ステップS12)。例えば、図4に示したように、実施済アドレス4cが"1234AB(H)"のときは、ベリファイ開始アドレスは、次のアドレスである"1234AC(H)"となる。
First, as shown in FIG. 5, before the verification is started, the executed address 4c of the
そして、図6に移って、本システムの運用を終了する際に、ベリファイすべき全記憶領域のベリファイを完了しているかどうかを判定し(ステップS13)、ベリファイが完了している場合は、実施済アドレス4cを先頭アドレス、すなわち0(H)に更新する。この場合、次回のベリファイは、先頭アドレス0(H)から新たにベリファイを実行することになる。 Then, referring to FIG. 6, when the operation of this system is finished, it is determined whether or not the verification of all the storage areas to be verified is completed (step S13). The completed address 4c is updated to the head address, that is, 0 (H). In this case, in the next verification, verification is newly executed from the head address 0 (H).
一方、ベリファイすべき全記憶領域のベリファイが完了していない場合は、最後にベリファイを実施したアドレスを実施済アドレス4cに上書きして更新する。この場合、次回のベリファイは、実施済アドレス4cの次から実施することになる。 On the other hand, when the verification of all the storage areas to be verified is not completed, the address that has been verified last is overwritten and updated to the performed address 4c. In this case, the next verification is performed from the next of the completed address 4c.
(実施例2の効果)
以上のように、実施例2のディスク制御システムによれば、最後にベリファイを実施したアドレスをベリファイ開始アドレスとして記憶して置くようにしたので、次のベリファイでは、ベリファイ済みの次ぎのアドレスから実施することができ、ベリファイのための時間を長く取れないシステムにおいても、ベリファイすべき全領域をベリファイすることができる。
(Effect of Example 2)
As described above, according to the disk control system of the second embodiment, since the last verified address is stored as the verification start address, the next verification is performed from the next address after verification. Even in a system that cannot take a long time for verification, the entire area to be verified can be verified.
実施例3のディスク制御システムは、ベリファイを実施する間隔を任意に設定できるようにしたものである。 In the disk control system of the third embodiment, an interval for performing verification can be arbitrarily set.
(構成)
図7は、実施例3のディスク制御システムの構成を示す図である。実施例3のディスク制御システムでは、RAIDコントローラ4のパラメータ格納部4にベリファイを実施する間隔(時間)を表すベリファイ実施間隔4dを格納できるようにしている。その他の構成は、実施例1のディスク制御システムの構成と同様であるので、簡略化のためにその説明を省略する。
(Constitution)
FIG. 7 is a diagram illustrating the configuration of the disk control system according to the third embodiment. In the disk control system according to the third embodiment, the verification execution interval 4d representing the verification execution interval (time) can be stored in the
(動作)
以上の構成により、実施例3のディスク制御システムは、以下のように動作する。この動作を、図8の動作フローチャートを用いて以下説明する。
(Operation)
With the above configuration, the disk control system according to the third embodiment operates as follows. This operation will be described below using the operation flowchart of FIG.
まず、ベリファイ開始前に、パラメータ格納部4に格納されたベリファイ実施間隔4dを読み込み(ステップS20)、当該ベリファイ実施間隔4dからベリファイを行う間隔(時間)を決定し(ステップS21)、ベリファイを実行する(ステップS22)。
First, before the verification is started, the verification execution interval 4d stored in the
そして、このベリファイ実施間隔4dの間隔(時間)により、ベリファイを繰り返し、システム全体の運用終了とともに、ベリファイを終了する。 Then, the verification is repeated at the verification execution interval 4d (time), and the verification is completed together with the operation of the entire system.
(実施例3の効果)
以上のように、実施例3のディスク制御システムによれば、ベリファイを実施する間隔をあらかじめ任意に設定できるようにしたので、ベリファイによる他の処理への影響をできるだけ少なくすることができる。
(Effect of Example 3)
As described above, according to the disk control system of the third embodiment, the interval for performing the verification can be arbitrarily set in advance, so that the influence of the verification on other processes can be reduced as much as possible.
実施例4のディスク制御システムは、ベリファイ開始時間を任意に設定できるようにしたものである。 In the disk control system of the fourth embodiment, the verification start time can be arbitrarily set.
(構成)
図9は、実施例4のディスク制御システムの構成を示す図である。実施例4のディスク制御システムでは、RAIDコントローラ4のパラメータ格納部4にベリファイ開始時間(スタートタイム)を表すベリファイ開始時間4eを格納できるようにしている。その他の構成は、実施例1のディスク制御システムの構成と同様であるので、簡略化のためにその説明を省略する。
(Constitution)
FIG. 9 is a diagram illustrating the configuration of the disk control system according to the fourth embodiment. In the disk control system according to the fourth embodiment, the verification start time 4e representing the verification start time (start time) can be stored in the
(動作)
以上の構成により、実施例4のディスク制御システムは、以下のように動作する。この動作を、図10の動作フローチャートを用いて以下説明する。
(Operation)
With the above configuration, the disk control system according to the fourth embodiment operates as follows. This operation will be described below using the operation flowchart of FIG.
まず、ベリファイ開始前に、パラメータ格納部4に格納されたベリファイ開始時間4eを読み込み(ステップS30)、ベリファイ開始時間4eからベリファイを開始する時間を設定し(ステップS31)、ベリファイ開始時間4eになると(ステップS32)、ベリファイを実行する(ステップS32)。このベリファイ開始時間は実時間タイマーにて監視し、設定された時間になったときに割り込み処理にてベリファイを行うようにすればよい。
First, before the start of verification, the verification start time 4e stored in the
そして、ベリファイを繰り返し、ベリファイを繰り返し、システム全体の運用終了とともに、ベリファイを終了する。 Then, the verification is repeated, the verification is repeated, and the verification is completed together with the operation of the entire system.
(実施例4の効果)
以上のように、実施例4のディスク制御システムによれば、ベリファイを開始する時間を任意に設定できるようにしたので、システム起動後の初期設定等の他の処理を考慮してベリファイ開始時間を設定することにより他の処理に与える影響をできるだけ少なくすることができる。
(Effect of Example 4)
As described above, according to the disk control system of the fourth embodiment, the verification start time can be arbitrarily set. Therefore, the verification start time is set in consideration of other processes such as initial setting after the system is started. By setting, the influence on other processing can be minimized.
実施例5のディスク制御システムは、CPU使用率に応じて、ベリファイの頻度を変化させるようにしたものである。 In the disk control system according to the fifth embodiment, the frequency of verification is changed in accordance with the CPU usage rate.
(構成)
図11は、実施例5のディスク制御システムの構成を示す図である。実施例5のディスク制御システムでは、RAIDコントローラ4のパラメータ格納部4に、ベリファイを停止させるCPU使用率の上限値であるCPU−High(4f)と、ベリファイ実施間隔を延ばすCPU使用率の下限値であるCPU−Low(4g)を格納できるようにしている。その他の構成は、実施例1のディスク制御システムの構成と同様であるので、簡略化のためにその説明を省略する。
(Constitution)
FIG. 11 is a diagram illustrating the configuration of the disk control system according to the fifth embodiment. In the disk control system of the fifth embodiment, the
なお、CPU使用率については、通常、OS(6)に問合せを行うことにより取得できる。例えば、OS(6)が、Windowsの場合では(Windowsは、米国Microsoft社の登録商標)、PerformanceCounterクラス等を用いてCPUの使用率等を測定することができる。 The CPU usage rate can usually be obtained by making an inquiry to the OS (6). For example, when the OS (6) is Windows (Windows is a registered trademark of Microsoft Corporation, USA), the CPU usage rate can be measured using the PerformanceCounter class.
(動作)
以上の構成により、実施例5のディスク制御システムは、以下のように動作する。この動作を、図12の動作フローチャートを用いて以下説明する。
(Operation)
With the above configuration, the disk control system of the fifth embodiment operates as follows. This operation will be described below using the operation flowchart of FIG.
まず、ベリファイ開始前にパラメータ値CPU−High(4f)およびCPU−Low(4g)を読込み(ステップS40)、ベリファイ開始後(ステップS41)、前述の方法によりCPU使用率αを測定して(ステップS42)、そのCPU使用率αに応じて以下の処理をそれぞれ行う(ステップS43)。 First, the parameter values CPU-High (4f) and CPU-Low (4g) are read before the verification is started (step S40), and after the verification is started (step S41), the CPU usage rate α is measured by the method described above (step S40). In step S42, the following processing is performed according to the CPU usage rate α (step S43).
すなわち、CPU使用率αが上限値CPU−High(4f)以上の場合は、CPUがBusy状態であるのでベリファイを一時停止させ(ステップS45)、所定の時間を経過後(ステップS46)、再度、CPU使用率αの測定を行い(ステップS47)、上限値CPU−High(4f)よりZch%程度下回りBusy状態でなくなったときは(ステップS48)、ベリファイを再開する(ステップS49)。なお、Busy状態の判定閾値であるZchとしては、通常、10%〜20%程度とするのがよい。 That is, when the CPU usage rate α is equal to or higher than the upper limit value CPU-High (4f), since the CPU is in the Busy state, the verification is temporarily stopped (step S45), and after a predetermined time has elapsed (step S46), again, The CPU usage rate α is measured (step S47), and when it is less than the upper limit value CPU-High (4f) by about Zch% and is not in the busy state (step S48), the verification is restarted (step S49). Note that Zch, which is the determination threshold for the busy state, is usually preferably about 10% to 20%.
そして、所定の時間経過後、ベリファイを完了したかどうかを判定し(ステップS55・S56)、完了していない場合は、ステップS42に戻り、CPU使用率αを測定して、以降、前述と同様の処理を繰返し実施する。 Then, after a predetermined time has passed, it is determined whether or not the verification has been completed (steps S55 and S56). If the verification has not been completed, the process returns to step S42, and the CPU usage rate α is measured. Repeat the process.
一方、ステップS43にて、CPU使用率αが下限値CPU−Low(4g)以下であった場合は、CPUが空き状態であるので、ベリファイ実施間隔を所定時間短くしベリファイを継続させる(ステップS50・S51)。ここで、ベリファイ実施間隔を短くする方法としては、ベリファイ実施間隔を所定量減算するようにしてもよいし、一定の率にて除算するようにしてもよい。 On the other hand, when the CPU usage rate α is equal to or lower than the lower limit value CPU-Low (4 g) in step S43, the CPU is in an empty state, so the verification execution interval is shortened by a predetermined time and the verification is continued (step S50). -S51). Here, as a method of shortening the verification execution interval, the verification execution interval may be subtracted by a predetermined amount or may be divided at a constant rate.
そして、定期的にCPU使用率αを測定して(ステップS52)、下限値CPU−Low(4g)よりZcl%程度上回ったときは(ステップS53)、Busy状態となりつつあるので、ベリファイ実施間隔を初期値に戻し(ステップS54)、一定時間経過後、ベリファイが完了しているかどうかを判定し(ステップS55・S56)、ベリファイを完了していない場合は、ステップS42に戻り、CPU使用率αを測定し、以降の処理を同様に行う。 Then, the CPU usage rate α is periodically measured (step S52). When the CPU usage rate α exceeds the lower limit value CPU-Low (4g) by about Zcl% (step S53), the busy state is being reached. It returns to the initial value (step S54), and after a predetermined time has passed, it is determined whether or not the verification is completed (steps S55 and S56). If the verification is not completed, the process returns to step S42 and the CPU usage rate α is set. Measure and perform the subsequent processing in the same manner.
なお、ステップ53における判定閾値であるZclとしては、前述ステップS48における判定閾値と同様、通常、10%〜20%程度とするのがよい。
Note that Zcl, which is the determination threshold value in
一方、ステップS43にて、CPU使用率αが上限値CPU−High(4f)より小さく、かつ下限値CPU−Low(4g)より大きい場合は、CPUが通常の状態であるのでベリファイを継続し(ステップS44)、一定時間経過後、ベリファイが完了しているかどうかを判定し、完了していない場合は、ステップS42に戻り、CPU使用率αを測定し以降の処理を同様に行う(ステップS55・S56)。 On the other hand, if the CPU usage rate α is smaller than the upper limit value CPU-High (4f) and larger than the lower limit value CPU-Low (4g) in step S43, verification is continued because the CPU is in a normal state ( In step S44), it is determined whether or not the verification has been completed after a lapse of a predetermined time. If not, the process returns to step S42, the CPU usage rate α is measured, and the subsequent processing is similarly performed (step S55). S56).
なお、CPUがBusy状態の場合、ステップS45にてベリファイを一時停止するように説明したが、一時停止するのではなく、ベリファイ実施間隔を長くするようにしてもよい。また、CPUが空き状態からBusy状態となりつつある場合、ステップS54にて、ベリファイ実施間隔を初期値に戻し長くするように説明したが、ベリファイ実施間隔を所定の量または率により長くするようにしてもよい。 In the case where the CPU is in the Busy state, it has been described that the verification is temporarily stopped in step S45. However, the verification execution interval may be lengthened instead of temporarily stopping. Further, when the CPU is changing from the idle state to the Busy state, it has been described in step S54 that the verification execution interval is returned to the initial value and lengthened. However, the verification execution interval is increased by a predetermined amount or rate. Also good.
(実施例5の効果)
以上のように実施例5のディスク制御システムによれば、CPU使用率によりCPUの状態を判定し、Busy状態のときはベリファイを中断してCPU使用率が低下するのを待つようにし、一方、空き状態の場合はベリファイの間隔を短くするようにしたので、ベリファイによる他の処理への影響を最小限とすることができる。
(Effect of Example 5)
As described above, according to the disk control system of the fifth embodiment, the state of the CPU is determined based on the CPU usage rate, and in the Busy state, the verification is interrupted to wait for the CPU usage rate to decrease, Since the verify interval is shortened in the empty state, the influence of the verify on other processing can be minimized.
実施例6のディスク制御システムは、ディスク制御装置の使用率に応じて、ベリファイの頻度を変化させるようにしたものである。 In the disk control system according to the sixth embodiment, the frequency of verification is changed according to the usage rate of the disk control device.
(構成)
図13は、実施例6のディスク制御システムの構成を示す図である。実施例6のディスク制御システムでは、RAIDコントローラ4のパラメータ格納部4に、ベリファイを停止させるディスク制御装置の使用率の上限値であるDiskI/O−High(4h)と、ベリファイ実施間隔を延ばすディスク制御装置の使用率の下限値であるDiskI/O−Low(4i)を格納できるようにしている。その他の構成は、実施例1のディスク制御システムの構成と同様であるので、簡略化のためにその説明を省略する。
(Constitution)
FIG. 13 is a diagram illustrating the configuration of the disk control system according to the sixth embodiment. In the disk control system according to the sixth embodiment, the disk I / O-High (4h), which is the upper limit value of the disk controller that stops the verification, is stored in the
なお、ディスク制御装置の使用率については、CPUの使用率と同様、OS(6)に問合せを行うことにより取得できる。例えば、OS(6)が、Windowsの場合では(Windowsは、米国Microsoft社の登録商標)、PerformanceCounterクラス等を用いてディスク制御装置の使用率等を測定することができる。 Note that the usage rate of the disk control device can be obtained by making an inquiry to the OS (6), similarly to the usage rate of the CPU. For example, when the OS (6) is Windows (Windows is a registered trademark of Microsoft Corporation, USA), the usage rate of the disk control device can be measured using the PerformanceCounter class.
(動作)
以上の構成により、実施例6のディスク制御システムは、以下のように動作する。この動作を、図14の動作フローチャートを用いて以下説明する。
(Operation)
With the above configuration, the disk control system according to the sixth embodiment operates as follows. This operation will be described below using the operation flowchart of FIG.
まず、ベリファイ開始前にパラメータ値DiskI/O−High(4h)およびDiskI/O−Low(4i)を読込み(ステップS60)、ベリファイ開始後(ステップS61)、ディスク制御装置7の使用率βを測定して(ステップS62)、ディスク制御装置7の使用率βに応じて以下の処理をそれぞれ行う(ステップS63)。
First, the parameter values DiskI / O-High (4h) and DiskI / O-Low (4i) are read before the verification is started (step S60). After the verification is started (step S61), the usage rate β of the
すなわち、ディスク制御装置7の使用率βが上限値DiskI/O−High(4h)以上の場合は、ディスク制御装置7がBusy状態であるのでベリファイを一時停止させ(ステップS65)、所定の時間を経過後(ステップS66)、再度、ディスク制御装置7の使用率βの測定を行い(ステップS67)、上限値DiskI/O−High(4h)よりZdh%程度下回りBusy状態でなくなったときは(ステップS68)、ベリファイを再開する(ステップS69)。ここで、Busy状態の判定閾値であるZchとしては、実施例5と同様、通常、10%〜20%程度とするのがよい。
That is, when the usage rate β of the
そして、所定の時間経過後、ベリファイを完了したかどうかを判定し(ステップS75・S76)、完了していない場合は、ステップS62に戻り、ディスク制御装置7の使用率βを測定して、以降、前述と同様の処理を繰返し実施する。
Then, after a predetermined time has passed, it is determined whether or not the verification has been completed (steps S75 and S76). If the verification has not been completed, the process returns to step S62, and the usage rate β of the
一方、ステップS63にて、ディスク制御装置7の使用率βが下限値DiskI/O−Low(4i)以下であった場合は、ディスク制御装置7が空き状態であるので、ベリファイ実施間隔を所定量短くしてベリファイを継続させる(ステップS70・S71)。ここで、ベリファイ実施間隔を短くする方法としては、所定量を減算するようにしてもよいし、一定の率にて除算して減少させるようにしてもよい。
On the other hand, if the usage rate β of the
そして、定期的にディスク制御装置7の使用率βを測定して(ステップS72)、下限値DiskI/O−Low(4i)よりZdl%以上上回ったときは(ステップS73)、Busy状態となりつつあるので、ベリファイ実施間隔を初期値に戻し(ステップS74)、一定時間経過後、ベリファイが完了しているかどうかを判定し(ステップS75・S76)、ベリファイを完了していない場合は、ステップS62に戻り、ディスク制御装置7の使用率βを測定し、以降の処理を同様に行う。
Then, the usage rate β of the
なお、ステップ73における判定閾値であるZdlとしては、前述ステップS68における判定閾値と同様10%〜20%程度とするのがよい。
Note that Zdl, which is the determination threshold value in
一方、ステップS63にて、ディスク制御装置7の使用率βが上限値DiskI/O−High(4h)より小さく、かつ下限値DiskI/O−Low(4i)より大きい場合は、通常の状態であるのでベリファイを継続し(ステップS64)、一定時間経過後、ベリファイが完了しているかどうかを判定し完了していない場合は、ステップS62に戻り、ディスク制御装置7の使用率βを測定し以降の処理を同様に行う(ステップS75・S76)。
On the other hand, if the usage rate β of the
なお、ディスク制御装置7がBusy状態の場合、ステップS65にてベリファイを一時停止するように説明したが、一時停止するのではなく、ベリファイ実施間隔を長くするようにしてもよい。また、ディスク制御装置7が空き状態からBusy状態となりつつある場合、ステップS74にて、ベリファイ実施間隔を初期値に戻すように説明したが、ベリファイ実施間隔を所定の量または率により長くさせるようにしてもよい。
Note that, in the case where the
(実施例6の効果)
以上のように実施例6のディスク制御システムによれば、ディスク制御装置7の使用率によりディスク制御装置の状態を判定し、Busy状態のときはベリファイを中断してディスク制御装置の使用率が低下するのを待つようにし、一方、空き状態の場合はベリファイの間隔を短くするようにしたので、ベリファイによる他の処理への影響を最小限とすることができる。
(Effect of Example 6)
As described above, according to the disk control system of the sixth embodiment, the state of the disk control device is determined based on the usage rate of the
《その他の変形例》
以上の実施例の説明では、各実施の形態を独立して実施するように説明したが、それぞれを複合させて実施させるようにしてもよい。
<< Other modifications >>
In the above description of the examples, each embodiment has been described as being implemented independently, but may be implemented in combination with each other.
例えば、実施例1と実施例5を複合させ、記憶装置の記憶領域を所定のエリアごとに分割してベリファイを実施し実施済みのエリア番号を記憶しておき、次のベリファイでは当該実施済みエリアの次のエリアからベリファイを行うようにし、CPUがBusy状態であるかどうかをCPU使用率により判定し、Busy状態であれば、ベリファイの頻度を下げ、空き状態であればベリファイの頻度を増加させるようにしてもよい。
For example, the
以上述べたように、本発明は、磁気ディスク等のベリファイ処理を行うディスク制御システムに広く用いることができる。 As described above, the present invention can be widely used in disk control systems that perform verification processing of magnetic disks and the like.
1 RAIDコントローラ
2、3 HDD
4 パラメータ格納部
6 OS(オペレーションシステム)
7 ディスク制御装置
1
4
7 Disk controller
Claims (1)
前記使用率の上限値及び下限値からなる判定閾値を格納するパラメータ格納部を設け、
前記測定部による測定された前記使用率が前記上限値より大きいとき、ベリファイを停止し、前記使用率が前記下限値より小さいとき、ベリファイを実行する間隔を短くすることを特徴とするディスク制御装置。 A measurement unit for measuring the usage rate of the CPU;
A parameter storage unit for storing the determination threshold consisting upper and lower limits of the utilization provided,
The disk control device characterized in that the verification is stopped when the usage rate measured by the measurement unit is larger than the upper limit value, and the verification execution interval is shortened when the usage rate is smaller than the lower limit value. .
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006175121A JP4904942B2 (en) | 2006-06-26 | 2006-06-26 | Disk control system, disk control device, and disk control method |
CNB2007101086989A CN100549929C (en) | 2006-06-26 | 2007-06-18 | Disk control system, disk control unit and disk control method |
KR1020070060614A KR100902803B1 (en) | 2006-06-26 | 2007-06-20 | Disc control system, disc control apparatus, and disc control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006175121A JP4904942B2 (en) | 2006-06-26 | 2006-06-26 | Disk control system, disk control device, and disk control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008003996A JP2008003996A (en) | 2008-01-10 |
JP4904942B2 true JP4904942B2 (en) | 2012-03-28 |
Family
ID=39008300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006175121A Expired - Fee Related JP4904942B2 (en) | 2006-06-26 | 2006-06-26 | Disk control system, disk control device, and disk control method |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP4904942B2 (en) |
KR (1) | KR100902803B1 (en) |
CN (1) | CN100549929C (en) |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01245432A (en) * | 1988-03-28 | 1989-09-29 | Matsushita Electric Ind Co Ltd | Optical recording and reproducing device |
JPH1153845A (en) * | 1997-08-04 | 1999-02-26 | Matsushita Electric Ind Co Ltd | Recorder |
JPH11203053A (en) * | 1998-01-09 | 1999-07-30 | Fujitsu Ltd | Disk device and storage medium storing verifying program |
JP2000285031A (en) * | 1999-03-29 | 2000-10-13 | Teglet Gijutsu Kaihatsu:Kk | Method and device for automatically duplicating computer file |
JP2000311452A (en) * | 1999-04-28 | 2000-11-07 | Nec Corp | Magnetic disk device |
JP2001100939A (en) * | 1999-09-27 | 2001-04-13 | Alps Electric Co Ltd | Disk array device and control method of disk array |
JP4091325B2 (en) * | 2002-03-22 | 2008-05-28 | 株式会社リコー | INFORMATION RECORDING / REPRODUCING DEVICE, FORMAT PROGRAM IN THE DEVICE, AND RECORDING MEDIUM THEREOF |
JP2004011823A (en) * | 2002-06-10 | 2004-01-15 | Kayaba Ind Co Ltd | Electromagnetic shock absorber |
JP2004078787A (en) * | 2002-08-22 | 2004-03-11 | Alpine Electronics Inc | In-vehicle audio equipment and data transfer method |
JP4081395B2 (en) * | 2003-03-24 | 2008-04-23 | 株式会社リコー | Information recording / reproducing device |
JP2004319087A (en) * | 2004-06-18 | 2004-11-11 | Matsushita Electric Ind Co Ltd | Recording and reproducing device |
-
2006
- 2006-06-26 JP JP2006175121A patent/JP4904942B2/en not_active Expired - Fee Related
-
2007
- 2007-06-18 CN CNB2007101086989A patent/CN100549929C/en not_active Expired - Fee Related
- 2007-06-20 KR KR1020070060614A patent/KR100902803B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
JP2008003996A (en) | 2008-01-10 |
CN101097502A (en) | 2008-01-02 |
KR20070122378A (en) | 2007-12-31 |
CN100549929C (en) | 2009-10-14 |
KR100902803B1 (en) | 2009-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9606728B2 (en) | Controlling a storage system | |
US8407417B2 (en) | Storage system providing virtual volumes | |
JP5594664B2 (en) | System and method for storage tiering and migration techniques based on quality of service | |
JP6111575B2 (en) | Storage device, internal processing control method, and internal processing control program | |
JP4699837B2 (en) | Storage system, management computer and data migration method | |
JP4935331B2 (en) | Storage system, storage area selection method and program | |
JP5057792B2 (en) | Storage system with a function to alleviate performance bottlenecks | |
US9274723B2 (en) | Storage apparatus and its control method | |
JP6515752B2 (en) | Storage control device, control method, and control program | |
JP2008015769A (en) | Storage system and writing distribution method | |
JP6146087B2 (en) | Storage control program, storage control method, storage system, and hierarchical control apparatus thereof | |
US10346051B2 (en) | Storage media performance management | |
JP2008102590A (en) | Operation management method for storage system and storage system | |
JP4788492B2 (en) | Storage device capacity expansion method, program, and storage device | |
US20090249003A1 (en) | Method and system for multiplexing concatenated storage disk arrays to form a rules-based array of disks | |
JP2008217141A (en) | Control device and storage device | |
JP2006072435A (en) | Storage system and data recording method | |
US8479040B2 (en) | Storage system and control method | |
JP4904942B2 (en) | Disk control system, disk control device, and disk control method | |
JP6019940B2 (en) | Information processing apparatus, copy control program, and copy control method | |
JP5594647B2 (en) | Storage apparatus and control method thereof | |
JP5505329B2 (en) | Disk array device and control method thereof | |
JP2004127275A (en) | Method of managing data storage array and computer system equipped with raid controller | |
JP2016126656A (en) | Storage control device, control program, and control method | |
CN102945141A (en) | System and method for improving storage performance of RAID (redundant array of independent disks) group |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090130 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110531 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110728 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110913 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111111 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111213 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111226 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150120 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4904942 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |