JPH05181618A - Peripheral controller - Google Patents

Peripheral controller

Info

Publication number
JPH05181618A
JPH05181618A JP3356683A JP35668391A JPH05181618A JP H05181618 A JPH05181618 A JP H05181618A JP 3356683 A JP3356683 A JP 3356683A JP 35668391 A JP35668391 A JP 35668391A JP H05181618 A JPH05181618 A JP H05181618A
Authority
JP
Japan
Prior art keywords
seek
block
patrol seek
patrol
circuit
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
JP3356683A
Other languages
Japanese (ja)
Inventor
Katsuyuki Otsuka
克之 大塚
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 Ibaraki Ltd
Original Assignee
NEC Ibaraki 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 NEC Ibaraki Ltd filed Critical NEC Ibaraki Ltd
Priority to JP3356683A priority Critical patent/JPH05181618A/en
Publication of JPH05181618A publication Critical patent/JPH05181618A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the using efficiency of a floated head with the good bal ance secured on the entire surface of a disk by confirming the using frequency of a specific cylinder address set by the seek operations of the input/output instructions. CONSTITUTION:A patrol seek execution storage circuit 3 divides the general cylinder number of a magnetic disk device into blocks and at the same time stores a fact that a patrol seek operation is carried out for each block. Then the patrol seek operation is not carried out in a fixed period and at the same time the block having the least count value of a counter 2 is selected. The counter 2 counts the seek operations carried out by the input/output instructions. At the same time, the execution of the patrol seek operation is instructed to the cylinder address pointed by an address storage circuit 4 included in the selected block. As a result, the patrol seek operations are carried out in the order of cylinders having the lower using frequency.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、磁気ディスク装置を制
御する周辺制御装置に関し、特に磁気ディスク装置の信
頼性を向上させるためのパトロールシーク機能を有する
周辺制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a peripheral controller for controlling a magnetic disk device, and more particularly to a peripheral controller having a patrol seek function for improving reliability of the magnetic disk device.

【0002】[0002]

【従来の技術】従来、磁気ディスク装置に対しパトロー
ルシーク機能を実現するためには、パトロールシークの
シーク動作は、入出力命令に含まれるシーク動作命令に
よるヘッドの移動等に影響されることなく、ある一定の
適当なシリンダピッチで定期的に徘徊移動することによ
り行われている。
2. Description of the Related Art Conventionally, in order to realize a patrol seek function for a magnetic disk device, the seek operation of the patrol seek is not affected by the movement of the head or the like due to the seek operation instruction included in the input / output instruction. It is carried out by periodically wandering at a certain suitable cylinder pitch.

【0003】[0003]

【発明が解決しようとする課題】このような周辺制御装
置によるパトロールシーク機能においては、パトロール
シークのシーク動作命令実行によるヘッドの移動は、入
出力命令に基づくシーク動作により適当なシークピッチ
で定期的に徘徊移動することにより行われており、した
がって特定のシリンダアドレスの使用頻度の高低にかか
わらず実行されることになるため、本来パトロールシー
ク機能に対して期待される動作であるディスク面全体の
バランスのとれたヘッド浮上使用のためには効率が悪い
という問題があった。また、或ディスク面に対してパト
ロールシークを稼働させる時間が短い場合、全てのディ
スク面がヘッド浮上使用できなくなる恐れがあった。
In the patrol seek function by such a peripheral control device, the head movement due to execution of the seek operation command of the patrol seek is periodically performed at an appropriate seek pitch by the seek operation based on the input / output command. Since it is performed by wandering around, it is executed regardless of the frequency of use of a specific cylinder address, so it is the operation expected for the patrol seek function, which is the balance of the entire disk surface. There is a problem in that the efficiency is poor for the use of the levitated head that has been taken smoothly. Further, if the time period during which the patrol seek is operated on a certain disk surface is short, there is a possibility that all the disk surfaces cannot be used for floating the head.

