JPH03100752A - Holding type input/output control system - Google Patents

Holding type input/output control system

Info

Publication number
JPH03100752A
JPH03100752A JP23868489A JP23868489A JPH03100752A JP H03100752 A JPH03100752 A JP H03100752A JP 23868489 A JP23868489 A JP 23868489A JP 23868489 A JP23868489 A JP 23868489A JP H03100752 A JPH03100752 A JP H03100752A
Authority
JP
Japan
Prior art keywords
input
output
processing
device address
request
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
Application number
JP23868489A
Other languages
Japanese (ja)
Inventor
Yoshinobu Yamashiki
山敷 良能武
Michishige Yamaguchi
山口 理栄
Akihiko Togawa
明彦 戸川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP23868489A priority Critical patent/JPH03100752A/en
Publication of JPH03100752A publication Critical patent/JPH03100752A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the input/output request having a high priority level from waiting by temporarily holding the already started input/output operation at the time of the occurrence of the input/output request having a high priority of processing and preferentially executing the input/output request. CONSTITUTION:Two device addresses, namely, a device address 7a for high- speed access and a device address 7b for low-speed access are prepared for one input/output device 2; and if the input/output device 2 already starts the input/output operation by the device address 7b for low-speed access at the time of the occurrence of an input/output request to the device address 7a for high-speed, the input/output operation executed at present is temporarily held on the input/output operation executed at present is temporarily held on the input/output device 2 side. Then, the input/output request to the device address 7a for high-speed access is preferentially executed, and the held input/ output operation of the device address 7b for low-speed access is restarted at the time of the end of the input/output operation. Thus, the processing of the input/output request to the device address for high-speed access is not kept waiting.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、保留型入出力制御方式に関し、特に、データ
処理システムにおいて、オンライン処理のようにハイレ
スポンスを要求される処理がら出された入出力要求が、
同一の入出力装置に出されている大量データを扱う入出
力要求のために長時間待たされるのを防止する保留型入
出力制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a pending input/output control method, and in particular, in a data processing system, input/output control is performed when a process that requires high response, such as online processing, is issued. The output request is
The present invention relates to a pending input/output control method that prevents long waiting times due to input/output requests that handle large amounts of data issued to the same input/output device.

〔従来の技術〕[Conventional technology]

従来、データ処理システムにおいて、入出力装置を管理
する制御プログラム(入出力スーパバイザ)は、入出力
装置を管理する装置管理テーブルを入出力装置ごとに1
つずつ作成し、入出力要求を入出力装置ごとに各入出力
要求の優先順位に従い、待ち行列の要素として登録し、
チャネルおよび当該入出力装置が使用可能となったとき
に、待ち行列の先頭から処理を行い、各々の入出力要求
の処理を行う。
Conventionally, in data processing systems, a control program (input/output supervisor) that manages input/output devices creates a device management table for each input/output device.
Create each input/output request for each input/output device and register it as an element of the queue according to the priority of each input/output request.
When the channel and the corresponding I/O device become available, processing begins at the head of the queue and each I/O request is processed.

第3図は、入出力要求の処理を実行する入出力スーパバ
イザの処理を説明するブロック図である。
FIG. 3 is a block diagram illustrating the processing of an input/output supervisor that processes input/output requests.

第3図において、31は中央処理装置、32は入出力ス
ーパバイザ、33は入出力要求待ち行列、34は装置管
理テーブル、35は磁気ディスク制御装置、36は磁気
ディスク装置である。
In FIG. 3, 31 is a central processing unit, 32 is an input/output supervisor, 33 is an input/output request queue, 34 is a device management table, 35 is a magnetic disk controller, and 36 is a magnetic disk device.

図示しない処理プログラムから磁気ディスク族!!36
などの入出力装置に対する入出力要求が入出力スーパバ
イザ32に発行されると、入出力スーパバイザ32は、
発行された入出力要求を入出力待ち行列33に各入出力
要求の優先順位に従い、待ち行列の要素として登録する
。この結果、入出力待ち行列33には優先順位に従って
、各入出力要求40゜41.42が登録され、入出力要
求処理のスケジュールが行われる。そして、チャネルお
よび入出力装置が使用可能となったときに、入出力待ち
行列33の先頭から、入出力要求を順次に取り出して、
各々の入出力要求の処理を行う、この入出力要求の処理
は、例えば、中央処理装置31のチャネルから磁気ディ
スク制御装置1135を介して、入出力装置の磁気ディ
スク装置36に対してアクセスバス(チャネルパス)を
設定して、入出力処理を行う。
Magnetic disk family from processing program not shown! ! 36
When an input/output request for an input/output device such as
The issued input/output requests are registered in the input/output queue 33 as elements of the queue according to the priority of each input/output request. As a result, each input/output request 40, 41, 42 is registered in the input/output queue 33 according to the priority order, and the input/output request processing is scheduled. Then, when channels and input/output devices become available, input/output requests are sequentially taken out from the head of the input/output queue 33, and
Processing of each input/output request is performed by, for example, sending an access bus ( channel path) and perform input/output processing.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、上述のようにして入出力スーパバイザ32が
、入出力待ち行列33により入出力処理のスケジュール
を行って、入出力要求の処理を行う場合、既に動作中の
入出力装置に対する入出力要求が行なわれた場合には、
当該入出力要求の処理の優先順位が高くても当該入出力
要求はスケジュールされるだけで、動作中の入出力処理
が終了するまで、当該入出力要求の処理は待たされるこ
とになる0例えば、データ処理システムにおいて、つの
入出力装置に対して大量データを扱う入出力要求の処理
が実行されている場合には、オンライン処理のようにハ
イレスポンスを要求される処理であって、処理の優先順
位の高い入出力要求であっても、同一の入出力装置に対
して実行されている大量データを扱う入出力要求の処理
のために長時間待たされることになる。
By the way, when the input/output supervisor 32 schedules input/output processing using the input/output queue 33 and processes input/output requests as described above, the input/output requests are not made to input/output devices that are already in operation. If the
Even if the processing priority of the input/output request is high, the input/output request will only be scheduled, and the processing of the input/output request will have to wait until the active input/output processing is completed.0For example, In a data processing system, when input/output requests that handle large amounts of data are being processed for one input/output device, processing that requires high response, such as online processing, is prioritized. Even if the input/output request is high, the user will have to wait for a long time due to the processing of the input/output request that handles a large amount of data and is being executed for the same input/output device.

このように、既に動作中の入出力装置に対して実行中の
入出力動作を保留し、処理の優先順位の高い入出力要求
を先に実行させるという点について、配慮がされておら
ず、既に実行中の入出力処理に対しては、入出力動作が
完了するまでは、いくら処理の優先順位が高い入出力要
求であっても。
In this way, no consideration has been given to suspending the input/output operation being executed for the input/output device that is already in operation, and having the input/output request with a higher processing priority executed first. For input/output processing that is currently being executed, no matter how high the priority of the processing is, the input/output request will not be processed until the input/output operation is completed.

その入出力要求の処理は待たされてしまうという問題が
ある。
There is a problem in that the processing of the input/output request is made to wait.

本発明は、前記問題点を解決するためになされたもので
ある。
The present invention has been made to solve the above problems.

本発明の目的は、データ処理システムぽおけるオンライ
ン処理のようにハイレスポンスを要求される処理から出
された入出力要求が、同一の入出力装置に出されている
大量データを扱う入出力要求のために長時間時たされる
のを防止する保留型入出力制御方式を提供することにあ
る。
It is an object of the present invention to realize that an input/output request issued from a process that requires a high response such as online processing in a data processing system can be used as an input/output request that handles a large amount of data issued to the same input/output device. An object of the present invention is to provide a hold-type input/output control method that prevents the input/output from being delayed for a long time.

本発明の前記ならびにその他の目的と新規な特徴は、本
明細書の記述及び添付図面によって明らかになるであろ
う。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために、本発明の保留型入出力制御
方式は、同一の入出力装置に対して、処理の優先順位が
異なる複数の装置アドレスを準備し、装置アドレスを指
定して出された入出力要求に対して、既に同一の入出力
装置が低い優先順位の装置アドレスで入出力動作中であ
った場合に。
In order to achieve the above object, the pending input/output control method of the present invention prepares a plurality of device addresses with different processing priorities for the same input/output device, and outputs a device address by specifying the device address. In response to an input/output request, the same input/output device is already performing input/output operations at a lower priority device address.

低い優先順位の装置アドレスで実行中の入出力動作を一
時的に入出力装置側で保留し、高い優先順位の装置アド
レスで出された入出力要求を先に実行し、その入出力動
作が終了した時点で、保留していた低い優先順位の装置
アドレスの入出力動作を再開始することを特徴とする。
The I/O operation being executed at a device address with a lower priority is temporarily suspended on the I/O device side, the I/O request issued at a device address with a higher priority is executed first, and that I/O operation is completed. It is characterized in that, at the point in time, the pending input/output operation of a device address with a lower priority is restarted.

〔作用〕[Effect]

前述した手段によれば、同一の入出力装置に対して、処
理の優先順位が異なる複数の装置アドレス、例えば、高
速アクセス用装置アドレスと低速アクセス用装置アドレ
スとの2個の装置アドレスが準備される。そして、高速
アクセス用装置アドレスに対して出された入出力要求の
処理は、既に同一の入出力装置が低速アクセス用装置ア
ドレスで入出力動作中であった場合に、低速アクセス用
装置アドレスで実行中の入出力動作を一時的に入出力装
置側で保留し、高速アクセス用装置アドレスに対して出
された入出力要求を先行して実行する。そして、高速ア
クセス用装置アドレスに対して出された入出力要求の入
出力動作が終了した時点で、保留していた低速アクセス
用装置アドレスの入出力動作を再開始する。
According to the above-described means, a plurality of device addresses with different processing priorities are prepared for the same input/output device, for example, two device addresses, a high-speed access device address and a low-speed access device address. Ru. Processing of an input/output request issued to a high-speed access device address is executed using the low-speed access device address if the same input/output device is already performing input/output operations using the low-speed access device address. The input/output operations during the process are temporarily suspended on the input/output device side, and the input/output requests issued to the high-speed access device address are executed in advance. Then, when the input/output operation of the input/output request issued to the high-speed access device address is completed, the input/output operation of the pending low-speed access device address is restarted.

