JP2753391B2 - Disk device - Google Patents

Disk device

Info

Publication number
JP2753391B2
JP2753391B2 JP2328844A JP32884490A JP2753391B2 JP 2753391 B2 JP2753391 B2 JP 2753391B2 JP 2328844 A JP2328844 A JP 2328844A JP 32884490 A JP32884490 A JP 32884490A JP 2753391 B2 JP2753391 B2 JP 2753391B2
Authority
JP
Japan
Prior art keywords
disk
magnetic disk
cache memory
data
spindle motor
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
Application number
JP2328844A
Other languages
Japanese (ja)
Other versions
JPH04205852A (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.)
Hitachi Ltd
Hitachi Micro Software Systems Inc
Original Assignee
Hitachi Ltd
Hitachi Micro Software Systems Inc
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 Hitachi Ltd, Hitachi Micro Software Systems Inc filed Critical Hitachi Ltd
Priority to JP2328844A priority Critical patent/JP2753391B2/en
Publication of JPH04205852A publication Critical patent/JPH04205852A/en
Application granted granted Critical
Publication of JP2753391B2 publication Critical patent/JP2753391B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、キャッシュメモリをもつディスク装置に関
する。
Description: TECHNICAL FIELD The present invention relates to a disk device having a cache memory.

[従来の技術] 従来、アルプス電気製ハードディスクDRPO40C製品仕
様書に記載のように磁気ディスク装置の低消費電力化に
ついてはこの公知例に記載のように、磁気ディスクを低
消費電力状態にするコマンドを、ホストコンピュータが
発効することで行っていた。あるいは、磁気ディスク
に、ある期間コマンドが発効されない場合に、磁気ディ
スク自体が自動的に低消費電力状態に移行していた。
[Prior art] Conventionally, as described in the Alps Electric hard disk DRPO40C product specification, to reduce the power consumption of a magnetic disk device, as described in this known example, a command to put the magnetic disk into a low power consumption state is issued. , The host computer went into effect. Alternatively, when no command is issued to the magnetic disk for a certain period, the magnetic disk itself has automatically shifted to the low power consumption state.

[発明が解決しようとする課題] 上記従来技術は、ディスクキャッシュをもつ磁気ディ
スクの消費電力について考慮がされておらず、磁気ディ
スクの低消費電力化に寄与するものではなかった。ディ
スクキャッシュをもつ磁気ディスクの場合は、ホストコ
ンピュータからディスクへのアクセス要求があっても、
そのデータがキャッシュメモリ上に存在する(ヒット)
ときは、ディスクにアクセスする必要はなく、その間に
消費するディスクの電力は無駄なものである。従って、
ホストからアクセス要求があっても、要求されたデータ
がヒットしている場合は、ディスクは低消費電力状態に
移行していることが望ましい。
[Problems to be Solved by the Invention] The above-mentioned prior art does not consider the power consumption of a magnetic disk having a disk cache and does not contribute to reducing the power consumption of the magnetic disk. In the case of a magnetic disk with a disk cache, even if a host computer requests access to the disk,
The data exists in the cache memory (hit)
Sometimes, there is no need to access the disk, and the disk power consumed during that time is useless. Therefore,
Even if there is an access request from the host, if the requested data is hit, it is desirable that the disk has shifted to a low power consumption state.

しかし、ホストコンピュータ側からは要求したデータ
が、ヒットしたのかミスヒットしたのかわからないた
め、ホストコンピュータは、要求したデータがヒットし
ている間にディスクを低消費電力状態にすることはでき
ず、無駄な電力を消費していた。
However, since the host computer does not know whether the requested data has been hit or missed, the host computer cannot put the disk into a low power consumption state while the requested data is hit, resulting in a wasteful operation. Power was consumed.

本発明の目的は、ディスクキャッシュをもつ磁気ディ
スク装置の低消費電力化にある。
An object of the present invention is to reduce the power consumption of a magnetic disk device having a disk cache.

[課題を解決するための手段] 上記目的を達成するために、本発明はホストから要求
されたデータがキャッシュメモリに存在せず(ミスヒッ
ト)、磁気ディスクにアクセスにいくときだけ、磁気デ
ィスクを動作させ、それ以外の時は、磁気ディスクを低
消費電力状態にするようにした。すなわち、磁気ディス
クの動作の状態の移行は、ホストコンピュータとは関係
なく、磁気ディスクのコントローラが行うようにするも
のである。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a method for removing a magnetic disk only when data requested from a host does not exist in a cache memory (miss hit) and the magnetic disk is accessed. At other times, the magnetic disk was put into a low power consumption state. That is, the transition of the operation state of the magnetic disk is performed by the controller of the magnetic disk regardless of the host computer.

なお、磁気ディスクの低消費電力状態とは、ENDECやR
/W回路等の信号処理回路への電源が切断され、かつ、デ
ィスクのスピンドルモータが停止しているか、あるい
は、信号処理回路への電源が切断されているが、スピン
ドルモータは動作している状態をいう。
The low power consumption state of the magnetic disk is defined as ENDEC or R
The power to the signal processing circuit such as the / W circuit is turned off, and the spindle motor of the disk is stopped, or the power to the signal processing circuit is turned off, but the spindle motor is operating. Say.

[作用] 磁気ディスクのコントローラは、キャッシュメモリの
管理を行っているため、ホストから要求のあったデータ
がヒットしたかミスヒットしたのかが、わかる。磁気デ
ィスクのコントローラが、磁気ディスクの動作状態と低
消費電力状態の切りかえを行うようにすると、データが
ヒットしている間は、磁気ディスクを低消費電力状態に
することができる。
[Operation] Since the controller of the magnetic disk manages the cache memory, it is possible to determine whether the data requested by the host has hit or missed. If the controller of the magnetic disk switches between the operation state of the magnetic disk and the low power consumption state, the magnetic disk can be set to the low power consumption state while data is hit.

[実施例] 以下、本発明の一実施例を図面を用いて説明する。Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第2図は本発明の一実施例のハードウェアのブロック
図である。
FIG. 2 is a block diagram of hardware according to one embodiment of the present invention.

第2図において、201はホストコンピュータ、202はホ
ストインタフェースコントローラ、203はディスク・キ
ャッシュメモリコントローラ、204はキャッシュメモリ
である。
In FIG. 2, reference numeral 201 denotes a host computer, 202 denotes a host interface controller, 203 denotes a disk / cache memory controller, and 204 denotes a cache memory.

205のエンコーダ・デューダ・データセパレータと206
の波型整形回路と207のR/W回路は信号処理回路で、パワ
ーセーブコントロール2によって、ディスク・キャッシ
ュメモリコントローラ203が電源のON、OFFを制御でき
る。
205 encoder-duder data separators and 206
The R / W circuit 207 and the R / W circuit 207 are signal processing circuits. The power save control 2 allows the disk / cache memory controller 203 to control ON / OFF of the power supply.

201はスピンドルモータドライバで、ディスク・キャ
ッシュメモリコントローラ203は、パワーセーブコント
ロール1によって、スピンドルモータドライバ210を介
して、スピンドルモータ211のON・OFFを制御できる。
201 is a spindle motor driver, and the disk / cache memory controller 203 can control ON / OFF of the spindle motor 211 via the spindle motor driver 210 by the power save control 1.

第1図を用いて、本発明の処理を説明する。ステップ
11で処理を開始する。ステップ12で、ディスク・キャッ
シュメモリコントローラ203はスピンドルモータ211をパ
ワーセーブコントロール2を使ってOFFにする。これと
合わせて、パワーセーブコントロール1を使って、信号
処理回路の電源もOFFにする。
The processing of the present invention will be described with reference to FIG. Steps
The process starts at 11. In step 12, the disk cache memory controller 203 turns off the spindle motor 211 using the power save control 2. At the same time, the power of the signal processing circuit is turned off using the power save control 1.

次に、ステップ13で、ホストから要求が来るまで、デ
ィスク・キャッシュメモリコントローラ203は低消費電
力状態で待機する。この低消費電力状態とは、例えば、
ディスク・キャッシュメモリコントローラへ入力されて
いるクロックを止めて、電力の浪費をおさえることであ
る。
Next, in step 13, the disk cache memory controller 203 waits in a low power consumption state until a request comes from the host. This low power consumption state is, for example,
Stopping the clock input to the disk cache memory controller to save power.

ホストから要求が来たときステップ14で、ディスク・
キャッシュメモリコントローラ203は低消費電力状態を
解除する。
When a request is received from the host, the disk
The cache memory controller 203 releases the low power consumption state.