【0004】[0004]

【課題を解決するための手段】このような課題を解決す
るために本発明は、磁気ディスク装置の総シリンダ数を
ブロック分割し各ブロックのシリンダアドレスに対し入
出力命令に基づくシーク命令の起動があった場合に各ブ
ロック毎にその数をカウントするカウンタと、各ブロッ
ク毎にパトロールシークが実行されたことを記憶するパ
トロールシーク実行記憶回路と、前回パトロールシーク
を実行したアドレスを記憶するアドレス記憶回路と、一
定期間中にパトロールシークが実行されずかつカウンタ
のカウント値が最も小さいブロックをパトロールシーク
実行記憶回路から選択するブロック選択回路と、ブロッ
ク選択回路により選択されたブロック内のアドレス記憶
回路の示すシリンダアドレスにパトロールシーク実行を
指示するパトロールシーク指示回路と、このパトロール
シーク指示回路に対し一定期間毎にパトロールシーク起
動を指示するタイマとを設けたものである。
In order to solve such a problem, the present invention divides the total number of cylinders of a magnetic disk device into blocks and activates a seek command based on an input / output command for the cylinder address of each block. If there is, a counter that counts the number of each block, a patrol seek execution storage circuit that stores the execution of the patrol seek for each block, and an address storage circuit that stores the address at which the previous patrol seek was executed And a block selection circuit that selects from the patrol seek execution storage circuit the block in which the patrol seek is not executed within a certain period and the count value of the counter is the smallest, and the address storage circuit in the block selected by the block selection circuit. Patrol to instruct the cylinder address to execute patrol seek A seek instruction circuit it is for this patrol seek instruction circuit that provided a timer for instructing the patrol seek started every predetermined period.

【0005】[0005]

【作用】したがって、入出力命令のシーク動作に基づく
使用頻度の少ないシリンダアドレスから順にパトロール
シークが実行される。この結果、ディスク面全体のバラ
ンスのとれたヘッド浮上使用を効率よく行うことができ
る。
Therefore, the patrol seek is executed in order from the cylinder address which is less frequently used based on the seek operation of the input / output instruction. As a result, it is possible to efficiently perform the head floating use in which the entire disk surface is well balanced.

【0006】[0006]

【実施例】以下、本発明について図面を参照して説明す
る。図1は、本発明に係る周辺制御装置の一実施例を示
すブロック図である。なお、同図において、周辺制御装
置1は、図示しない中央処理装置と磁気ディスク装置間
に配設されているものであり、パトロールシーク機能を
有すると共に、以下に示すような各部により構成されて
いる。即ち、上記磁気ディスク装置の総シリンダ数を何
ブロックかに分割し各ブロックのシリンダアドレスに対
し入出力命令によるシーク命令の起動があった場合各ブ
ロック毎にその数をカウントするカウンタ2と、各ブロ
ックに対し1度づつパトロールシークを実行しこれが終
了したときを1ラウンドとしたときに,この1ラウンド
内にパトロールシークが実行されたことを記憶すること
により同一ブロックに対しそのラウンド内にパトロール
シークが実行されることを抑止するためのパトロールシ
ーク実行記憶回路3と、上記各ブロック毎に前回パトロ
ールシークを実行したシリンダアドレスを記憶しておき
次回パトロールシークのシリンダアドレスを知らせるた
めのアドレス記憶回路4と、カウンタ2とパトロールシ
ーク実行記憶回路3とから次にパトロールシークを実行
すべきブロックを選択するブロック選択回路5と、ブロ
ック選択回路5とアドレス記憶回路4の示すシリンダに
パトロールシークの実行を指示するパトロールシーク指
示回路6と、パトロールシーク指示回路6に一定時間毎
にパトロールシークの起動を指示するタイマ7とから構
成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a peripheral control device according to the present invention. In the figure, the peripheral control device 1 is arranged between a central processing unit (not shown) and a magnetic disk device, has a patrol seek function, and is composed of the following parts. . That is, the total number of cylinders of the magnetic disk device is divided into a number of blocks, and when a seek instruction is started by an input / output instruction for the cylinder address of each block, a counter 2 for counting the number for each block and When the patrol seek is executed once for each block, and when this is completed, it is regarded as one round, and by remembering that the patrol seek was executed within this one round, the patrol seek for the same block is performed within that round. And the address storage circuit 4 for storing the cylinder address of the previous patrol seek for each block and notifying the cylinder address of the next patrol seek. And the counter 2 and the patrol seek execution memory circuit 3 Next, a block selection circuit 5 for selecting a block for which a patrol seek is to be executed, a patrol seek instruction circuit 6 for instructing a cylinder indicated by the block selection circuit 5 and the address storage circuit 4 to execute a patrol seek, and a patrol seek instruction circuit 6 And a timer 7 for instructing the start of patrol seek at regular time intervals.

