JPH0612360A - Input/output control system for extended storage device - Google Patents

Input/output control system for extended storage device

Info

Publication number
JPH0612360A
JPH0612360A JP19142992A JP19142992A JPH0612360A JP H0612360 A JPH0612360 A JP H0612360A JP 19142992 A JP19142992 A JP 19142992A JP 19142992 A JP19142992 A JP 19142992A JP H0612360 A JPH0612360 A JP H0612360A
Authority
JP
Japan
Prior art keywords
transfer
input
asynchronous transfer
storage device
output
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
JP19142992A
Other languages
Japanese (ja)
Inventor
Takashi Shinyashiki
孝 新屋敷
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP19142992A priority Critical patent/JPH0612360A/en
Publication of JPH0612360A publication Critical patent/JPH0612360A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently perform input/output control over the extended storage device by, performing load control over a data transfer request to the extended storage device by an arithmetic processor and an input/output processor and performing well-balanced allocation. CONSTITUTION:When a transfer system selecting means 38 selects asynchronous transfer, an asynchronous transfer request quantity adding means 29 counts up the number of requests to areas corresponding to input/output processors 15-18 which perform the transfer of an asynchronous transfer state table 26. The requests are counted down by an asynchronous transfer request quantity subtracting means 28. A 1st asynchronous transfer selecting means 32 refers to the asynchronous transfer state table 26 when the asynchronous transfer is selected and totalizes the number of asynchronous transfer requests to the input/output processors 15-18 connected to system controllers 19 and 20. An input/output processors which is small in the number of requests among input/ output processors connected to the system controller which is less in the number of requests is selected as an input/output processor for synchronous transfer.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は電子計算機システムにお
ける拡張記憶装置のデータ転送のための入出力制御に係
り、特に複数のシステム制御装置から接続され、各シス
テム制御装置に接続されている演算処理装置と入出力処
理装置を介して主記憶装置との間でデータ転送を行うこ
とのできる半導体メモリ素子の記憶装置である拡張記憶
装置を備える電子計算機システムにおける拡張記憶装置
の入出力制御方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to input / output control for data transfer of an extended storage device in an electronic computer system, and more particularly to arithmetic processing connected from a plurality of system control devices and connected to each system control device. For an input / output control method of an extended storage device in an electronic computer system including an extended storage device which is a storage device of a semiconductor memory device capable of transferring data between a main storage device and an apparatus through an input / output processing device Is.

【0002】[0002]

【従来の技術】従来の高速アクセスファイル装置である
磁気ディスク装置は入出力処理装置を介してのデータ転
送(非同期転送)しか転送方式はなかった。
2. Description of the Related Art A magnetic disk drive, which is a conventional high-speed access file drive, has a transfer method only for data transfer (asynchronous transfer) via an input / output processing device.

【0003】[0003]

【発明が解決しようとする課題】拡張記憶装置は演算処
理装置と入出力処理装置とからの同期転送,非同期転送
の2つの転送方式が選択できるが、同期転送を高速転送
のため頻繁に選択すると入出力割り込みを利用したプロ
グラム実行の多重処理の効率が悪くなるという課題があ
り、両方式を効率よく選択する必要がある。
The expansion storage device can select two transfer methods, that is, a synchronous transfer and an asynchronous transfer from the arithmetic processing unit and the input / output processing unit. However, if the synchronous transfer is frequently selected for high-speed transfer. There is a problem that the efficiency of multiple processing of program execution using I / O interrupts becomes poor, and it is necessary to select both types efficiently.

【0004】[0004]

【課題を解決するための手段】第1の発明の拡張記憶装
置の入出力制御方式は、拡張記憶装置に確保されたファ
イルに対する利用者プログラムからの入出力要求を演算
処理装置で主記憶装置と拡張記憶装置間の転送命令を使
用してデータ転送する同期転送手段と、上記拡張記憶装
置に確保されたファイルに対する利用者プログラムから
の入出力要求を入出力処理装置への入出力指令で処理し
転送終了を入出力割り込みで受け取ることで上記演算処
理装置上のプログラム実行とは非同期にデータ転送する
非同期転送手段と、上記拡張記憶装置上に確保されたフ
ァイルに対する利用者プログラムからの入出力要求を受
け付けたとき要求入出力のデータ転送サイズを計算して
保持しておく転送サイズ計算手段と、データ転送時に同
期転送を選択するか非同期転送を選択するかの判定を先
の要求入出力のデータ転送サイズがしきい値を越えてい
るか否かで判定する転送方式選択手段とを備えるもので
ある。
According to a first aspect of the present invention, an input / output control system for an extended storage device uses an arithmetic processing unit to send an input / output request from a user program to a file secured in the extended storage device to a main storage device. Synchronous transfer means for transferring data using a transfer command between the expanded storage devices, and an input / output request from a user program for a file secured in the expanded storage device is processed by an input / output command to the input / output processing device. Asynchronous transfer means for transferring data asynchronously with the program execution on the arithmetic processing unit by receiving the end of transfer by the input / output interrupt, and an input / output request from the user program for the file secured on the extended storage device. Selects the transfer size calculation means that calculates and holds the data transfer size of the request input / output when it is accepted, and the synchronous transfer at the time of data transfer Data transfer size of the determined previous request input selecting an asynchronous transfer is one and a determining transfer method selection means whether exceeds the threshold value.

