JPH04316115A - Data processor - Google Patents

Data processor

Info

Publication number
JPH04316115A
JPH04316115A JP3111012A JP11101291A JPH04316115A JP H04316115 A JPH04316115 A JP H04316115A JP 3111012 A JP3111012 A JP 3111012A JP 11101291 A JP11101291 A JP 11101291A JP H04316115 A JPH04316115 A JP H04316115A
Authority
JP
Japan
Prior art keywords
time interval
hard disk
motor
drive
counter
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
JP3111012A
Other languages
Japanese (ja)
Inventor
Hiroaki Yokomichi
宏明 横道
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.)
Toshiba Corp
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer Engineering 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 Toshiba Corp, Toshiba Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP3111012A priority Critical patent/JPH04316115A/en
Publication of JPH04316115A publication Critical patent/JPH04316115A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To reduce the power consumption of a data processor by setting the time interval for stopping the drive of a magnetic disk device based on the actual use state of the device. CONSTITUTION:Different time intervals are respectively assigned to plural counters (14-1)-(14-n) and the values of the counters corresponding to actual instruction issuing time intervals to a hard disk drive 19 are updated. Accordingly, the statistics of the instruction issuing time intervals are collected from the values of the counters (14-1)-(14-n) and the motor stopping reference time interval Tk of the drive 19 which is appropriate to stop the drive of a motor can be selected from the statistics. A time interval at which the issuing frequency of an instruction having a time interval longer than the motor stopping reference time interval Tk is selected as the time interval Tk.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、例えばパーソナルコ
ンピュータやワードプロセッサのようなデータ処理装置
に関し、特に磁気記録再生装置を備えたデータ処理装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing apparatus such as a personal computer or a word processor, and more particularly to a data processing apparatus equipped with a magnetic recording/reproducing device.

【0002】0002

【従来の技術】近年、パーソナルコンピュータやワード
プロセッサの小型化が進められ、いわゆるラップトップ
タイプやノートタイプのような携帯可能な小型電子機器
が各種開発されている。
2. Description of the Related Art In recent years, personal computers and word processors have become smaller and smaller, and various portable small electronic devices such as so-called laptop types and notebook types have been developed.

【0003】これらパーソナルコンピュータやワードプ
ロセッサ等の小型電子機器は、バッテリー駆動で使用さ
れることが多いため、その消費電力を低減することが要
求されている。特に、磁気ディスク装置を備えた機器に
おいては、その磁気ディスク装置の駆動、特にその磁気
ディスク装置のモータの駆動に多くの電力が消費される
ため、そのモータ駆動による電力消費を低減することが
重要である。
[0003] Since these small electronic devices such as personal computers and word processors are often used battery-powered, it is required to reduce their power consumption. In particular, in devices equipped with magnetic disk devices, a large amount of power is consumed to drive the magnetic disk device, especially the motor of the magnetic disk device, so it is important to reduce the power consumption by driving the motor. It is.

【0004】このため、従来の機器では、消費電力の低
減対策として、磁気ディスク装置が一定の基準時間以上
使用されなかった時にその磁気ディスク装置の駆動を停
止するという手法が採用されていた。
[0004] For this reason, in conventional equipment, as a measure to reduce power consumption, a method has been adopted in which the drive of the magnetic disk device is stopped when the magnetic disk device is not used for a certain reference time or more.

【0005】しかしながら、その駆動を停止する基準時
間間隔は使用者によって固定的に定められていたため、
モータが停止されるのは、磁気ディスク装置の実際の使
用に支障が生じないように、かなり長い時間に亙って磁
気ディスク装置が使用されなかった場合に限られていた
[0005] However, since the reference time interval for stopping the drive was fixedly determined by the user,
The motor is stopped only when the magnetic disk drive has not been used for a considerable period of time so as not to interfere with the actual use of the magnetic disk drive.