【0007】次に以上のように構成された周辺制御装置
1の動作を説明する。周辺制御装置1に対しシーク命令
を含む入出力命令が与えられた場合、このシーク命令は
信号線8を介してカウンタ2へ伝達される。カウンタ2
は上記磁気ディスク装置の総シリンダ数が数ブロックに
分割された各ブロックからなり、入出力命令によるシー
ク命令が実行されたときには、これがどのブロックのシ
リンダアドレスかを認識し、そのブロックに対応したカ
ウンタのカウント値をカウントアップする。
Next, the operation of the peripheral control device 1 configured as described above will be described. When an input / output command including a seek command is given to the peripheral controller 1, the seek command is transmitted to the counter 2 via the signal line 8. Counter 2
Is a block in which the total number of cylinders of the magnetic disk device is divided into several blocks. When a seek instruction by an input / output instruction is executed, it recognizes which block the cylinder address is, and the counter corresponding to that block. Count up the count value of.

【0008】また、このカウンタ2は、カウント値がオ
ーバーフローした場合の対策として、何れか1つのカウ
ンタがオーバーフローしても全カウンタのカウント値が
リセットされ、その時、同時にそれぞれのカウンタに格
納されているカウント値の小さい順に優先順位が付与さ
れる。この優先順位は、カウント値が同時の場合或いは
カウント値をリセットして或一定時間の間(カウント値
が蓄積されるまでの間)、入出力命令によるシーク動作
が最も少ない場所を判断するために付与されるものであ
る。
Further, in the counter 2, as a countermeasure against the overflow of the count value, the count values of all counters are reset even if any one of the counters overflows, and at the same time, they are stored in the respective counters at the same time. Priorities are given in ascending order of count value. This priority order is for determining the place where the seek operation by the I / O command is the least when the count values are the same or after resetting the count values or for a certain time (until the count values are accumulated). It is given.

【0009】次に装置全体の動作を説明する。ある一定
の時間(パトロールシークのシークピッチ)毎にタイマ
7は、パトロールシーク指示回路6に対しパトロールシ
ークの起動をかけるように指示する。指示されたパトロ
ールシーク指示回路6は、ブロック選択回路5に対して
パトロールシークの実行場所を確認させる。
Next, the operation of the entire apparatus will be described. The timer 7 instructs the patrol seek instruction circuit 6 to activate the patrol seek every predetermined time (seek pitch of patrol seek). The instructed patrol seek instruction circuit 6 causes the block selection circuit 5 to confirm the execution location of the patrol seek.

【0010】即ちブロック選択回路5は、入出力命令に
よるシークが最も少ないブロックをカウンタ2から選択
する。そしてこのとき同時にパトロールシーク実行記憶
回路3からどのブロックがそのラウンド(それぞれのブ
ロックに対し一通り1度づつパトロールシークを終了し
た場合)以内にパトロールシークが行われたかを確認す
る。もし、そのラウンド以内にパトロールシークが行わ
れていた場合は、シーク実行回数が少ない順に確認を行
うと共に、パトロールシークが実行されていないブロッ
クを検索する。
That is, the block selection circuit 5 selects from the counter 2 the block which is least sought by the input / output instruction. At this time, at the same time, it is confirmed from the patrol seek execution storage circuit 3 which block has performed the patrol seek within the round (when the patrol seek has been completed once for each block). If the patrol seek is performed within the round, the check is performed in the ascending order of the number of seek executions, and the block in which the patrol seek is not executed is searched.

【0011】こうして、ブロック選択回路5は、そのラ
ウンド以内にパトロールシークが実行されておらず、入
出力命令によるシーク動作の最も少ないブロックをパト
ロールシーク指示回路6へ報告する。報告を受けたパト
ロールシーク指示回路6は、そのブロックのシリンダア
ドレスをアドレス記憶回路4から読み取り、そのシリン
ダアドレスへパトロールシークを実行する。そしてこの
時同時にアドレス記憶回路4は読み取られたブロックの
シリンダアドレスを次にパトロールシークを実行すべき
シリンダアドレスに更新しておく。
In this way, the block selection circuit 5 reports to the patrol seek instruction circuit 6 the block in which the patrol seek is not executed within the round and the seek operation by the input / output instruction is the least. Upon receiving the report, the patrol seek instruction circuit 6 reads the cylinder address of the block from the address storage circuit 4 and executes patrol seek to the cylinder address. At the same time, the address storage circuit 4 updates the cylinder address of the read block to the cylinder address at which the next patrol seek is to be executed.

【0012】このように、入出力命令のシーク動作によ
る使用頻度の少ないシリンダアドレスから順にパトロー
ルシークを実行するようにしたので、ディスク面全体の
バランスのとれたヘッド浮上の使用を効率よく行うこと
ができる。また、パトロールシークの稼働移動時間が短
い場合でもランダムにヘッドが移動するため、ヘッドが
特定のエリアに留まる現象を防止できる。
As described above, since the patrol seek is executed in order from the cylinder address which is less frequently used due to the seek operation of the input / output instruction, the head floating can be efficiently used in a balanced manner over the entire disk surface. it can. Further, even when the operation movement time of the patrol seek is short, the head moves randomly, so that it is possible to prevent the head from staying in a specific area.

【0013】[0013]

【発明の効果】以上説明したように本発明によれば、入
出力命令のシーク動作による使用頻度の少ないシリンダ
アドレスから順にパトロールシークが実行されるため、
ディスク面全体のバランスのとれたヘッド浮上使用を効
率よく行うことができる。
As described above, according to the present invention, since the patrol seek is executed in order from the cylinder address which is used less frequently due to the seek operation of the I / O instruction,
The head can be efficiently used for floating the head with a good balance over the entire disk surface.

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

【図1】本発明に係る周辺制御装置の一実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of a peripheral control device according to the present invention.

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

