JPH0527913A - Optimizing method for buffer ratio - Google Patents

Optimizing method for buffer ratio

Info

Publication number
JPH0527913A
JPH0527913A JP18498291A JP18498291A JPH0527913A JP H0527913 A JPH0527913 A JP H0527913A JP 18498291 A JP18498291 A JP 18498291A JP 18498291 A JP18498291 A JP 18498291A JP H0527913 A JPH0527913 A JP H0527913A
Authority
JP
Japan
Prior art keywords
external storage
storage device
buffer
buffer ratio
zone
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.)
Granted
Application number
JP18498291A
Other languages
Japanese (ja)
Other versions
JP2897470B2 (en
Inventor
Masaaki Motoki
正昭 元木
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP18498291A priority Critical patent/JP2897470B2/en
Publication of JPH0527913A publication Critical patent/JPH0527913A/en
Application granted granted Critical
Publication of JP2897470B2 publication Critical patent/JP2897470B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To provide a means to improve efficiency for using a bus by changing the value of a buffer ratio in an external storage device. CONSTITUTION:This control method of the external storage device adopts a zone bit recording system to designate the buffer ratio for controlling the occupying time of a bus 16 in the case of an input/output processing from a host device 11, to perform access, to divide a magnetic disk medium 13 into plural zones in a circumferential direction and to change write density for each ratio and by changing the buffer ratio in the external storage device corresponding to the zone storing accessed data, data transfer is continuously executed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は磁気ディスク装置に用い
るバッファレシオの最適化方法に関する。本発明の目的
は,磁気ディスク媒体を円周方向に複数ゾーンに分割し
てゾーン毎に書込み密度を変化させたゾーン・ビット・
レコーディング方式を採用している外部記憶装置におけ
るバス使用効率の向上である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of optimizing a buffer ratio used in a magnetic disk device. An object of the present invention is to divide a magnetic disk medium into a plurality of zones in the circumferential direction and change the write density for each zone.
This is an improvement in bus usage efficiency in the external storage device that employs the recording method.

【0002】近年,コンピュータシステムの大容量化と
高速化が要求されており,外部記憶装置ではゾーン・ビ
ット・レコーディング方式を採用して大容量化を図り,
システムとしては上位装置に複数の外部記憶装置を接続
することで大容量化を図っている。このため,バス上に
は複数台の装置が接続され, 各々の装置のバスの使用効
率を向上させないと、システム全体の効率が向上しな
い。
In recent years, there has been a demand for large capacity and high speed of computer systems, and an external storage device adopts a zone bit recording method to achieve a large capacity.
In the system, the capacity is increased by connecting a plurality of external storage devices to the host device. For this reason, multiple devices are connected to the bus, and the efficiency of the entire system cannot be improved unless the bus usage efficiency of each device is improved.

【0003】[0003]

【従来の技術】このため, 磁気ディスク装置内にバッフ
ァメモリを設けることによってデータ転送を集中して行
いバスの使用効率を向上させることが行われる。又、そ
のバッファメモリについて、バッファにどれだけデータ
が蓄積されたかを示すバッファレシオを上位装置から指
定し、バスの使用効率を改良する機能が設けられたが,
ゾーン・ビット・レコーディング方式を採用している外
部記憶装置では, 各ゾーン毎に転送速度が異なるので,
上位装置からの指定された一定の値を使用すると上位装
置からのアクセス位置によりバス使用効率がまちまちに
なり, バス使用効率が良くない状態が発生するため, こ
れを回避する必要がある。
2. Description of the Related Art Therefore, by providing a buffer memory in a magnetic disk device, data transfer can be concentrated and bus usage efficiency can be improved. In addition, for the buffer memory, a function to specify the buffer ratio indicating how much data was accumulated in the buffer from the host device and improve the bus usage efficiency was provided.
In an external storage device that uses the zone bit recording method, the transfer rate differs for each zone.
It is necessary to avoid this because if the specified fixed value from the host device is used, the bus usage efficiency will vary depending on the access position from the host device, and the bus usage efficiency may not be good.

【0004】図5は従来のゾーン・ビット・レコーディ
ング方式の外部記憶装置の構成図である。図において、
11は外部記憶装置に書込み読出しの指令を出す上位装
置、12は媒体から読み出したデータを一時蓄えるバッ
ファメモリ、13はデータを記録するディスク媒体、1
4はバッファメモリに格納するデータ量の全体比を指定
するバッファレシオ指定回路、15は外部記憶装置の制
御を行う制御部、16は上位装置11と外部記憶装置を接
続するバスである。図5における動作を説明する。上位
装置11は読み出すデータの格納された先頭ブロックアド
レスを、データ転送時のバッファレシオと共に指定す
る。外部記憶装置はバッファレシオをバッファレシオ指
定回路14に、アドレスをアドレスレジスタ17に格納す
る。外部記憶装置の制御部15は指定されたデータブロッ
クを順次ディスク媒体13から読み出しバッファメモリ12
に蓄積する。指定されたバッファレシオになるまでデー
タがバッファメモリ12に蓄積されると制御部15は上位装
置11にデータ転送のための割り込みを通知し、割り込み
の確認応答の後データ転送を開始する。
FIG. 5 is a block diagram of a conventional zone bit recording type external storage device. In the figure,
Reference numeral 11 is a host device which issues a write / read command to an external storage device, 12 is a buffer memory for temporarily storing data read from the medium, 13 is a disk medium for recording data, 1
Reference numeral 4 is a buffer ratio designating circuit that designates the overall ratio of the amount of data stored in the buffer memory, 15 is a control unit that controls the external storage device, and 16 is a bus that connects the host device 11 and the external storage device. The operation in FIG. 5 will be described. The higher-level device 11 specifies the head block address in which the data to be read is stored together with the buffer ratio at the time of data transfer. The external storage device stores the buffer ratio in the buffer ratio designating circuit 14 and the address in the address register 17. The control unit 15 of the external storage device sequentially reads the designated data blocks from the disk medium 13 and the buffer memory 12
Accumulate in. When the data is accumulated in the buffer memory 12 until the designated buffer ratio is reached, the control unit 15 notifies the host device 11 of an interrupt for data transfer, and after the acknowledgment of the interrupt, starts the data transfer.

【0005】図4は従来のゾーン・ビット・レコーディ
ング方式の磁気ディスク装置とのインタフェースのタイ
ムチャートである。ディスク媒体の外側では単位角度当
たりのビット数が多くすることが出来るため、ビットレ
ートが高く、内側ではビットレートが低くなる。そこで
媒体の記録領域を外側ゾーンと内側ゾーンに分割して各
々記録密度を変える。図の(A) は外側の媒体からの読出
の波形であり、(B) は内側の読出波形である。このビッ
トレートでデータは媒体から読み出されてバッファメモ
リに格納される。バッファレシオは読み出し時にはバッ
ファメモリに蓄えられたデータのフル(FULL)の量が指定
されるため、バッファフルレシオ(Buffer Full Rait
o)と呼ばれ、書込み時には、バッファメモリの上位装
置からの転送データを入れるための空き領域の量を指定
するためバッファエンプテイレシオ(Buffer Empty Rat
io)と呼ばれる。
FIG. 4 is a time chart of an interface with a conventional zone bit recording type magnetic disk device. Since the number of bits per unit angle can be increased outside the disk medium, the bit rate is high, and inside the disk medium, the bit rate is low. Therefore, the recording area of the medium is divided into an outer zone and an inner zone to change the recording density. In the figure, (A) is the waveform of reading from the outer medium, and (B) is the inner reading waveform. Data is read from the medium and stored in the buffer memory at this bit rate. When reading, the buffer ratio specifies the full amount of data stored in the buffer memory, so the buffer full ratio (Buffer Full Rait
The buffer empty ratio (Buffer Empty Rat) is used to specify the amount of free space to store the transfer data from the host device in the buffer memory when writing.
io) is called.

【0006】バッファレシオはバッファメモリに2ブロ
ック入ったらデータ転送を始めるように設定してある。
外側のゾーンでは媒体からの読出のビットレートの方が
上位装置とのデータ転送のビットレートより速いので上
位装置とのデータ転送は中断することなく全部転送する
ことができる。図の(C) はこの時のデータ転送のタイム
チャートである。
The buffer ratio is set so that data transfer is started when two blocks enter the buffer memory.
In the outer zone, the bit rate of reading from the medium is faster than the bit rate of data transfer with the host device, so that the data transfer with the host device can be completely transferred without interruption. (C) of the figure is a time chart of data transfer at this time.

【0007】しかし、内側のゾーンでは、媒体からの読
出のビットレートの方が上位装置とのデータ転送のビッ
トレートより遅いので上位装置とのデータ転送は途中で
転送すべきデータがバッファメモリになくなるので中断
し、再度バッファメモリに2ブロック入った後転送を再
開する。図の(D) はこの時のデータ転送のタイムチャー
トである。このように一旦中断すると再度バス使用のた
め割り込みを通知してその処理を行うので余計な処理時
間を要し、バスの使用効率が低下する。従って、データ
転送は中断することなく必要なデータは全部転送するこ
とがバスの使用効率からみて望ましい。
However, in the inner zone, the bit rate of reading from the medium is slower than the bit rate of data transfer with the host device, so that data to be transferred with the host device is not stored in the buffer memory during data transfer with the host device. Therefore, the processing is interrupted, and the transfer is restarted after the second block is entered in the buffer memory again. (D) of the figure is a time chart of data transfer at this time. In this way, once interrupted, an interrupt is notified again to use the bus and the processing is performed, so extra processing time is required and the bus usage efficiency decreases. Therefore, it is desirable from the viewpoint of bus usage efficiency to transfer all necessary data without interruption of data transfer.

【0008】[0008]

【発明が解決しようとする課題】上記の如くゾーン・ビ
ット・レコーディング方式の外部記憶装置では、上位装
置からのバッファレシオの設定は実態と合わないという
問題があった。
As described above, in the zone bit recording type external storage device, there is a problem that the setting of the buffer ratio from the host device does not match the actual condition.

【0009】本発明は,ゾーン・ビット・レコーディン
グ方式を採用している外部記憶装置において, 上位装置
の指定によるバッファレシオの値に関係なく, 上位装置
からのアクセス位置からいずれのゾーンかを判別し,外
部記憶装置内部でバッファレシオの値を変更し, バス使
用効率を向上させる手段を提供することを目的とする。
According to the present invention, in an external storage device adopting the zone bit recording method, which zone is determined from the access position from the host device regardless of the buffer ratio value designated by the host device. The purpose is to provide a means to improve the bus usage efficiency by changing the buffer ratio value inside the external storage device.

【0010】[0010]

【課題を解決するための手段】上記の課題は下記の如く
に構成されたバッファレシオの最適化方法によって解決
される。図1は、本発明の原理図である。
The above-mentioned problems can be solved by a buffer ratio optimizing method configured as follows. FIG. 1 is a principle diagram of the present invention.

【0011】上位装置11より入出力処理時のバス16占有
時間を制御するためのバッファレシオを指定してアクセ
スする、磁気ディスク媒体13を円周方向に複数ゾーンに
分割してゾーン毎に書込み密度を変化させたゾーン・ビ
ット・レコーディング方式を採用している外部記憶装置
の制御方法であって、該バッファレシオをアクセスされ
たデータが格納されているゾーンに応じて外部記憶装置
内部で変更することにより、データ転送を継続して行う
ように構成する。
The magnetic disk medium 13 is divided into a plurality of zones in the circumferential direction and is accessed by designating a buffer ratio for controlling the occupation time of the bus 16 at the time of input / output processing from the host device 11 and writing density for each zone A method of controlling an external storage device that employs a zone bit recording method in which the buffer ratio is changed within the external storage device according to the zone in which the accessed data is stored. Thus, the data transfer is continuously performed.

【0012】[0012]

【作用】バッファレシオをアクセスされたデータが格納
されているゾーンに応じて外部記憶装置内部で変更する
ことにより、データ転送を継続して行う。
The data transfer is continued by changing the buffer ratio inside the external storage device according to the zone in which the accessed data is stored.

【0013】[0013]

【実施例】図2は本発明の実施例の構成図である。図に
おいて、17はアクセスすべきデータブロックのディス
ク上の位置を指定するアドレスレジスタであり、その
他、図5と同一符号の物は同一物である。
FIG. 2 is a block diagram of an embodiment of the present invention. In the figure, numeral 17 is an address register for designating the position on the disk of a data block to be accessed, and other elements having the same reference numerals as those in FIG.

【0014】図2における動作を説明する。上位装置11
は読み出すデータの格納された先頭ブロックアドレス
を、データ転送時のバッファレシオと共に指定する。外
部記憶装置はバッファレシオをバッファレシオ指定回路
14に、アドレスをアドレスレジスタ17に格納する。外部
記憶装置の制御部15は指定されたアドレスレジスタ17を
みて、内側ゾーンか、外側ゾーンかを判定して各々のデ
ィスク媒体13からのデータ転送速度とバスのデータ転送
速度と全体のデータ転送量からバッファレシオを決定し
てバッファレシオ指定回路14にその値を設定する。その
後、外部記憶装置の制御部15は指定されたデータブロッ
クを順次ディスク媒体13から読み出しバッファメモリ12
に蓄積する。設定されたバッファレシオになるまでデー
タがバッファメモリ12に蓄積されると制御部15は上位装
置11にデータ転送のための割り込みを通知し、割り込み
の確認応答の後データ転送を開始する。
The operation in FIG. 2 will be described. Host device 11
Specifies the start block address where the data to be read is stored together with the buffer ratio at the time of data transfer. The external storage device has a buffer ratio designating circuit.
In 14, the address is stored in the address register 17. The control unit 15 of the external storage device looks at the designated address register 17, determines whether it is the inner zone or the outer zone, and determines the data transfer rate from each disk medium 13, the bus data transfer rate, and the total data transfer rate. The buffer ratio is determined from and the value is set in the buffer ratio designating circuit 14. After that, the control unit 15 of the external storage device sequentially reads the specified data blocks from the disk medium 13 and the buffer memory 12
Accumulate in. When the data is accumulated in the buffer memory 12 until the set buffer ratio is reached, the control unit 15 notifies the host device 11 of an interrupt for data transfer, and starts data transfer after the acknowledgment of the interrupt.

【0015】図3は本発明の実施例のゾーン・ビット・
レコーディング方式の磁気ディスク装置とのインタフェ
ースのタイムチャートである。図3の(E) は外側ゾーン
の場合のタイムチャートである。(A) は図4と同一で媒
体からの読み出しタイムチャートである。ここではバス
のデータ転送速度は媒体からのデータ転送速度より遅い
ので、バッファメモリ12には最低量の1ブロック蓄積さ
れたら直ちにデータ転送を開始して中断なく8ブロック
転送している。図3の(F) は内側ゾーンの場合であり、
(B) は図4と同一で媒体からの読み出しタイムチャート
である。内側では媒体からのデータ転送速度はバスのデ
ータ転送速度より遅いので、8ブロック転送するために
はバッファメモリ12には3ブロック蓄積しておき、デー
タ転送を開始することによって中断なく8ブロック転送
することができる。
FIG. 3 shows a zone bit of the embodiment of the present invention.
3 is a time chart of an interface with a recording type magnetic disk device. FIG. 3 (E) is a time chart in the case of the outer zone. (A) is a time chart for reading from the medium, which is the same as FIG. Here, since the data transfer rate of the bus is slower than the data transfer rate from the medium, the data transfer is started immediately after the minimum amount of one block is accumulated in the buffer memory 12, and eight blocks are transferred without interruption. Figure 3 (F) is for the inner zone,
4B is a time chart for reading from the medium, which is the same as FIG. Since the data transfer rate from the medium is slower than the data transfer rate of the bus on the inside, 3 blocks are stored in the buffer memory 12 in order to transfer 8 blocks, and 8 blocks are transferred without interruption by starting the data transfer. be able to.

【0016】このように媒体からのデータ転送速度がバ
スのデータ転送速度より遅いときは2つのデータ転送速
度と全体のデータ転送量から中断をしないで転送を行う
ための最低のバッファメモリの蓄積量が定まる。
Thus, when the data transfer rate from the medium is slower than the data transfer rate of the bus, the minimum storage amount of the buffer memory for performing the transfer without interruption from the two data transfer rates and the total data transfer rate. Is determined.

【0017】そこで、このような決定を上位装置からの
データ転送の指示のたびに判定してバッファレシオを変
更すればバスの使用効率が向上する。
Therefore, if such a determination is made every time a data transfer instruction is given from the host device and the buffer ratio is changed, the bus usage efficiency is improved.

【0018】[0018]

【発明の効果】以上説明したように,本発明によれば,
ゾーン・ビット・レコーディング方式を採用している外
部記憶装置において, 上位装置からのアクセス位置(ゾ
ーン)よりバッファレシオの値を外部記憶装置内部で変
更することにより,バス利用効率の向上を図ることがで
きる。
As described above, according to the present invention,
In an external storage device that uses the zone bit recording method, it is possible to improve bus utilization efficiency by changing the buffer ratio value inside the external storage device from the access position (zone) from the host device. it can.

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

【図1】 本発明の原理図FIG. 1 is a principle diagram of the present invention.

【図2】 本発明の実施例の構成図FIG. 2 is a configuration diagram of an embodiment of the present invention.

【図3】 本発明の実施例の動作を表すタイムチャートFIG. 3 is a time chart showing the operation of the embodiment of the present invention.

【図4】 従来の動作を表すタイムチャートFIG. 4 is a time chart showing a conventional operation.

【図5】 従来のゾーン・ビット・レコーディングの外
部記憶装置の構成図
FIG. 5 is a block diagram of a conventional external storage device for zone bit recording.

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

11 上位装置 12 バッファメモ
リ 13 ディスク媒体 14 バッファレシ
オ指定回路 15 制御部 16 バス 17 アドレスレジスタ 20 ゾーン判定回
11 host device 12 buffer memory 13 disk medium 14 buffer ratio designation circuit 15 control unit 16 bus 17 address register 20 zone determination circuit

Claims (1)

【特許請求の範囲】 【請求項1】 上位装置(11)より入出力処理時のバス(1
6)占有時間を制御するためのバッファレシオを指定する
バッファレシオ指定回路(14)を設定してアクセスする、
磁気ディスク媒体(13)を円周方向に複数ゾーンに分割し
てゾーン毎に書込み密度を変化させたゾーン・ビット・
レコーディング方式を採用している外部記憶装置の制御
方法であって、 該バッファレシオをアクセスされたデータが格納されて
いるゾーンに応じて外部記憶装置内部で変更することに
より、 データ転送を継続して行うことを特徴とするバッファレ
シオの最適化方法。
What is claimed is: 1. A bus (1) for input / output processing from a host device (11).
6) Access by setting the buffer ratio designating circuit (14) that designates the buffer ratio for controlling the occupation time,
A zone bit that divides the magnetic disk medium (13) into multiple zones in the circumferential direction and changes the write density for each zone.
A method for controlling an external storage device that employs a recording method, wherein data transfer is continued by changing the buffer ratio inside the external storage device according to the zone in which the accessed data is stored. A method for optimizing a buffer ratio, which is characterized by:
JP18498291A 1991-07-25 1991-07-25 How to optimize buffer ratio Expired - Fee Related JP2897470B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18498291A JP2897470B2 (en) 1991-07-25 1991-07-25 How to optimize buffer ratio

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18498291A JP2897470B2 (en) 1991-07-25 1991-07-25 How to optimize buffer ratio

Publications (2)

Publication Number Publication Date
JPH0527913A true JPH0527913A (en) 1993-02-05
JP2897470B2 JP2897470B2 (en) 1999-05-31

Family

ID=16162732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18498291A Expired - Fee Related JP2897470B2 (en) 1991-07-25 1991-07-25 How to optimize buffer ratio

Country Status (1)

Country Link
JP (1) JP2897470B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5873125A (en) * 1994-03-29 1999-02-16 Fujitsu Limited Logical address structure for disk memories

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5873125A (en) * 1994-03-29 1999-02-16 Fujitsu Limited Logical address structure for disk memories

Also Published As

Publication number Publication date
JP2897470B2 (en) 1999-05-31

Similar Documents

Publication Publication Date Title
US5412612A (en) Semiconductor storage apparatus
US5625840A (en) Programmable external storage control apparatus
US4811280A (en) Dual mode disk controller
JPH0877066A (en) Flash memory controller
US4910614A (en) Disk controller for a plurality of magnetic disk drives
JPH07104817B2 (en) Data record transfer method
WO2006051780A1 (en) Nonvolatile memory device for matching memory controllers of different numbers of banks to be simultaneously accessed
US5519499A (en) Image processing apparatus for storing and reading out image data
US7069409B2 (en) System for addressing a data storage unit used in a computer
JPS5832417B2 (en) Data transfer control method
JPH05197619A (en) Memory control circuit for multi-cpu
JP2897470B2 (en) How to optimize buffer ratio
JPS6232494B2 (en)
US6745300B1 (en) Magnetic disk device and disk access method therefor
JP2510662B2 (en) Data recording control method
JPH0817171A (en) Method and apparatus for disc control
EP0108651A2 (en) Dynamic addressing for variable track length cache memory
JPH0792734B2 (en) Memory device
US7111122B2 (en) Access circuit with various access data units
JPH076093A (en) Storage controller
JPH0143332B2 (en)
JP2852935B2 (en) Information playback device
JPH0991881A (en) Magnetic disk device
JPS63255888A (en) File device
JPS6331808B2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990209

LAPS Cancellation because of no payment of annual fees