JPH0520246A - Asynchronous i/o dynamic priority changing system - Google Patents
Asynchronous i/o dynamic priority changing systemInfo
- Publication number
- JPH0520246A JPH0520246A JP17388391A JP17388391A JPH0520246A JP H0520246 A JPH0520246 A JP H0520246A JP 17388391 A JP17388391 A JP 17388391A JP 17388391 A JP17388391 A JP 17388391A JP H0520246 A JPH0520246 A JP H0520246A
- Authority
- JP
- Japan
- Prior art keywords
- asynchronous
- data
- buffer
- priority
- storage device
- 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
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は,データ処理システムに
関し,特に,システムにおける非同期I/O処理のタイ
ミングの制御方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing system, and more particularly to a method of controlling the timing of asynchronous I / O processing in the system.
【0002】[0002]
【従来の技術】一般に,この種のデータ処理システムに
は,主記憶装置のほかに,外部記憶装置を備え,主記憶
装置の一部を外部記憶装置用の非同期I/Oバッファと
して使用するものがある。この場合,ユーザプログラム
との間で各種要求及びデータの授受を行なう制御プログ
ラムの制御のもとに,データの非同期I/Oバッファに
対してデータの書込みあるいはこのバッファからのデー
タの読み出しが行なわれている。2. Description of the Related Art Generally, a data processing system of this type includes an external storage device in addition to a main storage device, and uses a part of the main storage device as an asynchronous I / O buffer for the external storage device. There is. In this case, data is written to or read from the data asynchronous I / O buffer under the control of a control program that exchanges various requests and data with the user program. ing.
【0003】また,ユーザプログラムからの書き込み要
求が出されると,非同期I/Oバッファからデータの使
用率等には関係なく,外部記憶装置にデータが書き込ま
れていた。このように,従来の非同期I/O方式にて外
部記憶装置をアクセスするデータ処理システムでは,外
部記憶装置へのI/O動作はデータ間のプライオリティ
を考慮することなく実行されていた。Further, when a write request is issued from the user program, the data is written from the asynchronous I / O buffer to the external storage device regardless of the data usage rate. As described above, in the conventional data processing system that accesses the external storage device by the asynchronous I / O method, the I / O operation to the external storage device is executed without considering the priority of the data.
【0004】[0004]
【発明が解決しようとする課題】換言すれば,上記した
様に非同期I/O方式にて外部記憶装置をアクセスする
データ処理システムにおいては,外部記憶装置へのI/
Oは一意なプライオリティの非同期I/O実行タスクに
て,I/Oが実行されていた為,データの再利用化,お
よび,外部記憶装置に対する最適なアクセスなどのシス
テムにおける非同期I/Oバッファ内のデータ操作の効
率化が考慮されていない。例えば,ユーザプログラムか
らのデータ読み込み要求が発生した時点で該当するデー
タが見つからず,再度,外部記憶装置からデータを読み
込むと言った様な問題点があった。そこで,本発明の技
術的課題は,主記憶装置を有効に利用することができ,
ユーザプログラムからのデータ読み込み,書き込み時間
を短縮し,データ処理速度を飛躍的に向上することがで
きる非同期I/Oダイナミックプライオリティチェンジ
方式を提供することにある。In other words, in the data processing system for accessing the external storage device by the asynchronous I / O method as described above, the I / O to the external storage device is
O is an asynchronous I / O execution task with a unique priority. Since I / O was being executed, data reuse and optimal access to external storage devices, etc. in the asynchronous I / O buffer in the system The efficiency of the data manipulation of is not considered. For example, there is a problem that the corresponding data is not found at the time when a data read request is issued from the user program, and the data is read again from the external storage device. Therefore, the technical problem of the present invention is that the main storage device can be effectively used,
An object of the present invention is to provide an asynchronous I / O dynamic priority change system that can shorten the data read / write time from a user program and dramatically improve the data processing speed.
【0005】[0005]
【課題を解決するための手段】本発明によれば,外部記
憶装置と主記憶装置とを備え,該主記憶装置の一部を前
記外部記憶装置用の非同期I/Oバッファとして使用
し,このバッファ内にデータを格納する制御プログラム
と,このバッファ内のデータを非同期I/O実行タスク
にて主記憶空間から前記外部記憶装置へ非同期I/O動
作を行うデータ処理システムにおいて,前記非同期I/
O実行タスクのプライオリティを制御するためのプライ
オリティ制御手段と,該プライオリティ制御手段のもと
に,プライオリティをチェンジする手段とを有すること
を特徴とする非同期I/Oダイナミックプライオリティ
チェンジ方式が得られる。According to the present invention, an external storage device and a main storage device are provided, and a part of the main storage device is used as an asynchronous I / O buffer for the external storage device. A control program for storing data in a buffer and a data processing system for performing an asynchronous I / O operation from the main storage space to the external storage device by an asynchronous I / O execution task for the data in the buffer
There is provided an asynchronous I / O dynamic priority change system characterized by having priority control means for controlling the priority of the O execution task and means for changing the priority under the priority control means.
【0006】本発明によれば,前記プライオリティ制御
手段は,前記非同期I/O実行タスクと,前記制御プロ
グラムとからの夫々のデータ書き込み要求によってカウ
ントが更新されることによって,前記バッファ内のデー
タ使用率を算出する非同期I/Oデータカウンタと,該
カウンタの内容に応じて,前記非同期I/O実行タスク
のプライオリティを制御するプライオリティ制御テーブ
ルとを有することを特徴とする非同期I/Oダイナミッ
クプライオリティチェンジ方式が得られる。According to the present invention, the priority control means uses the data in the buffer by updating the count according to each data write request from the asynchronous I / O execution task and the control program. Asynchronous I / O dynamic priority change characterized by having an asynchronous I / O data counter for calculating a rate and a priority control table for controlling the priority of the asynchronous I / O execution task according to the contents of the counter The scheme is obtained.
【0007】本発明によれば,前記非同期I/O実行タ
スクは,書き込み要求が与えられた時,前記非同期I/
Oバッファ内に有効データが生成されたときレディ状態
となり,前記非同期I/Oバッファ内にデータが無くな
るまで,前記外部記憶装置に書き込むことを特徴とする
非同期I/Oダイナミックプライオリティチェンジ方式
が得られる。According to the present invention, the asynchronous I / O execution task receives the write request from the asynchronous I / O execution task.
An asynchronous I / O dynamic priority change method is obtained in which a valid state is generated when valid data is generated in the O buffer, and data is written in the external storage device until there is no data in the asynchronous I / O buffer. .
【0008】[0008]
【作用】本発明においては,主記憶装置の一部を前記外
部記憶装置用の非同期I/Oバッファとして使用してい
る。制御プログラムは,このバッファ内にデータを格納
する。一方,非同期I/O実行タスクは,バッファ内の
データを主記憶空間から外部記憶装置へ非同期I/O動
作を行う。この非同期I/O実行タスクのプライオリテ
ィは,プライオリティ制御手段によって制御され,プラ
イオリティをチェンジする手段によって,このプライオ
リティ制御手段のもとに,プライオリティがチェンジさ
れる。In the present invention, a part of the main memory is used as an asynchronous I / O buffer for the external memory. The control program stores the data in this buffer. On the other hand, the asynchronous I / O execution task performs an asynchronous I / O operation on the data in the buffer from the main storage space to the external storage device. The priority of this asynchronous I / O execution task is controlled by the priority control means, and the priority is changed by the means for changing the priority under this priority control means.
【0009】[0009]
【実施例】次に,本発明の実施例について図面を参照し
て説明する。Embodiments of the present invention will now be described with reference to the drawings.
【0010】図1は本発明の実施例のブロック図であ
る。図1に示すように,データ処理システムは制御プロ
グラム10と,非同期I/O実行タスク20と,プライ
オリティ制御テーブル6と,非同期I/Oデータカウン
タ7と,主記憶空間の一部が非同期I/Oバッファ3と
して使用される主記憶装置4と,外部記憶装置5とで構
成されている。FIG. 1 is a block diagram of an embodiment of the present invention. As shown in FIG. 1, the data processing system includes a control program 10, an asynchronous I / O execution task 20, a priority control table 6, an asynchronous I / O data counter 7, and a part of the main storage space which is asynchronous I / O. It is composed of a main storage device 4 used as an O buffer 3 and an external storage device 5.
【0011】図2は図1で示す非同期I/O実行タスク
20の処理例の流れ図である。FIG. 2 is a flow chart of a processing example of the asynchronous I / O execution task 20 shown in FIG.
【0012】図2をも参照して,図1に示された実施例
の動作を説明すると,制御プログラム10は,ユーザプ
ログラム00からの入出力要求に従って,非同期I/O
バッファ3内にデータの入力1及び出力2を行いユーザ
プログラム00との間でデータの授受を行う。このデー
タの入力1の際に,非同期I/Oデータカウンタ7を更
新する。Referring to FIG. 2 as well, the operation of the embodiment shown in FIG. 1 will be described. The control program 10 receives an asynchronous I / O in response to an input / output request from the user program 00.
Data input 1 and output 2 are performed in the buffer 3 to exchange data with the user program 00. At the time of this data input 1, the asynchronous I / O data counter 7 is updated.
【0013】また,非同期I/O実行タスク20は,ユ
ーザプログラム00とは別に非同期I/Oバッファ3内
のデータが無くなるまで外部記憶装置5へ書き込む。こ
の際,非同期I/Oデータカウンタ7を更新する(S
6)。Further, the asynchronous I / O execution task 20 writes data to the external storage device 5 separately from the user program 00 until there is no more data in the asynchronous I / O buffer 3. At this time, the asynchronous I / O data counter 7 is updated (S
6).
【0014】具体的には図2に示すように,非同期I/
O実行タスク20は,非同期I/Oバッファ3内に有効
データが生成されたときレディ状態となり,非同期I/
Oバッファ3内にデータが無くなるまで外部記憶装置5
へデータを書き込む(S5,S7)。この処理を行って
いる非同期I/O実行タスク20は非同期I/Oデータ
カウンタ7と,プライオリティ制御テーブルを用いてプ
ライオリティを変更している(S1,S2,S3)。Specifically, as shown in FIG. 2, asynchronous I / O
The O execution task 20 enters a ready state when valid data is generated in the asynchronous I / O buffer 3, and the asynchronous I / O
The external storage device 5 is used until there is no data in the O buffer 3.
Write data to (S5, S7). The asynchronous I / O execution task 20 performing this processing changes the priority using the asynchronous I / O data counter 7 and the priority control table (S1, S2, S3).
【0015】非同期I/O実行タスク20は,ユーザプ
ログラム00,制御プログラム10とは別に動作し,非
同期I/Oバッファの使用率からプライオリティをダイ
ナミックチェンジ(S6)している。このとき,バッフ
ァ使用率に当てはまるプライオリティをプライオリティ
制御テーブル6からサーチしているのである(S3)。The asynchronous I / O execution task 20 operates separately from the user program 00 and the control program 10, and dynamically changes the priority based on the usage rate of the asynchronous I / O buffer (S6). At this time, the priority corresponding to the buffer usage rate is searched from the priority control table 6 (S3).
【0016】これらのことを関連付けると,ユーザプロ
グラム00と制御プログラム10との間でデータの授受
を行っていることによりユーザプログラム00からデー
タの書き込み要求が発生した時点で制御プログラム10
は,そのデータを非同期I/Oバッファ3に格納し,非
同期I/O実行タスク20をレディ状態として,以前の
ユーザプログラムとの間のデータ授受を続ける。一方,
非同期I/O実行タスク20は制御プログラム10にレ
ディ状態とされたことによって非同期I/Oバッファ3
内の有効データを外部記憶装置5に有効データがなくな
るまで書き込み処理を続けるのである。しかし,この書
き込み処理をシステムにおいて最適なタイミングで行う
ために,非同期I/O実行タスク20と制御プログラム
10とで非同期I/Oバッファの使用率算出のためのカ
ウンタを管理することでプライオリティ制御テーブルを
用いて非同期I/O実行タスク20のプライオリティを
制御している。By associating these things with each other, when the user program 00 issues a data write request due to data exchange between the user program 00 and the control program 10, the control program 10
Stores the data in the asynchronous I / O buffer 3, sets the asynchronous I / O execution task 20 in the ready state, and continues the data exchange with the previous user program. on the other hand,
Since the asynchronous I / O execution task 20 has been made ready by the control program 10, the asynchronous I / O buffer 3
The writing process is continued until the valid data in the external storage device 5 is exhausted. However, in order to perform this write processing at the optimum timing in the system, the asynchronous I / O execution task 20 and the control program 10 manage a counter for calculating the usage rate of the asynchronous I / O buffer, thereby managing the priority control table. Is used to control the priority of the asynchronous I / O execution task 20.
【0017】[0017]
【発明の効果】以上,説明したように本発明によれば,
書き込み要求が発生した時点で非同期I/Oバッファ内
にデータを保存し,実際の書き込みは別タスクにて行わ
せるのだが,このときシステムにおいて非同期I/Oバ
ッファ内のデータを有効利用させるために,非同期I/
Oバッファの使用率から非同期I/O実行タスクのプラ
イオリティを制御し,動的に変更することによって,外
部記憶装置へ書き込みを行なわせているので,データの
再利用化,および,外部記憶装置に対しての適切なアク
セスを行う事により,主記憶装置を有効に利用すること
ができ,ユーザプログラムからのデータの読み込み,書
き込み時間が短縮し,データ処理システムの処理速度を
飛躍的に向上することができる非同期I/Oダイナミッ
クプライオリティチェンジ方式を提供することができ
る。As described above, according to the present invention,
Data is saved in the asynchronous I / O buffer when a write request occurs, and the actual writing is performed by another task. At this time, in order to effectively use the data in the asynchronous I / O buffer in the system. , Asynchronous I /
The priority of the asynchronous I / O execution task is controlled from the usage rate of the O buffer, and the data is written to the external storage device by dynamically changing it, so that the data can be reused and the external storage device can be controlled. By making appropriate access to the main memory, the main storage device can be effectively used, the reading and writing time of data from the user program can be shortened, and the processing speed of the data processing system can be dramatically improved. It is possible to provide an asynchronous I / O dynamic priority change system capable of performing.
【図1】本発明の実施例のブロック図。FIG. 1 is a block diagram of an embodiment of the present invention.
【図2】図1の非同期I/O実行タスクの処理例の流れ
図である。FIG. 2 is a flowchart of a processing example of an asynchronous I / O execution task of FIG.
1 入力 2 出力 3 非同期I/Oバッファ 4 主記憶装置 5 外部記憶装置 6 プライオリティ制御テーブル 7 非同期I/Oデータカウンタ 00 ユーザプログラム 10 制御プログラム 20 非同期I/O実行タスク 1 input 2 outputs 3 Asynchronous I / O buffer 4 main memory 5 External storage device 6 Priority control table 7 Asynchronous I / O data counter 00 User program 10 Control program 20 Asynchronous I / O execution task
Claims (3)
主記憶装置の一部を前記外部記憶装置用の非同期I/O
バッファとして使用し,このバッファ内にデータを格納
する制御プログラムと,このバッファ内のデータを非同
期I/O実行タスクにて主記憶空間から前記外部記憶装
置へ非同期I/O動作を行うデータ処理システムにおい
て, 前記非同期I/O実行タスクのプライオリティを制御す
るためのプライオリティ制御手段と,該プライオリティ
制御手段のもとに,プライオリティをチェンジする手段
とを有することを特徴とする非同期I/Oダイナミック
プライオリティチェンジ方式。1. An external storage device and a main storage device, wherein a part of the main storage device is an asynchronous I / O for the external storage device.
A control program that is used as a buffer and stores data in this buffer, and a data processing system that performs asynchronous I / O operation from the main storage space to the external storage device by the asynchronous I / O execution task of the data in this buffer In Asynchronous I / O dynamic priority change, there is provided priority control means for controlling the priority of the asynchronous I / O execution task, and means for changing the priority based on the priority control means. method.
ライオリティチェンジ方式において,前記プライオリテ
ィ制御手段は,前記非同期I/O実行タスクと,前記制
御プログラムとからの夫々のデータ書き込み要求によっ
てカウントが更新されることによって,前記バッファ内
のデータ使用率を算出する非同期I/Oデータカウンタ
と,該カウンタの内容に応じて,前記非同期I/O実行
タスクのプライオリティを制御するプライオリティ制御
テーブルとを有することを特徴とする非同期I/Oダイ
ナミックプライオリティチェンジ方式。2. The asynchronous I / O dynamic priority change method according to claim 1, wherein the priority control means updates the count by each data write request from the asynchronous I / O execution task and the control program. Accordingly, it has an asynchronous I / O data counter for calculating the data usage rate in the buffer, and a priority control table for controlling the priority of the asynchronous I / O execution task according to the contents of the counter. Asynchronous I / O dynamic priority change method.
ライオリティチェンジ方式において, 前記非同期I/O実行タスクは,書き込み要求が与えら
れた時,前記非同期I/Oバッファ内に有効データが生
成されたときレディ状態となり,前記非同期I/Oバッ
ファ内にデータが無くなるまで,前記外部記憶装置に書
き込むことを特徴とする非同期I/Oダイナミックプラ
イオリティチェンジ方式。3. The asynchronous I / O dynamic priority change method according to claim 2, wherein the asynchronous I / O execution task generates valid data in the asynchronous I / O buffer when a write request is given. The asynchronous I / O dynamic priority change method is characterized in that data is written into the external storage device until the asynchronous I / O buffer is out of data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17388391A JP3260399B2 (en) | 1991-07-15 | 1991-07-15 | Asynchronous I / O dynamic priority change method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17388391A JP3260399B2 (en) | 1991-07-15 | 1991-07-15 | Asynchronous I / O dynamic priority change method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0520246A true JPH0520246A (en) | 1993-01-29 |
JP3260399B2 JP3260399B2 (en) | 2002-02-25 |
Family
ID=15968883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP17388391A Expired - Fee Related JP3260399B2 (en) | 1991-07-15 | 1991-07-15 | Asynchronous I / O dynamic priority change method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3260399B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6080283A (en) * | 1997-11-25 | 2000-06-27 | Eveready Battery Company, Inc. | Plasma treatment for metal oxide electrodes |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102014226341A1 (en) * | 2014-12-18 | 2016-06-23 | Volkswagen Aktiengesellschaft | Compressor, exhaust gas turbocharger and internal combustion engine |
CN113728155A (en) | 2019-05-30 | 2021-11-30 | 三菱重工发动机和增压器株式会社 | Centrifugal compressor and turbocharger |
-
1991
- 1991-07-15 JP JP17388391A patent/JP3260399B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6080283A (en) * | 1997-11-25 | 2000-06-27 | Eveready Battery Company, Inc. | Plasma treatment for metal oxide electrodes |
Also Published As
Publication number | Publication date |
---|---|
JP3260399B2 (en) | 2002-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3181515B2 (en) | Data transfer method and data transfer device using the method | |
JPH0340868B2 (en) | ||
JP2821345B2 (en) | Asynchronous I / O control method | |
JP3260399B2 (en) | Asynchronous I / O dynamic priority change method | |
JPH0192851A (en) | Switching device for address space | |
JPH0512194A (en) | Data processing system having access to external storage in asynchronous i/o system | |
JP2571298B2 (en) | Data management control method | |
JPH0337748A (en) | External storage accessing system utilizing main storage | |
JPH01251248A (en) | Cache control system for stack data structure | |
JPH0731608B2 (en) | Information processing equipment | |
JPH07146814A (en) | Memory device | |
JPH05100926A (en) | Input/output managing system | |
JPH03282756A (en) | Asynchronous input/output system | |
JP2507399B2 (en) | Database equipment | |
JPH05257807A (en) | Cache memory controller | |
JPH04342011A (en) | Asynchronous input/output controlling system | |
JPS5818761A (en) | Storage controlling system | |
JPS6061851A (en) | Input and output processor | |
JPS63108448A (en) | Input/output request control system | |
JPH04111026A (en) | Write system for updating history information to data base | |
JPH0384636A (en) | Computer control system | |
JPH02253358A (en) | Cache memory | |
JPH02310658A (en) | Address control system | |
JPH04253239A (en) | Virtual memory system | |
JPH01183753A (en) | Input/output controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20010822 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20011113 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |