JPH02214960A - input/output system - Google Patents
input/output systemInfo
- Publication number
- JPH02214960A JPH02214960A JP1036836A JP3683689A JPH02214960A JP H02214960 A JPH02214960 A JP H02214960A JP 1036836 A JP1036836 A JP 1036836A JP 3683689 A JP3683689 A JP 3683689A JP H02214960 A JPH02214960 A JP H02214960A
- Authority
- JP
- Japan
- Prior art keywords
- data
- input
- memory
- transfer
- buffer
- 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
Landscapes
- Bus Control (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、コンピュータシステムにおける周辺機器のデ
ータ入出力を行なう入出力システムに関するものである
。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an input/output system for inputting and outputting data to peripheral devices in a computer system.
従来の技術
第5図は、この従来の入出力システムのブロック図を示
すものであり、51はフロッピーディスク等の周辺機器
、62は入出力対象となるターゲットバッファ、53は
周辺機器とターゲットバッファとの間で物理アドレスを
対象としてデータ転送を行なうデータ転送手段、54は
ターゲットバッファの物理アドレスを監視し、データ転
送手段3 ・\−7
を制御するアドレス監視手段である。BACKGROUND ART FIG. 5 shows a block diagram of this conventional input/output system. 51 is a peripheral device such as a floppy disk, 62 is a target buffer for input/output, and 53 is a connection between the peripheral device and the target buffer. 54 is an address monitoring means that monitors the physical address of the target buffer and controls the data transfer means 3 and \-7.
以上のように構成された従来の入出力システムにおいて
は、入出力要求が生じた場合、アドレス監視手段54が
ターゲットバッファ62の物理アドレスを監視し、ター
ゲットバッファ52内で物理アドレスが連続する部分に
対する入出力となるように、入出力要求をいくつかの部
分要求に分割する。次に、データ転送手段53は、アド
レス監視手段54が分割した部分要求に従って、周辺機
器61とターゲットバッファ52との間でデータ転送を
行なう。In the conventional input/output system configured as described above, when an input/output request occurs, the address monitoring means 54 monitors the physical addresses of the target buffer 62, and the address monitoring means 54 monitors the physical addresses of the target buffer 62, Divide an input/output request into several partial requests for input/output. Next, the data transfer means 53 transfers data between the peripheral device 61 and the target buffer 52 according to the partial request divided by the address monitoring means 54.
発明が解決しようとする課題
しかしながら上記のよう々構成では、一つの入出力要求
がターゲットバッファの物理アドレス上の連続性(以下
、物理的連続性)に依存して、いくつかの部分要求に分
割されるため、フロッピーディスク等の周辺機器では、
部分要求処理と次の部分要求処理との間で回転待ちが発
生し、全体的な入出力速度が低下するという問題点を有
していた。Problems to be Solved by the Invention However, in the above configuration, one input/output request is divided into several partial requests depending on the continuity of the physical addresses of the target buffer (hereinafter referred to as physical continuity). Therefore, with peripheral devices such as floppy disks,
There is a problem in that a rotational wait occurs between one partial request process and the next partial request process, and the overall input/output speed decreases.
本発明はかかる点に鑑み、ターゲットバッファの物理的
連続性がどのような状態であっても、入出力速度が低下
しない入出力システムを提供することを目的とする。In view of this, an object of the present invention is to provide an input/output system in which the input/output speed does not decrease regardless of the state of physical continuity of the target buffer.
課題を解決するだめの手段
本発明は、物理アドレス上で連続である中間バッファと
、入出力機器に応じてデータ転送の単位とタイミングと
に関して、中間バッファ及びタゲノトバッファに対する
データ転送を制御するデータ転送制御手段を備えたこと
を特徴とする大黒カシステムである。Means for Solving the Problems The present invention provides data for controlling data transfer to the intermediate buffers and the data transfer buffers with respect to the intermediate buffers that are continuous on physical addresses and the unit and timing of data transfer according to input/output devices. This is a Daikoku Ka system characterized by being equipped with a transfer control means.
作 用
本発明は前記した構成により、入出力要求が発生すると
、データ転送制御手段は、入出力機器の特性に応じたサ
イズのデータを物理的連続である中間バッファに転送す
るように制御を行なう。次に、中間バッファとターゲッ
トバッファとの間でデータ転送を行なわせる。このよう
にすることによって、フロッピーディスク等の周辺機器
において、回転待ち等が発生することがないので、全体
5ページ
的な入出力速度低下を防ぐことができる。According to the above-described configuration, when an input/output request occurs, the data transfer control means controls to transfer data of a size according to the characteristics of the input/output device to the physically continuous intermediate buffer. . Next, data is transferred between the intermediate buffer and the target buffer. By doing this, there is no need to wait for the rotation of peripheral devices such as floppy disks, so that it is possible to prevent a decrease in the input/output speed of five pages overall.
実施例
第1図は本発明の第1の実施例における入出力システム
のブロック図、第2図は入出力手順を示すフローチャー
トである。Embodiment FIG. 1 is a block diagram of an input/output system in a first embodiment of the present invention, and FIG. 2 is a flowchart showing an input/output procedure.
第1図において、11はフロッピーディスク等のディス
ク装置、12は物理的連続な中間バッファ、13はDM
Aコントローラ(以下、DMAC)を用いて周辺機器と
中間バッファとの間でデータ転送を行なうメモリ機器間
データ転送手段、14は最終的なデータ転送対象である
ターゲットバッファ、15はCPUを用いて中間バッフ
ァ12とターゲットバッファ14との間でデータ転送を
行なうメモリ間データ転送手段、16はディスク装置の
シリンダ単位でのデータ転送に同期して、メモリ機器間
転送手段とメモリ間転送手段とを制御するデータ転送制
御手段である。In FIG. 1, 11 is a disk device such as a floppy disk, 12 is a physically continuous intermediate buffer, and 13 is a DM.
14 is a target buffer which is the final data transfer target; 15 is a means for transferring data between peripheral devices and intermediate buffers using a controller (hereinafter referred to as DMAC); An inter-memory data transfer means for transferring data between the buffer 12 and the target buffer 14, and a memory-to-memory data transfer means 16 controls the inter-memory device transfer means and the inter-memory transfer means in synchronization with the data transfer in units of cylinders of the disk device. This is data transfer control means.
以上のように構成された本実施例の入出力システムにつ
いて、以下その動作を説明する。The operation of the input/output system of this embodiment configured as described above will be explained below.
ディスク装置11に対するデータ読み取り要求61、−
7
が発行された場合を考える。入出力は、第2図のフロー
チャートに沿って、次のように行なわれる。Data read request 61 to disk device 11, -
Consider the case where 7 is issued. Input/output is performed as follows according to the flowchart in FIG.
データ転送制御手段16は入出力要求をシリンダに対す
る要求に分割する。次に、データ転送制御手段16は分
割した要求に応じて、メモリ機器間データ転送手段13
に、ディスク装置11から中間バッファ12に対してデ
ータ転送を行なわせる。一つのシリンダに対するデータ
転送が完了すると、ディスク装置11が次のシリンダの
データを読み取る準備を行なう空き時間を利用して、デ
ータ転送制御手段16は、メモリ間転送手段15ニ、中
間バッファ12からターゲットバッファ14に対してデ
ータ転送を行なわせる。データ転送制御手段16は、入
出力要求を満足する最後のシリンダのデータを読み取る
まで、このサイクルを繰り返す。The data transfer control means 16 divides the input/output request into requests for cylinders. Next, the data transfer control means 16 responds to the divided requests by the data transfer means 13 between memory devices.
Then, data is transferred from the disk device 11 to the intermediate buffer 12. When the data transfer for one cylinder is completed, the data transfer control means 16 transfers data from the inter-memory transfer means 15 to the intermediate buffer 12 to the target by using the free time when the disk device 11 prepares to read data from the next cylinder. The buffer 14 is caused to perform data transfer. The data transfer control means 16 repeats this cycle until it reads the last cylinder of data that satisfies the input/output request.
以上のように本実施例によれば、中間バッファとして一
つのシリンダ分のバッファを用意するだけで、効率的な
入出力を行なうことができる。As described above, according to this embodiment, efficient input/output can be performed simply by preparing a buffer for one cylinder as an intermediate buffer.
第3図は本発明の第2の実施例における入出力7ベーノ
システムのブロック図を示すもの、第4図はタゲットバ
ソファの物理的連続性と入出力要求の分割との関係を示
す図である。第3図において、31はフロッピーディス
ク等のディスク装置、32は物理的連続な中間バッファ
、33はDMACを用いて周辺機器と中間バッファとの
間でデータ転送を行なうメモリ機器間データ転送手段、
34は最終的なデータ転送対象であるターゲットバッフ
ァ、35はDMACを用いて中間バッフ732とターゲ
ットバッファ34との間でデータ転送を行なうメモリ間
データ転送手段、36はディスク装置のシリンダ単位で
のデータ転送に同期して、メモリ機器間転送手段33と
メモリ間転送手段35との同期をとるデータ伝送制御手
段、37はターゲットバッファの物理アドレスを監視し
メモリ間転送手段36を制御するアドレス監視手段であ
る。FIG. 3 shows a block diagram of the input/output 7 beno system in the second embodiment of the present invention, and FIG. 4 shows the relationship between the physical continuity of the target bath sofa and the division of input/output requests. It is. In FIG. 3, 31 is a disk device such as a floppy disk, 32 is a physically continuous intermediate buffer, and 33 is a memory device data transfer means for transferring data between peripheral devices and the intermediate buffer using DMAC.
34 is a target buffer which is the final data transfer target; 35 is inter-memory data transfer means for transferring data between the intermediate buffer 732 and the target buffer 34 using DMAC; and 36 is data in units of cylinders of the disk device. Data transmission control means synchronizes the inter-memory transfer means 33 and the inter-memory transfer means 35 in synchronization with the transfer; 37 is an address monitoring means for monitoring the physical address of the target buffer and controlling the inter-memory transfer means 36; be.
以上のように構成された第2の実施例の入出力システム
について、以下その動作を説明する。The operation of the input/output system of the second embodiment configured as described above will be explained below.
デイ1スク装置31に対するデータ読み取シ要求が発行
された場合を考える。データ転送制御手段36は入出力
要求をシリンダに対する要求に分割する。次に、データ
転送制御手段36は分割した要求に応じて、メモリ機器
間転送手段33にディスク装置31から中間バッファ3
2にデータ転送を行なわせる。一つのシリンダに対する
データ転送が完了すると、ディスク装置31が次のシリ
ンダのデータを読み取る準備を行なう空き時間を利用し
て、データ転送制御手段36は、メモリ間転送手段35
に中間バッファ32からターゲットバッファ34へのデ
ータ転送を行なわせる。この時、メモリ間転送手段35
は、アドレス監視手段37にターゲットバッファの物理
アドレスに関して問い合わせ、ターゲットバッファ34
内で物理アドレスが連続する部分に対する入出力となる
ように、入出力要求をいくつかの部分要求に分割する(
第4図(a)から(b)のように分割する)。その後、
分割された複数の入出力を行ない、シリンダ内のデータ
転送を完了する。そして入出力要求を満足する最後のシ
リンダのデータを読み取るまで、このサイクルを繰り返
す。Consider a case where a data read request to the disk device 31 is issued. The data transfer control means 36 divides the input/output request into requests for cylinders. Next, the data transfer control means 36 transfers the data from the disk device 31 to the intermediate buffer 3 in response to the divided requests.
2 to perform data transfer. When the data transfer for one cylinder is completed, the data transfer control means 36 uses the free time when the disk device 31 prepares to read data from the next cylinder to transfer the data to the inter-memory transfer means 35.
transfer data from the intermediate buffer 32 to the target buffer 34. At this time, the inter-memory transfer means 35
asks the address monitoring means 37 regarding the physical address of the target buffer, and the target buffer 34
Divide an input/output request into several partial requests so that the input/output is for parts with consecutive physical addresses within
(Divide as shown in Figures 4(a) to (b)). after that,
Performs multiple divided inputs and outputs to complete data transfer within the cylinder. This cycle is then repeated until the last cylinder of data that satisfies the input/output request is read.
9 ベー/
以上のように、本実施例によれば、DMACを用いて中
間バッファとターゲットバッファとの間でデータ転送を
行なうことにより、CPU使用時間を節約したデータ転
送を行なうことができる。As described above, according to the present embodiment, by transferring data between the intermediate buffer and the target buffer using DMAC, data transfer can be performed while saving CPU usage time.
発明の詳細
な説明したように、本発明によれば、ターゲットバッフ
ァの物理的な状況に起因する入出力速度低下を防止する
ことができ、その実用的効果は大きい。As described in detail, according to the present invention, it is possible to prevent a decrease in input/output speed due to the physical condition of a target buffer, and its practical effects are significant.
第1図は本発明における一実施例の入出力システムのブ
ロック図、第2図は同実施例の入出力手順を示すフロー
チャート、第3図は本発明の他の実施例の入出力システ
ムのブロック図、第4図は同実施例のターゲットバッフ
ァの物理的連続性と入出力要求の分割との関係を示す図
、第5図は従来の入出力システムのブロック図である。
11・・・・・ディスク装置、12・・・・中間バッフ
ァ、13・・・・・・メモリ機器間データ転送手段、1
4ターゲツトバツフア、15 ・・・メモリ間データ転
10 ・\−ノ
送手段、16・・・・・データ転送制御手段、31・・
用ディスク装置、32 ・・・・中間バッファ、33
・・・メモリ機器間データ転送手段、34 ・・ターゲ
ットバッファ、35−・・・・メモリ間データ転送手段
、36・・・・・データ転送制御手段、37・・・・ア
ドレス監視手段、51・・・・・周辺機器、52・・・
・・ターゲットバッファ、53 ・・・・データ転送手
段、64・・アドレス監視手段。FIG. 1 is a block diagram of an input/output system according to one embodiment of the present invention, FIG. 2 is a flowchart showing the input/output procedure of the same embodiment, and FIG. 3 is a block diagram of an input/output system according to another embodiment of the present invention. 4 is a diagram showing the relationship between physical continuity of target buffers and division of input/output requests in the same embodiment, and FIG. 5 is a block diagram of a conventional input/output system. 11... Disk device, 12... Intermediate buffer, 13... Data transfer means between memory devices, 1
4 target buffer, 15... inter-memory data transfer 10 \- transfer means, 16... data transfer control means, 31...
disk device, 32 ... intermediate buffer, 33
...Memory device data transfer means, 34...Target buffer, 35-...Memory data transfer means, 36...Data transfer control means, 37...Address monitoring means, 51. ...Peripheral equipment, 52...
...Target buffer, 53...Data transfer means, 64...Address monitoring means.
Claims (4)
出力機器と前記中間バッファとの間で物理アドレスを対
象としてデータ転送を行なうメモリ機器間転送手段と、
最終的なデータ転送対象であるターゲットバッファと前
記中間バッファとの間でデータ転送を行なうメモリ間転
送手段と、入出力機器に応じてデータ転送の単位とタイ
ミングとに関して、メモリ機器間転送手段とメモリ間転
送手段との制御を行なうデータ転送制御手段を備えたこ
とを特徴とする入出力システム。(1) an intermediate buffer that is continuous on physical addresses, and a memory device-to-memory device transfer means that transfers data between an input/output device and the intermediate buffer using physical addresses;
The memory-to-memory transfer means transfers data between the target buffer, which is the final data transfer target, and the intermediate buffer, and the memory-to-memory transfer means and the memory 1. An input/output system characterized by comprising a data transfer control means for performing control with an inter-interval transfer means.
CPUを用いてデータ転送を行なうことを特徴とする入
出力システム。(2) An input/output system characterized in that the memory-to-memory transfer means according to claim 1 transfers data using a CPU.
DMAコントローラを用いてデータ転送を行ない、さら
に、ターゲットバッファの物理アドレスを監視しメモリ
間転送手段を制御するアドレス監視手段を備えたことを
特徴とする入出力システム。(3) The inter-memory transfer means according to claim 1 transfers data using a DMA controller, and further includes address monitoring means for monitoring the physical address of the target buffer and controlling the inter-memory transfer means. An input/output system characterized by:
が、ディスク装置のシリンダ単位でのデータ転送と同期
して、データ転送制御を行なうことを特徴とする入出力
システム。(4) An input/output system characterized in that the data transfer control means according to claim 1 performs data transfer control in synchronization with data transfer in units of cylinders of a disk device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1036836A JPH02214960A (en) | 1989-02-15 | 1989-02-15 | input/output system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1036836A JPH02214960A (en) | 1989-02-15 | 1989-02-15 | input/output system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02214960A true JPH02214960A (en) | 1990-08-27 |
Family
ID=12480832
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1036836A Pending JPH02214960A (en) | 1989-02-15 | 1989-02-15 | input/output system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02214960A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8042111B2 (en) | 2007-04-05 | 2011-10-18 | Kyocera Mita Corporation | Information processing system and computer readable recording medium storing an information processing program |
-
1989
- 1989-02-15 JP JP1036836A patent/JPH02214960A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8042111B2 (en) | 2007-04-05 | 2011-10-18 | Kyocera Mita Corporation | Information processing system and computer readable recording medium storing an information processing program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH03188546A (en) | Bus interface control system | |
| JPH08115290A (en) | Data transfer device | |
| JP2000020451A (en) | Device and method for processing information and provision method | |
| JPH02214960A (en) | input/output system | |
| JP2684793B2 (en) | Information processing device | |
| JP3399776B2 (en) | Computer and method for transferring peripheral device control data in computer | |
| JPH01258163A (en) | Direct memory access controller | |
| JPS6240565A (en) | Memory control system | |
| JP3206910B2 (en) | DMA transfer method | |
| JPH04264652A (en) | Dma control system | |
| JP2638505B2 (en) | Bus interface device | |
| JPH01142962A (en) | Data transfer control system | |
| JPH0426744B2 (en) | ||
| JPH07334453A (en) | Memory access system | |
| JPH0773136A (en) | How a computer system works | |
| JPS63300346A (en) | Dma control system | |
| JPS62128341A (en) | Access control system for two port memory | |
| JPS60151894A (en) | Refresh circuit of dynamic ram | |
| JPS63231668A (en) | Interruption queue control system | |
| JPS61264463A (en) | Bus controlling system | |
| JPH06161947A (en) | Computer system | |
| JPH03278262A (en) | Information processor | |
| JPH04346150A (en) | Data transfer processing system | |
| JPH03262063A (en) | Bus control circuit for dma transfer | |
| JPH0628301A (en) | Direct memory access circuit |