例えば、高速アクセス用装置アドレスと低速アクセス用
装置アドレスの2個の装置アドレスが設けられた入出力
装置は、いづれの装置アドレスで入出力要求が行われて
も入出力要求の処理を実行するが、高速アクセス用装置
アドレスと低速アクセス用装置アドレスの両方で同時に
入出力要求を受付けたときには、高速アクセス用装置ア
ドレスの側の入出力要求が先行して実行する。そして、
当該高速アクセス用装置アドレスでの入出力要求の入出
力動作が完了してから低速アクセス用装置アドレスでの
入出力動作を開始する。
For example, an input/output device that is provided with two device addresses, a high-speed access device address and a low-speed access device address, will process the input/output request no matter which device address is used to perform the input/output request. When input/output requests are received at the same time for both a high-speed access device address and a low-speed access device address, the input/output request for the high-speed access device address is executed first. and,
After the input/output operation of the input/output request at the high-speed access device address is completed, the input/output operation at the low-speed access device address is started.

また、高速アクセス用装置アドレスで入出力動作実行要
求を受付けたときに、既に低速アクセス用装置アドレス
での入出力要求が動作実行中であった場合には、低速ア
クセス用装置アドレスで実行中の入出力動作を保留し、
高速アクセス用装置アドレスで受付けた入出力要求の入
出力動作を先に実行し、当該入出力動作が完了してから
保留していた低速アクセス用装置アドレスの入出力動作
を再開始するように動作する。
In addition, if an input/output request is already being executed at a low-speed access device address when an input/output operation execution request is accepted at a high-speed access device address, the input/output operation execution request at the low-speed access device address is already being executed. suspends input/output operations,
The I/O operation for the I/O request received using the high-speed access device address is executed first, and after the I/O operation is completed, the I/O operation for the low-speed access device address that was on hold is restarted. do.

これにより、高速アクセス用装置アドレスで出された入
出力要求の処理が、低速アクセス用装置アドレスで出さ
れた入出力要求の実行のために待たされることがない。
As a result, processing of an input/output request issued using a high-speed access device address is not made to wait for execution of an input/output request issued using a low-speed access device address.

このように、同一の入出力装置に対して、処理の優先順
位が異なる複数の装置アドレスを設け、例えば、高速ア
クセス用装置アドレスと低速アクセス用装置アドレスの
2個の装置アドレスを設けておき、入出力装置に対して
既に入出力要求の処理が実行中である場合でも、その入
出力要求よりも処理の優先順位の高い装置アドレスでの
入出力要求が発生したならば、既に実行中の入出力動作
を一担保留し、後から発生した優先順位の高い装置アド
レスの入出力要求を先に実行し、その入出力動作が完了
した時点で保留していた入出力要求を再開始する。これ
により、優先順位の高い入出力要求が他の入出力要求の
処理のために待たされないようにできる。
In this way, a plurality of device addresses with different processing priorities are provided for the same input/output device, for example, two device addresses are provided, a device address for high-speed access and a device address for low-speed access, Even if an input/output request is already being processed for an input/output device, if an input/output request occurs at a device address with a higher processing priority than that input/output request, the input/output request that is already being processed will be processed. The output operation is held for a while, the input/output request of a higher priority device address that occurs later is executed first, and the suspended input/output request is restarted when the input/output operation is completed. This prevents high-priority input/output requests from having to wait for processing of other input/output requests.

高速アクセス用装置アドレスで入出力要求を行う場合は
、例えば、オンライン処理のように、高速小量処理用の
入出力処理とし、低速アクセス用装置アドレスで入出力
要求を行う場合は、例えば。
When an input/output request is made using a device address for high-speed access, the input/output processing is for high-speed, small-volume processing, such as online processing, and when an input/output request is made using a device address for low-speed access, for example.

データベース処理のように、低速大量処理用の入出力処
理とする。これにより、データ処理システムにおけるオ
ンライン処理のようにハイレスポンスを要求される処理
から出された入出力要求が。
This is input/output processing for low-speed, high-volume processing, such as database processing. This allows input/output requests issued from processes that require high response, such as online processing in data processing systems.

同一の入出力装置に出されている大量データを扱う入出
力要求のために長時開時たされることが防止される。
This prevents the device from being open for a long time due to input/output requests that handle large amounts of data issued to the same input/output device.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を用いて具体的に説明す
る。
Hereinafter, one embodiment of the present invention will be specifically described using the drawings.

第1図は1本発明の一実施例にかかる入出力要求の処理
をスケジュールして実行するデータ処理システムの要部
の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of essential parts of a data processing system that schedules and executes processing of input/output requests according to an embodiment of the present invention.

第1図において、1は中央処理装置、2は入出力スーパ
バイザ、3a、3bは入出力要求待ち行列、4a、4b
は装置管理テーブル、5a、5bは磁気ディスク制御装
置、6は処理保留機能を有する磁気ディスク装置である
。磁気ディスク装置6には、磁気ディスク装置部13に
加えて、処理の優先順位の異なる入出力要求を保留して
処理する機能を備えるため、優先処理制御部11および
入出力要求保留処理部12が備えられる。また、磁気デ
ィスク装置6には、処理の優先順位が異なる装置アドレ
スである高速アクセス用装置アドレス7aと、低速アク
セス用装置アドレス7bとの2つの装置アドレスが設定
されており、いずれの装置アドレスを用いて入出力要求
を行ってもよいようになっている。なお、 14.15
.16.17は待ち行列に登録された各々の入出力要求
を示している。
In FIG. 1, 1 is a central processing unit, 2 is an input/output supervisor, 3a, 3b are input/output request queues, 4a, 4b
1 is a device management table, 5a and 5b are magnetic disk control devices, and 6 is a magnetic disk device having a processing hold function. In addition to the magnetic disk device section 13, the magnetic disk device 6 has a function of suspending and processing input/output requests with different processing priorities, so the priority processing control section 11 and the input/output request suspension processing section 12 are provided. Be prepared. Furthermore, two device addresses are set in the magnetic disk device 6: a high-speed access device address 7a and a low-speed access device address 7b, which are device addresses with different processing priorities. You can also use it to make input/output requests. In addition, 14.15
.. 16.17 shows each input/output request registered in the queue.

2個の装置アドレスを持つ磁気ディスク装置6は、各々
の装置アドレスごとに異なる磁気ディスク制御装!5a
、5bを介して中央処理、装置1のチャネル(図示せず
)に接続されている。入出力装置を管理する入出力スー
パバイザ2は、入出力装置の各々の装置アドレスに対応
して装置管理テーブル4a、4bを作成し、装置アドレ
スを登録して、入出力要求の処理のスケジュールを行う
The magnetic disk device 6, which has two device addresses, has a different magnetic disk control device for each device address! 5a
, 5b to a channel (not shown) of the central processing device 1. The input/output supervisor 2 that manages the input/output devices creates device management tables 4a and 4b corresponding to each device address of the input/output devices, registers the device addresses, and schedules processing of input/output requests. .

この例では、高速アクセス用装置アドレス7aおよび低
速アクセス用装置アドレス7bの2つの装置アドレスを
有する磁気ディスク装置6に対して、装置管理テーブル
4a、4bが作成され、それぞれの装置管理テーブル4
a、4bに、高速アクセス用装置アドレス7aおよび低
速アクセス用装置アドレス7bが登録される。
In this example, device management tables 4a and 4b are created for a magnetic disk device 6 that has two device addresses, a device address for high-speed access 7a and a device address for low-speed access 7b, and the device management tables 4a and 4b are created for each device management table 4.
A high-speed access device address 7a and a low-speed access device address 7b are registered in a and 4b.

装置管理テーブル4aで管理されている装置アドレス(
高速アクセス用装置アドレス7a)は。
The device address (
The high-speed access device address 7a) is.

装置管理テーブル4bで管理されている装置アドレス(
低速アクセス用装置アドレス7b)よりも処理の優先順
位が高く設定されている。磁気ディスク装置6を使用す
るときは、オンラインプログラムのように高速処理が要
求されるプログラムは装置管理テーブル4aの装置アド
レスで入出力要求を行い、ボリュームのバックアップ採
取のように大量データを扱うプログラムは装置管理テー
ブル4bの装置アドレスで入出力要求を行う。
The device address (
The processing priority is set higher than the low-speed access device address 7b). When using the magnetic disk device 6, programs that require high-speed processing, such as online programs, make input/output requests using the device address in the device management table 4a, and programs that handle large amounts of data, such as volume backups, do not. An input/output request is made using the device address in the device management table 4b.

このように装置アドレスを指定して発行された入出力要
求を受付けて、2個の装置アドレスを持つ磁気ディスク
装置6に対して、入出力スーパバイザ2は各々の装置ア
ドレスを指定して発行される入出力要求を受付け、高速
処理が要求される入出力要求14と低速処理でよい入出
力要求15.16゜17とを、それぞれ入出力要求待ち
行列3a、3bの要素として登録し、入出力要求の処理
のスケジュールが行われる。
In this way, the input/output supervisor 2 receives an input/output request issued by specifying a device address, and issues the request to the magnetic disk device 6 having two device addresses by specifying each device address. The input/output requests are accepted, and the input/output requests 14 that require high-speed processing and the input/output requests 15, 16, 17 that require low-speed processing are registered as elements of the input/output request queues 3a and 3b, respectively, and the input/output requests are processed. Processing is scheduled.