【0006】このため、比較的短い時間間隔で磁気ディ
スク装置が断続的に使用された場合には、モータの停止
はまったく行われず、消費電力が低減されないという問
題があった。
[0006] Therefore, when the magnetic disk drive is used intermittently at relatively short time intervals, there is a problem in that the motor is not stopped at all and power consumption is not reduced.

【0007】消費電力を低減するためには基準時間間隔
を出来るだけ短く設定することが必要である。しかし、
磁気ディスク装置の実際の使用時間間隔はその使用者や
データ処理の業務内容等によって大きく異なる。このた
め、基準時間間隔を適切な値に設定するのは、非常に困
難であった。
[0007] In order to reduce power consumption, it is necessary to set the reference time interval as short as possible. but,
The actual usage time interval of a magnetic disk device varies greatly depending on the user, the content of data processing, etc. For this reason, it has been extremely difficult to set the reference time interval to an appropriate value.

【0008】[0008]

【発明が解決しようとする課題】従来では、磁気ディス
ク装置の駆動を停止させる時間間隔が固定的に定められ
ていたため、比較的短い時間間隔で磁気ディスク装置が
断続的に使用されている場合には、その駆動停止が行わ
れず、消費電力が低減されないという問題があった。
[Problem to be Solved by the Invention] Conventionally, the time interval for stopping the drive of a magnetic disk device was fixed, so when the magnetic disk device was used intermittently at relatively short time intervals, However, there was a problem in that the drive was not stopped and the power consumption was not reduced.

【0009】この発明はこのような点に鑑みてなされた
もので、磁気ディスク装置の駆動を停止させる時間間隔
をその磁気ディスク装置の実際の使用状態に基づいて設
定できるようにし、消費電力の低減を効率よく実現する
ことができるデータ処理装置を提供することを目的とす
る。
The present invention has been made in view of the above points, and it is possible to set the time interval for stopping the drive of a magnetic disk device based on the actual usage status of the magnetic disk device, thereby reducing power consumption. An object of the present invention is to provide a data processing device that can efficiently realize the following.

【0010】0010

【課題を解決するための手段および作用】この発明は、
入出力装置を備えたデータ処理装置において、前記入出
力装置にアクセスされた命令の発行時間間隔を計測する
手段と、前記命令発行時間間隔の統計を取り、前記統計
結果に基づき、前記入出力装置の駆動停止時間を決定す
る手段と、前記命令の未発行時間間隔を求め前記駆動停
止時間と比較し、その比較結果に基づき、前記入出力装
置の駆動を抑制する手段とを具備することを特徴とする
[Means and effects for solving the problems] This invention has the following features:
In a data processing device equipped with an input/output device, means for measuring the issuance time interval of instructions accessed to the input/output device, and means for taking statistics of the instruction issuance time interval, and based on the statistical results, the input/output device and means for determining a non-issuance time interval of the command and comparing it with the drive stop time, and suppressing the drive of the input/output device based on the comparison result. shall be.

【0011】このデータ処理装置においては、命令発行
時間間隔の統計がとられ、その統計結果に基づいて入出
力装置の駆動を停止するための適切な駆動停止時間が選
定される。この結果、磁気ディスク装置等の入出力装置
の実際の使用状態に基づいて駆動停止時間を設定できる
ようになり、消費電力の低減を効率よく実現することが
可能となる。
[0011] In this data processing device, statistics of instruction issuance time intervals are taken, and an appropriate drive stop time for stopping the driving of the input/output device is selected based on the statistical results. As a result, it becomes possible to set the drive stop time based on the actual usage status of the input/output device such as a magnetic disk device, and it becomes possible to efficiently reduce power consumption.

【0012】0012

【実施例】以下、図面を参照してこの発明の実施例を説
明する。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings.

【0013】図1にはこの発明の一実施例に係わるデー
タ処理装置のシステム構成が示されている。このデータ
処理装置は、例えばラップトップまたはノートタイプの
ような携帯可能の小型パーソナルコンピュータ、または
ワードプロセッサであり、バッテリー駆動可能な構成に
なっている。
FIG. 1 shows a system configuration of a data processing apparatus according to an embodiment of the present invention. This data processing device is, for example, a small portable personal computer such as a laptop or notebook type, or a word processor, and is configured to be battery-powered.

【0014】このデータ処理装置は、CPU11、シス
テムバス12、メモリ13を備え、このメモリ13の記
憶エリアには、ソフトウェア的に構成されるカウンタ群
14、命令発行時刻格納部15、モータ停止基準時間間
隔(TK )格納部16が割り当てられている。
This data processing device includes a CPU 11, a system bus 12, and a memory 13, and the storage area of the memory 13 includes a counter group 14 configured by software, an instruction issue time storage section 15, and a motor stop reference time. An interval (TK) storage section 16 is allocated.

【0015】さらに、データ処理装置には、計時装置1
7、ハードディスクコントローラ18、およびハードデ
ィスクドライブ19が設けられている。
Furthermore, the data processing device includes a clock device 1.
7, a hard disk controller 18, and a hard disk drive 19 are provided.

【0016】CPU11はこのデータ処理装置の全体の
制御を司るものであり、メモリ13に格納された制御プ
ログラム(図示せず)に従って各種処理を実行する。こ
のCPU11には、ハードディスクドライブ19のモー
タを停止させるモータ停止基準時間間隔(TK )を求
める機能と、ハードディスクドライブ19がモータ停止
基準時間間隔(TK )以上未使用の際に、そのハード
ディスクドライブ19のモータを停止させる機能が設け
られている。
The CPU 11 is in charge of overall control of this data processing device, and executes various processes according to a control program (not shown) stored in the memory 13. This CPU 11 has a function to determine the motor stop reference time interval (TK) for stopping the motor of the hard disk drive 19, and a function to determine the motor stop reference time interval (TK) for stopping the motor of the hard disk drive 19, and a function to determine the motor stop reference time interval (TK) for stopping the motor of the hard disk drive 19 when the hard disk drive 19 is unused for the motor stop reference time interval (TK) or more. A function is provided to stop the motor.

【0017】システムバス12は、CPU11、メモリ
13、計時装置17、およびハードディスクコントロー
ラ18間を相互に繋ぐ連絡経路であり、各種制御信号線
、アドレスバス、およびデータバスから構成されている
The system bus 12 is a communication path that interconnects the CPU 11, memory 13, clock device 17, and hard disk controller 18, and is composed of various control signal lines, an address bus, and a data bus.

【0018】メモリ13の記憶エリアに割り当てられた
カウンタ群14は、第1乃至第nのn個のカウンタ(C
1 〜Cn )14−1〜14−nによって構成されて
いる。
The counter group 14 allocated to the storage area of the memory 13 includes n counters (C
1 to Cn) 14-1 to 14-n.

【0019】これらカウンタ(C1 〜Cn )14−
1〜14−nは、CPU11からハードディスクコント
ローラ18に発行されるアクセス命令(データ書込み命
令、データ読み出し命令等)の命令発行時間間隔の統計
を取るためのものであり、これらカウンタ(C1 〜C
n )14−1〜14−nにはそれぞれ異なった時間間
隔が割り当てられている。
These counters (C1 to Cn) 14-
1 to 14-n are used to obtain statistics on instruction issuance time intervals of access commands (data write commands, data read commands, etc.) issued from the CPU 11 to the hard disk controller 18, and these counters (C1 to C
n) Different time intervals are assigned to 14-1 to 14-n.

【0020】この場合、カウンタ(C1 〜Cn )1
4−1〜14−nにそれぞれ割り当てられた時間間隔は
、カウンタ(C1 )14−1からカウンタ(Cn )
14−nに向って一定の増加幅で順次大きくなるように
設定されている。カウンタ(C1 〜Cn )14−1
〜14−nの各々は、それぞれ該当する命令発行時間間
隔が検出された時に+1更新される。
In this case, counters (C1 to Cn)1
The time intervals respectively assigned to 4-1 to 14-n are calculated from the counter (C1) 14-1 to the counter (Cn).
14-n, it is set to increase successively at a constant increment width. Counter (C1 to Cn) 14-1
~14-n are each updated by +1 when the corresponding instruction issue time interval is detected.

【0021】命令発行時刻格納部15には、CPU11
からハードディスクコントローラ18に対して命令が送
られた時の時刻が格納される。モータ停止基準時間間隔
(TK )格納部16には、CPU11がカウンタ群1
4と共同して求めたモータ停止基準時間間隔(TK )
が格納される。
[0021] The instruction issue time storage unit 15 stores the CPU 11
The time when the command was sent from to the hard disk controller 18 is stored. In the motor stop reference time interval (TK) storage unit 16, the CPU 11 stores counter group 1.
Motor stop reference time interval (TK) obtained in conjunction with 4.
is stored.

【0022】計時装置17は、定期的に割り込みを発生
して、ハードディスクコントローラ18に対する命令の
発行時間間隔を測定する。
The clock device 17 periodically generates an interrupt to measure the time interval between issuing instructions to the hard disk controller 18 .

【0023】ハードディスクコントローラ18は、CP
U11の制御の下にハードディスクドライブ19を駆動
制御するものであり、データの書き込み/読み出しの制
御、またはハードディスクドライブ19の停止制御等を
実行する。
The hard disk controller 18 is a CP
It drives and controls the hard disk drive 19 under the control of U11, and executes data write/read control, stop control of the hard disk drive 19, and the like.

【0024】ハードディスクドライブ19は、複数の円
板状の磁気記録媒体にデータを書き込む構成であり、こ
のハードディスクドライブ19には、2つのモータ、す
なわち、磁気記録媒体を回転させるスピンドルモータと
、磁気ヘッドが搭載されたキャリッジを回動させるキャ
リッジ用モータが含まれている。
The hard disk drive 19 is configured to write data on a plurality of disk-shaped magnetic recording media, and has two motors, namely, a spindle motor that rotates the magnetic recording medium, and a magnetic head. It includes a carriage motor that rotates the carriage on which it is mounted.

【0025】スピンドルモータは比較的その消費電力が
大きいため、ここではスピンドルモータの停止がハード
ディスクコントローラ18によって制御されるようにな
っている。
Since the spindle motor consumes relatively large power, stopping of the spindle motor is controlled by the hard disk controller 18 here.

【0026】次に、図2および図3のフローチャートを
参照して、図1のデータ処理装置におけるモータ停止基
準時間間隔(TK )の設定動作、およびハードディス
クドライブ19のモータの停止制御動作を説明する。
Next, the setting operation of the motor stop reference time interval (TK) in the data processing device of FIG. 1 and the stop control operation of the motor of the hard disk drive 19 will be explained with reference to the flowcharts of FIGS. 2 and 3. .

【0027】CPU11からハードディスクコントロー
ラ18に対してハードディスクドライブ19へのデータ
書き込み/読み出し等の命令が発行された時には、図2
のモータ停止基準時間間隔(TK )設定処理ルーチン
が起動される。
When the CPU 11 issues a command to the hard disk controller 18 to write/read data to the hard disk drive 19, the process shown in FIG.
The motor stop reference time interval (TK) setting processing routine is started.

【0028】このルーチンにおいては、まず、CPU1
1によってハードディスクドライブ19に対する命令の
発行時間間隔Tが求められる(ステップS1)。この命
令発行時間間隔Tは、現在の時刻つまり今回の命令発行
時刻から、命令発行時刻格納部15に格納されている前
回の命令発行時刻を減算することによって求められる。
In this routine, first, CPU1
1, the instruction issuance time interval T to the hard disk drive 19 is determined (step S1). This instruction issue time interval T is determined by subtracting the previous instruction issue time stored in the instruction issue time storage section 15 from the current time, that is, the current instruction issue time.

【0029】次いで、CPU11によって命令発行時刻
格納部15の内容が更新される(ステップS2)。すな
わち、CPU11は、現在の時刻つまり今回の命令発行
時刻を新たな命令発行時刻として命令発行時刻格納部1
5に格納する。
Next, the content of the instruction issue time storage section 15 is updated by the CPU 11 (step S2). That is, the CPU 11 sets the current time, that is, the current instruction issue time, as the new instruction issue time and stores it in the instruction issue time storage unit 1.
Store in 5.

【0030】この後、カウンタ(C1 〜Cn )14
−1〜14−nの中でステップS1で求められた命令発
行時間間隔Tに対応する時間間隔が割り当てられている
カウンタ(Ci )が求められ、そのカウンタ(Ci 
)の値が+1増分される(ステップS3)。
After this, the counters (C1 to Cn) 14
-1 to 14-n, a counter (Ci) to which a time interval corresponding to the instruction issuance time interval T found in step S1 is assigned is found, and the counter (Ci
) is incremented by +1 (step S3).

【0031】ここで、カウンタ(Ci )に割り当てら
れた時間間隔をti として、カウンタ(Ci−1 )
に割り当てられた時間間隔をti−1 とすると、ステ
ップS1で求められた命令発行時間間隔Tがti−1 
<T≦ti を満足するようなカウンタ(Ci )が、
命令発行時間間隔Tに対応するカウンタとして選定され
る。
Here, if the time interval assigned to the counter (Ci) is ti, then the counter (Ci-1)
If the time interval assigned to
A counter (Ci) that satisfies <T≦ti is
The counter is selected as a counter corresponding to the instruction issuance time interval T.

【0032】次に、CPU11によってカウンタ群14
の総和つまりカウンタ(C1 〜Cn)14−1〜14
−n全てのカウンタ値の合計( i=1Σn Ci )
が求められる(ステップS4)。
Next, the CPU 11 registers the counter group 14.
, that is, the counters (C1 to Cn) 14-1 to 14
−nThe sum of all counter values (i=1Σn Ci)
is obtained (step S4).

【0033】この後、CPU11によってあるカウンタ
(Ck )14−kから最終のカウンタ(Cn )14
−nまでのカウンタ値の合計( i=kΣn Ci )
が求められ、そして、ステップS4で求めたカウンタ群
14の総和( i=1Σn Ci )に占めるその合計
値( i=kΣn Ci )の割合{( i=kΣn 
Ci )/( i=1Σn Ci )}が所定値Pより
も小さくなるような値kが求められる(ステップS5)
Thereafter, the CPU 11 converts a certain counter (Ck) 14-k to the final counter (Cn) 14.
- sum of counter values up to n (i=kΣn Ci)
is calculated, and the ratio of the total value (i=kΣn Ci) to the total sum (i=1Σn Ci) of the counter group 14 calculated in step S4 {(i=kΣn
A value k such that Ci )/(i=1Σn Ci )} is smaller than a predetermined value P is determined (step S5).
.

【0034】この場合、{( i=kΣn Ci )/
( i=1Σn Ci )}<Pを満足するようなkの
値は複数個存在する場合がある。この時、これら複数個
のkの中で{( i=kΣn Ci )/( i=1Σ
n Ci )}が最も大きくなる値がkとして選定され
る。
In this case, {( i=kΣn Ci )/
There may be multiple values of k that satisfy (i=1Σn Ci)}<P. At this time, among these multiple k, {( i=kΣn Ci )/( i=1Σ
n Ci )} is selected as k.

【0035】また、カウンタ値が“0”のカウンタが存
在すると、{( i=kΣn Ci )/( i=1Σ
n Ci )}<Pを満足するようなkの中で{( i
=kΣn Ci )/( i=1Σn Ci )}が最
も大きくなるkの値も複数存在することになる。
Furthermore, if there is a counter whose counter value is "0", {( i=kΣn Ci )/( i=1Σ
n Ci )}<P among k such that {( i
= kΣn Ci )/( i = 1Σn Ci )} is the largest value.

【0036】このため、次のステップS6において、C
PU11はステップS5で求めたkの値に対応するカウ
ンタCkに割り当てられている時間間隔tkの中で最小
の時間間隔Tk {Tk =min(tk )}を求め
、その時間間隔Tk をモータ停止基準時間間隔として
モータ停止基準時間間隔格納部16に格納する(ステッ
プS7)。
Therefore, in the next step S6, C
The PU 11 determines the minimum time interval Tk {Tk = min(tk )} among the time intervals tk assigned to the counter Ck corresponding to the value of k determined in step S5, and uses that time interval Tk as the motor stop criterion. It is stored in the motor stop reference time interval storage unit 16 as a time interval (step S7).

【0037】尚、kの値が1に近い場合には、最小の時
間間隔Tk の2〜3倍程度の時間間隔をモータ停止基
準時間間隔として選定することが好ましい。この様にす
れば、比較的短い時間間隔でハードディスクドライブ1
9へのアクセスが要求されても、そのアクセスをハード
ディスクドライブ19のモータを停止させること無く実
行できる。
When the value of k is close to 1, it is preferable to select a time interval that is about two to three times the minimum time interval Tk as the motor stop reference time interval. In this way, hard disk drive 1 can be updated at relatively short time intervals.
Even if access to the hard disk drive 19 is requested, the access can be executed without stopping the motor of the hard disk drive 19.

【0038】次に、図3のフローチャートを参照し、ハ
ードディスクドライブ19のモータの停止制御動作を説
明する。
Next, the stop control operation of the motor of the hard disk drive 19 will be explained with reference to the flowchart of FIG.

【0039】CPU11は、ある一定時間間隔で割り込
み処理を定期的に起動する。この割り込み処理において
は、まず、計時装置17によって、CPU11からハー
ドディスクドライブ19へのデータの書き込み/読み出
し等の命令の未発行時間間隔T′が求められる(ステッ
プS11)。
[0039] The CPU 11 periodically activates interrupt processing at certain fixed time intervals. In this interrupt processing, first, the timer 17 determines the unissued time interval T' of commands such as writing/reading data from the CPU 11 to the hard disk drive 19 (step S11).

【0040】この命令未発行時間間隔T′は、割り込み
処理が起動された現在の時刻から、命令発行時刻格納部
15に格納されている前回の命令発行時刻を減算するこ
とによって求められる。
The instruction non-issuance time interval T' is obtained by subtracting the previous instruction issue time stored in the instruction issue time storage section 15 from the current time when the interrupt process was activated.

【0041】次いで、ステップS11で求められた命令
未発行時間間隔T′と、モータ停止基準時間間隔格納部
16に格納されているモータ停止基準時間間隔Tk と
の比較処理がCPU11によって実行され、命令未発行
時間間隔T′がモータ停止基準時間間隔Tk 以上の値
であるか否かが判断される(ステップS12)。
Next, the CPU 11 executes a comparison process between the command unissued time interval T' obtained in step S11 and the motor stop reference time interval Tk stored in the motor stop reference time interval storage section 16, and the command It is determined whether or not the unissued time interval T' is greater than or equal to the motor stop reference time interval Tk (step S12).

【0042】命令未発行時間間隔T′がモータ停止基準
時間間隔Tk 以上の値を有する場合には、CPU11
によってハードディスクコントローラ18にモータの停
止命令が発行される(ステップS13)。そして、ハー
ドディスクコントローラ18は、そのモータ停止命令を
受け取ると、ハードディスクドライブ19のスピンドル
モータの回転を停止する。
If the command non-issuance time interval T' has a value greater than or equal to the motor stop reference time interval Tk, the CPU 11
A motor stop command is issued to the hard disk controller 18 (step S13). Then, upon receiving the motor stop command, the hard disk controller 18 stops the rotation of the spindle motor of the hard disk drive 19.

【0043】以上のように、この実施例においては、複
数のカウンタ(C1〜Cn)14−1〜14−nにそれ
ぞれ異なる時間間隔が割り当てられており、ハードディ
スクドライブ19に対する実際の命令発行時間間隔Tに
対応するカウンタの値が更新される。このため、これら
カウンタ14−1〜14−nの値によって命令発行時間
間隔の統計がとられ、その統計結果に基づいてハードデ
ィスクドライブ19のモータの駆動停止を行うための適
切なモータ停止基準時間間隔Tkが選定できる。
As described above, in this embodiment, different time intervals are assigned to the plurality of counters (C1 to Cn) 14-1 to 14-n, and the actual instruction issuance time interval to the hard disk drive 19 is The value of the counter corresponding to T is updated. For this reason, statistics of command issuing time intervals are taken based on the values of these counters 14-1 to 14-n, and based on the statistical results, an appropriate motor stop reference time interval is determined for stopping the drive of the motor of the hard disk drive 19. Tk can be selected.

【0044】このモータ停止基準時間間隔Tk として
は、モータ停止基準時間間隔Tk よりも長い命令発行
時間間隔を有する命令の発行頻度が所定値Pよりも小さ
くなるような時間間隔が選ばれる。
As this motor stop reference time interval Tk, a time interval is selected such that the frequency of issuing commands having a longer command issuance time interval than the motor stop reference time interval Tk is smaller than a predetermined value P.

【0045】この結果、ハードディスクドライブ19の
実際の使用状態に基づいてモータ停止基準時間間隔Tk
 を設定できるようになると共に、そのモータ停止基準
時間間隔Tk をハードディスクドライブ19へのアク
セスに支障が生じない範囲で最も短い値に設定出来るよ
うになり、消費電力の低減を効率よく実現することが可
能となる。
As a result, the motor stop reference time interval Tk is determined based on the actual usage state of the hard disk drive 19.
In addition, it becomes possible to set the motor stop reference time interval Tk to the shortest value within the range that does not hinder access to the hard disk drive 19, and it is possible to efficiently reduce power consumption. It becomes possible.

【0046】尚、この実施例では、カウンタ14−1〜
14−nをメモリ13上でソフトウェア的に実現したが
、それらをハードウェア的に実現することも可能である
In this embodiment, the counters 14-1 to 14-1
14-n is realized in software on the memory 13, but it is also possible to realize them in hardware.

【0047】また、本発明は、ハードディスクドライブ
に限らず、フロッピーディスクドライブについても同様
にして適用することができる。
Furthermore, the present invention is applicable not only to hard disk drives but also to floppy disk drives.

【0048】[0048]

【発明の効果】以上のように、この発明によれば、磁気
ディスク装置の駆動を停止させる時間間隔をその磁気デ
ィスク装置の実際の使用状態に基づいて設定できるよう
になり、消費電力の低減を効率よく実現することができ
る。
As described above, according to the present invention, the time interval for stopping the drive of a magnetic disk device can be set based on the actual usage status of the magnetic disk device, thereby reducing power consumption. This can be achieved efficiently.

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

【図1】この発明の一実施例に係わるシステム構成を示
すブロック図。
FIG. 1 is a block diagram showing a system configuration according to an embodiment of the present invention.

【図2】同実施例におけるモータ停止基準時間間隔の設
定動作を説明するフローチャート。
FIG. 2 is a flowchart illustrating an operation for setting a motor stop reference time interval in the same embodiment.

【図3】同実施例におけるモータ停止制御動作を説明す
るフローチャート。
FIG. 3 is a flowchart illustrating a motor stop control operation in the same embodiment.

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