次に、ステップ15で、ディスク・キャッシュメモリコ
ントローラ203は、ホストから要求のあったデータがヒ
ットしたかミスヒットしたかを判定する。ヒットしたと
きには、ステップ16でキャッシュメモリとホスト間のデ
ータ転送を行う。ステップ15でミスヒットしたときに
は、ステップ17で、磁気ディスクのスピンドルモータ21
1をONし、あわせて、磁気ディスク中の信号処理回路の
電源をONする。そして、ステップ18で、キャッシュメモ
リ204を介して磁気ディスクとホスト間のデータ転送を
行い、ステップ19で、再び、磁気ディスクのスピンドル
モータ211をOFFし、あわせて磁気ディスク中の信号処理
回路の電源をOFFにする。
Next, in step 15, the disk cache memory controller 203 determines whether the data requested by the host has hit or missed. If there is a hit, data transfer between the cache memory and the host is performed in step 16. If there is a miss in step 15, in step 17, the spindle motor 21
Turn on 1 and also turn on the power of the signal processing circuit in the magnetic disk. In step 18, data is transferred between the magnetic disk and the host via the cache memory 204. In step 19, the spindle motor 211 of the magnetic disk is turned off again, and the power of the signal processing circuit in the magnetic disk is turned off. To OFF.

第3図を用いて、他の一実施例を説明する。 Another embodiment will be described with reference to FIG.

本実施例は、ヒット率が低い間、スピンドルモータの
ON、OFFを頻繁に行わないようにするものである。
In this embodiment, while the hit rate is low, the spindle motor
ON and OFF are not performed frequently.

ステップ301〜ステップ309までは、第1図のステップ
11〜ステップ19までと同じである。本実施例では、ステ
ップ305でホストからの要求がミスヒットしたときディ
スク・キャッシュメモリコントローラ203はステップ310
で、現在までのヒット率が高いか低いかを判定する。高
いか低いかの基準となる値は別に決めておき、この数値
と現在のヒット率とを比べればよい。
Steps 301 to 309 are the steps shown in FIG.
This is the same as 11 to step 19. In this embodiment, when the request from the host misses in step 305, the disk cache memory controller 203 proceeds to step 310.
It is determined whether the hit rate up to the present is high or low. The value used as a criterion of high or low may be determined separately, and this numerical value may be compared with the current hit rate.

ヒット率が高いときは、前に述べた実施例と同じ処理
を行う。ヒット率が低いときは、ステップ311でディス
クのスピンドルモータ211がOFFのときはONにする。次
に、ステップ312でキャッシュメモリ204を介してディス
クとホスト間のデータ転送を行う。
When the hit rate is high, the same processing as in the above-described embodiment is performed. If the hit rate is low, then if the spindle motor 211 of the disk is off at step 311, it is turned on. Next, in step 312, data is transferred between the disk and the host via the cache memory 204.

[発明の効果] 本発明によれば、ミスヒット時のみ磁気ディスクのス
ピンドルモータを動作させるので、電力の浪費が少なく
なり、低消費電力化できる。
[Effect of the Invention] According to the present invention, the spindle motor of the magnetic disk is operated only at the time of a mishit, so that power consumption is reduced and power consumption can be reduced.

また、ヒット率が低い間は、スピンドルモータを常に
動作させておくことができるので、スピンドルモータの
ON・OFFによる時間の遅れを軽減することができる。
Also, while the hit rate is low, the spindle motor can always be operated,
Time delay due to ON / OFF can be reduced.

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

第1図は本発明の一実施例の処理を示すフローチャー
ト、第2図は第1図のハードのブロック図、第3図は本
発明の他の一実施例の処理を示すフローチャートであ
る。 符号の説明 203……ディスク・キャッシュメモリコントローラ、204
……キャッシュメモリ、205……エンコーダ・デコーダ
データセパレータ、206……波型整形回路、207……R/W
IC、211……スピンドルモータ。
FIG. 1 is a flowchart showing the processing of one embodiment of the present invention, FIG. 2 is a block diagram of the hardware of FIG. 1, and FIG. 3 is a flowchart showing the processing of another embodiment of the present invention. EXPLANATION OF SYMBOLS 203: Disk / cache memory controller, 204
…… Cache memory, 205 …… Encoder / decoder data separator, 206 …… Wave shaper, 207 …… R / W
IC, 211 ... Spindle motor.