【0005】また、本発明の別の発明による拡張記憶装
置の入出力制御方式は、上記第1の発明において、転送
方式選択手段で非同期転送を選択時に各システム制御装
置に接続される入出力処理装置に対する非同期転送要求
数を入出力処理装置毎の非同期転送要求数を保持する非
同期転送状況テーブルから計数して非同期転送要求数の
少ないシステム制御装置に接続される入出力処理装置を
選択して非同期転送を行う第1の非同期転送選択手段
と、非同期転送状況テーブルについて、非同期転送選択
時に対象入出力処理装置の非同期転送状況テーブルの対
応領域に要求数を加算する非同期転送要求数加算手段
と、非同期転送終了時に同要求数を減算する非同期転送
要求数減算手段とを備えるものである。
An input / output control method for an extended storage device according to another invention of the present invention is the input / output processing connected to each system control device when asynchronous transfer is selected by the transfer method selection means in the first invention. The number of asynchronous transfer requests to the device is counted from the asynchronous transfer status table that holds the number of asynchronous transfer requests for each I / O processor, and the asynchronous is selected by selecting the I / O processor that is connected to the system controller with the few asynchronous transfer requests. First asynchronous transfer selection means for performing transfer, asynchronous transfer request number addition means for adding the number of requests to the corresponding area of the asynchronous transfer status table of the target I / O processing device when asynchronous transfer is selected, and asynchronous transfer status table Asynchronous transfer request number subtraction means for subtracting the same request number at the end of transfer.

【0006】また、本発明のさらに別の発明による拡張
記憶装置の入出力制御方式は、上記第1の発明におい
て、転送方式選択手段で非同期転送を選択時に各システ
ム制御装置に接続される演算処理装置のディスパッチ状
況をディスパッチ状況テーブルから計数してディスパッ
チ中の演算処理装置の少ないシステム制御装置に接続さ
れる入出力処理装置を選択して非同期転送を行う第2の
非同期転送選択手段を備えるものである。
An input / output control method for an extended storage device according to yet another aspect of the present invention is the arithmetic processing connected to each system control device when asynchronous transfer is selected by the transfer method selection means in the first invention. A second asynchronous transfer selecting means for counting the dispatch status of the device from the dispatch status table and selecting an input / output processing device connected to the system control device having a small number of processing devices being dispatched for asynchronous transfer is there.

【0007】また、本発明の別の発明による拡張記憶装
置の入出力制御方式は、上記第1の発明において、転送
方式選択手段で非同期転送を選択時に各システム制御装
置に接続される演算処理装置の同期転送実行状況を同期
転送状況テーブルから計数して、同期転送中の演算処理
装置の少ないシステム制御装置に接続される入出力処理
装置を選択する第3の非同期転送選択手段と、上記転送
方式選択手段で同期転送選択時に同期転送処理状況テー
ブルの対象演算処理装置部のフラグをオンにし同期転送
終了時にフラグをオフにする同期転送実行識別手段とを
備えるものである。
An input / output control system for an extended storage device according to another invention of the present invention is the arithmetic processing device according to the first invention, which is connected to each system control device when asynchronous transfer is selected by the transfer system selection means. Third asynchronous transfer selection means for counting the number of synchronous transfer execution states from the synchronous transfer status table and selecting an input / output processing device connected to the system control device having a small number of arithmetic processing devices during synchronous transfer; And a synchronous transfer execution identifying means for turning on the flag of the target arithmetic processing unit of the synchronous transfer processing status table when the synchronous transfer is selected by the selecting means and turning off the flag when the synchronous transfer is completed.

【0008】また、本発明のさらに別の発明による拡張
記憶装置の入出力制御方式は、上記第1の発明におい
て、転送方式選択手段で非同期転送を選択時に拡張記憶
装置障害識別テーブルの各入出力処理装置の障害フラグ
を参照して障害状態でない入出力処理装置を選択して非
同期転送を行う第4の非同期転送選択手段と、上記拡張
記憶装置とシステム制御装置の接続ポート部の障害発生
により同期転送または非同期転送が異常終了した際ポー
ト部障害の異常終了ステータスを判定しこのシステム制
御装置に接続する全ての入出力処理装置に対応して存在
する障害識別テーブルの障害フラグをオンにする拡張記
憶装置障害識別手段とを備えるものである。
An input / output control method for an extended storage device according to yet another aspect of the present invention is the input / output control method for an extended storage device according to the first aspect, when asynchronous transfer is selected by the transfer method selection means. Synchronized by the occurrence of a failure in a fourth asynchronous transfer selecting means for referring to the failure flag of the processing device and selecting an input / output processing device that is not in a failed state for asynchronous transfer, and in the connection port of the extended storage device and the system control device. Expanded storage that determines the abnormal end status of a port failure when transfer or asynchronous transfer ends abnormally, and turns on the failure flag in the failure identification table that exists for all I / O processors connected to this system controller And a device failure identification means.

【0009】[0009]

【作用】本発明においては、拡張記憶装置のデータ転送
要求を演算処理装置と入出力処理装置で負荷制御を行
い、バランスよく割り振るようにする。
According to the present invention, the data transfer request of the expansion storage device is load-controlled by the arithmetic processing unit and the input / output processing unit so as to be allocated in a well-balanced manner.

【0010】[0010]

【実施例】図1は本発明の一実施例を示すブロック図で
ある。この図1において、11,12および13,14
は各システム制御装置19および20にそれぞれ接続さ
れている演算処理装置、15,16,17,18は入出
力処理装置である。そして、23は複数のシステム制御
装置から接続され、各システム制御装置19,20に接
続されている演算処理装置11〜14と入出力処理装置
15〜18を介して主記憶装置21との間でデータ転送
を行うことのできる半導体メモリ素子の記憶装置である
拡張記憶装置22を備える電子計算機システムである。
24は拡張記憶装置障害識別テーブル、25はディスパ
ッチ状況テーブル、26は非同期転送状況テーブル、2
7は同期転送状況テーブルである。
FIG. 1 is a block diagram showing an embodiment of the present invention. In this FIG. 1, 11, 12 and 13, 14
Are arithmetic processing units connected to the respective system control units 19 and 20, and 15, 16, 17, and 18 are input / output processing units. 23 is connected from a plurality of system control devices, and is connected between the main processing device 21 via the arithmetic processing devices 11 to 14 connected to the system control devices 19 and 20 and the input / output processing devices 15 to 18. The electronic computer system includes an extended storage device 22, which is a storage device of a semiconductor memory device capable of data transfer.
24 is an extended storage device failure identification table, 25 is a dispatch status table, 26 is an asynchronous transfer status table, 2
Reference numeral 7 is a synchronous transfer status table.

【0011】28は非同期転送終了時に同要求数を減算
する非同期転送要求数減算手段、29は非同期転送状況
テーブル26について、非同期転送選択時に対象入出力
処理装置の非同期転送状況テーブル26の対応領域に要
求数を加算する非同期転送要求数加算手段、30は転送
方式選択手段38で同期転送選択時に同期転送状況テー
ブル27の対象演算処理装置部のフラグをオンにし同期
転送終了時にフラグをオフにする同期転送実行識別手
段、31は拡張記憶装置22とシステム制御装置19,
20の接続ポート部の障害発生により同期転送または非
同期転送が異常終了した際ポート部障害の異常終了ステ
ータスを判定しこのシステム制御装置19,20に接続
する全ての入出力処理装置に対応して存在する障害識別
テーブルの障害フラグをオンにする拡張記憶装置障害識
別手段である。
Reference numeral 28 denotes an asynchronous transfer request number subtracting means for subtracting the same request number at the end of asynchronous transfer. Reference numeral 29 denotes an asynchronous transfer status table 26 in a corresponding area of the asynchronous transfer status table 26 of the target input / output processing device when the asynchronous transfer is selected. Asynchronous transfer request number adding means for adding the number of requests, 30 is a transfer method selecting means 38 for turning on the flag of the target arithmetic processing unit of the synchronous transfer status table 27 when the synchronous transfer is selected and turning off the flag at the end of the synchronous transfer. Transfer execution identifying means 31 is an extended storage device 22 and a system control device 19,
When synchronous transfer or asynchronous transfer ends abnormally due to the occurrence of a failure in the connection port part of 20, the abnormal end status of the port part failure is determined, and it exists corresponding to all the input / output processing devices connected to the system control devices 19 and 20. The extended storage device failure identification means for turning on the failure flag of the failure identification table.

【0012】32は転送方式選択手段で非同期転送を選
択時に各システム制御装置に接続される入出力処理装置
に対する非同期転送要求数を入出力処理装置毎の非同期
転送要求数を保持する非同期転送状況テーブル26から
計数して非同期転送要求数の少ないシステム制御装置に
接続される入出力処理装置を選択して非同期転送を行う
第1の非同期転送選択手段、33は転送方式選択手段で
非同期転送を選択時に各システム制御装置19,20に
接続される演算処理装置11〜14のディスパッチ状況
をディスパッチ状況テーブル25から計数してディスパ
ッチ中の演算処理装置の少ないシステム制御装置に接続
される入出力処理装置を選択して非同期転送を行う第2
の非同期転送選択手段、34は転送方式選択手段38で
非同期転送を選択時に各システム制御装置19,20に
接続される演算処理装置11〜14の同期転送実行状況
を同期転送状況テーブル27から計数して同期転送中の
演算処理装置の少ないシステム制御装置に接続される入
出力処理装置を選択する第3の非同期転送選択手段、3
5は転送方式選択手段38で非同期転送を選択時に拡張
記憶装置障害識別テーブル24の各入出力処理装置の障
害フラグを参照して障害状態でない入出力処理装置を選
択して非同期転送を行う第4の非同期転送選択手段であ
る。
Reference numeral 32 denotes an asynchronous transfer status table which holds the number of asynchronous transfer requests to the input / output processing devices connected to each system controller when the transfer method selecting means selects the asynchronous transfer. First asynchronous transfer selecting means for performing asynchronous transfer by selecting an input / output processing device connected to the system control device having a small number of asynchronous transfer requests counted from 26, and 33 when the asynchronous transfer is selected by the transfer method selecting means. The dispatch statuses of the arithmetic processing units 11 to 14 connected to the respective system control units 19 and 20 are counted from the dispatch status table 25, and the input / output processing unit connected to the system control unit having the few arithmetic processing units being dispatched is selected. Second to perform asynchronous transfer
Asynchronous transfer selection means 34, 34 counts the synchronous transfer execution status of the arithmetic processing units 11 to 14 connected to the system control devices 19 and 20 from the synchronous transfer status table 27 when the transfer method selection means 38 selects asynchronous transfer. Third asynchronous transfer selecting means for selecting an input / output processing device connected to a system control device having a small number of arithmetic processing devices performing synchronous transfer.
Reference numeral 5 is a fourth method for performing asynchronous transfer by selecting an input / output processing device which is not in a failed state by referring to the failure flag of each input / output processing device of the extended storage device failure identification table 24 when the transfer method selection means 38 selects asynchronous transfer. Is an asynchronous transfer selecting means.

【0013】36は拡張記憶装置22に確保されたファ
イルに対する利用者プログラムからの入出力要求を演算
処理装置で主記憶装置と拡張記憶装置間の転送命令を使
用してデータ転送する同期転送手段、37は拡張記憶装
置22に確保されたファイルに対する利用者プログラム
からの入出力要求を入出力処理装置への入出力指令で処
理し転送終了を入出力割り込みで受け取ることで演算処
理装置上のプログラム実行とは非同期にデータ転送する
非同期転送手段、38はデータ転送時に同期転送を選択
するか非同期転送を選択するかの判定を先の要求入出力
のデータ転送サイズがしきい値40を越えているか否か
で判定する転送方式選択手段、39は拡張記憶装置上に
確保されたファイルに対する利用者プログラム42から
の入出力要求を受け付けたとき要求入出力のデータ転送
サイズを計算して保持しておく転送サイズ計算手段であ
る。41はこれら拡張記憶装置障害識別テーブル24〜
しきい値40から構成される拡張記憶装置の入出力制御
方式である。
Reference numeral 36 denotes a synchronous transfer means for transferring an input / output request from a user program for a file secured in the extended storage device 22 by using a transfer instruction between the main storage device and the extended storage device in the arithmetic processing unit. Reference numeral 37 denotes a program execution on the arithmetic processing unit by processing an input / output request from a user program for a file secured in the expanded storage device 22 by an input / output command to the input / output processing device and receiving a transfer end by an input / output interrupt. Is an asynchronous transfer means for asynchronously transferring data, and 38 is a judgment as to whether to select synchronous transfer or asynchronous transfer during data transfer. Whether the data transfer size of the previous request input / output exceeds the threshold value 40. The transfer mode selection means 39, which is determined by, receives an input / output request from the user program 42 for a file secured in the extended storage device. With a transfer size calculating means holds to calculate the data transfer size requested output when the. Reference numeral 41 denotes these extended storage device failure identification tables 24 to
This is an input / output control system for an extended storage device, which comprises a threshold value 40.

【0014】図2は図1の動作説明に供する説明図で、
(a)は図1における電子計算機システム23に係る部
分の構成を示し、(b)はその電子計算機システムの構
成表を示す。そして、SCUはシステム制御装置、IO
Pは入出力処理装置、EPUは演算処理装置である。こ
の図2(a)において図1と同一符号のものは相当部分
を示す。図3(a),(b),(c)は第1の発明の動
作説明に供するフローチャートである。図4(a),
(b),(c),(d)は第2の発明の動作説明に供す
る説明図で、(a)は非同期転送状況テーブル26で、
SCU番号はシステム制御装置の番号を示し、IOP番
号は入出力処理装置の番号,要求数は非同期転送要求数
を示す。(b),(c),(d)はフローチャートであ
る。図5は第3の発明の動作説明に供する説明図で、
(a)はディスパッチ状況テーブル25を示し、EPU
番号は演算処理装置の番号である。(b)はフローチャ
ートを示す。図6は第4の発明の動作説明に供する説明
図で、(a)は同期転送処理状況テーブル27を示し、
(b),(c)はフローチャートを示す。図7は第5の
発明の動作説明に供する説明図で、(a)は拡張記憶装
置障害識別テーブル24を示し、(b),(c)はフロ
ーチャートを示す。
FIG. 2 is an explanatory diagram for explaining the operation of FIG.
1A shows a configuration of a portion related to the electronic computer system 23 in FIG. 1, and FIG. 1B shows a configuration table of the electronic computer system. The SCU is the system controller, IO
P is an input / output processing unit, and EPU is an arithmetic processing unit. In FIG. 2A, the same reference numerals as those in FIG. 1 indicate corresponding parts. 3 (a), (b) and (c) are flowcharts provided for explaining the operation of the first invention. 4 (a),
(B), (c), (d) is an explanatory diagram for explaining the operation of the second invention, (a) is an asynchronous transfer status table 26,
The SCU number indicates the system control unit number, the IOP number indicates the input / output processing unit number, and the request number indicates the asynchronous transfer request number. (B), (c) and (d) are flowcharts. FIG. 5 is an explanatory diagram for explaining the operation of the third invention,
(A) shows the dispatch status table 25, EPU
The number is the number of the arithmetic processing unit. (B) shows a flowchart. FIG. 6 is an explanatory diagram for explaining the operation of the fourth invention, (a) shows a synchronous transfer processing status table 27,
(B) and (c) show flowcharts. FIG. 7 is an explanatory diagram for explaining the operation of the fifth invention. (A) shows the extended storage device failure identification table 24, and (b) and (c) show flowcharts.

【0015】つぎに図1に示す実施例の動作を図2ない
し図7を参照して説明する。以降に利用者プログラム4
2から拡張記憶装置22に確保されたファイルへの入出
力要求の制御について説明する。まず、図3を参照する
と、転送サイズ計算手段39により、利用者プログラム
42の入出力要求の全データサイズをステップ101で
計算し、転送方式選択手段38により、しきい値40の
転送サイズと比較を行う(ステップ102)。転送方式
選択手段38では転送サイズがしきい値40より小さか
ったら、同期転送を実行しても演算処理装置の占有時間
も短くて済み、他プログラムへの影響も少ないため同期
転送を選択する(ステップ103)。しきい値40より
大きい場合には、同期転送での演算処理装置の占有時間
が大きくなり、非同期転送によるオペレーティングシス
テムのオーバヘッドの方が勝るためシステムへの影響を
考えると非同期転送を選択する(ステップ104)。
Next, the operation of the embodiment shown in FIG. 1 will be described with reference to FIGS. User program after 4
The control of the input / output request from the file 2 to the file secured in the extended storage device 22 will be described. First, referring to FIG. 3, the transfer size calculating means 39 calculates the total data size of the input / output request of the user program 42 in step 101, and the transfer method selecting means 38 compares it with the transfer size of the threshold value 40. Is performed (step 102). When the transfer size is smaller than the threshold value 40, the transfer method selecting means 38 selects the synchronous transfer because the occupied time of the arithmetic processing unit can be short even if the synchronous transfer is executed and the influence on other programs is small (step 103). If it is larger than the threshold value 40, the occupied time of the arithmetic processing unit in the synchronous transfer becomes large, and the overhead of the operating system due to the asynchronous transfer is superior, so the asynchronous transfer is selected considering the influence on the system (step 104).

【0016】転送方式選択手段38で同期転送が選択さ
れると、同期転送手段36は利用者プログラム42の転
送データを自プログラムが実行中の演算処理装置で主記
憶装置21と拡張記憶装置22の転送命令を使用してデ
ータ転送する(ステップ105)。そして、非同期転送
が選択されると、非同期転送手段37は、入出力処理装
置15〜18の任意の装置に主記憶装置21と拡張記憶
装置22間のデータ転送指示を入出力命令として指示す
る。転送の終了は入出力割り込みで受け取ることで演算
処理装置上のプログラム実行とは非同期にデータ転送を
行う(ステップ106)。
When the synchronous transfer is selected by the transfer system selection means 38, the synchronous transfer means 36 is an arithmetic processing unit in which the self-program is executing the transfer data of the user program 42, and the synchronous transfer means 36 of the main storage device 21 and the extended storage device 22. Data is transferred using the transfer instruction (step 105). Then, when the asynchronous transfer is selected, the asynchronous transfer means 37 gives a data transfer instruction between the main storage device 21 and the extended storage device 22 to any device of the input / output processing devices 15 to 18 as an input / output command. When the end of the transfer is received by the input / output interrupt, the data transfer is performed asynchronously with the program execution on the arithmetic processing unit (step 106).

【0017】拡張記憶装置22への入出力を効率よく行
うためにはシステム制御装置19,20へ演算処理装置
11〜14、入出力処理装置15〜18から発行される
データ転送要求が片寄らないようにする必要がある。つ
ぎにその方法について説明する。以下の説明のためにシ
ステム制御装置19,20、入出力処理装置15〜1
8、演算処理装置11〜14に図2に示すように装置番
号を割り振る。図4を参照すると、非同期転送状況テー
ブル26は各入出力処理装置15〜18毎に非同期転送
要求数を計数するためのテーブルであり、転送方式選択
手段38で非同期転送が選択されると、非同期転送要求
数加算手段29により、非同期転送状況テーブル26の
転送を行う入出力処理装置に対応した領域への要求数の
カウントアップが行われる(ステップ201)。この要
求数は非同期転送終了時に、非同期転送要求数減算手段
28により、カウントダウンされる(ステップ202,
203)。そして、第1の非同期転送選択手段32は、
非同期転送選択時にこの非同期転送状況テーブル26を
参照して、各システム制御装置に接続される入出力処理
装置の非同期転送要求数を合計し、要求数が少ない方の
システム制御装置に接続される入出力処理装置のうち
で、さらに要求数の少ない方の入出力処理装置を同期転
送の入出力処理装置として選択する(ステップ204〜
211)。ここで、IOP0〜3は入出力処理装置番号
0〜3への非同期転送要求数を表す。
In order to efficiently perform input / output to / from the expanded storage device 22, data transfer requests issued from the arithmetic processing units 11 to 14 and the input / output processing units 15 to 18 to the system control units 19 and 20 should not be biased. Need to Next, the method will be described. For the following description, the system control devices 19 and 20, the input / output processing devices 15 to 1
8. The device numbers are assigned to the arithmetic processing devices 11 to 14 as shown in FIG. Referring to FIG. 4, the asynchronous transfer status table 26 is a table for counting the number of asynchronous transfer requests for each of the input / output processing devices 15 to 18. When the transfer method selection unit 38 selects the asynchronous transfer, the asynchronous transfer status table 26 is asynchronous. The transfer request number adding means 29 counts up the number of requests to the area corresponding to the input / output processing device that transfers the asynchronous transfer status table 26 (step 201). This number of requests is counted down by the asynchronous transfer request number subtracting means 28 at the end of the asynchronous transfer (step 202,
203). Then, the first asynchronous transfer selection means 32
When the asynchronous transfer is selected, the asynchronous transfer status table 26 is referred to, the total number of asynchronous transfer requests of the input / output processing devices connected to each system control device is totaled, and the input / output processing device connected to the system control device having the smaller number of requests is input. Of the output processing devices, the input / output processing device with the smallest number of requests is selected as the input / output processing device for synchronous transfer (steps 204 to 204).
211). Here, IOP0 to 3 represent the number of asynchronous transfer requests to the input / output processing device numbers 0 to 3.

【0018】つぎに、図5を参照すると、第2の非同期
転送選択手段33は入出力処理装置の選択時に、ディス
パッチ状況テーブル25の各演算処理装置11〜14の
ディスパッチ状態、すなわち、使用状況を調べて、各シ
ステム制御装置の使用中の演算処理装置数が少ない方の
システム制御装置に接続される入出力処理装置を選択す
る(ステップ301〜304)。つぎに、図6を参照す
ると、同期転送状況テーブル27は各演算処理装置11
〜14での同期転送実行状態を管理するテーブルであ
り、同期転送実行識別手段30により、転送方式選択手
段38で同期転送選択時に同期転送状況テーブル27の
同期転送対象の演算処理装置部のフラグをオンにし、同
期転送終了時にフラグをオフにする(ステップ401,
402)。そして、第3の非同期転送選択手段34は非
同期転送選択時に各システム制御装置に接続される演算
処理装置の同期転送実行数を同期転送状況テーブル27
を参照して計算し、同期転送実行中の演算処理装置数が
少ない方のシステム制御装置に接続される入出力処理装
置を非同期転送を要求する入出力処理装置として選択す
る(ステップ403〜406)。
Next, referring to FIG. 5, the second asynchronous transfer selection means 33 indicates the dispatch status of each of the arithmetic processing units 11 to 14 in the dispatch status table 25, that is, the usage status, when selecting the input / output processing apparatus. The I / O processing device connected to the system control device having the smaller number of operating processing devices in use of each system control device is selected (steps 301 to 304). Next, referring to FIG. 6, the synchronous transfer status table 27 is stored in each arithmetic processing unit 11
14 to 14 are tables for managing the synchronous transfer execution states, and the synchronous transfer execution identifying means 30 sets the flag of the arithmetic processing unit of the synchronous transfer target of the synchronous transfer status table 27 when the synchronous transfer is selected by the transfer method selecting means 38. Turn on and turn off the flag at the end of synchronous transfer (step 401,
402). Then, the third asynchronous transfer selection means 34 indicates the number of synchronous transfer executions of the arithmetic processing units connected to each system control unit when the asynchronous transfer is selected, in the synchronous transfer status table 27.
, And selects the input / output processing unit connected to the system control unit having the smaller number of arithmetic processing units executing the synchronous transfer as the input / output processing unit requesting the asynchronous transfer (steps 403 to 406). .

【0019】つぎに、図7を参照すると、拡張記憶装置
障害識別テーブル24は入出力処理装置15〜18の障
害状態を障害フラグとして保持しているテーブルであ
る。そして、拡張記憶装置障害識別手段31により、同
期または非同期転送が異常終了した場合に異常ステータ
スを判定し、システム制御装置19,20と拡張記憶装
置22の接続ポート部障害のような、転送経路に関する
障害と判定すると、拡張記憶装置障害識別テーブル24
の障害検出の入出力処理装置または演算処理装置が接続
するシステム制御装置の全ての入出力処理装置に対応す
る障害フラグをオンにする(ステップ501〜50
3)。そして、第4の非同期転送選択手段35は、非同
期転送選択時この拡張記憶装置障害識別テーブル24の
各入出力処理装置の障害フラグを参照して、障害の発生
していない入出力処理装置を非同期転送要求用に選択す
る(ステップ504)。
Next, referring to FIG. 7, the extended storage device failure identification table 24 is a table holding the failure states of the input / output processing devices 15 to 18 as failure flags. Then, the extended storage device failure identification means 31 determines an abnormal status when the synchronous or asynchronous transfer ends abnormally, and relates to a transfer path such as a connection port failure of the system control devices 19 and 20 and the extended storage device 22. When it is determined that there is a failure, the expanded storage device failure identification table 24
The failure flags corresponding to all the input / output processing devices of the system control device connected to the input / output processing device or the arithmetic processing device for detecting the failure are turned on (steps 501 to 50).
3). Then, the fourth asynchronous transfer selection means 35 refers to the failure flag of each input / output processing device of the extended storage device failure identification table 24 when the asynchronous transfer is selected, and asynchronously selects the input / output processing device in which no failure has occurred. Select for transfer request (step 504).

【0020】[0020]

【発明の効果】以上説明したように本発明は、拡張記憶
装置のデータ転送要求を演算処理装置と入出力処理装置
で負荷制御を行い、バランスよく割り振るようにしたの
で、拡張記憶装置に対する入出力制御が効率よく行われ
るため、同期転送,非同期転送のバランスが崩れて、シ
ステムの他のプログラム実行に悪影響を及ぼすことがな
くなるという効果を有する。また、ポート部障害に関し
ては障害の波及を事前に抑止することができる効果があ
る。
As described above, according to the present invention, the data transfer request of the extended storage device is load-balanced by the arithmetic processing unit and the input / output processing unit and is allocated in a well-balanced manner. Since the control is efficiently performed, there is an effect that the balance between the synchronous transfer and the asynchronous transfer is lost and the other program execution of the system is not adversely affected. Further, with respect to the port failure, there is an effect that the spread of the failure can be suppressed in advance.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1の電子計算機システムの構成を示す説明図
である。
FIG. 2 is an explanatory diagram showing a configuration of the electronic computer system shown in FIG.

【図3】第1の発明の動作説明に供するフローチャート
である。
FIG. 3 is a flowchart for explaining the operation of the first invention.

【図4】第2の発明の動作説明に供する説明図である。FIG. 4 is an explanatory diagram for explaining the operation of the second invention.

【図5】第3の発明の動作説明に供する説明図である。FIG. 5 is an explanatory diagram for explaining the operation of the third invention.

【図6】第4の発明の動作説明に供する説明図である。FIG. 6 is an explanatory diagram for explaining the operation of the fourth invention.

【図7】第5の発明の動作説明に供する説明図である。FIG. 7 is an explanatory diagram for explaining the operation of the fifth invention.

【符号の説明】[Explanation of symbols]

11〜14 演算処理装置 15〜18 入出力処理装置 19,20 システム制御装置 21 主記憶装置 22 拡張記憶装置 23 電子計算機システム 24 拡張記憶装置障害識別テーブル 25 ディスパッチ状況テーブル 26 非同期転送状況テーブル 27 同期転送状況テーブル 28 非同期転送要求数減算手段 29 非同期転送要求数加算手段 30 同期転送実行識別手段 31 拡張記憶装置障害識別手段 32〜35 非同期転送選択手段 36 同期転送手段 37 非同期転送手段 38 転送方式選択手段 39 転送サイズ計算手段 40 しきい値 42 利用者プログラム 11-14 Arithmetic processing unit 15-18 Input / output processing unit 19,20 System control unit 21 Main storage unit 22 Extended storage unit 23 Electronic computer system 24 Extended storage unit failure identification table 25 Dispatch status table 26 Asynchronous transfer status table 27 Synchronous transfer Status table 28 Asynchronous transfer request number subtraction means 29 Asynchronous transfer request number addition means 30 Synchronous transfer execution identification means 31 Extended storage device failure identification means 32 to 35 Asynchronous transfer selection means 36 Synchronous transfer means 37 Asynchronous transfer means 38 Transfer method selection means 39 Transfer size calculation means 40 Threshold value 42 User program

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数のシステム制御装置から接続され、
各システム制御装置に接続されている演算処理装置と入
出力処理装置を介して主記憶装置との間でデータ転送を
行うことのできる半導体メモリ素子の記憶装置である拡
張記憶装置を備える電子計算機システムにおいて、前記
拡張記憶装置に確保されたファイルに対する利用者プロ
グラムからの入出力要求を前記演算処理装置で前記主記
憶装置とこの拡張記憶装置間の転送命令を使用してデー
タ転送する同期転送手段と、前記拡張記憶装置に確保さ
れたファイルに対する利用者プログラムからの入出力要
求を前記入出力処理装置への入出力指令で処理し、転送
終了を入出力割り込みで受け取ることで前記演算処理装
置上のプログラム実行とは非同期にデータ転送する非同
期転送手段と、前記拡張記憶装置上に確保されたファイ
ルに対する利用者プログラムからの入出力要求を受け付
けたとき要求入出力のデータ転送サイズを計算して保持
しておく転送サイズ計算手段と、データ転送時に同期転
送を選択するか非同期転送を選択するかの判定を先の要
求入出力のデータ転送サイズがしきい値を越えているか
否かで判定する転送方式選択手段とを備えることを特徴
とする拡張記憶装置の入出力制御方式。
1. Connected from a plurality of system control devices,
An electronic computer system including an extended storage device which is a storage device of a semiconductor memory device capable of transferring data between a main storage device and an arithmetic processing device connected to each system control device and an input / output processing device. And a synchronous transfer means for transferring, in the arithmetic processing unit, an input / output request from a user program for a file secured in the extended storage device by using a transfer instruction between the main storage device and the extended storage device. By processing an input / output request from a user program for a file secured in the extended storage device by an input / output command to the input / output processing device and receiving a transfer end by an input / output interrupt, Asynchronous transfer means for transferring data asynchronously with program execution, and user for files secured in the expansion storage device The transfer size calculation means for calculating and retaining the data transfer size of the request input / output when the I / O request from the program is received, and the judgment as to whether to select the synchronous transfer or the asynchronous transfer during the data transfer are performed first. And an input / output control method for an extended storage device, which comprises a transfer method selection unit that determines whether the data transfer size of the requested input / output exceeds a threshold value.
【請求項2】 請求項1記載の拡張記憶装置の入出力制
御方式において、転送方式選択手段で非同期転送を選択
時に各システム制御装置に接続される入出力処理装置に
対する非同期転送要求数を入出力処理装置毎の非同期転
送要求数を保持する非同期転送状況テーブルから計数し
て非同期転送要求数の少ないシステム制御装置に接続さ
れる入出力処理装置を選択して非同期転送を行う第1の
非同期転送選択手段と、非同期転送状況テーブルについ
て、非同期転送選択時に対象入出力処理装置の非同期転
送状況テーブルの対応領域に要求数を加算する非同期転
送要求数加算手段と、非同期転送終了時に同要求数を減
算する非同期転送要求数減算手段とを備えることを特徴
とする拡張記憶装置の入出力制御方式。
2. The input / output control method for an extended storage device according to claim 1, wherein the number of asynchronous transfer requests to the input / output processing device connected to each system control device is input / output when asynchronous transfer is selected by the transfer method selection means. First asynchronous transfer selection for performing asynchronous transfer by selecting an input / output processing device connected to a system control device having a small number of asynchronous transfer requests by counting from the asynchronous transfer status table that holds the number of asynchronous transfer requests for each processing device And an asynchronous transfer status table, the asynchronous transfer request number adding means for adding the number of requests to the corresponding area of the asynchronous transfer status table of the target I / O processing device when the asynchronous transfer is selected, and the same request number for subtracting the same at the end of the asynchronous transfer An input / output control system for an extended storage device, comprising: an asynchronous transfer request number subtraction unit.
【請求項3】 請求項1記載の拡張記憶装置の入出力制
御方式において、転送方式選択手段で非同期転送を選択
時に各システム制御装置に接続される演算処理装置のデ
ィスパッチ状況をディスパッチ状況テーブルから計数し
てディスパッチ中の演算処理装置の少ないシステム制御
装置に接続される入出力処理装置を選択して非同期転送
を行う第2の非同期転送選択手段を備えたことを特徴と
する拡張記憶装置の入出力制御方式。
3. The input / output control method of the extended storage device according to claim 1, wherein the dispatch status of the arithmetic processing unit connected to each system control unit is counted from the dispatch status table when asynchronous transfer is selected by the transfer method selection means. I / O of the extended storage device, further comprising second asynchronous transfer selection means for selecting an I / O processing device connected to the system control device having a small number of processing devices being dispatched and performing an asynchronous transfer. control method.
【請求項4】 請求項1記載の拡張記憶装置の入出力制
御方式において、転送方式選択手段で非同期転送を選択
時に各システム制御装置に接続される演算処理装置の同
期転送実行状況を同期転送状況テーブルから計数して同
期転送中の演算処理装置の少ないシステム制御装置に接
続される入出力処理装置を選択する第3の非同期転送選
択手段と、前記転送方式選択手段で同期転送選択時に同
期転送処理状況テーブルの対象演算処理装置部のフラグ
をオンにし同期転送終了時にフラグをオフにする同期転
送実行識別手段とを備えたことを特徴とする拡張記憶装
置の入出力制御方式。
4. The input / output control method for an extended storage device according to claim 1, wherein the synchronous transfer execution status of the arithmetic processing unit connected to each system control apparatus when the transfer method selection unit selects asynchronous transfer is the synchronous transfer status. Third asynchronous transfer selection means for selecting an input / output processing device connected to a system control device having a small number of arithmetic processing devices performing synchronous transfer by counting from a table, and synchronous transfer processing when the synchronous transfer is selected by the transfer method selection device An input / output control system for an extended storage device, comprising: a synchronous transfer execution identifying means for turning on a flag of a target arithmetic processing unit of the status table and turning off the flag at the end of the synchronous transfer.
【請求項5】 請求項1記載の拡張記憶装置の入出力制
御方式において、転送方式選択手段で非同期転送を選択
時に拡張記憶装置障害識別テーブルの各入出力処理装置
の障害フラグを参照して障害状態でない入出力処理装置
を選択して非同期転送を行う第4の非同期転送選択手段
と、前記拡張記憶装置とシステム制御装置の接続ポート
部の障害発生により同期転送または非同期転送が異常終
了した際ポート部障害の異常終了ステータスを判定しこ
のシステム制御装置に接続する全ての入出力処理装置に
対応して存在する障害識別テーブルの障害フラグをオン
にする拡張記憶装置障害識別手段とを備えたことを特徴
とする拡張記憶装置の入出力制御方式。
5. The input / output control method for an expanded storage device according to claim 1, wherein when the transfer method selection means selects asynchronous transfer, a failure is referred to by referring to a failure flag of each input / output processing device in the expanded storage device failure identification table. Fourth asynchronous transfer selection means for selecting an input / output processing device that is not in a state and performing asynchronous transfer, and a port when the synchronous transfer or the asynchronous transfer ends abnormally due to a failure in the connection port unit of the expansion storage device and the system control device An extended storage device failure identification means for determining an abnormal termination status of a partial failure and turning on a failure flag of a failure identification table existing corresponding to all input / output processing devices connected to this system control device. I / O control method of the extended storage device.
JP19142992A 1992-06-26 1992-06-26 Input/output control system for extended storage device Pending JPH0612360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19142992A JPH0612360A (en) 1992-06-26 1992-06-26 Input/output control system for extended storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19142992A JPH0612360A (en) 1992-06-26 1992-06-26 Input/output control system for extended storage device

Publications (1)

Publication Number Publication Date
JPH0612360A true JPH0612360A (en) 1994-01-21

Family

ID=16274469

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19142992A Pending JPH0612360A (en) 1992-06-26 1992-06-26 Input/output control system for extended storage device

Country Status (1)

Country Link
JP (1) JPH0612360A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016091555A (en) * 2014-11-06 2016-05-23 富士通株式会社 Data staging management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016091555A (en) * 2014-11-06 2016-05-23 富士通株式会社 Data staging management system

Similar Documents

Publication Publication Date Title
JP4117202B2 (en) Thread dispatch mechanism and method for multiprocessor computer systems
US6895585B2 (en) Method of mixed workload high performance scheduling
JPH0250753A (en) Interrupt processing apparatus and method for computer
JPH02297228A (en) Fault information storing system
JP2638065B2 (en) Computer system
JP3417463B2 (en) Method and system for handling interrupt requests
CN111831408A (en) Asynchronous task processing method and device, electronic equipment and medium
JPH0612360A (en) Input/output control system for extended storage device
JP3227069B2 (en) I / O processing system
JPH0612395A (en) Task allocating method in multiprocessor system
JPH0668725B2 (en) Device for responding to interrupt condition in data processing system and method for responding to asynchronous interrupt condition
KR101254911B1 (en) Method, system and computer-readable recording medium for performing data input and output via multiple path
JPH0764811A (en) Computer backup system
JPH04342057A (en) Task management system of multiprocessor system
JPH08137703A (en) Task switching device
JPH01248257A (en) Load distribution control system for input output to auxiliary storage device
JP2924962B1 (en) Disk array device
JP2704137B2 (en) Current / spare switching method
JPH04195666A (en) Multiprocessor system
JPS6223895B2 (en)
JPS6145348A (en) Bus priority control system
JPS59146387A (en) Stack control system of multiprocessing
JPS6010381A (en) System for deciding input and output interruption reception processor in multi-processor system
JPH0831077B2 (en) Channel path load factor equalization method for I / O subsystem
JPH05241958A (en) Virtual storage control system