磁気ディスク装置6に対して、入出力要求の入出力動作
の実行処理を行う場合、入出力スーパバイザ2が磁気デ
ィスク制御装置5aおよび5bを介して2つのチャネル
バスを設定し、それぞれに入出力要求待ち行列3aおよ
び3bから、入出力要求14および入出力要求15を取
り出し、同時に磁気ディスク装置16に対して入出力要
求の処理の実行要求を行う、この場合、磁気ディスク装
置6では、自己に設けられている2個の装置アドレスに
対して同時に入出力要求の実行要求を受付けて処理を開
始する。受は付けた入出力動作の実行要求は、まず、優
先処理制御部11で入出力動作の処理の実行のための優
先順位の決定が行われる。この結果、装置管理テーブル
4aの側から出された入出力要求14の入出力動作が開
始され、装置管理テーブル4bの側から出された入出力
要求15の処理は、入出力要求保留処理部12の働きで
保留′1れる。
When executing an input/output operation for an input/output request with respect to the magnetic disk device 6, the input/output supervisor 2 sets up two channel buses via the magnetic disk controllers 5a and 5b, and executes an input/output request for each. The input/output request 14 and the input/output request 15 are taken out from the queues 3a and 3b, and at the same time a request is made to the magnetic disk device 16 to process the input/output request. In this case, the magnetic disk device 6 It simultaneously accepts requests to execute input/output requests for the two device addresses listed and starts processing. For the accepted input/output operation execution request, first, the priority processing control unit 11 determines the priority order for executing the input/output operation processing. As a result, the input/output operation of the input/output request 14 issued from the device management table 4a side is started, and the processing of the input/output request 15 issued from the device management table 4b side is performed by the input/output request pending processing unit 12. It is held by '1'.

これは、装置管理テーブル4aの側から出された入出力
要求14の入出力動作が完了するまで保留され、処理の
優先順位が高い実行中の入出力要求14の入出力動作が
完了した時点で再開始される。また、例えば、装置管理
テーブル4bの側から出された入出力要求15が磁気デ
ィスク装置6で動作中のときに、装置管理テーブル4a
の側からの入出力要求14の動作実行要求を磁気ディス
ク装置6が受付けると、優先処理制御部11が既に実行
中の入出力要求15と今受付けた入出力要求14のいづ
れが処理の優先順位が高いかを判別する。この場合、今
受付けた入出力要求14の優先順位が高いと判定される
ので、優先順位の低い装置管理テーブル4bの側からの
入出力要求15は入出力要求保留処理部12で保留状態
にし、優先順位の高い装置管理テーブル4aの側の入出
力要求14を先に実行する。
This is suspended until the input/output operation of the input/output request 14 issued from the device management table 4a side is completed, and when the input/output operation of the input/output request 14 currently being executed with a high processing priority is completed. will be restarted. Further, for example, when the input/output request 15 issued from the device management table 4b side is being operated on the magnetic disk device 6, the device management table 4a
When the magnetic disk device 6 receives an operation execution request for the input/output request 14 from the side, the priority processing control unit 11 determines which of the input/output requests 15 that is already being executed and the input/output request 14 that has just been accepted has priority for processing. is high. In this case, the input/output request 14 that has just been accepted is determined to have a high priority, so the input/output request 15 from the device management table 4b, which has a low priority, is put on hold in the input/output request holding processing unit 12, and The input/output request 14 on the device management table 4a side having a higher priority is executed first.

この入出力要求14の入出力動作が完了すると、次に入
出力要求保留処理部12で保留していた入出力要求の入
出力動作の再開始を行う。
When the input/output operation of this input/output request 14 is completed, next, the input/output operation of the input/output request that was held in the input/output request suspension processing section 12 is restarted.

このように、2つの装置アドレスを持つ磁気ディスク装
置では、複数のチャネルバスからの入出力要求の処理の
優先順位を判定して、現在実行中の処理の保留の処理を
も含めて入出力要求の入出力動作の実行処理を行う。
In this way, a magnetic disk device with two device addresses determines the processing priority of input/output requests from multiple channel buses, and processes input/output requests including pending processing of currently executing processing. Executes input/output operations.

第2yIIは、磁気ディスク装置が行う入出力要求の実
行処理の処理フローを示すフローチャートである。
2yII is a flowchart showing the processing flow of the input/output request execution processing performed by the magnetic disk device.

第2図を参照して説明する。中央処理装置からチャネル
、磁気ディスク制御装置を通して、磁気ディスク装置に
入出力実行要求が出された場合。
This will be explained with reference to FIG. When an input/output execution request is issued from the central processing unit to the magnetic disk unit through a channel or magnetic disk control unit.

まず、ステップ20において、優先処理制御部が当該磁
気ディスク装置が動作中であるが否がチエツクする。動
作中でないときには、ステップ25に進み、そのまま受
取った入出力要求を実行する。
First, in step 20, the priority processing control section checks whether the magnetic disk device in question is in operation. If it is not in operation, the process proceeds to step 25 and executes the received input/output request as is.

