JP2576805B2 - Disk controller - Google Patents

Disk controller

Info

Publication number
JP2576805B2
JP2576805B2 JP29544694A JP29544694A JP2576805B2 JP 2576805 B2 JP2576805 B2 JP 2576805B2 JP 29544694 A JP29544694 A JP 29544694A JP 29544694 A JP29544694 A JP 29544694A JP 2576805 B2 JP2576805 B2 JP 2576805B2
Authority
JP
Japan
Prior art keywords
disk
standby time
time
average value
command
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 - Lifetime
Application number
JP29544694A
Other languages
Japanese (ja)
Other versions
JPH08153057A (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
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP29544694A priority Critical patent/JP2576805B2/en
Publication of JPH08153057A publication Critical patent/JPH08153057A/en
Application granted granted Critical
Publication of JP2576805B2 publication Critical patent/JP2576805B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明はディスク制御装置に関
し、特に複数のディスク装置の入出力(I/O)待機時
間を平準化すべくファイル再配置制御を行うに必要な情
報を生成可能なディスク制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk controller, and more particularly to a disk controller capable of generating information necessary for performing file relocation control in order to level input / output (I / O) wait times of a plurality of disk devices. It concerns the device.

【0002】[0002]

【従来の技術】複数のディスク装置を複数のホストであ
る上位装置が使用する場合、特定のディスク装置上のフ
ァイルに対してI/O処理が集中すると、ディスクI/
O動作に待機時間が発生して、オンライン処理の応答や
パッチジョブ処理時間の遅延が発生してシステムの稼働
率が低下することになる。
2. Description of the Related Art When a plurality of disk devices are used by a host device as a plurality of hosts, if I / O processing is concentrated on files on a specific disk device, the
A standby time occurs in the O operation, and a response of the online processing and a delay in the processing time of the patch job occur, thereby reducing the operating rate of the system.

【0003】かかるシステムの稼働率の低下を防ぐため
は、ディスク装置間のファイル再配置を行って、特定の
ディスク装置にI/Oが集中しないようにする必要があ
る。この様なファイル再配置の方法としては、コンピュ
ータの運用担当者がシステム稼働情報からディスク装置
のビシー率を調査して、ビシー率の高いディスク装置の
ファイルをビジー率の低いディスク装置上に再配置する
方法がある。
In order to prevent a reduction in the operation rate of such a system, it is necessary to relocate files between disk devices so that I / O is not concentrated on a specific disk device. As a method of such file relocation, a computer operation staff investigates the disk unit's busy rate from system operation information, and relocates a file of a disk unit with a high busy rate to a disk unit with a low busy rate. There is a way to do that.

【0004】また、特開平3−171352号公報を参
照すると、実行中の周辺装置のI/Oの数をカウンタに
て計数しておき、上位装置からのコマンドに応答するI
/O開始に際してカウンタ値が小なる周辺装置を選択し
てこの周辺装置のI/Oを実行する様にし、カウンタの
値を1加算する構成が示されている。すなわち、I/O
の実行回数を計数し、この計数値をシステム稼働情報と
しているのである。
Also, with reference to Japanese Patent Application Laid-Open No. 3-171352, the number of I / Os of peripheral devices being executed is counted by a counter, and an I / O responding to a command from a higher-level device is counted.
At the start of / O, a configuration is shown in which a peripheral device having a small counter value is selected to execute I / O of this peripheral device, and the value of the counter is incremented by one. That is, I / O
Are counted, and the counted value is used as system operation information.

【0005】[0005]

【発明が解決しようとする課題】ディスク装置のシステ
ム稼働情報としてビジー率を用いる方法では、ディスク
装置のビジー率が高いとI/O待機時間が長くなり、シ
ステム稼働率が低下するために、ビジー率を基にファイ
ルの再配置を行うものであるが、特定の上位装置が特定
のファイルを連続してアクセスする場合、ビジー率が高
くてもI/O待機時間の発生しない場合もあり、ビジー
率を基準としたファイル再配置は正確でないという欠点
がある。
In the method of using the busy rate as the system operation information of the disk device, if the busy ratio of the disk device is high, the I / O standby time becomes longer, and the system operating ratio decreases. The file is rearranged based on the ratio. However, when a specific host device continuously accesses a specific file, the I / O standby time may not occur even if the busy ratio is high. The disadvantage is that file relocation based on rate is not accurate.

【0006】また、上記特開平3−171352号公報
に開示のI/O実行回数をシステム稼働情報とする場合
にも、実行回数が大であっても、前述した様な特定の上
位装置が特定のファイルを連続してアクセスする場合に
は、I/O待機時間が発生しないこともあって、これま
た正確ではないという欠点がある。
In the case where the number of I / O executions disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 3-171352 is used as the system operation information, even if the number of executions is large, the above-mentioned specific host device is specified. When the file is accessed continuously, there is no I / O waiting time, so that there is a disadvantage that this is not accurate.

【0007】そこで、本発明はかかる従来技術の欠点を
解決すべくなされたものであって、その目的とするとこ
ろは、システム稼働情報としてI/O待機時間そのもの
を用いこのI/O待機時間を基にコンピュータの管理担
当者が正確なファイル再配置管理を行うことができるよ
うにしたディスク制御装置を提供することにある。
Therefore, the present invention has been made to solve the above-mentioned drawbacks of the prior art, and an object of the present invention is to use the I / O standby time itself as the system operation information and reduce the I / O standby time. It is another object of the present invention to provide a disk control device which enables a computer administrator to perform accurate file relocation management.

【0008】[0008]

【課題を解決するための手段】本発明によれば、上位装
置からのコマンドを受けて複数のディスク装置に対する
入出力制御を行うディスク制御装置であって、前記上位
装置からのコマンド受付時からディスク装置への入出力
開始までの待機時間を算出する待機時間算出手段と、こ
の算出された待機時間を基に一定期間における待機時間
を積算して前記ディスク装置毎の待機時間の平均値を算
出する手段と、この待機時間の平均値を前記上位装置か
らの指示に従って報告する手段とを含むことを特徴とす
るディスク制御装置が得られる。
According to the present invention, there is provided a disk controller which receives a command from a higher-level device and controls input / output to a plurality of disk devices. A standby time calculating means for calculating a standby time until the start of input / output to / from the device, and an average value of the standby times for the respective disk devices by integrating the standby times for a predetermined period based on the calculated standby time. Means and a means for reporting the average value of the waiting time in accordance with an instruction from the higher-level device.

【0009】更に、本発明によれば、前記待機時間の平
均値が予め設定された値を越えたときに前記上位装置へ
その旨通知する手段を更に含むことを特徴とするディス
ク制御装置が得られる。
Further, according to the present invention, there is provided a disk control device further comprising means for notifying the host device when the average value of the standby time exceeds a preset value. Can be

【0010】[0010]

【作用】上位装置からのコマンド受付時からディスク装
置への入出力開始時までのI/O待機時間を計時用カウ
ンタ等を用いて算出し、この算出されたI/O待機時間
を基に一定期間における待機時間を積算してディスク装
置毎の待機時間の平均値を算出する。この平均値を上位
装置へ報告すれば、上位装置側では各ディスク装置毎の
I/O待機時間の平均値を知ることができ、よってコン
ピュータの運用管理者はこの平均値によりファイル再配
置を正確に行うことが可能となる。
The I / O standby time from the reception of a command from the host device to the start of input / output to the disk device is calculated using a clock counter or the like, and is fixed based on the calculated I / O standby time. The standby time in the period is integrated to calculate an average value of the standby time for each disk device. If this average value is reported to the higher-level device, the higher-level device can know the average value of the I / O standby time for each disk device, and the computer operation manager can use this average value to accurately determine the file relocation. Can be performed.

【0011】[0011]

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

【0012】図1は本発明で使用されるディスク制御装
置の実施例のブロック図である。ディスク制御装置2は
通常複数の上位装置1からの指令(コマンド)を上位I
/O制御部3で受け取り当該指令にしたがって、ディス
クI/O制御部12を通して複数のディスク装置13〜
16と複数の上位装置1との間のデータ転送を制御して
いる。
FIG. 1 is a block diagram of an embodiment of a disk control device used in the present invention. The disk control device 2 normally receives commands (commands) from a plurality of higher-level devices 1
According to the command received by the I / O control unit 3 and the disk I / O control unit 12, a plurality of disk devices 13 to
16 and a plurality of higher-level devices 1.

【0013】カウンタ7は一定時間毎にカウントアップ
し、時間経過を示す多ビットのカウンタである。I/O
待機時間算出部10は、上位I/O制御部3からコマン
ド受付信号6を受けてから、ディスクI/O制御部12
からディスクI/O開始信号11を受けるまでの時間を
カウンタ7の値から算出し、平均値算出部9に出力す
る。
The counter 7 is a multi-bit counter that counts up at regular intervals and indicates the passage of time. I / O
After receiving the command reception signal 6 from the higher-level I / O control unit 3, the standby time calculation unit 10 sets the disk I / O control unit 12
The time until the disk I / O start signal 11 is received from the counter 7 is calculated from the value of the counter 7 and output to the average value calculation unit 9.

【0014】平均値算出部9はI/O待機時間算出部1
0から受け取ったコマンド毎のI/O待機時間を集計
し、一定時間内のディスク毎のI/O待機時間の平均値
を算出する。
The average value calculator 9 is an I / O standby time calculator 1
The I / O standby time for each command received from 0 is totaled, and the average value of the I / O standby time for each disk within a fixed time is calculated.

【0015】I/O待機時間報告部5は上位I/O制御
部3を通して上位装置1からI/O待機時間読み取り指
令を受け取ると、平均値算出部9からその時点でのディ
スク装置毎のI/O待機時間の平均値を読み取り、上位
I/O制御部3を通して上位装置1に対してこの平均値
を報告する。
When the I / O standby time report unit 5 receives an I / O standby time read command from the host device 1 through the host I / O control unit 3, the I / O standby time report unit 5 sends the I / O standby time read command from the average value calculation unit 9 to the I / O standby time for each disk device. The average value of the I / O standby time is read, and the average value is reported to the host device 1 through the host I / O control unit 3.

【0016】I/O待機時間比較部8は予め設定された
比較値と平均値算出部9から出力されたI/O待機時間
の平均値とを常に比較し、この平均値が比較値を越えた
時、I/O待機時間超過通知部4に対して超過したディ
スク装置の番号を通知する。
The I / O standby time comparing section 8 always compares the preset comparison value with the average value of the I / O standby time output from the average value calculating section 9, and this average value exceeds the comparison value. Then, the I / O standby time excess notifying unit 4 is notified of the number of the disk device that has exceeded.

【0017】I/O待機時間超過通知部4はI/O待機
時間比較部8からディスク装置の番号が通知されると、
上位I/O制御部3を通して、上位装置に対しI/O待
機時間の超過と超過したディスク装置の番号とを通知す
る。
When the I / O standby time excess notifying unit 4 is notified of the disk device number from the I / O standby time comparing unit 8,
Via the upper I / O controller 3, the upper device is notified of the excess of the I / O standby time and the number of the excess disk device.

【0018】こうすることにより、コンピュータの運用
管理者はシステム稼働情報としてI/O待機時間の平均
値やその平均値が極めて大なる状態をディスク装置毎に
知ることができることになり、各ディスク装置毎にI/
O待機時間の平均値が均一に少なくなる様にファイル再
配置をなすことができるものである。
By doing so, the computer operation manager can know the average value of the I / O standby time and the state where the average value is extremely large for each disk device as the system operation information. I /
The file can be rearranged so that the average value of the O waiting time is uniformly reduced.

【0019】[0019]

【発明の効果】以上説明したように、本発明によれば、
ディスク制御装置にI/O待機時間を計算、報告する手
段を設けたので、I/O待機時間によるファイルの再配
置が正確に可能となり、更にI/O待機時間が一定以上
に達したことを検出し、通知する手段を備えることによ
り、システム稼働率低下時の原因追究が即座にできると
いう効果がある。
As described above, according to the present invention,
Since the disk controller is provided with a means for calculating and reporting the I / O wait time, it is possible to accurately relocate the file based on the I / O wait time, and further to confirm that the I / O wait time has reached a certain level or more. Providing the means for detecting and notifying has an effect that the cause at the time of a decrease in the system operation rate can be immediately investigated.

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

【図1】本発明の実施例のシステムブロック図である。FIG. 1 is a system block diagram of an embodiment of the present invention.

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

1 上位装置 2 ディスク制御装置 3 上位I/O制御部 4 I/O待機時間超過通知部 5 I/O待機時間報告部 7 カウンタ 8 I/O待機時間比較部 9 平均値算出部 10 I/O待機時間算出部 12 ディスクI/O制御部 13〜16 ディスク装置 DESCRIPTION OF SYMBOLS 1 Upper apparatus 2 Disk controller 3 Upper I / O control part 4 I / O standby time excess notification part 5 I / O standby time report part 7 Counter 8 I / O standby time comparison part 9 Average value calculation part 10 I / O Standby time calculation unit 12 Disk I / O control unit 13-16 Disk device

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 上位装置からのコマンドを受けて複数の
ディスク装置に対する入出力制御を行うディスク制御装
置であって、前記上位装置からのコマンド受付時からデ
ィスク装置への入出力開始までの待機時間を算出する待
機時間算出手段と、この算出された待機時間を基に一定
期間における待機時間を積算して前記ディスク装置毎の
待機時間の平均値を算出する手段と、この待機時間の平
均値を前記上位装置からの指示に従って報告する手段と
を含むことを特徴とするディスク制御装置。
1. A disk control device for performing input / output control on a plurality of disk devices in response to a command from a higher-level device, wherein a standby time from when a command is received from the higher-level device to when input / output to a disk device is started. A standby time calculating unit that calculates the average value of the standby time for each disk device by integrating the standby time in a certain period based on the calculated standby time; and Means for reporting in accordance with an instruction from the higher-level device.
【請求項2】 前記待機時間の平均値が予め設定された
値を越えたときに前記上位装置へその旨通知する手段を
更に含むことを特徴とする請求項1記載のディスク制御
装置。
2. The disk control device according to claim 1, further comprising means for notifying the host device when the average value of the standby time exceeds a preset value.
【請求項3】 前記待機時間算出手段は、計時を行う計
時手段と、前記コマンド受付時からディスク装置への入
出力開始までの待機時間を前記計時手段の計時内容を参
照して算出する手段とを含むことを特徴とする請求項1
または2記載のディスク制御装置。
3. The waiting time calculating means includes means for counting time, and means for calculating a waiting time from when the command is received to when input / output to a disk device is started with reference to the timed content of the time counting means. 2. The method according to claim 1, further comprising:
Or the disk controller according to 2.
JP29544694A 1994-11-30 1994-11-30 Disk controller Expired - Lifetime JP2576805B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29544694A JP2576805B2 (en) 1994-11-30 1994-11-30 Disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29544694A JP2576805B2 (en) 1994-11-30 1994-11-30 Disk controller

Publications (2)

Publication Number Publication Date
JPH08153057A JPH08153057A (en) 1996-06-11
JP2576805B2 true JP2576805B2 (en) 1997-01-29

Family

ID=17820703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29544694A Expired - Lifetime JP2576805B2 (en) 1994-11-30 1994-11-30 Disk controller

Country Status (1)

Country Link
JP (1) JP2576805B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3427763B2 (en) * 1999-01-26 2003-07-22 日本電気株式会社 Disk array device
JP3411238B2 (en) * 1999-06-14 2003-05-26 インターナショナル・ビジネス・マシーンズ・コーポレーション Recovery time prediction method, recovery time prediction device, and hard disk drive
JP3584891B2 (en) * 2001-03-05 2004-11-04 日本電気株式会社 Data relocation method, data relocation method, and data relocation program
JP2007066126A (en) 2005-09-01 2007-03-15 Hitachi Global Storage Technologies Netherlands Bv Test method for data storage device and method of manufacturing data storage device

Also Published As

Publication number Publication date
JPH08153057A (en) 1996-06-11

Similar Documents

Publication Publication Date Title
EP1361501B1 (en) Power conservation and thermal management arrangements for computers
JP4318914B2 (en) Storage system and dynamic load management method thereof
US5944840A (en) Continuous monitor for interrupt latency in real time systems
KR970059886A (en) Method and system for controlling the operation of the computer according to the operating characteristics of the central processing unit
CN110196767B (en) Service resource control method, device, equipment and storage medium
US20030226047A1 (en) Portable terminal with enhanced power management function and method for managing power of the same
EP1632841A2 (en) Controlling preemptive work balancing in data storage
US20040225908A1 (en) Processor having real-time power conservation
JPH04130510A (en) Power saving system for information processor
US6542940B1 (en) Method and apparatus for controlling task execution in a direct memory access controller
WO2002021245A1 (en) Clock control method, device therefor, and medium
US6941428B2 (en) Memory controller optimization
US6112309A (en) Computer system, device and operation frequency control method
JP2576805B2 (en) Disk controller
US20220092008A1 (en) Managing input/output-critical tasks and background tasks within a computer device
JPH03174632A (en) Method and apparatus for operating computer system in real time
JP2003131814A (en) Disk array system
US5467463A (en) System independent timing reference for computer
JP2576792B2 (en) Disk device and higher-level device using the same
CN109062518B (en) Request processing method, device, equipment and readable storage medium
US7024499B2 (en) Cache only queue option for cache controller
US6260126B1 (en) Data storage subsystem having apparatus for enabling concurrent housekeeping processing while an input/output data transfer occurs
JP2016040651A (en) Information processing device, test method, test control program
CN114153303A (en) Power consumption control system, power consumption control method, power consumption control device and power consumption control medium
JPH0236971B2 (en)