11…CPU、12…システムバス、13…メモリ、1
4…カウンタ群、15…モータ停止基準時間間隔格納部
、16…命令発行時刻格納部、17…計時装置、18…
ハードディスクコントローラ、19…ハードディスクド
ライブ。
11...CPU, 12...System bus, 13...Memory, 1
4... Counter group, 15... Motor stop reference time interval storage section, 16... Command issue time storage section, 17... Timing device, 18...
Hard disk controller, 19...hard disk drive.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  入出力装置を備えたデータ処理装置に
おいて、前記入出力装置にアクセスされた命令の発行時
間間隔を計測する手段と、前記命令発行時間間隔の統計
を取り、前記統計結果に基づき、前記入出力装置の駆動
停止時間を決定する手段と、前記命令の未発行時間間隔
を求め前記駆動停止時間と比較し、その比較結果に基づ
き、前記入出力装置の駆動を抑制する手段とを具備する
ことを特徴とするデータ処理装置。
1. A data processing device equipped with an input/output device, comprising: means for measuring an issuance time interval of instructions accessed to the input/output device; and a means for measuring the instruction issuance time interval, and based on the statistical results. , means for determining a driving stop time of the input/output device, and means for determining a time interval during which the command is not issued and comparing it with the driving stop time, and suppressing driving of the input/output device based on the comparison result. A data processing device comprising:
JP3111012A 1991-04-15 1991-04-15 Data processor Pending JPH04316115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3111012A JPH04316115A (en) 1991-04-15 1991-04-15 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3111012A JPH04316115A (en) 1991-04-15 1991-04-15 Data processor

Publications (1)

Publication Number Publication Date
JPH04316115A true JPH04316115A (en) 1992-11-06

Family

ID=14550163

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3111012A Pending JPH04316115A (en) 1991-04-15 1991-04-15 Data processor

Country Status (1)

Country Link
JP (1) JPH04316115A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001266453A (en) * 2000-03-17 2001-09-28 Matsushita Electric Ind Co Ltd Disk unit, medium and information assembly
JP2007234202A (en) * 2006-03-03 2007-09-13 Teac Corp Drive controller and optical disk device
JP2009009576A (en) * 2007-06-28 2009-01-15 Seagate Technology Llc Power management in storage array
JP2010537359A (en) * 2007-08-22 2010-12-02 トムソン ライセンシング Improved dispersion of lubricants in hard disk drives for digital video recorders

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001266453A (en) * 2000-03-17 2001-09-28 Matsushita Electric Ind Co Ltd Disk unit, medium and information assembly
JP2007234202A (en) * 2006-03-03 2007-09-13 Teac Corp Drive controller and optical disk device
JP2009009576A (en) * 2007-06-28 2009-01-15 Seagate Technology Llc Power management in storage array
JP2010537359A (en) * 2007-08-22 2010-12-02 トムソン ライセンシング Improved dispersion of lubricants in hard disk drives for digital video recorders

Similar Documents

Publication Publication Date Title
EP0751512B1 (en) Disk drive with adaptive demand-driven power management
US8806247B2 (en) Adaptive power control
JP4249763B2 (en) Computer system and method for managing its performance and power consumption
US5954820A (en) Portable computer with adaptive demand-driven power management
US5493670A (en) Adaptive disk spin-down method for managing the power distributed to a disk drive in a laptop computer
US5826092A (en) Method and apparatus for performance optimization in power-managed computer systems
US5964878A (en) Method for controlling operation of optical disk drive in power saving mode
US5758175A (en) Multi-mode power switching for computer systems
JP3442810B2 (en) Method and apparatus for automatically reducing chip power consumption
US5590341A (en) Method and apparatus for reducing power consumption in a computer system using ready delay
US7340616B2 (en) Power management of storage units in a storage array
US7036030B1 (en) Computer system and method of using temperature measurement readings to detect user activity and to adjust processor performance
US7027337B2 (en) Memory device and method having low-power, high write latency mode and high-power, low write latency mode and/or independently selectable write latency
US5875120A (en) Information processing system
US6112309A (en) Computer system, device and operation frequency control method
US5875348A (en) Information processing system
JPH04316115A (en) Data processor
US7523339B2 (en) Information processing apparatus and media storage apparatus using the same
US5606713A (en) System management interrupt source including a programmable counter and power management system employing the same
US6915376B1 (en) Host controlled optimization of disk storage devices
JPH0562329A (en) Data processor
US5434724A (en) Method and apparatus for the high speed driving of a stepper motor against seek error upon power restoration in a microcomputer system
JPH0410276A (en) Storage device
KR100211789B1 (en) Disk drive for portable computer with adaptive demand-driven power management
JP3007866B2 (en) Computer system, device and operating frequency control method