フロントページの続き (72)発明者 島田 勇治 神奈川県横浜市戸塚区吉田町292番地 株式会社日立マイクロソフトウェアシス テムズ内 (72)発明者 発知 恭生 神奈川県横浜市戸塚区吉田町292番地 株式会社日立マイクロソフトウェアシス テムズ内 (72)発明者 鈴木 芳人 東京都小平市上水本町5丁目20番1号 株式会社日立製作所半導体設計開発セン タ内 (56)参考文献 特開 平2−214060(JP,A)Continued on the front page (72) Inventor Yuji Shimada 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Inside Hitachi Micro Software Systems Co., Ltd. In Micro Software Systems (72) Inventor Yoshito Suzuki 5-20-1, Kamimizuhoncho, Kodaira-shi, Tokyo Inside Semiconductor Design & Development Center, Hitachi, Ltd. (56) References JP-A-2-214060 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】磁気ディスク、キャッシュメモリおよび前
記磁気ディスクと前記キャッシュメモリを制御するコン
トローラを有するディスク装置において、 ホストコンピュータからのデータ要求に対し、前記コン
トローラが前記キャッシュメモリ内での前記要求された
データの有無を判別し、前記要求されたデータが前記キ
ャッシュメモリに存在する場合には該コントローラが前
記磁気ディスクのスピンドルモータを停止させる信号を
発し、前記要求されたデータが存在しない場合には該コ
ントローラが前記磁気ディスクのスピンドルモータを動
作させる信号を発する制御手段と、 を有することを特徴とするディスク装置。
1. A disk device having a magnetic disk, a cache memory, and a controller for controlling the magnetic disk and the cache memory, wherein the controller receives the data request from a host computer in response to the request in the cache memory. The presence / absence of data is determined.If the requested data is present in the cache memory, the controller issues a signal to stop the spindle motor of the magnetic disk.If the requested data is not present, the controller issues a signal. A disk drive, comprising: a controller for issuing a signal for operating a spindle motor of the magnetic disk.
【請求項2】請求項1記載のディスク装置において、 ホストコンピュータから要求されたデータのヒット率が
所定の基準を満たさない場合は、前記制御手段による前
記磁気ディスクのスピンドルモータの動作の切り替えを
行わないことを特徴とするディスク装置。
2. The disk drive according to claim 1, wherein when the hit ratio of the data requested by the host computer does not satisfy a predetermined criterion, the operation of the spindle motor of the magnetic disk is switched by the control means. A disk device characterized by the absence.
JP2328844A 1990-11-30 1990-11-30 Disk device Expired - Fee Related JP2753391B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2328844A JP2753391B2 (en) 1990-11-30 1990-11-30 Disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2328844A JP2753391B2 (en) 1990-11-30 1990-11-30 Disk device

Publications (2)

Publication Number Publication Date
JPH04205852A JPH04205852A (en) 1992-07-28
JP2753391B2 true JP2753391B2 (en) 1998-05-20

Family

ID=18214720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2328844A Expired - Fee Related JP2753391B2 (en) 1990-11-30 1990-11-30 Disk device

Country Status (1)

Country Link
JP (1) JP2753391B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2286267A (en) 1994-02-03 1995-08-09 Ibm Energy-saving cache control system
JPH0883148A (en) * 1994-09-13 1996-03-26 Nec Corp Magnetic disk device
KR100383635B1 (en) * 1996-03-06 2003-07-18 삼성전자주식회사 Circuit for braking spindle motor of disk drive
JP2010067308A (en) * 2008-09-10 2010-03-25 Alpine Electronics Inc Content playback device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02214060A (en) * 1989-02-15 1990-08-27 Canon Inc Information processor

Also Published As

Publication number Publication date
JPH04205852A (en) 1992-07-28

Similar Documents

Publication Publication Date Title
US7120806B1 (en) Method for setting a power operating mode transition interval of a disk drive in a mobile device based on application category
KR100329344B1 (en) Power management apparatus and method
CN1710548A (en) Semiconductor integrated circuit and power-saving control method thereof
JP2001100925A (en) Disk controller
US8090966B2 (en) Power management method for a multi-microprocessor system
TW200421288A (en) Method and apparatus for managing power consumption of a disk drive
JPH08314716A (en) Apparatus and method for data processing
JP2753391B2 (en) Disk device
KR100213079B1 (en) Method for stabilizing system in beginning of wake-up mode
JP2000100054A (en) Secondary storage device
JPH11232037A (en) Magnetic disk device having disk cache write function
KR100219680B1 (en) Slip mode execution/cancellation method and apparatus
JP4158569B2 (en) Information processing apparatus and information processing method
JPH10254780A (en) Disk cache control system
JPS63224078A (en) Magnetic disk device
JP2003337634A (en) Computer apparatus, method for controlling processor, program for running the method by computer, computer- readable recording medium with the program recorded thereon
JPH11191262A (en) Power management device and method therefor
JP2914695B2 (en) Cache control unit
JP2000285227A (en) Information processor and control method therefor
JPH03201261A (en) Power saving operation system for disk storage device
JPH0883133A (en) Computer system and clock control method for the same
TWI548983B (en) Storage apapratus, electronic apparatus and data accessing method thereof
JPH0816473A (en) Cache memory control circuit
JPH05204556A (en) Quick seek control system
JP2000148582A (en) Power consumption reducing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees