JPS628251A - Input/output control system - Google Patents
Input/output control systemInfo
- Publication number
- JPS628251A JPS628251A JP60146456A JP14645685A JPS628251A JP S628251 A JPS628251 A JP S628251A JP 60146456 A JP60146456 A JP 60146456A JP 14645685 A JP14645685 A JP 14645685A JP S628251 A JPS628251 A JP S628251A
- Authority
- JP
- Japan
- Prior art keywords
- input
- page
- address
- output control
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 30
- 238000000034 method Methods 0.000 claims description 20
- 230000002401 inhibitory effect Effects 0.000 claims 1
- 230000005764 inhibitory process Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 16
- 230000000694 effects Effects 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、入出力制御方式に関し、特に、仮想記憶シス
テムに於けるDMAデータ転送に於いて主記憶アドレス
がページ単位に不連続であっても、゛高速に主記憶アド
レスを切替え、DMAデータ転送を実行する入出力制御
方式に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an input/output control method, and in particular, in DMA data transfer in a virtual storage system, even if main memory addresses are discontinuous in page units, ``This invention relates to an input/output control method that switches main memory addresses at high speed and executes DMA data transfer.
従来の技術
一般に、マイクロプログラム制御の入出力制御方式は中
央処理装置から出力される指令に応答して動作する。こ
の指令としては書込み命令や読出し命令がある。I10
装置と中央処理装置との間でデータ転送を行う場合には
、中央処理装置から入出力制御装置に指令を送出する。BACKGROUND OF THE INVENTION In general, microprogram controlled input/output control systems operate in response to commands output from a central processing unit. This command includes a write command and a read command. I10
When data is transferred between the device and the central processing unit, the central processing unit sends a command to the input/output control unit.
この指令によつ 二で入出力制御装置では、この指令を
解読してIlo ・:装置に対して必要な指令を送出
し、 DMAデータ転送を制御してデータを転送する。Based on this command, the input/output control device decodes this command, sends the necessary commands to the device, controls DMA data transfer, and transfers the data.
データの転送が終了するとこの旨を中央処理装置K対し
て割込み釦よシ通知する。When the data transfer is completed, this is notified to the central processing unit K by pressing the interrupt button.
次に図面を参照して斯かる動作を説明する。第3図は入
出力制御方式が適用される一般的なデータ処理シ漬テム
のシステム構成図である。第3図に於いて% lは中央
処理装置、コは入出力制御装置、Jは磁気ディスク装置
、 10/はアドレスレジスタ、10コはデータレジ
スタ、 iosはバス制御回路、/allはマイクロ
プロセッサ、10kはROM 、 tot。Next, such an operation will be explained with reference to the drawings. FIG. 3 is a system configuration diagram of a general data processing system to which the input/output control method is applied. In Figure 3, %l is the central processing unit, ko is the input/output control unit, J is the magnetic disk device, 10/ is the address register, 10 is the data register, ios is the bus control circuit, /all is the microprocessor, 10k is ROM, tot.
はRAM、 /17りはデバイス制御回路、 tot
はデータバッファ、10デはアドレスカウンタ、llO
はデータカウンタをそれぞれ示す。is RAM, /17 is device control circuit, tot
is the data buffer, 10de is the address counter, llO
indicate data counters, respectively.
第参図は仮想アドレス空間と実アドレス空間の対比を示
した概念図である。第3図は中央処理装置から入出力制
御装置に対する指令の一般的なチャネルプログラムの概
念図(DMA転送に必要な部分のみを示す)である。第
6図は従来のチャネルプログラムの一例を示す。第を図
は磁気ディスク装置のフォーマットの概念図である。Figure 3 is a conceptual diagram showing the comparison between virtual address space and real address space. FIG. 3 is a conceptual diagram of a general channel program for commands from the central processing unit to the input/output control unit (only the parts necessary for DMA transfer are shown). FIG. 6 shows an example of a conventional channel program. Figure 5 is a conceptual diagram of the format of a magnetic disk device.
従来のDMA転送の動作を第3図、第ダ図、第3図、第
6図及び第3図を参照して説明する。中央処理装置/は
、第ダ図に示すように、第ダ図ωの仮想アドレス空間に
対するデータ転送要求が発生した場合には、第ダ図(b
)に示す様に実アドレス空間の使用可能な領域を調べ割
当てる。このとき、仮想アドレス空間に於いては連続し
た範囲であった主記憶アドレスは実アドレス空間に於い
ては不連続に割轟ソられる。但し、この不連続の割当に
於いて不連続の境界は第ざ図に示すセクタの整数倍にな
るように割当てられる。中央処理装置lはこの実アドレ
ス空間の割当に従って第6図に示す様なチャネルプログ
ラムを作成し、入出力制御装置−に指令を出す。入出力
制御装置コは指令を受は取ると、マイクロプロセッサI
O’lがその指令を解読し、第6図に示すコマンドエン
トリCCE t 。The operation of conventional DMA transfer will be explained with reference to FIGS. 3, 3, 6, and 3. As shown in Figure DA, when a data transfer request to the virtual address space of Figure DA ω occurs, the central processing unit/
), the usable area of the real address space is checked and allocated. At this time, main memory addresses that are continuous in the virtual address space are allocated discontinuously in the real address space. However, in this discontinuous allocation, the boundaries of the discontinuity are allocated to be an integral multiple of the sectors shown in FIG. The central processing unit 1 creates a channel program as shown in FIG. 6 in accordance with this real address space allocation, and issues commands to the input/output control unit. When the input/output control device receives a command, it sends a command to the microprocessor I.
O'l decodes the command and generates the command entry CCE t shown in FIG.
CCEコを中央処理装置/よ1D出し、磁気ディスク装
置Jに動作を指令し、次に第6図に示すコマンドエント
リCGK 、7を中央処理装置/から取シ出し、レンジ
Rtをデータカウンタ/10にセット。Take out the CCE from the central processing unit/1D, instruct the magnetic disk drive J to operate, then take out the command entries CGK and 7 shown in FIG. Set to.
アドレスA/をアドレスカウンタ109にセットする。Address A/ is set in address counter 109.
次にマイクロプロセッサ10ダはデバイス制御回路10
りとバス制御回路/117.?にDMAデータ転送の起
動をかける。デバイス制御回路lOりはデータ転送要求
毎にバス制御回路103にデータ転送要求を出す。バス
制御回路103はデバイス制御回路107よりデータ転
送要求がある毎にバス(中央処理装置/)に対してデー
タ要求を出す。バス制御回路tOSはバスを介して中央
処理装置lとの間でデータ転送を行う毎にアドレスレジ
スタloデを加算し、またデータカウンタ/10を減算
する。データカウンタ/10が空になると、データカウ
ンタ/10はその旨をマイクロプロセッサIO’lに通
知する。マイクロプロセッサlOダはデータカウンタ/
10 j: #)空になった旨の通知を受は取ると、第
6図に示すコマンドエントリccg 41を中央処理装
置lより取り出し、データカウンタ/10にレンジRコ
をセット、アドレスカウンタ/θデにアドレスAコをセ
ットし、前述と同様にデータカウンタ/10が空忙なる
までDMAデータ転送を行う。この動作をコマンドエン
トリOCRが無くなるまで(第4図のコマンドエントリ
caEtまで)行う。Next, the microprocessor 10 is the device control circuit 10.
Rito bus control circuit/117. ? Activates DMA data transfer. The device control circuit 10 issues a data transfer request to the bus control circuit 103 for each data transfer request. The bus control circuit 103 issues a data request to the bus (central processing unit/) every time there is a data transfer request from the device control circuit 107. The bus control circuit tOS adds the address register lo de and subtracts the data counter /10 every time data is transferred to and from the central processing unit l via the bus. When data counter/10 becomes empty, data counter/10 notifies microprocessor IO'l accordingly. The microprocessor data counter/
10 j: #) When the receiver receives the notification that the space is empty, it takes out the command entry ccg 41 shown in FIG. 6 from the central processing unit l, sets the range R in the data counter /10, and sets the address counter /θ Address A is set in D, and DMA data transfer is performed in the same manner as described above until data counter /10 becomes empty. This operation is performed until there are no more command entries OCR (up to command entry caEt in FIG. 4).
最近の磁気ディスク装置Jはデータ転送速度が向上し、
/ −,7MB/Sという非常に高速の装置が市場に出
て来ている。かかる装置を制御する場合には、一般的に
磁気ディδり装置Jのデータの記鍮は第を図のようにセ
クタに分割されてフォーマットされており、データの最
小アクセスはセクタ単位に行なわれる。また、セクタと
セクタの間隔は磁気ディスク装置Jのデータ転送速度の
向上に比例して小さくなってきている(例えば、セクタ
とセクタの間隔が十数μsの装置もある)。従来の入出
力制御装置−のように、データカウンタ/IIが空にな
る毎にマイク−プロセッサ10411が中央処理装置I
よシ新たなデータカウント数、主記憶アドレスをセット
するのに市販のマイクロプロセッサを使用した場合には
数十μ8以上を必要とする。Recent magnetic disk drives J have improved data transfer speeds,
/-, 7MB/S very high speed devices are coming onto the market. When controlling such a device, the data stored in the magnetic recording device J is generally formatted by being divided into sectors as shown in the figure, and the minimum access to data is performed in units of sectors. . In addition, the interval between sectors is becoming smaller in proportion to the improvement in the data transfer speed of magnetic disk devices J (for example, there are devices where the interval between sectors is more than 10 μs). Like a conventional input/output controller, the microphone processor 10411 is activated by the central processing unit I each time the data counter/II becomes empty.
If a commercially available microprocessor is used to set a new data count and main memory address, it will require tens of μ8 or more.
このことは、セクタとセクタの間隔の間に新たなデータ
カウント数、主記憶アドレスをセットすることが出来な
く、次のセクタのアクセスに7回転(−玉的には約/A
ms以上の時間)分の時間を要するととになる。従っ
て、第4図の実アドレス空間に対するDMAデータ転送
を行うのに4回転分の余分な時間を費やすことにな9、
非常に多くの時間を必要とし、結果的にDMAデータ転
送の性能を低下させ、システムの性能を低下させること
となっていた。This means that it is not possible to set a new data count or main memory address between sectors, and it is necessary to access the next sector by 7 rotations (-about /A
ms or more). Therefore, it is unnecessary to spend an extra time of four rotations to perform DMA data transfer to the real address space shown in FIG.
This requires a very large amount of time, resulting in a decrease in the performance of DMA data transfer and a decrease in system performance.
発明が解決しようとする問題点
以上のように、従来の入出力制御方式では、第参図の(
b)の実アドレス空間K DMAデータ転送を行う場合
、主記憶アドレスの変わる時点で磁気ディスク装置3の
7回転分の時間が費やされるために、非常に多くの時間
が必要となり、DMAデータ転送の性能低下、結果的に
システムの性能低下という欠点があった。Problems to be Solved by the Invention As mentioned above, in the conventional input/output control system,
b) Real address space K When performing DMA data transfer, the time equivalent to 7 revolutions of the magnetic disk device 3 is spent at the time the main memory address changes, so a very large amount of time is required, and the DMA data transfer is delayed. The disadvantage was that the performance decreased, resulting in a decrease in system performance.
本発明は従来の技術に内在する上記欠点を解消送を行う
場合でも主記憶アドレスの変わる時点での磁気ディスク
装置3の1回転分の時間を不用としDMAデータ転送の
性能低下を無くシ、結果的にシステムの性能向上が出来
るように構成した新規な入出力制御方式を提供すること
にある。The present invention eliminates the above-mentioned disadvantages inherent in the conventional technology, and eliminates the time required for one revolution of the magnetic disk device 3 at the time of changing the main memory address even when performing data transfer, thereby eliminating the performance deterioration of DMA data transfer. The purpose of this invention is to provide a new input/output control method configured to improve system performance.
問題点を解決するための手段
上記目的を達成する為に、本発明による入出力制御方式
は、主記憶上にページ単位に異、なる不連続のDMAデ
ータ転送用主記憶アドレスを含んだチャネルプログラム
を備え、入出力制御装置には、DMAデータ転送用のペ
ージカウンタと、先入先出制御方式のページバッファと
、前記ページカウンタの出力を検出する第1の検出回路
と、前記第1の検出回路の出力を保持するための第2の
検出回路と、前記第2の検出回路の動作を禁止可能な禁
止回路とを有して構成されている。Means for Solving the Problems In order to achieve the above object, the input/output control method according to the present invention uses a channel program that includes discontinuous main memory addresses for DMA data transfer that differ in page units on the main memory. The input/output control device includes a page counter for DMA data transfer, a first-in-first-out control type page buffer, a first detection circuit for detecting the output of the page counter, and the first detection circuit. The second detection circuit is configured to include a second detection circuit for holding the output of the second detection circuit, and a prohibition circuit capable of prohibiting the operation of the second detection circuit.
実施例
次に本発明をその好ましい一実施例について図面を参照
して詳細に説明する。Embodiment Next, a preferred embodiment of the present invention will be explained in detail with reference to the drawings.
第1図は本発明による入出力制御方式を実現するための
一実施例を示すアドレス制御のブロック構成図である。FIG. 1 is a block configuration diagram of address control showing one embodiment for realizing the input/output control method according to the present invention.
即ち、第1図に示された本発明の一実施例は、第3図に
示された一般的な入出力制御装置コのうちアドレスカウ
ンタ1oipの改良例であシ、ア2ドレスカウンタ10
9以外の各要素は第3図と同様であシ、以下第3図に第
1図を結合した図を参照して説明する。第1図に於いて
、参照番号10/はアドレスレジスタ、 109はア
ドレスカウンタ、コ0/はページカウンタ、コOコは先
入先出制御方式のページバッファ、コ03はページカウ
ンタ20/の出力を検出する第1の検出回路、 201
IはORゲート、203はANDゲート、コ06は第1
の検出回路コ03の出力を保持する第2の検出回路、2
07はエラー検出回路、−〇ざはANDゲート、コ09
は第2の検出回格コOAと工2−検出回路コθりの動作
を禁止する禁止回路をそれぞれ示す。That is, one embodiment of the present invention shown in FIG. 1 is an improved example of the address counter 1oip and the address counter 10 of the general input/output control devices shown in FIG.
Each element other than 9 is the same as that in FIG. 3, and will be described below with reference to a diagram in which FIG. 3 and FIG. 1 are combined. In FIG. 1, reference number 10/ is an address register, 109 is an address counter, 0/ is a page counter, 0 is a page buffer of first-in, first-out control system, and 03 is the output of page counter 20/. a first detection circuit for detecting, 201
I is an OR gate, 203 is an AND gate, and 06 is the first
a second detection circuit holding the output of the detection circuit 03;
07 is an error detection circuit, -〇za is an AND gate, ko09
1 and 2 respectively indicate a prohibition circuit that prohibits the operation of the second detection circuit OA and the second detection circuit θ.
第2図は本発明による入出力制御方式の一実施例を説明
するだめの説明図である。第1図は本発明による入出力
制御方式の一実施例を説明するためのチャネルプログラ
ムの一例を示す図である。FIG. 2 is an explanatory diagram for explaining one embodiment of the input/output control method according to the present invention. FIG. 1 is a diagram showing an example of a channel program for explaining an embodiment of the input/output control method according to the present invention.
以下、第1図〜第を図を参照して、本発明による入出力
制御方式のDMAデータ転送について説明する。DMA data transfer using the input/output control method according to the present invention will be described below with reference to FIGS.
最初、中央処理装置lは、第4図(a)の仮想アドレス
空間に対するデータ要求が発生した場合には、「第参図
(b)に示す様に実アドレス空間の使用可能な領域を調
べ割当てる。このとき、仮想アドレス空間に於いては連
続した範囲であった主記憶アドレスは、実アドレス空間
に於いては不連続に割当てられる。中央処理装置/はこ
の実アドレス空間の割当に従って第1図に示すようなチ
ャネルプログラムを主記憶装置上に作成し、入出力制御
装置コに指令を出す。入出力制御装置コは、指令を受は
取ると、マイクロプロセッサIO’lが、その指令を解
読し、第り図に示すコマンドエントリCCE t、CC
Eコを中央処理装置lから取シ出し、磁気ディスク装置
3に動作を指令する。次に、入出力制御装置コは、第1
図に示すコマンドエントリG(J 3を中央処理装置l
から取シ出し、レンジ−ΣR1〜Rりをデータカウンタ
/10にセットし、アドレスA/の下位/コビット(o
Hu)をページカウンタ20/にセットし、アドレスA
Iの上位〃ビット(lコ;37)を先入先出制御方式の
ページバッファ202にセットする。入出力制御装置コ
は、次にコマンドエントリG(3K tzを中央処理装
置lから取り出し、アドレスAコの上位〃ビット(/コ
ニ、7/ )を先入先出制御方式のページバッファ20
2にセラトスる。Initially, when a data request for the virtual address space shown in Figure 4(a) occurs, the central processing unit l checks the usable area of the real address space and allocates it as shown in Figure 4(b). At this time, main memory addresses that are continuous in the virtual address space are allocated discontinuously in the real address space. Create a channel program as shown in the main memory and issue commands to the input/output controller.When the input/output controller receives the command, the microprocessor IO'l decodes the command. and the command entry CCE t, CC shown in Fig.
E is taken out from the central processing unit 1 and commands are given to the magnetic disk device 3 to operate. Next, the input/output control device
The command entry G (J3 shown in the figure)
, set the range -ΣR1 to R in the data counter/10, and set the lower/cobit (o
Hu) in the page counter 20/, and address A.
The upper bit (I; 37) of I is set in the page buffer 202 of the first-in, first-out control system. The input/output control unit then takes out the command entry G (3K tz) from the central processing unit l, and stores the upper bits (/, 7/) of the address A in the page buffer 20 of the first-in, first-out control system.
Seratos on 2.
同じ動作を先入先出制御方式のページバッファ、w2が
Fullになるか、又は、コマンドエントリCCEのデ
ータチェインDC= o 、コマンドチェイy CO−
O(最後のccg )を検出するまで行う。先入先出制
御方式のページバッファ202.の深さ〉チャネルプロ
グラムのコマンドエントリCCE (アドレスの数)な
らば、マイクロプロセッサ1olIは禁止回路、2oq
をセットして、第2の検出回路二06とエラー検出回路
λOりの動作を禁止する。先入先出制御方式のページバ
ッフアコθλの深さくチャネルプログラムのコマンドエ
ントリOCR(アドレスの数)ならば、禁止回路コθ9
はセットされない。The same operation is performed using the first-in-first-out control system page buffer, when w2 becomes Full, or when the data chain DC of command entry CCE = o, command chain y CO-
Repeat until O (last ccg) is detected. Page buffer 202 with first-in, first-out control method. Depth〉Channel program command entry CCE (number of addresses), then microprocessor 1olI is a prohibited circuit, 2oq
is set to prohibit the operation of the second detection circuit 206 and the error detection circuit λO. If the depth of the page buffer θλ of the first-in-first-out control method is the command entry OCR (number of addresses) of the channel program, then the prohibition circuit θ9
is not set.
マイクロプロセッサ10弘は、先入先出制御方式のペー
ジバッフアコクコにアドレスをセットすると、次にデバ
イス制御回路10りとバス制御回路lθ3にDMAデー
タ転送の起動をかける。デバイス制御回路lθ7はデー
タ転送要求毎にバス制御回路/θ3にデータ要求を出す
。バス制御回路103はデバイス制御回路10りよシデ
ータ転送要求がある毎にバス(中央処理装f/)に対し
てデータ要求を出す。The microprocessor 10 sets an address in the first-in, first-out control type page buffer, and then activates the device control circuit 10 and the bus control circuit lθ3 to start DMA data transfer. The device control circuit lθ7 issues a data request to the bus control circuit /θ3 for each data transfer request. The bus control circuit 103 issues a data request to the bus (central processing unit f/) every time there is a data transfer request from the device control circuit 10.
バス制御回路103はバスを介して中央処理装置/との
間でデータの送受を行う毎にカウントクロツクC0LK
sot信号を発生し、カウントクロツクC0LK30/
信号によりページカウンタ20/を加算する。The bus control circuit 103 clocks a count clock C0LK every time data is sent/received to/from the central processing unit via the bus.
Generates the sot signal and starts the count clock C0LK30/
The page counter 20/ is incremented by the signal.
ページカウンタコQノの出力とページバッファ20−の
出力はアドレスレジスタlθ/に接続されており、アド
レスレジスタ10/の出力はデータ転送毎に主記憶アド
レスを指定する。又、データカウンタ/10はデータ転
送毎に減算される。ページカウンタ20/の出力のデビ
ット(3:/l)は第1の検出回路203に接続されて
いる。ページカウンタλO/がデータ転送毎に加算され
、ある値になると(一実施例ではFFt )鴻/の検出
回路コ03が動作し、PSFT 30コ信号を発生する
。PSFT 30コ信号は先入先出しページバッフアコ
クコをシフトする。また、禁止回路〃9がセットされて
いなければ、 PSFT“30コ信号は第2の検出回路
コ06をセットし、 PBRICQ JOダ信号を出力
させる。PBREQ sap信号はマイクロプロセッサ
ioaに対して、先入先出制御方式のページバッフアコ
0コが1段分空になったことを知らせ、残っている主記
憶アドレスのセットを促す。マイクロプロセッサioq
は、PBREQ 5oII信号を検出すると、中央処理
装置lからコマンドエントリCCEを取シ出し、主記憶
アドレスを先入先出制御方式のページバッフアコ0コに
セットする。このとき取り出したコマンドエントリOO
Eが最後のCOE (DC−o、00−=goのとき)
ならば%禁止回路−O9をセットする。最後のCOEで
なければ禁止回路コOデをセットしない。The output of the page counter Q and the output of the page buffer 20- are connected to an address register lθ/, and the output of the address register 10/ specifies a main memory address for each data transfer. Also, the data counter /10 is decremented every time data is transferred. The output debit (3:/l) of the page counter 20/ is connected to the first detection circuit 203. The page counter λO/ is added every time data is transferred, and when it reaches a certain value (in one embodiment, FFt), the detection circuit 03 operates and generates the PSFT 30 signal. The PSFT30 signal shifts the first-in, first-out page buffer. Furthermore, if the prohibition circuit 9 is not set, the PSFT30 signal sets the second detection circuit 06 and outputs the PBRICQ JO signal. It notifies you that the page buffer Ako0 of the first-out control method has become empty by one stage, and prompts you to set the remaining main memory address.Microprocessor ioq
When it detects the PBREQ 5oII signal, it takes out the command entry CCE from the central processing unit 1 and sets the main memory address to page buffer 0 in the first-in, first-out control system. The command entry OO taken out at this time
E is the last COE (DC-o, when 00-=go)
If so, set the % prohibition circuit -O9. The prohibited circuit code is not set unless it is the last COE.
以下同様の動作を最後のGOTLまで行う。DMAデー
タ転送は、先入先出制御方式のページバッファー〇−が
空になシ、データカウンタ110が空になるまで行なわ
れる。以上の説明の要点は第2図のタイムチャートを参
照するとさらに詳細に理解することが出来よう。Thereafter, similar operations are performed until the last GOTL. DMA data transfer is performed until the first-in, first-out control type page buffer 0- is empty and the data counter 110 is empty. The main points of the above explanation can be understood in more detail by referring to the time chart of FIG.
以上説明したように1マイクロプロセツf 1014は
ページカランタコO7が000→FFtになるまでの間
(PSFT Joコ信号が発生してから次に発生するま
での間)′に先入先出制御方式のページバッフア〃コに
主記憶アドレスをセットすればよいことになる。As explained above, the 1 microprocessor f1014 uses the first-in, first-out control method until the page count tacho O7 changes from 000 to FFt (from when the PSFT Jo signal is generated until the next generation). All you have to do is set the main memory address in the page buffer.
磁気ディスク装置Jのデータ転送速度がs MB /
Sでもページカウンタ20/がOOO→FFtr Kな
るまでの時間は約へコm8必要とする。このことは低性
能で廉価な市販のマイクロプロセッサを使用して入出力
制御装置−を構成しても第S図に示すセクタ間隔の時間
内に主記憶アドレスを切替えることが可能である。The data transfer rate of magnetic disk device J is s MB/
Even with S, it takes approximately m8 for the page counter 20/ to change from OOO to FFtrK. This means that even if the input/output control device is configured using a low-performance, inexpensive commercially available microprocessor, the main memory address can be switched within the sector interval time shown in FIG.
エラー検出回路−0gは、何等かの原因で万が−にもペ
ージカウンターO1が000→FFざになるまでの間に
マイクロプロセッサlOりがページバッフアコ0コに主
記憶アドレスがセット出来なかったことを検出するため
の回路である。In the error detection circuit 0g, for some reason, the microprocessor could not set the main memory address in the page buffer A0 before the page counter O1 changed from 000 to FF. This is a circuit to detect this.
発明の効果
本発明によれば、以上説明したように、主記憶装置上に
ページ単位に異なる不連続のDMAデータ転送用主記憶
アドレスを含んだチャネルプログラムを備え、入出力制
御装置にはDMAデータ転送用のページカウンタ、先入
先出制御方式のページバッファ、ページカウンタの出力
を検出する第1の検出回路、第1の検出回路の出力を保
持するための第2の検出回路、第2の検出回路の動作を
禁止可能な禁止回路を具備するととくより、仮想記憶シ
ステムに於けるページ単位に異なる不連続の主記憶アド
レスを使用してのDMAデータ転送の性能低下を無くシ
、結果的にシステムの性能向上が出来るように構成した
入出力制御方式が容易に提供できるという効果が得られ
る。Effects of the Invention According to the present invention, as explained above, a channel program including discontinuous main memory addresses for DMA data transfer that differs in page units is provided on the main memory, and the input/output control device stores DMA data. A page counter for transfer, a page buffer using a first-in, first-out control method, a first detection circuit for detecting the output of the page counter, a second detection circuit for holding the output of the first detection circuit, and a second detection circuit. In addition to providing a prohibition circuit that can prohibit the operation of the circuit, it also eliminates the performance degradation of DMA data transfer using discontinuous main memory addresses that are different for each page in a virtual memory system, and as a result, the system The effect is that an input/output control method configured to improve performance can be easily provided.
第1図は本発明による入出力方式を実現するための一実
施例を示すアドレス制御のブロック構成図、第2図は本
発明くよる一実施例を説明するためのタイムチャート、
第3図は従来及び本発明による入出力制御値装置のブロ
ック構成図、第4図は仮想アドレス空間と実アドレス空
間の概念図、第5図はチャネルプログラムの、概念図、
第6図は従来の入出力制御装置のチャネルプログラムの
概念図、K’y図は本発明による入出力制御方式のチャ
ネルプログラムの概念図、第g図は磁気ディスク装置の
記録フォーマットの概念図を示す図である。
l・・・中央処理装置%コ・・・入出力制御装置、3・
・・磁気ディスク装置、10/・・・アドレスレジスタ
、10λ・・・データレジスタ、 103・・・バス
制御回路、 1oia・・・マイクロブロセッt%
lO5・・・ROM、 lob・・・RAM。
107・・・デバイス制御回路、 101・・・デー
タバッファ、109・・・アドレスカウンタ、/10・
・・データカウンタ、コ0/・・・ページカウンタ%−
〇、2・・・先入先出制御方式のページバッファ、コ0
3・・・第1の検出回路、コ0り・・・ORゲート、コ
or 、 コot・・−ANDゲート、コQ6・・・
第2の検出回路、λ07・・・エラー検出回路、二〇9
・・・禁止回路FIG. 1 is a block configuration diagram of address control showing an embodiment of the input/output method according to the present invention, and FIG. 2 is a time chart for explaining an embodiment of the present invention.
FIG. 3 is a block diagram of the input/output control value device according to the prior art and the present invention, FIG. 4 is a conceptual diagram of virtual address space and real address space, and FIG. 5 is a conceptual diagram of a channel program.
Fig. 6 is a conceptual diagram of a channel program of a conventional input/output control device, K'y diagram is a conceptual diagram of a channel program of an input/output control method according to the present invention, and Fig. g is a conceptual diagram of a recording format of a magnetic disk device. FIG. l...Central processing unit%ko...I/O control device, 3.
...Magnetic disk device, 10/...Address register, 10λ...Data register, 103...Bus control circuit, 1oia...Microblosset t%
lO5...ROM, lob...RAM. 107...Device control circuit, 101...Data buffer, 109...Address counter, /10.
...Data counter, ko0/...Page counter%-
〇, 2...Page buffer of first-in first-out control method, 0
3...First detection circuit, ko0ri...OR gate, koor, kot...-AND gate, koQ6...
Second detection circuit, λ07...Error detection circuit, 209
...Prohibited circuit
Claims (1)
気ディスク装置の読出し/書込み動作を制御するための
入出力制御装置とを有し、前記入出力制御装置を介して
前記中央処理装置と前記磁気ディスク装置との間でデー
タ転送を行うように構成された入出力制御方式であつて
、前記中央処理装置の主記憶装置には前記入出力制御装
置用のチャネルプログラムを備え、前記チャネルプログ
ラムには仮想システムに於けるページ単位に異なる不連
続の主記憶アドレスを含み、前記入出力制御装置はDM
Aデータ転送用のページカウンタと、先入先出制御方式
のページバッファと、前記ページカウンタの出力を検出
する第1の検出回路と、前記第1の検出回路の出力を保
持するための第2の検出回路と、前記第2の検出回路の
動作を禁止することが可能な禁止回路とを備え、仮想記
憶システムに於けるページ単位に異なる不連続の主記憶
アドレスを使用してのDMAデータ転送に於いて高速に
主記憶アドレスを切替えることにより高速DMAデータ
転送を実現することを特徴とする入出力制御方式。It has a central processing unit, and an input/output control unit for controlling read/write operations of a magnetic disk device according to commands from the central processing unit, and the central processing unit and the magnetic disk unit are connected to each other via the input/output control unit. The input/output control method is configured to transfer data with a disk device, wherein the main storage of the central processing unit is provided with a channel program for the input/output control device, and the channel program includes a channel program for the input/output control device. Each page in the virtual system includes different and discontinuous main memory addresses, and the input/output control device is a DM.
A page counter for data transfer, a first-in-first-out control type page buffer, a first detection circuit for detecting the output of the page counter, and a second detection circuit for holding the output of the first detection circuit. The present invention includes a detection circuit and an inhibition circuit capable of inhibiting the operation of the second detection circuit, and is capable of performing DMA data transfer using discontinuous main memory addresses that differ in page units in a virtual memory system. An input/output control method characterized by realizing high-speed DMA data transfer by switching main memory addresses at high speed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60146456A JPS628251A (en) | 1985-07-05 | 1985-07-05 | Input/output control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60146456A JPS628251A (en) | 1985-07-05 | 1985-07-05 | Input/output control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS628251A true JPS628251A (en) | 1987-01-16 |
Family
ID=15408048
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60146456A Pending JPS628251A (en) | 1985-07-05 | 1985-07-05 | Input/output control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS628251A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6427184B1 (en) * | 1997-06-03 | 2002-07-30 | Nec Corporation | Disk drive with prefetch and writeback algorithm for sequential and nearly sequential input/output streams |
-
1985
- 1985-07-05 JP JP60146456A patent/JPS628251A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6427184B1 (en) * | 1997-06-03 | 2002-07-30 | Nec Corporation | Disk drive with prefetch and writeback algorithm for sequential and nearly sequential input/output streams |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0032559B1 (en) | Virtual storage data processing apparatus including i/o | |
| JPH0563829B2 (en) | ||
| JPS628251A (en) | Input/output control system | |
| US6182207B1 (en) | Microcontroller with register system for the indirect accessing of internal memory via auxiliary register | |
| US5459870A (en) | Interface circuit for controlling data transfers | |
| JP2662415B2 (en) | Trace method | |
| JPH02278417A (en) | Sector address converting circuit | |
| JP6171614B2 (en) | Storage medium control device, disk-type storage device, and storage medium control method | |
| JPS63184147A (en) | Method for initializing channel controller | |
| JPS61262947A (en) | Input and output controlling device | |
| JP2765267B2 (en) | Direct memory access transfer controller | |
| JPH02214075A (en) | Disk controller | |
| SU1124316A1 (en) | Microcomputer | |
| JPH03113548A (en) | Extension memory controller | |
| JPS61115134A (en) | Microprogram control processing unit | |
| JP3104288B2 (en) | Disk control system | |
| JP2861777B2 (en) | Disk device and disk control microcomputer | |
| JP3496942B2 (en) | Memory access method | |
| JPS5941072A (en) | Device for retrying error | |
| JPS62170057A (en) | Running control circuit for magnetic tape | |
| JPH02280221A (en) | Disk control method | |
| JPS6286425A (en) | Magnetic disc control device | |
| JPS6031649A (en) | Timer controlling method in virtual computer system | |
| JPH0355642A (en) | Memory control system | |
| JPS62138933A (en) | Interrupt control method |