JPH0442320A - File data transfer device - Google Patents
File data transfer deviceInfo
- Publication number
- JPH0442320A JPH0442320A JP14873290A JP14873290A JPH0442320A JP H0442320 A JPH0442320 A JP H0442320A JP 14873290 A JP14873290 A JP 14873290A JP 14873290 A JP14873290 A JP 14873290A JP H0442320 A JPH0442320 A JP H0442320A
- Authority
- JP
- Japan
- Prior art keywords
- cpu
- register group
- file
- hdd
- data
- 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
Links
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、パーソナルコンピュータ、ワークステーショ
ンなどにおけるファイルデータの転送方法、及びその装
置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method and apparatus for transferring file data in a personal computer, workstation, etc.
従来のI S A (Industry 5tanda
rd Architecture)−ATババス有する
パーソナルコンピュータ。Conventional ISA (Industry 5tanda)
rd Architecture) - A personal computer with an AT Babasu.
ワークステーションなどでは、ハードディスクからデー
タをリードしたり、ハードディスクへデータを書き込む
ときのデータ転送処理を、パーソナルコンピュータ、ワ
ークステーションなど上のメインCPUが行なっている
。例えば、IBffiPC/ AT Technic
al Reference、 AT用HDDDRR04
0C製品仕様書を参照されたい。In workstations and the like, a main CPU on a personal computer, workstation, etc. performs data transfer processing when reading data from a hard disk or writing data to a hard disk. For example, IBffiPC/AT Technic
al Reference, HDDDRR04 for AT
Please refer to the 0C product specifications.
その−例として、ハードディスクを装備したパーソナル
コンピュータのシステム構成を第4図に示す。As an example, the system configuration of a personal computer equipped with a hard disk is shown in FIG.
同図のパーソナルコンピュータ40で使用されるハード
ディスク(HDD)46は、AT用HDDDRRO40
Cm品仕様書15項記載のように、データ転送用インタ
フェースとして、データバスの他にチップセレクト信号
(C8O,C3l)アドレス(Ao−A2)、リートタ
イミング制御信号(IOR)、ライトタイミング(IO
W)がある。A hard disk (HDD) 46 used in the personal computer 40 in the figure is an AT HDDDRRO 40.
As described in item 15 of the Cm product specifications, in addition to the data bus, chip select signals (C8O, C3l), address (Ao-A2), read timing control signal (IOR), write timing (IO
There is W).
従って、この構成においては、パーソナルコンピュータ
40とHDD46を接続するため、アドレスをデコード
′してHD D用CS○、C81信号を生成するだけの
アドレスデコーダ471を有するHDDアダプタ47が
付加されたシステム構成となっている。Therefore, in this configuration, in order to connect the personal computer 40 and the HDD 46, a system configuration in which an HDD adapter 47 is added which has an address decoder 471 that only decodes the address and generates the HDD CS○ and C81 signals is added. It becomes.
この構成において、HDD46に対しメインCPU41
が複数セクタ分のデータをり−1(/ライトするとき、
メインCPU41は、まずオペレーティングシステムか
らのデータの論理アドレスから、HDD46用の物理ア
ドレスを算出し、その物理アドレスを付加したコマンド
をHDD46に送出し、HDD46側のデータ転送の準
備完了を待つ。In this configuration, the main CPU 41
When writing data for multiple sectors by 1 (/),
The main CPU 41 first calculates a physical address for the HDD 46 from the logical address of data from the operating system, sends a command with the physical address added to the HDD 46, and waits for the HDD 46 to complete preparations for data transfer.
その後、メインCPU41はデータ転送の準備完了をH
DD46からの割込信号(IRQ)により検知すると、
インプラ1へ・ストリング命令(工nputStrin
g In5truction)又はアウトプット・スト
リング命令(Output String In5tr
uction)を実行して、自からメインメモリ4l−
HDD46間のデ′−タ転送を行なう。1セクタのデー
タ転送が終了すると、毎回HDD46からの割込が発生
し、メインCP U41は割込処理を行なった後、再度
次セクタのデータ転送を実行する。上記処理を指定セク
タ数分繰り返し行なっていた。After that, the main CPU 41 indicates the completion of data transfer by H.
When detected by the interrupt signal (IRQ) from DD46,
To implant 1 - String instruction (EnputStrin)
g In5truction) or Output String In5tr
uction), and the main memory 4l- is executed.
Data is transferred between HDDs 46. When the data transfer of one sector is completed, an interrupt is generated from the HDD 46 every time, and the main CPU 41 performs the interrupt processing and then executes the data transfer of the next sector again. The above process was repeated for the specified number of sectors.
上記従来技術は、HDDに対し複数セクタをリード/ラ
イトするときのメインCPUの負担の大きさについて配
慮がされておらず、HDDの処理より優先順位の高い、
通信などのI10処理が重なって発生した場合、メイン
CPUのHDDに対する処理が中断する。そして、再開
するときには、HDDの回転待ちのためHDDとのデー
タ転送の再開が最大16.7m5ecも遅れ、パーソナ
ルコンピュータのI−I D Dをアクセスするときの
性能が1/2以下に劣化してしまう問題があった。The above-mentioned conventional technology does not take into consideration the burden on the main CPU when reading/writing multiple sectors to/from the HDD, and has a higher priority than HDD processing.
If I10 processing such as communication occurs at the same time, the main CPU's processing for the HDD is interrupted. When restarting, the restart of data transfer with the HDD was delayed by up to 16.7 m5ec due to waiting for the HDD to rotate, and the performance when accessing the I-I D of the personal computer deteriorated to less than half. There was a problem with it.
本発明の目的は、上記従来のパーソナルコンピュータ、
ワークステーションなどで使用されているH D Dを
用いたシステムにおいて、上記パーソナルコンピュータ
、ワークステーションなどのHDDをアクセスするとき
の性能劣化を防ぐことにある。又、本発明の更なる目的
は、メインCPUの処理の負担を軽くし、パーソナルコ
ンピュータ。The object of the present invention is to provide the above-mentioned conventional personal computer,
The object of the present invention is to prevent performance deterioration when accessing the HDD of the personal computer, workstation, etc. in a system using an HDD used in a workstation or the like. A further object of the present invention is to reduce the processing load on the main CPU and to improve the performance of a personal computer.
ワークステーションなとがHDDをアクセスしていると
きでも、メインCPUは他の■/○処理を実行できるシ
ステムを提供することにある。The purpose of this system is to provide a system in which the main CPU can execute other ■/○ processes even when a workstation is accessing the HDD.
[課題を解決するための手段〕
上記目的を達成するために、本発明においては、ファイ
ルアクセラレータを用意し、そのファイルアクセラレー
タを、内部にメインC,PUの負担を軽くすると共に、
ディスクキャッシュ機能を実現するCPUと、HDDア
クセス時の性能劣化を防ぐため、HDD−メインメモリ
間のデータ転送を高速に行なわせるDirect Me
mory Access Contro−11er(D
MAC)と、そのときのバスをコントロ−ルを行なうバ
スコントロール手段と、少なくともHDD内の制御レジ
スタ群と等価なレジスタ群を有する。[Means for Solving the Problems] In order to achieve the above object, in the present invention, a file accelerator is provided, and the load on the main C and PU is reduced within the file accelerator, and
A CPU that realizes the disk cache function, and Direct Me that allows high-speed data transfer between the HDD and main memory to prevent performance deterioration when accessing the HDD.
mory Access Control-11er (D
MAC), bus control means for controlling the bus at that time, and at least a register group equivalent to the control register group in the HDD.
以下本発明の一実施例を第1図、第2図、第3図により
説明する。An embodiment of the present invention will be described below with reference to FIGS. 1, 2, and 3.
本発明のファイルアクセラレータ5は、第2図に示すよ
うに、メインCPUI、メインメモリ2などのHO8T
側とHD D 6との間に位置し、両者間のコマンドス
テータスなどの情報転送やメインメモリ2とHDDB間
のデータ転送を制御する。The file accelerator 5 of the present invention, as shown in FIG.
It is located between the main memory 2 and the HDD 6, and controls information transfer such as command status between the two and data transfer between the main memory 2 and the HDDB.
第1図にファイルアクセラレータ5の内部構成の一実施
例を示す。本実施例において、ファイルアクセラレータ
5は、CP U51.ダイレクト・メモリーアクセス−
コントローラ(DMAC)7゜バスコントローラ8.H
DD内の制御レジスタ群と等価なレジスタ群9.レジス
タ群10からなる。FIG. 1 shows an example of the internal configuration of the file accelerator 5. As shown in FIG. In this embodiment, the file accelerator 5 is a CPU 51. Direct memory access
Controller (DMAC) 7° bus controller 8. H
Register group equivalent to control register group in DD9. It consists of a register group 10.
同図において、CPU51は、レジスタ群10内の情報
と、HDDe内のバッファメモリを利用してディスクキ
ャッシュ機能を実現したり、1セクタリード又はライト
毎に発生するHDD6からの割込信号IRQ2に応答し
て割込処理を実行し、コマンド実行後の最終結果をレジ
スタ群9のステータスレジスタにセットする。それによ
って、メインCPUIの負荷を軽くすると同時にディス
クキャッシュ機能実現によりI−I D Dアクセス性
能を向上させる。In the figure, the CPU 51 realizes a disk cache function by using information in the register group 10 and the buffer memory in the HDDe, and responds to an interrupt signal IRQ2 from the HDD 6 that is generated every time one sector is read or written. interrupt processing is executed, and the final result after command execution is set in the status register of register group 9. This reduces the load on the main CPU, and at the same time improves I-IDD access performance by realizing a disk cache function.
またDMAC7は、HDD6−メインメモリ2間のデー
タ転送を、HD D e内の読出しまたは書込み速度よ
りも高速にかつ中断することなく行なわせることで、−
旦上記データ転送中においてHDD6の回転待ちの発生
を防ぐことができる。それによって、HDDアクセス性
能劣化を防ぐことができる。In addition, the DMAC 7 allows data transfer between the HDD 6 and the main memory 2 to be performed at a higher speed than the reading or writing speed in the HDD e without interruption.
It is possible to prevent the HDD 6 from having to wait for rotation during the data transfer. Thereby, HDD access performance deterioration can be prevented.
またレジスタ群9 (R,N00O〜9)は、メインC
PUIからリードでき、またファイルアクセラレータ5
内のCPU51からライトでき、その各レジスタの内容
は第5図に示す通りである。またレジスタ群10 (R
,No、O〜9)は、メインCPUIからライ1〜てき
、またCPU51からり−゛ 8 ゛
ドでき、その各レジスタの内容は、第6図に示す通りで
ある。本実施例において、上記レジスタ群9及びレジス
タ群10は、HDD51の内部にあるレジスタ群と、そ
の内容が同一のものである。Also, register group 9 (R, N000~9) is the main C
Can be read from PUI, and file accelerator 5
The contents of each register are as shown in FIG. Also, register group 10 (R
, No., O-9) can be read from the main CPU 1 and read from the CPU 51, and the contents of each register are as shown in FIG. In this embodiment, the register group 9 and the register group 10 have the same contents as the register group inside the HDD 51.
またバスコントローラ8は、第3図に示すように、メイ
ンCPUIから、レジスタ群10と、HDDG内のコマ
ンド(Command)レジスタを除く内部レジスタと
への情報転送時は、データバスの切換え及び転送制御信
号AO,At、A2.C8O。Furthermore, as shown in FIG. 3, the bus controller 8 controls data bus switching and transfer when information is transferred from the main CPUI to the register group 10 and internal registers other than the command register in the HDDG. Signals AO, At, A2. C8O.
C8I、l0WD、WEB、RC8O〜RC,S9を出
力し、メインCPUIからの情報をレジスタ群10とH
DD6の内部レジスタへ同時に書き込ませる。これによ
って本実施例のファイルアクセラレータ5を使用したフ
ァイル転送システムにおいては、メインCPUIからH
D D 6への情報転送をすばやく行なわせることがで
きる。Outputs C8I, l0WD, WEB, RC8O to RC, S9, and sends information from the main CPUI to register group 10 and H
Write simultaneously to the internal registers of DD6. As a result, in the file transfer system using the file accelerator 5 of this embodiment, H
Information can be quickly transferred to the DD6.
またレジスタ群9からメインCPUIへの情報転送時は
、データバスの切換えと転送制御信号RDA、とC8A
O−C8A9を出力する。Also, when transferring information from register group 9 to main CPUI, data bus switching and transfer control signals RDA and C8A
Output O-C8A9.
またC P U51がレジスタ群9,10に対しリード
/ライト動作を行なうときはバスコントローラ8がデー
タバスBとデータバスAを接続し、転送制御信号C8A
O−CSA9.!:RDB (L/ジ、1群10のリー
ド時)、又はWEA(レジスタ群9ライI〜時)を出力
する。Furthermore, when the CPU 51 performs a read/write operation on the register groups 9 and 10, the bus controller 8 connects the data bus B and the data bus A, and transmits the transfer control signal C8A.
O-CSA9. ! :Outputs RDB (when reading L/DI, 1st group 10) or WEA (when reading register group 9, I~).
またCPU51がHD D 6の内部レジスタをアクセ
スするときは、バスコントローラ8がデータバスBとデ
ータバスを接続し、転送制御信号としてAO〜A2.C
8O,C8I l0WD (ライト時)又はl0RD
(リード時)を出力する。Further, when the CPU 51 accesses the internal register of the HDD 6, the bus controller 8 connects the data bus B and the data bus, and sends AO to A2. as transfer control signals. C
8O, C8I l0WD (when writing) or l0RD
(when reading) is output.
これによってCPU51はレジスタ群10のコマンドレ
ジスタ(R,No、7)の内容をHDDB内の同等レジ
スタに書き込んだり、HDDe内のレジスタ群9と同等
のレジスタからその内容をリードし、レジスタ群9にセ
ットすることができる。As a result, the CPU 51 writes the contents of the command register (R, No., 7) of the register group 10 to the equivalent register in the HDDB, reads the contents from the register equivalent to the register group 9 in the HDDe, and writes the contents to the register group 9. Can be set.
さて、第2図において、メインCPU1がHDD6に対
しライト動作を行なわせる時は、メインCPU1は、ラ
イト・プリコンペ・インフォメーション(Write
Precomp Information) 、データ
量を示すセクタ・カウント(Sector Count
) 、先頭データのディスク上での位置を示すセクタ・
ナンバ(Sector Number)シリンダ・ロウ
(CylinderLow )シリンダ・ハイ(Cyl
inder High) 、ドライブ/ヘッド(Dri
ve/Head )アドレスなどのコマンドパラメータ
情報をデータバスを介して、アドレス上に指定アドレス
を出力しIOW信号を出力することにより、前記情報を
第1図に示すファイルアクセラレータ5内のレジスタ群
IOに書き込む。Now, in FIG. 2, when the main CPU 1 causes the HDD 6 to perform a write operation, the main CPU 1 sends write pre-competition information (Write
Precomp Information), Sector Count indicating the amount of data
), a sector indicating the location of the first data on the disk.
Number (Sector Number) Cylinder Low (Cylinder Low) Cylinder High (Cyl
inter High), drive/head (Dri
By outputting command parameter information such as ve/Head) address on the address via the data bus and outputting the IOW signal, the information is transferred to the register group IO in the file accelerator 5 shown in FIG. Write.
ただしこのときまでにCPU51は、第3図に示すセレ
クタ11のコン1〜ロース信号CPUB/HO8Tを出
力してデコーダ12の入力をメインCPU1からのアド
レスとなるよう設定し、またマルチプレクサ13のコン
トロールイ言号HO8T/REGを出力してデータバス
BをデータAに接続させ、マルチプレクサ13とデータ
バスを非接続の状態に設定しておくものとする。However, by this time, the CPU 51 has outputted the control signal CPUB/HO8T of the selector 11 shown in FIG. It is assumed that the word HO8T/REG is output to connect the data bus B to the data A, and the multiplexer 13 and the data bus are set in a disconnected state.
前記コマンドパラメータ情報がレジスタ群10に書き込
まれる時、バスコントローラ8はレジスタ群10に対し
、C3A0〜C3A9をデコーダ12から出力し、また
WEBを出力する。これと同時にHDD6に対し、メイ
ンCPU1からのアドレスの下位3 bitのアドレス
AO−A2をセレクタ11を介してゲー1〜15〜16
から出力し、デコーダ12及びゲーI〜18からHD
D 6の内部レジスタのチップセレクト信号C8O,C
8I信号を出力し、又メインCPUIからのIOWがグ
ー1−19.ゲート20を介してl0WDに出力される
。When the command parameter information is written to the register group 10, the bus controller 8 outputs C3A0 to C3A9 from the decoder 12 and also outputs WEB to the register group 10. At the same time, the address AO-A2 of the lower 3 bits of the address from the main CPU 1 is sent to the HDD 6 via the selector 11 for games 1 to 15 to 16.
output from the decoder 12 and game I~18
D6 internal register chip select signal C8O,C
8I signal is output, and the IOW from the main CPUI is 1-19. It is output to l0WD via gate 20.
従って前記コマンドパラメータ情報は、データバスを介
してレジスタ群10に書き込まれると同時に、HDDS
内の内部レジスタに書き込まれる。Therefore, the command parameter information is written to the register group 10 via the data bus, and at the same time the command parameter information is written to the HDDS.
is written to an internal register within the
次にメインCPUIは、コマンドパラメータ情報のとき
と同様に、指定アドレスを出力して、ライト・セクタ(
Write 5ectors)コマンドをレジスタ群l
O内のコマンド(Command )レジスタに書き込
む。Next, the main CPUI outputs the specified address and writes the write sector (as in the case of command parameter information).
Write 5ectors) command to register group l
Write to the command register in O.
ことのときデコーダ12は、コマンド(Command
)レジスタ選択信号をゲー1〜14とゲート22に出力
し、ゲート22の出力がHDD6に対する■○WD信号
をマスクし、ゲート14がCP U51に対し起動信号
IRQIを出力する。At this time, the decoder 12 outputs a command (Command
) A register selection signal is output to gates 1 to 14 and gate 22, the output of gate 22 masks the ■○WD signal for HDD 6, and gate 14 outputs an activation signal IRQI to CPU 51.
CPU51は、前記起動信号を検出すると以下の処理を
行なう。When the CPU 51 detects the activation signal, it performs the following processing.
CPUB/HOST信号を変更してデコーダ12への入
力をCP U51からのアドレスバスBとし、次にレジ
スタ群10の各レジスタの内容を読みとる。The CPUB/HOST signal is changed so that the input to the decoder 12 is the address bus B from the CPU 51, and then the contents of each register in the register group 10 are read.
次にレジスタ群10のコマンド(Command)レジ
スタの内容が、ディスクへのライ1〜・セクタ(υri
teSectors)命令であることを確認したら、H
O8T/REG信号を変えて、データバスBをデータバ
スに接続させる。その後前記ライl〜・セクタ(Wri
te 5ectors)命令をHDD6に対し、データ
バスを介して書き込む。Next, the contents of the command register in register group 10 are set to write to the disk in sectors 1 to υri.
After confirming that it is a teSectors) instruction, select H
Change the O8T/REG signal to connect data bus B to the data bus. After that, the write sector (Wri)
te 5ectors) command is written to the HDD 6 via the data bus.
このときパスコン1〜ローラ8はCPU23からのアド
レス、WEなどの入力を基にHDD6に対し、ゲート1
5〜16から、アドレスAO−A2を、ゲー1へ18、
デコーダ12からC8O,’C,S1を、ゲー1−20
からl0WDなどの制御信号を出力する。その核、HO
8T/REGを変えて、データバスBとデータバスの接
続を切る。At this time, bypass capacitors 1 to rollers 8 send gate 1 to HDD 6 based on the address, WE, etc. input from CPU 23.
From 5 to 16, address AO-A2 to game 1 18,
C8O, 'C, S1 from decoder 12, game 1-20
A control signal such as 10WD is output from the terminal. The core, HO
Change 8T/REG and disconnect data bus B and data bus.
前記コマンドパラメータのセクタナンバ(Sect−o
r Number) 、セクタ0カウント(Cecto
r Count)から転送できるデータ数を算出し、1
セクタのデータ数をデータバスBを介して、DC8,W
Eなとの転送制御信号によって、DMAC7にセットす
る。The sector number (Sect-o) of the command parameter
r Number), sector 0 count (Cecto
Calculate the number of data that can be transferred from
DC8, W
It is set in DMAC7 by the transfer control signal E.
次にHDD6からの転送要求割込信号IRQ2がアクテ
ィブであることを検知したらDMAC7に対し転送起動
信号DREQを出力する。Next, when it detects that the transfer request interrupt signal IRQ2 from the HDD 6 is active, it outputs a transfer activation signal DREQ to the DMAC 7.
これによってDMAC7は、メインCPUIに対しデー
タバス使用要求を示すHREQを出力し、その応答信号
HA CKがアクティブになったことを確認後、メイン
メモリへのアドレスとメモリリードタイミングDMRD
とDWR,DACKを出力してメインメモリ2からHD
D6へのデータ転送を開始する。このときバスコントロ
ーラ8は第7図に示すようにDMAC7からのDWR信
号によって■○WDを出力し、またDACK信号によっ
て、C8Oと固定のアドレスAO−A2を出力する。As a result, the DMAC7 outputs HREQ indicating a data bus use request to the main CPUI, and after confirming that the response signal HACK has become active, the DMAC7 outputs the address to the main memory and the memory read timing DMRD.
Outputs DWR, DACK and transfers HD from main memory 2.
Start data transfer to D6. At this time, as shown in FIG. 7, the bus controller 8 outputs ■○WD in response to the DWR signal from the DMAC 7, and outputs C8O and the fixed address AO-A2 in response to the DACK signal.
上記データ転送は、1セクタのデータ数の転送が完了す
るまで繰り返し行なわれる。ただし、メインCP U
lがり−1<・データ(Read Data)レジスタ
又はライ1−・データ(Write Data)レジス
タをアクセスするとき、パスコン1−ローラ8のデコー
ダ12がRCO信号を出力しなければ、従来と同様にメ
インCPUIはHDD6内のリード・データ(Read
Date)レジスタ又はライI−・データ(Writ
e Date)レジスタをアクセスすることができる。The above data transfer is repeated until the transfer of one sector of data is completed. However, the main CPU
When accessing the Read Data register or the Write Data register, if the decoder 12 of the bypass capacitor 1 and roller 8 does not output the RCO signal, the main The CPUI reads the read data in the HDD6.
Date) register or write data (Write) register.
e Date) register can be accessed.
この後、I−I D D 6は、1セクタ転送終了割込
をi RQ 2から出すため、CPU51は、それに検
知するとバスコントローラ8を介して、HD D S内
のステータスを読み込みステータスに対応した割込処理
を実行する。正常であった場合は、CPU51は再度D
MAC7を起動してデータ転送を再開し、上記と同様な
処理を繰り返し実行する。上記処理を、CP U51は
、メインCPUIからの指定のセクタ(Sector)
カラン1へ数分繰り返し実行した後、メインCPUIか
らのコマンドに対する再終結果をレジスタ群9のステー
タスレジスタ(CR1No、9)及びオールタネイト・
スティタス(Alternate 5tatus)レジ
スタ (R,NO,8)にセットし、メインCPUIに
対し、iRQ信号により、コマンド終了割込みを出して
、CPU51の処理は終了する。After this, the I-I D D 6 issues a 1-sector transfer end interrupt from the i RQ 2, so when the CPU 51 detects this, it reads the status in the HD D S via the bus controller 8 and responds to the status. Execute interrupt processing. If it is normal, the CPU 51 returns to D.
The MAC 7 is activated, data transfer is resumed, and the same process as above is repeatedly executed. The CPU 51 performs the above processing in a specified sector from the main CPU
After repeating execution for several minutes to Callan 1, the re-termination result for the command from the main CPUI is sent to the status register (CR1No, 9) of register group 9 and the alternate
The status is set in the Alternate status register (R, NO, 8), a command end interrupt is issued to the main CPU by the iRQ signal, and the processing of the CPU 51 ends.
たたし上記第7図に示すDMAC7による1セクタ分の
データ転送をHD D 6の1セクタ分の回転時間内に
行なわすため、I−I D D 6のライト動作時の回
転待ち時間は発生せず、またメインCPtJ1のバスサ
イクルも確保されるため、メインCPU1は上記HDD
6に対するライ1ル動作実行中にも、通信など他の■/
○処理も実行できる。However, since one sector of data is transferred by the DMAC 7 shown in FIG. 7 above within the rotation time of one sector of the HDD 6, a rotational wait time occurs during the write operation of the I-IDD 6. Since the bus cycle of the main CPtJ1 is also secured, the main CPU1 is connected to the HDD mentioned above.
6, other ■/ such as communication etc.
○ Processing can also be executed.
次にメインCPUIがHDD6に対しリード動作を行な
わせる場合においても、データ転送の方向がHDD6か
らメインメモリ2となるだけで、ファイルアクセラレー
タ5の処理は、基本的にはライト動作時とほぼ同様であ
るが、ただファイルアクセラレータ5が、メインCPU
Iからのリード・セレクタ(Read 5ectors
)命令を受は取ると、CP U 51は、レジスタ群1
0のコマンドパラツー1パ。Next, when the main CPUI performs a read operation on the HDD 6, the direction of data transfer is only from the HDD 6 to the main memory 2, and the processing of the file accelerator 5 is basically almost the same as during the write operation. There is, but only file accelerator 5 is the main CPU
Read selectors from I (Read 5ectors
) When the CPU 51 receives the instruction, the CPU 51 register group 1
0's command para two 1 pa.
夕情報セクタ・カウント(Sector Count)
+セクタ・ナンバ(Sector Number)
yシリンダ・ロウ(Cylinder Lotu) z
シリンダ・ハイ(Cylinderlligh) +
ドライブ/ヘッド(Drive/Head )とcpU
51自身が管理している情報により、HDDS内のデー
タバッファに残っているデータが、メインCPUIの要
求しているデータであることを検知すれば、ディスクキ
ャッシュのヒラ1〜した場合になり、CPU51は、H
DD6に対しリード・バッフy (Read 13uf
fer)コマンドを出し、ヒラl”していなければリー
ド・セクタ(Read 5ectors)コマンドをH
DD6に対し発行する。Evening Information Sector Count
+Sector Number
y Cylinder Lotu z
Cylinderlligh +
Drive/Head and cpU
If the information managed by the CPU 51 itself detects that the data remaining in the data buffer in the HDDS is the data requested by the main CPU, the disk cache is filled up to 1 or more, and the CPU 51 H.
Read 13uf for DD6
fer) command, and if there is no error, issue the read sector (Read 5ectors) command H.
Issued to DD6.
以後のデータ転送の処理は541〜時と同様である。こ
のときもライト時と同様、HDD6の回転待ちが発生せ
ず、またデータ転送中にもメインCPUIが他の工/○
処理を実行することができる。The subsequent data transfer process is the same as from 541 onward. At this time, as in the case of writing, there is no waiting for the HDD 6 to rotate, and even during data transfer, the main CPU
processing can be executed.
さらにリードにおいてCPU6がディスクキャッシュ機
能も実現できるためディスクアクセスの性能も大巾に向
上する。Furthermore, since the CPU 6 can also realize a disk cache function during reading, disk access performance is greatly improved.
本発明によれば、l5A−ATババス有するパーソナル
コンピュータ、ワークステーションなどでのディスクア
クセスにおいて、メインCPUの負担が従来に比べほと
んど無くなるため、上記処理中に通信などの他のI10
処理を行なっても、ディスクアクセス性能は、高速DM
A転送、ディスクキャッシュ機能により従来の性能の3
倍以上向上させる効果がある。According to the present invention, when accessing a disk in a personal computer, workstation, etc. that has an I5A-AT bus, the load on the main CPU is almost reduced compared to the conventional one, so that other I10s such as communication are
Even after processing, the disk access performance is lower than that of high-speed DM.
A transfer and disk cache functions improve performance by 3 times compared to conventional performance.
It has the effect of improving the performance by more than twice as much.
第1図は本発明の一実施例であるファイルアクセラレー
タ構成図。
第2図は本発明のシステム構成の一例を示す図、第3図
は第1図の実施例におけるバスコントローラ8の一具体
的構成図。
第4図は従来のシステム構成図。
第5図は第1図に示す実施例のレジスタ群9の内容の一
実施例を示す図。
第6図は第1図に示す実施例のレジスタ群10の内容の
一実施例を示す図。
第7図は本発明の一実施例のデータ転送タイミングを示
す図である。FIG. 1 is a configuration diagram of a file accelerator that is an embodiment of the present invention. FIG. 2 is a diagram showing an example of the system configuration of the present invention, and FIG. 3 is a specific configuration diagram of the bus controller 8 in the embodiment of FIG. FIG. 4 is a conventional system configuration diagram. FIG. 5 is a diagram showing an example of the contents of the register group 9 in the example shown in FIG. 1. FIG. 6 is a diagram showing one embodiment of the contents of the register group 10 in the embodiment shown in FIG. 1. FIG. 7 is a diagram showing data transfer timing in one embodiment of the present invention.
Claims (1)
ess−ingUnit)を有するコンピュータシステ
ムと該コンピュータシステムに装備されるファイル手段
からなる情報処理装置において、前記システムと前記フ
ァイル手段との間に第2のCPU、ダイレクト・メモリ
・アクセス・コントローラ(DMAC)、バスコントロ
ーラ、レジスタ群からなるファイルアクセラレータを設
け、前記ファイル手段のアクセス性能を向上させたこと
を特徴とするファイルデータの転送装置。 2、前記ファイルアクセラレータは一つの半導体集積回
路からなることを特徴とする請求項1記載の転送装置。 3、前記ファイルアクセラレータ内には外部からアクセ
スできる前記ファイル手段内のレジスタ群と等価なレジ
スタ群を有する請求項2記載の転送装置。 4、請求項3記載の前記レジスタ群と前記ファイル手段
内の前記レジスタ群に対し、コマンドを除くその他の情
報の書き込みを同時に行なわせることを可能にした請求
項3記載の転送装置。 5、前記第2のCPUに前記ファイル手段内のデータバ
ッファをディスクキャッシュメモリとして、ディスクキ
ャッシュ機能を持たせたことを特徴とする請求項1ない
し4記載の転送装置。 6、前記バスコントローラに、前記DMACのデータ転
送中のみ、前記ファイル手段内のデータ転送用前記レジ
スタを選択する信号及び転送タイミング信号を出力させ
ることを特徴とする請求項1ないし4記載の転送装置。 7、前記レジスタ群の一部は前記第1のCPUから書き
込むことができ、前記第2のCPUからは読み出す構成
であり、前記レジスタ群他の部分は、前記第1のCPU
から読み出すことができ、前記CPUからは書き込む構
成を有することを特徴とする第2の請求項1ないし6記
載の転送装置。[Scope of Claims] 1. At least a first CPU (ContralProc
ess-ingUnit) and a file means installed in the computer system, a second CPU and a direct memory access controller (DMAC) are provided between the system and the file means. 1. A file data transfer device characterized in that a file accelerator comprising a bus controller, a register group, and a file accelerator are provided to improve the access performance of the file means. 2. The transfer device according to claim 1, wherein the file accelerator is composed of one semiconductor integrated circuit. 3. The transfer device according to claim 2, wherein the file accelerator includes a register group equivalent to a register group in the file means that can be accessed from the outside. 4. The transfer device according to claim 3, wherein information other than commands can be simultaneously written to the register group according to claim 3 and the register group in the file means. 5. The transfer device according to claim 1, wherein the second CPU has a disk cache function by using a data buffer in the file means as a disk cache memory. 6. The transfer device according to claim 1, wherein the bus controller outputs a signal for selecting the register for data transfer in the file means and a transfer timing signal only during data transfer of the DMAC. . 7. A part of the register group can be written by the first CPU and read by the second CPU, and other parts of the register group can be written by the first CPU.
7. The transfer device according to claim 2, further comprising a configuration in which data can be read from the CPU and written by the CPU.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14873290A JPH0442320A (en) | 1990-06-08 | 1990-06-08 | File data transfer device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14873290A JPH0442320A (en) | 1990-06-08 | 1990-06-08 | File data transfer device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0442320A true JPH0442320A (en) | 1992-02-12 |
Family
ID=15459371
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14873290A Pending JPH0442320A (en) | 1990-06-08 | 1990-06-08 | File data transfer device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0442320A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5875297A (en) * | 1995-03-02 | 1999-02-23 | Matsushita Electric Industrial Co., Ltd. | Multimedia server |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62128323A (en) * | 1985-11-29 | 1987-06-10 | Fuji Electric Co Ltd | Data transfer system in disc control device |
| JPS644851A (en) * | 1987-06-29 | 1989-01-10 | Sanyo Electric Co | Magnetic disk control system |
| JPH0264725A (en) * | 1988-05-06 | 1990-03-05 | Hitachi Ltd | Semiconductor integrated circuit device |
-
1990
- 1990-06-08 JP JP14873290A patent/JPH0442320A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62128323A (en) * | 1985-11-29 | 1987-06-10 | Fuji Electric Co Ltd | Data transfer system in disc control device |
| JPS644851A (en) * | 1987-06-29 | 1989-01-10 | Sanyo Electric Co | Magnetic disk control system |
| JPH0264725A (en) * | 1988-05-06 | 1990-03-05 | Hitachi Ltd | Semiconductor integrated circuit device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5875297A (en) * | 1995-03-02 | 1999-02-23 | Matsushita Electric Industrial Co., Ltd. | Multimedia server |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5426036B2 (en) | MEMORY ACCESS DEVICE FOR MEMORY SHARING OF MULTIPLE PROCESSORS AND ACCESS METHOD | |
| TWI900550B (en) | Buffer optimization for solid-state drive having an integrated circuit and method thereof | |
| KR100909119B1 (en) | Apparatus and Method for High Performance Volatile Disk Drive Memory Access Using Integrated DMA Engine | |
| US5740466A (en) | Flexible processor-driven SCSI controller with buffer memory and local processor memory coupled via separate buses | |
| KR101035225B1 (en) | Controller device and method for improved data transmission | |
| JPH0877066A (en) | Flash memory controller | |
| KR100708128B1 (en) | Nand flash memory control device and method | |
| JPS5943456A (en) | information processing equipment | |
| CN119201822B (en) | A PCIe switch chip with storage and network acceleration functions | |
| KR100638378B1 (en) | System and method for memory structure of disk controller | |
| US12417179B2 (en) | Adaptive system probe action to minimize input/output dirty data transfers | |
| JPH0442320A (en) | File data transfer device | |
| JP3943302B2 (en) | Programmable controller | |
| JP2000105736A (en) | Streaming memory controller for pci bus | |
| JPH02130755A (en) | High-speed disk access controller | |
| JPS61217827A (en) | Data transfer controller | |
| JPS6118032A (en) | external memory controller | |
| JPS61256421A (en) | Initialization system for transfer buffer of auxiliary storage device | |
| JPS59133629A (en) | Dma transfer control system | |
| JP2008257651A (en) | Data transfer control method and apparatus and system thereof | |
| JPH02244350A (en) | Main storage device access system | |
| JPS58159165A (en) | Multi-access bulk control system | |
| JPH0440540A (en) | Border transgressing access processing method for memory | |
| JPS623455B2 (en) | ||
| JPH01194050A (en) | Circuit constitution for dma device |