1 周辺制御装置 2 カウンタ 3 パトロールシーク実行記憶回路 4 アドレス記憶回路 5 ブロック記憶回路 6 パトロールシーク指示回路 7 タイマ 8〜12 信号線 1 Peripheral control device 2 Counter 3 Patrol seek execution storage circuit 4 Address storage circuit 5 Block storage circuit 6 Patrol seek instruction circuit 7 Timer 8-12 Signal line

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 パトロールシーク機能を備え、磁気ディ
スク装置を制御する周辺制御装置において、 前記磁気ディスク装置の総シリンダ数をブロック分割し
各ブロックのシリンダアドレスに対し入出力命令に基づ
くシーク命令の起動があった場合に各ブロック毎にその
数をカウントするカウンタと、各ブロック毎にパトロー
ルシークが実行されたことを記憶するパトロールシーク
実行記憶回路と、前回パトロールシークを実行したアド
レスを記憶するアドレス記憶回路と、一定期間中にパト
ロールシークが実行されずかつ前記カウンタのカウント
値が最も小さいブロックを前記パトロールシーク実行記
憶回路から選択するブロック選択回路と、前記ブロック
選択回路により選択されたブロック内の前記アドレス記
憶回路の示すシリンダアドレスにパトロールシーク実行
を指示するパトロールシーク指示回路と、このパトロー
ルシーク指示回路に対し一定期間毎にパトロールシーク
起動を指示するタイマとを備えたことを特徴とする周辺
制御装置。
1. A peripheral controller for controlling a magnetic disk device, which has a patrol seek function, divides the total number of cylinders of the magnetic disk device into blocks, and activates a seek command based on an input / output command for a cylinder address of each block. If there is a counter, a counter that counts the number of each block, a patrol seek execution storage circuit that stores the execution of the patrol seek for each block, and an address storage that stores the address at which the previous patrol seek was executed A circuit, a block selection circuit that selects from the patrol seek execution storage circuit the block in which the patrol seek is not executed during a certain period and the count value of the counter is the smallest, and the block in the block selected by the block selection circuit. Cylinder address indicated by the address storage circuit Peripheral controller, wherein the patrol seek instruction circuit for instructing a patrol seek execution, further comprising a timer for instructing the patrol seek started every predetermined period with respect to the patrol seek instruction circuit.
JP3356683A 1991-12-26 1991-12-26 Peripheral controller Pending JPH05181618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3356683A JPH05181618A (en) 1991-12-26 1991-12-26 Peripheral controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3356683A JPH05181618A (en) 1991-12-26 1991-12-26 Peripheral controller

Publications (1)

Publication Number Publication Date
JPH05181618A true JPH05181618A (en) 1993-07-23

Family

ID=18450263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3356683A Pending JPH05181618A (en) 1991-12-26 1991-12-26 Peripheral controller

Country Status (1)

Country Link
JP (1) JPH05181618A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005050346A (en) * 2003-07-29 2005-02-24 Hitachi Global Storage Technologies Netherlands Bv Hard disk drive and raid system including it
WO2009001413A1 (en) * 2007-06-22 2008-12-31 Fujitsu Limited Controller and disk patrol method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005050346A (en) * 2003-07-29 2005-02-24 Hitachi Global Storage Technologies Netherlands Bv Hard disk drive and raid system including it
WO2009001413A1 (en) * 2007-06-22 2008-12-31 Fujitsu Limited Controller and disk patrol method

Similar Documents

Publication Publication Date Title
JP5224982B2 (en) Apparatus, system, method and program for collecting dump data
JPS58192124A (en) Method of and apparatus for controlling execution of multiple commands with input/output unit
JPS58207106A (en) Programmable control apparatus and method
CN101918920A (en) The interruptable controller of sharing that is used for multiline procedure processor
JP2005115600A (en) Information processor and method
US4653018A (en) Method and arrangement for the controlling of the operating process in data processing installations with microprogram control
JPH05181618A (en) Peripheral controller
US6591350B1 (en) System and method for dynamically controlling memory access prioritization
JP4731126B2 (en) Interrupt control circuit
US3846761A (en) Positioning controlling apparatus
WO2021117186A1 (en) Data process execution device, data process execution method, and data process execution program
CN110289022B (en) Disk device
JPS5946002B2 (en) Processing method during power outage and power restoration in sequence control equipment
JPH05101564A (en) Peripheral controller
JPH05173933A (en) Direct memory access transfer system
JPH0640283B2 (en) Programmable controller
CN114761923A (en) Flexible command pointer to microcode operations
JPS624729B2 (en)
JPH05227248A (en) Down-load system
JPH05241852A (en) Interruption generating device for information processing system
JPH09179611A (en) Process controller
JPH0736813A (en) Channel control device
JPS616704A (en) Programmable controller
JPH0488456A (en) Channel controller
JPS6217842A (en) Program control method