また、磁気ディスク装置が実行中である場合には。Also, if the magnetic disk device is running.

ステップ21に進み、優先処理制御部が動作中の入出力
要求の装置アドレスと、受付けた入出力要求の装置アド
レスとの優先順位を比較する。動作中の装置アドレスの
方が処理の優先順位が高い場合には、ステップ22に進
み1入出力要求の実行要求元の磁気ディスク制御装置に
動作中を報告して、処理を終了する。これにより、磁気
ディスク制御装置はチャネルに対して動作中を報告する
Proceeding to step 21, the priority processing control unit compares the priorities of the device address of the active input/output request and the device address of the accepted input/output request. If the operating device address has a higher processing priority, the process proceeds to step 22, where the operating state is reported to the magnetic disk control device that requested the execution of one input/output request, and the processing ends. As a result, the magnetic disk control device reports to the channel that it is in operation.

また、ステップ21の判定の処理で、入出力要求の実行
要求を受付けた装置アドレスの方が実行中の装置アドレ
スよりも優先順位が高い場合には、ステップ23におい
て、実行中の入出力要求の処理を中断し、ステップ24
で磁気ディスク制御装置へ中断報告を行い1次のステッ
プ25で受付けた入出力要求の処理を実行する。
Further, in the determination process of step 21, if the device address that received the request to execute the input/output request has a higher priority than the device address currently being executed, in step 23, the Interrupt the process and proceed to step 24
In step 25, an interruption report is sent to the magnetic disk control device, and processing of the input/output request accepted in step 25 is executed.

すなわち、優先処理制御部が入出力要求を受付けた装置
アドレスの方が実行中の入出力要求の装置アドレスより
も優先順位が高いと判定すると。
That is, when the priority processing control unit determines that the device address that received the input/output request has a higher priority than the device address of the input/output request that is being executed.

入出力要求保留処理部に実行中の入出力動作を保留する
ように指示する。これにより、入出力要求保留処理部は
、入出力動作の現在実行中のレコードに対する処理が終
了したところで、次に入出力処理を行うレコードの位M
(例えば、シリンダ番号、トラック番号、レコード番号
)を記憶して、動作を中断すると同時に、実行中であっ
た磁気ディスク制御装置に対して、入出力動作の中断を
報告する。これにより、磁気ディスク制御装置は、チャ
ネルとの接続を中断し、磁気ディスク装置から再開始の
指示を待つ、そして、入出力要求保留処理部で保留処理
を完了したことが優先処理制御部へ伝えられると、優先
処理制御部では受付けた入出力要求の処理を実行する。
Instructs the input/output request suspension processing unit to suspend the input/output operation being executed. As a result, when the input/output request pending processing unit finishes processing the record that is currently being processed, the input/output request suspension processing unit can move
(for example, cylinder number, track number, record number), and at the same time as interrupting the operation, reports the interruption of the input/output operation to the magnetic disk control device that was in execution. As a result, the magnetic disk controller interrupts the connection with the channel, waits for a restart instruction from the magnetic disk device, and informs the priority processing controller that the I/O request pending processor has completed the pending process. When the input/output request is received, the priority processing control unit executes processing of the received input/output request.

このようにして、優先順位が高い入出力動作が完了する
と、ステップ26において、優先処理制御部から、磁気
ディスク制御装置に終了報告を行った後、ステップ27
において、入出力要求保留処理部で保留中の入出力要求
の処理が有るが否がを判定する。保留されている入出力
要求がある場合には、ステップ28で中断報告を行った
磁気ディスク制御装置に再開始の連絡を行い、磁気ディ
スク制御装置からチャネルと再結合した連絡を受けた後
に、ステップ29において、保留していた入出力要求の
入出力動作の実行を中断点がら再開始する。また、ステ
ップ27で保留中の入出力要求がなければ処理を終了す
る。
When the input/output operation with a high priority is completed in this way, the priority processing control unit reports completion to the magnetic disk controller in step 26, and then in step 27
In this step, the input/output request suspension processing section determines whether there is any pending input/output request processing. If there is a pending I/O request, the magnetic disk controller that reported the interruption is notified of restart in step 28, and after receiving notification from the magnetic disk controller that the channel has been reconnected, step 28 is executed. At step 29, execution of the input/output operation of the pending input/output request is restarted from the interruption point. Further, if there is no pending input/output request in step 27, the process ends.

このように本実施例によれば、同一装置に対して、既に
実行中の入出力要求がある場合でも、その入出力要求よ
りも処理の優先順位の高い入出力要求が発生したならば
、既に実行中の入出力動作を一担保留し、後から発生し
た処理の優先順位の高い入出力要求を先に実行させ、そ
の入出力動作が完了した時点で保留していた入出力要求
を再開始する。これにより、処理の優先順位の高い入出
力要求が他の入出力要求の入出力動作の実行中のために
待たされないようにできる。
In this way, according to this embodiment, even if there is an input/output request that is already being executed for the same device, if an input/output request with a higher processing priority than that input/output request occurs, the process is already executed. Holds the I/O operations in progress, executes the I/O requests that occur later with higher priority, and restarts the pending I/O requests when the I/O operations are completed. do. This makes it possible to prevent an input/output request with a high processing priority from being kept waiting because the input/output operations of other input/output requests are being executed.

以上、本発明を実施例にもとづき具体的に説明したが、
本発明は、前記実施例に限定されるものではなく、その
要旨を逸脱しない範囲において種々変更可能であること
は言うまでもない。
The present invention has been specifically explained above based on examples, but
It goes without saying that the present invention is not limited to the embodiments described above, and can be modified in various ways without departing from the spirit thereof.

〔発明の効果〕〔Effect of the invention〕

以上、説明したように、本発明の保留型入出力制御方式
によれば、処理の優先順位が高い入出力要求の実行が、
同一の入出力装置の既に実行中の他の入出力要求の実行
中により待たされることが無くなる。このため、同一の
入出力装置に対する入出力要求が、オンラインプログラ
ムのようにハイレスポンスを要求されるプログラムとボ
リュームのバックアップ採取のように大量データを扱う
プログラムとを同時に実行される場合であっても。
As explained above, according to the pending input/output control method of the present invention, execution of input/output requests with high processing priority is
This eliminates the need to wait while another input/output request is already being executed by the same input/output device. Therefore, even if an input/output request to the same input/output device is executed simultaneously by a program that requires a high response, such as an online program, and a program that handles large amounts of data, such as a volume backup. .

オンラインプログラムのハイレスポンスを要求されるプ
ログラムから出される入出力要求の実行時間が遅くなら
ないという効果がある。
This has the effect of not slowing down the execution time of input/output requests issued by programs that require high response times in online programs.

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

第1図は1本発明の一実施例にかかる入出力要求の処理
をスケジュールして実行するデータ処理システムの要部
の構成を示すブロック図。 第2図は、磁気ディスク装置が行う入出力要求の実行処
理の処理フローを示すフローチャート、第3図は、入出
力要求の処理を寒行する入出力スーパバイザの処理を説
明するブロック図である。 図中、1.31・・・中央処理装置、2.32・・・入
出力スーパバイザ、3a、3b、33・・・入出力要求
待ち行列、4a、4b、34−装置管理テーブル、5a
。 5 b 、 35・・・磁気ディスク制御装置、6,3
6・・・磁気ディスク装置、11・・・優先処理制御部
、12・・・入出力要求保留処理部、13・・・磁気デ
ィスク装置部、14゜15、1G、 17.40.41
.42.・・・入出力要求。 箋1□□□
FIG. 1 is a block diagram showing the configuration of essential parts of a data processing system that schedules and executes processing of input/output requests according to an embodiment of the present invention. FIG. 2 is a flowchart showing the processing flow of the input/output request execution processing performed by the magnetic disk device, and FIG. 3 is a block diagram illustrating the processing of the input/output supervisor that executes the processing of the input/output request. In the figure, 1.31...Central processing unit, 2.32...I/O supervisor, 3a, 3b, 33...I/O request queue, 4a, 4b, 34-device management table, 5a
. 5 b, 35... magnetic disk control device, 6,3
6...Magnetic disk device, 11...Priority processing control section, 12...I/O request pending processing section, 13...Magnetic disk device section, 14°15, 1G, 17.40.41
.. 42. ...I/O request. Notebook 1□□□

Claims (1)

【特許請求の範囲】 1、同一の入出力装置に対して、処理の優先順位が異な
る複数の装置アドレスを設け、装置アドレスを指定して
入出力要求を行い、入出力装置に対して既に入出力要求
が実行中である場合において、当該入出力装置に対して
優先順位が高い装置アドレスで入出力要求が発生した時
には、既に実行中の入出力動作を一担保留し、後に発生
した優先順位の高い装置アドレスでの入出力要求を先に
実行し、入出力要求の処理動作が完了した時点で保留し
ていた入出力要求を再開始することを特徴とする保留型
入出力制御方式。 2、同一の入出力装置に対して、高速アクセス用装置ア
ドレスと低速アクセス用装置アドレスとの2個の装置ア
ドレスを準備し、高速アクセス用装置アドレスに対して
出された入出力要求の処理を、既に同一の入出力装置の
低速アクセス用装置アドレスで入出力動作中であった場
合には、低速アクセス用装置アドレスで実行中の入出力
動作を一時的に入出力装置側で保留し、高速アクセス用
装置アドレスに対して出された入出力要求を先に実行さ
せ、その入出力動作が終了した時点で、保留していた低
速アクセス用装置アドレスの入出力動作を再開始するこ
とを特徴とする保留型入出力制御方式。 3、同一の入出力装置に対して、高速小量処理用装置ア
ドレスと低速大量処理用装置アドレスの2個の装置アド
レスを持たせて、入出力装置を管理し、各装置アドレス
に対して入出力要求のスケジュールを行う入出力要求ス
ケジュール処理部と、低速大量処理用装置アドレスで入
出力動作実行中に、高速大量処理用装置アドレスに対し
て入出力動作実行要求が行われことを判定する優先処理
制御部と、優先処理制御部の指示により当該入出力装置
が低速大量処理用装置アドレスで実行中の入出力動作を
一時保留し、高速小量処理用装置アドレスに対して出さ
れた入出力動作実行要求を先に実行し、入出力動作完了
後に一時保留していた低速小量処理用装置アドレスの入
出力動作を再開始する入出力要求保留処理部とを有する
ことを特徴とする保留型入出力制御装置。 4、入出力スケジュール処理部は、入出力スーパバイザ
に設けられ、優先処理制御部および入出力要求保留処理
部は、入出力装置に設けられることを特徴とする請求項
3に記載の保留型入出力制御装置。
[Claims] 1. For the same input/output device, provide multiple device addresses with different processing priorities, specify the device address and make an input/output request, and check if the input/output device has already received input. When an output request is being executed and an input/output request occurs at a device address with a higher priority for the input/output device, the input/output operation that is already being executed is held and the priority level that occurs later is A pending input/output control method characterized in that an input/output request at a device address with a higher address is executed first, and the suspended input/output request is restarted when the processing operation of the input/output request is completed. 2. Prepare two device addresses, a high-speed access device address and a low-speed access device address, for the same input/output device, and process input/output requests issued to the high-speed access device address. , if an input/output operation is already in progress at the low-speed access device address of the same input/output device, the input/output operation being executed at the low-speed access device address is temporarily suspended on the input/output device side, and The present invention is characterized in that an input/output request issued to an access device address is executed first, and when that input/output operation is completed, the input/output operation of the pending low-speed access device address is restarted. A pending input/output control method. 3. Manage the input/output device by assigning two device addresses for the same input/output device: a device address for high-speed, small-volume processing and a device address for low-speed, high-volume processing. An input/output request schedule processing unit that schedules output requests, and a priority module that determines whether an input/output operation execution request is made to a high-speed, high-volume processing device address while an input/output operation is being executed at a low-speed, high-volume processing device address. According to instructions from the processing control unit and the priority processing control unit, the input/output device in question temporarily suspends the input/output operations being executed at the low-speed, large-volume processing device address, and performs input/output operations issued to the high-speed, small-volume processing device address. A suspension type characterized by having an input/output request suspension processing unit that executes the operation execution request first and restarts the input/output operation of the temporarily suspended low-speed, small-volume processing device address after the input/output operation is completed. I/O controller. 4. The pending type input/output according to claim 3, wherein the input/output schedule processing section is provided in the input/output supervisor, and the priority processing control section and the input/output request pending processing section are provided in the input/output device. Control device.
JP23868489A 1989-09-13 1989-09-13 Holding type input/output control system Pending JPH03100752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23868489A JPH03100752A (en) 1989-09-13 1989-09-13 Holding type input/output control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23868489A JPH03100752A (en) 1989-09-13 1989-09-13 Holding type input/output control system

Publications (1)

Publication Number Publication Date
JPH03100752A true JPH03100752A (en) 1991-04-25

Family

ID=17033768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23868489A Pending JPH03100752A (en) 1989-09-13 1989-09-13 Holding type input/output control system

Country Status (1)

Country Link
JP (1) JPH03100752A (en)

Similar Documents

Publication Publication Date Title
US6895585B2 (en) Method of mixed workload high performance scheduling
US7448036B2 (en) System and method for thread scheduling with weak preemption policy
US7926062B2 (en) Interrupt and exception handling for multi-streaming digital processors
JP2636722B2 (en) Multitask execution management method
US20090187261A1 (en) Control Apparatus for Process input-Output Device
JP2001236236A (en) Task controller and its task scheduling method
JPH03100752A (en) Holding type input/output control system
WO2000070482A1 (en) Interrupt and exception handling for multi-streaming digital processors
JPH06187171A (en) Scheduling system for interruption
JPH09160790A (en) Device and method for task schedule
JPH05120039A (en) Task scheduling system
JP2000029850A (en) Task controlling method using inter-processor communication of operating system
JPH11249917A (en) Parallel computers, their batch processing method, and storage medium
JPH10260850A (en) Virtual computer system
JP2003005987A (en) Emulation device
JP2000047881A (en) Real-time system
JPH0266640A (en) Debugger task scheduling system
JPH0535506A (en) Program dispatch processing system
JPH0981526A (en) Multiprocessor system
JP2504833B2 (en) Process execution management method
CN110955507A (en) Method for multi-task access grant IIC bus based on vxWorks system
JPH01246636A (en) Central processing unit management system for virtual computer system
WO1992003784A1 (en) Scheduling method for a multiprocessing operating system
JPH02113363A (en) Time slice controlling system for multiprocessor system
JPH04236632A (en) Batch job processor