JP2000163354A - Data processing system and disk controller - Google Patents

Data processing system and disk controller

Info

Publication number
JP2000163354A
JP2000163354A JP10355419A JP35541998A JP2000163354A JP 2000163354 A JP2000163354 A JP 2000163354A JP 10355419 A JP10355419 A JP 10355419A JP 35541998 A JP35541998 A JP 35541998A JP 2000163354 A JP2000163354 A JP 2000163354A
Authority
JP
Japan
Prior art keywords
ccw
command
data
list
channel
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
JP10355419A
Other languages
Japanese (ja)
Inventor
Toshinori Sakaki
豪紀 榊
Yoshihiro Azumi
義弘 安積
Noboru Furuumi
昇 古海
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 JP10355419A priority Critical patent/JP2000163354A/en
Publication of JP2000163354A publication Critical patent/JP2000163354A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce the overhead due to a communication of channel command words(CCW) between a CPU and a DKC by allowing an input/output channel part to generate a CCW list by combining CCWs, adding a command frame including a CCW combination command to the CCW list, and transferring them to the disk controller. SOLUTION: A channel program is fetched from a main storage part MS to analyze command codes, and the contents of a channel program are put in channel program management information 331. Then commands, flag information, and a transfer count in the channel program are stored in a data buffer 334 to generate the channel command word(CCW) list. Then data and parameters as many as the transfer count are stored in the data buffer and the flag information in the channel program is decided; when a command chain flag is OFF, a command frame including a CCW combination command is generated, added to the CCW list, and issued to the disk controller(DKC).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、メインフレーム系
の中央処理装置(以降、CPUと称す)とディスク制御
装置(以降、DKCと称す)を備えるデータ処理システ
ムに係り、特に、チャネルコマンドワード(以降、CC
Wと称す)を結合/分離することでCPUとDKC間の
データ転送のオーバヘットを削減することのできるデー
タ処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing system provided with a central processing unit (hereinafter, referred to as a CPU) of a mainframe system and a disk control unit (hereinafter, referred to as a DKC). Hereafter, CC
W) is connected / separated to reduce a data transfer overhead between the CPU and the DKC.

【0002】[0002]

【従来の技術】メインフレーム系においてCPUとDK
Cとの間でデータ転送を行う場合、一般的には、DX
(Define Extext)/LOC(LOCate record)に、CP
UからDKCへのデータ転送であれば、WRITE系コ
マンドをチェインし、また、DKCからCPUへのデー
タ転送であれば、READ系コマンドをチェインするこ
とにより行う。例えば、1つのレコードのWRITEす
る場合、DX/LOC/WRCKD(Write Count,Key
and Data)のCCWチェインを用いる(公知例 IBM 399
0/9390Storage Control Reference)。また、CPU―
DKC間のインターフェイスとしてESCONプロトコ
ルがあるが、本CCWチェインESCONで接続した構
成で処理する場合、正常動作時は以下のようなシーケン
スとなる(公知例 Enterprise Systems Architecture/3
90 ESCON I/O Interface)。また、動作シーケンスを図
2に示す。 (1)CPUからDXのコマンドフレームの発行(20
1) (2)DKCからコマンドレスポンスフレームの発行
(202) (3)CPUからコマンドレスポンス受領フレームの発
行(203) (4)CPUからDXコマンドのデータフレームの発行
(204) (5)DKCからステータスフレームの発行(205) (6)CPUからLOCのコマンドフレームの発行(2
06) (7)DKCからコマンドレスポンスの発行(207) (8)CPUからLOCコマンドのデータフレームの発
行(208) (9)DKCからステータスフレームの発行(209) (10)CPUからWRCKDのコマンドフレーム発行
(210) (11)DKCからコマンドレスポンスフレームの発行
(211) (12)CPUからWRCKDのデータフレームの発行
(212) (13)データ量に応じ、CPUからWRCKDのデー
タフレームの発行、または、DKCからデータ要求フレ
ームの発行 (14)DKCからステータスフレームの発行(21
3) (15)CPUからステータス受領フレームの発行(2
14) (16)DKCからデバイスレベルACKフレームの発
行(215) 以上のように、ESCON上で、一般的なDX/LOC
/WRまたはRDを実行する場合、実際のデータの転送
処理が実行さるまでには、CPU―DKC間で上記
(1)から(11)までのシーケンスを実行する必要が
ある。
2. Description of the Related Art CPU and DK in a mainframe system
When performing data transfer with C, generally, DX
(Define Extext) / LOC (LOCate record), CP
For data transfer from U to DKC, the WRITE command is chained, and for data transfer from the DKC to the CPU, the READ command is chained. For example, when writing one record, DX / LOC / WRCKD (Write Count, Key
and Data) CCW chain (known example: IBM 399
0/9390 Storage Control Reference). Also, CPU-
Although there is an ESCON protocol as an interface between DKCs, when processing is performed in a configuration connected by this CCW chain ESCON, the following sequence is performed during normal operation (known example: Enterprise Systems Architecture / 3
90 ESCON I / O Interface). FIG. 2 shows an operation sequence. (1) CPU issues DX command frame (20
1) (2) Issuing a command response frame from the DKC (202) (3) Issuing a command response receiving frame from the CPU (203) (4) Issuing a DX command data frame from the CPU (204) (5) Status from the DKC Issue of frame (205) (6) Issue of LOC command frame from CPU (2)
06) (7) Issuing of command response from DKC (207) (8) Issuing of LOC command data frame from CPU (208) (9) Issuing of status frame from DKC (209) (10) Command frame of WRKD from CPU Issuing (210) (11) Issuing a command response frame from the DKC (211) (12) Issuing a WRCKD data frame from the CPU (212) (13) Issuing a WRCKD data frame from the CPU according to the data amount, or DKC issues data request frame (14) DKC issues status frame (21
3) (15) Issuance of status reception frame from CPU (2
14) (16) Issuance of Device Level ACK Frame from DKC (215) As described above, general DX / LOC on ESCON
When executing / WR or RD, it is necessary to execute the above-described sequences (1) to (11) between the CPU and the DKC until the actual data transfer processing is executed.

【0003】[0003]

【発明が解決しようとする課題】上記のシーケンスにお
いては、上記(1)から(11)までのシーケンスにお
ける通信の間、CPU−DKC間のパスを占有すること
になり、この時間がデータ転送の性能に影響してくると
いう問題がある。また、今後CPU−DKC間の物理的
な転送速度が、FIBREチャネル等により向上した場
合、DX/LOCコマンド等の通信によるオーバヘッド
が、さらにデータ転送の性能に影響してくるという問題
がある。
In the above sequence, the path between the CPU and the DKC is occupied during the communication in the above sequences (1) to (11). There is a problem that performance is affected. Further, when the physical transfer speed between the CPU and the DKC is improved by the FIBER channel or the like in the future, there is a problem that the overhead due to the communication of the DX / LOC command or the like further affects the data transfer performance.

【0004】本発明は目的は、上記の問題を解決するこ
とにあり、CPU側でCCWチェインを結合し、複数の
CCWをまとめてDKCに転送し、DKC側でCCWチ
ェインを分離して処理することにより、CPU−DKC
間の複数のCCWの通信によるオーバヘットの削減をす
ることにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problem. The CPU side combines CCW chains, collectively transfers a plurality of CCWs to the DKC, and separates and processes the CCW chains on the DKC side. As a result, the CPU-DKC
An object of the present invention is to reduce overhead caused by communication between a plurality of CCWs.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、プログラムの実行/データの処理等を行
う演算ユニットと、プログラム/データを格納する主記
憶装置と、主記憶装置と外部のディスク制御装置との間
でデータ転送を制御する入出力チャネル部を有するデー
タ処理システムにおいて、前記入出力チャネル部は、複
数のチャネルコマンドワード(以下、CCWという)を
結合してCCWリストを作成し、該CCWリストにCC
W結合コマンドを含むコマンドフレームを付加して前記
ディスク制御装置に転送する手段を有するようにしてい
る。
In order to achieve the above object, the present invention provides an arithmetic unit for executing a program / processing data, a main memory for storing a program / data, a main memory, and an external memory. In the data processing system having an input / output channel unit for controlling data transfer with a disk controller, the input / output channel unit creates a CCW list by combining a plurality of channel command words (hereinafter, referred to as CCW). And the CCW list
A means for adding a command frame including a W-coupled command and transferring the command frame to the disk controller is provided.

【0006】また、前記CCWリスト中のCCWは、元
のCCWの形式を維持しているようにしている。
[0006] The CCW in the CCW list maintains the original CCW format.

【0007】また、ディスク制御装置内のデータの管理
等を行う制御プロセッサと、データを格納するキャッシ
ュメモリと、キャッシュメモリと外部のデータ処理シス
テムとの間でデータ転送を制御するチャネル制御部を有
するディスク制御装置において、前記チャネル制御部
は、前記データ処理システムからCCW結合コマンドを
含むコマンドフレームの付加された、複数のCCWを結
合したCCWリストが転送されたとき、該CCWリスト
内の各CCWを分離し、該分離した各CCWの処理を行
う手段を有するようにしている。
[0007] Further, it has a control processor for managing data in the disk control device, a cache memory for storing data, and a channel control unit for controlling data transfer between the cache memory and an external data processing system. In the disk control device, when a CCW list in which a plurality of CCWs are combined and a command frame including a CCW combination command is transferred from the data processing system is transferred, each of the CCWs in the CCW list is It has means for separating and processing each separated CCW.

【0008】また、中央処理装置と、該中央処理装置に
接続されたディスク制御装置を備えるデータ処理システ
ムであって、該中央処理装置は、プログラムの実行/デ
ータの処理等を行う演算ユニットと、プログラム/デー
タを格納する主記憶装置と、該主記憶装置と前記ディス
ク制御装置との間でデータ転送を制御する入出力チャネ
ル部を有し、該入出力チャネル部が、複数のCCWを結
合してCCWリストを作成し、該CCWリストにCCW
結合コマンドを含むコマンドフレームを付加して前記デ
ィスク制御装置に転送する手段を有し、ディスク制御装
置は、データの管理等を行う制御プロセッサと、データ
を格納するキャッシュメモリと、キャッシュメモリと前
記中央処理装置との間でデータ転送を制御するチャネル
制御部を有し、該チャネル制御部が、前記中央処理装置
から前記CCW結合コマンドを含むコマンドフレームの
付加されたCCWリストが転送されたとき、該CCWリ
スト内の各CCWを分離し、該分離した各CCWの処理
を行う手段を有するようにしている。
A data processing system comprising a central processing unit and a disk control unit connected to the central processing unit, the central processing unit comprising: an arithmetic unit for executing a program / processing data; A main storage device for storing programs / data; and an input / output channel unit for controlling data transfer between the main storage device and the disk controller. The input / output channel unit connects a plurality of CCWs. To create a CCW list, and add CCW to the CCW list.
Means for adding a command frame including a combined command and transferring the command frame to the disk controller, the disk controller comprising: a control processor for managing data; a cache memory for storing data; A channel control unit for controlling data transfer to and from a processing device, wherein the channel control unit, when a CCW list to which a command frame including the CCW combination command is added from the central processing unit is transferred, Each CCW in the CCW list is separated, and means for processing the separated CCWs is provided.

【0009】[0009]

【発明の実施の形態】以下、図面を参照しながら、本発
明の一実施例であるメインフレームにおけるデータ処理
システムについて説明する。図1は本発明の一実施例で
あるメインフレームにおけるデータ処理システムの構成
を示す図である。本実施例の構成は、大きくは中央処理
装置であるCPU(101)と、ディスク制御装置であ
るDKC(102)と、ディスク駆動装置であるDKU
(103)と、CPUとDKC間を結合するケーブル
(104)と、DKC−DKU間を結合するケーブル
(105)で構成される。CPU―DKC間のインター
フェイスは、メインフレームの標準プロトコルであるE
SCONであっても良いし、FIBREチャネルプロト
コルをベースしたものであっても良い。CPU内の構成
としては、オペレーティングシステム、ユーザプログラ
ム等を実行する演算処理部(IP)(111)と、前記
プログラム及び、プログラムが処理するデータ等を格納
する主記憶装置部(MS)(112)と、外部入出力装
置とのデータ転送を制御する及び、入出力装置とのイン
ターフェイスを制御する入出力制御部(CH)(11
3)と、これらデータ転送を制御するシステムコントロ
ーラ部(SC)(114)から構成される。また、DK
C内の構成としては、CPUのチャネルとのインターフ
ェースを制御するチャネル制御部(121)と、データ
を高速処理するためのCACHEメモリ部(122)
と、DKC内のデータ管理等を制御する制御プロセッサ
部(123)と、これらデータ転送を制御するデータ転
送制御部(124)から構成される。また、DKU内に
は、データを格納するディスク装置(131)が存在す
る。CPU側でのCCWチェインの結合は、CHで処理
する。また、DKCでのCCWチェイン分離は、チャネ
ル制御部で処理する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A data processing system in a mainframe according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a configuration of a data processing system in a mainframe according to an embodiment of the present invention. The configuration of the present embodiment mainly includes a CPU (101) as a central processing unit, a DKC (102) as a disk control device, and a DKU as a disk drive device.
(103), a cable (104) connecting the CPU and the DKC, and a cable (105) connecting the DKC and the DKU. The interface between the CPU and the DKC is E, which is a mainframe standard protocol.
It may be SCON or may be based on the FIBER channel protocol. The configuration in the CPU includes an arithmetic processing unit (IP) (111) that executes an operating system, a user program, and the like, and a main storage unit (MS) (112) that stores the program, data processed by the program, and the like. And an input / output control unit (CH) (11) for controlling data transfer with an external input / output device and controlling an interface with the input / output device.
3) and a system controller (SC) (114) for controlling these data transfers. Also, DK
The configuration in C includes a channel control unit (121) for controlling the interface of the CPU with the channel, and a CACHE memory unit (122) for processing data at high speed.
And a control processor unit (123) that controls data management and the like in the DKC, and a data transfer control unit (124) that controls these data transfers. Further, a disk device (131) for storing data exists in the DKU. The connection of the CCW chain on the CPU side is processed by the CH. The CCW chain separation in the DKC is processed by the channel control unit.

【0010】図3はCPU内でのCCWチェインを結合
するための構成を示した図である。CCWチェインとし
ては、DX/LOC/WRCKDを例として説明する。
MS内には、CCWを実行するための情報であるチャネ
ルプログラム(311)、DXコマンドの制御データで
あるDXパラメタ(312)、LOCコマンドの制御デ
ータであるLOCパラメタ(313)、及び、WRCK
DコマンドでWRITEする実データ(314)が格納
されている。チャネルプログラム内の構造としては、実
行するコマンドを示すコマンドコード(321)、次コ
マンドが存在するかどうかのコマンドチェイン情報等を
示すフラグ情報(322)、コマンドが転送するデータ
量を示す転送カウント(323)、及び、MS内に格納
されているデータ/パラメタの位置を示すアドレス(3
24)が存在する。一方、CH側には、CCWチェイン
の結合状態を管理するチャネルプログラム管理情報(3
31)、チャネルプログラムの実行状態を管理するチャ
ネルプログラムカウンタ(332)、CCWの結合を制
御する制御部(333)、CCWチェインの結合結果で
あるCCWリストを格納するデータバッファ(334)
から構成される。チャネルプログラム管理情報の構造と
しては、MS内チャネルプログラムと同一のコマンドコ
ード、フラグ情報、転送カウント、及び、アドレスが存
在する。また、データバッファ内のCCWリストの構造
としては、コマンドコード(341)、フラグ情報(3
42)、転送カウンタ(343)、及び、転送データ
(344)が存在する。これら構成要素を用いて、CC
Wチェインを結合する処理フローを次に説明する。
FIG. 3 is a diagram showing a configuration for connecting CCW chains in the CPU. DX / LOC / WRCKD will be described as an example of the CCW chain.
In the MS, a channel program (311) as information for executing CCW, a DX parameter (312) as control data of a DX command, a LOC parameter (313) as control data of a LOC command, and WRCK
The actual data (314) to be written by the D command is stored. The structure in the channel program includes a command code (321) indicating a command to be executed, flag information (322) indicating command chain information indicating whether or not a next command exists, and a transfer count () indicating an amount of data transferred by the command. 323) and an address (3) indicating the position of the data / parameter stored in the MS.
24) exists. On the other hand, on the CH side, channel program management information (3
31), a channel program counter (332) for managing the execution state of the channel program, a control unit (333) for controlling the coupling of CCWs, and a data buffer (334) for storing a CCW list which is a coupling result of the CCW chains.
Consists of The structure of the channel program management information includes the same command code, flag information, transfer count, and address as those of the channel program in the MS. The structure of the CCW list in the data buffer includes a command code (341), flag information (3
42), a transfer counter (343), and transfer data (344). Using these components, CC
The processing flow for combining the W chains will now be described.

【0011】図4はCPU内でのCCWチェインを結合
するための処理フローを示した図である。
FIG. 4 is a diagram showing a processing flow for connecting CCW chains in the CPU.

【0012】まず、チャネルプログラムカウンタに従い
チャネルプログラムをMSから取込む(ステップ40
1)。取込みによりチャネルプログラムカウンタの値は
更新される。次に、取込んだチャネルプログラム内のコ
マンドコードを解析し(ステップ402)、WRITE
及び、コントロール系のコマンドであった場合は、チャ
ネルプログラム管理情報(331)にチャネルプログラ
ムの内容を格納する(ステップ403)。次に、チャネ
ルプログラム内のコマンド、フラグ情報、転送カウント
をデータバッファ(334)に格納し、CCWリストの
作成を行う(ステップ404)。次にチャネルプログラ
ム内のアドレスから転送カウント分のデータ/パラメタ
をデータバッファに格納する(ステップ405)。デー
タ/パラメタもCCWリストの一部となる。図3のデー
タバッファに格納に格納されたものがCCWリストの例
である。次にチャネルプログラム内のフラグ情報を判定
し(ステップ406)、コマンドチェインフラグオンな
らば、MSからのチャネルプログラム取込み処理に戻
る。また、コマンドチェインフラグオフならば、結合し
たCCWチェインをDKCへ発行する処理へ移る。結合
したCCWチェインをDKCへ発行する場合には、CC
W結合コマンドを含むコマンドフレームを作成し、この
コマンドフレームを作成したCCWリストに付加してD
KCへ発行する。すなわち、コマンドフレームに続いて
CCWリストをDKCへ転送する。
First, a channel program is fetched from the MS according to the channel program counter (step 40).
1). By taking in, the value of the channel program counter is updated. Next, the command code in the fetched channel program is analyzed (step 402), and WRITE
If the command is a control command, the contents of the channel program are stored in the channel program management information (331) (step 403). Next, the command, flag information, and transfer count in the channel program are stored in the data buffer (334), and a CCW list is created (step 404). Next, data / parameters corresponding to the transfer count from the address in the channel program are stored in the data buffer (step 405). Data / parameters also become part of the CCW list. The data stored in the data buffer in FIG. 3 is an example of the CCW list. Next, the flag information in the channel program is determined (step 406). If the command chain flag is on, the process returns to the channel program fetching process from the MS. If the command chain flag is off, the process moves to issuing the combined CCW chain to the DKC. When issuing the combined CCW chain to the DKC, the CC
A command frame including a W-combined command is created, and this command frame is added to the created CCW list, and D
Issue to KC. That is, the CCW list is transferred to the DKC following the command frame.

【0013】一方、コマンドコードの解析(ステップ4
02)の結果が、READ及び、センス系のコマンドで
あった場合は、WRITE系CCWとREAD系CCW
が結合されることを避けるため、CCWの結合を止め
る。その際、まず、チャネルプログラム管理情報を解析
し(ステップ407)、CCW結合済みならば、すなわ
ち、チャネルプログラム管理情報(331)にチャネル
プログラムの内容が格納されていれば、結合されるべき
でないチャネルプログラムを1CCW分余分に取込んで
いることになるため、チャネルプログラムカウンタを1
CCW分戻し(ステップ408)、既に結合したCCW
チェインをDKCへ発行する処理へ移る。また、チャネ
ルプログラム管理情報を解析した結果が、CCW未結合
であれば、すなわち、チャネルプログラム管理情報(3
31)にチャネルプログラムの内容が格納されていなけ
れば、従来通りDKCへのCCW発行処理に移る。以上
の処理により、CCWチェインの結合が可能となる。
On the other hand, command code analysis (step 4)
02) are READ and sense commands, the WRITE CCW and READ CCW
To prevent CCW from being coupled. At this time, first, the channel program management information is analyzed (step 407). If the CCW has been combined, that is, if the contents of the channel program are stored in the channel program management information (331), the channel that should not be combined is The channel program counter is set to 1
CCW decrement (step 408), CCW already joined
The process moves to issuing a chain to the DKC. If the result of analyzing the channel program management information indicates that the CCW has not been linked, that is, the channel program management information (3
If the content of the channel program is not stored in 31), the process proceeds to the CCW issuing process to the DKC as before. Through the above processing, the CCW chains can be connected.

【0014】図5はDKC内でのCCWチェインを分離
するための構成を示した図である。CCWチェインとし
ては、DX/LOC/WRCKDを例として説明する。
チャネル制御部(510)は、CCWの分離を制御する
制御部(511)とCPUから転送されたCCWリスト
を格納するためのバッファ(512)から構成される。
バッファ内のCCWリストの構造としては、CPU側の
バッファと同様に、コマンドコード(521)、フラグ
情報(522)、転送カウンタ(523)、及び、転送
データ(524)が存在する。DX/LOC/WRCK
DのCCWチェインにおけるデータの流れとしては、D
X及び、LOC等の制御パラメタはデータ転送制御部を
介して、制御プロセッサから参照される。また、WRC
KD等の実データは、制御プロセッサの制御のもと、デ
ータ転送制御部を介してCACHEに格納される。これ
ら構成要素を用いて、CCWチェインを分離する処理フ
ローを次に説明する。
FIG. 5 is a diagram showing a configuration for separating a CCW chain in a DKC. DX / LOC / WRCKD will be described as an example of the CCW chain.
The channel control unit (510) includes a control unit (511) for controlling CCW separation and a buffer (512) for storing the CCW list transferred from the CPU.
The structure of the CCW list in the buffer includes a command code (521), flag information (522), a transfer counter (523), and transfer data (524) as in the buffer on the CPU side. DX / LOC / WRCK
The data flow in the CCW chain of D is D
Control parameters such as X and LOC are referred to from the control processor via the data transfer control unit. Also, WRC
Actual data such as KD is stored in CACHE via the data transfer control unit under the control of the control processor. A processing flow for separating a CCW chain using these components will be described below.

【0015】図6はDKC内でのCCWチェインを分離
するための処理フローを示した図である。まず、コマン
ドフレームの受領処理を制御部(511)で実行する
(ステップ601)。次に、受領したコマンドフレーム
からコマンドコードを取り出し、解析する(ステップ6
02)。コマンドコードの内容が、CCW結合コマンド
以外の従来コマンドであった場合、従来処理へと移る。
コマンドコードの内容が、CCW結合コマンドであった
場合、CH(113)への対チャネル制御として、コマ
ンドレスポンスフレームの発行処理(図7の702)及
び、コマンドレスポンス受領フレームの受領処理(図7
の703)を実行する(ステップ603)。次に、CC
Wリストが入っているデータフレームの一括受領処理を
実行し、バッファ(512)にデータを格納する(ステ
ップ604)。
FIG. 6 is a diagram showing a processing flow for separating a CCW chain in the DKC. First, the control unit (511) executes command frame reception processing (step 601). Next, a command code is extracted from the received command frame and analyzed (step 6).
02). If the content of the command code is a conventional command other than the CCW combination command, the process proceeds to the conventional processing.
If the content of the command code is a CCW connection command, the command response frame issuance processing (702 in FIG. 7) and the command response reception frame reception processing (FIG. 7) are performed as channel control for the CH (113).
703) is executed (step 603). Next, CC
The batch reception processing of the data frame containing the W list is executed, and the data is stored in the buffer (512) (step 604).

【0016】次に、バッファ(512)からコマンドコ
ード、フラグ情報、転送カウントのCCW情報を取り出
す(ステップ605)。次に、コマンドコードを解析し
(ステップ606)、コントロール系のコマンドであっ
た場合、コントロール系のコマンドフレーム情報を制御
プロセッサに渡した後、その延長でバッファ内のパラメ
タをデータ転送制御部(530)を介して制御プロセッ
サ(540)に渡す(ステップ607)。一方、コマン
ドコードを解析した結果が、WRITE系コマンドであ
った場合、WRITE系のコマンドフレーム情報を制御
プロセッサ(540)に渡した後、その延長でバッファ
内の実データをデータ転送制御部(530)を介し、制
御プロセッサ(540)での制御のもと、CACHE
(550)へ転送する(ステップ608)。次に、制御
プロセッサからのパラメタ/実データの転送完了ステー
タスの受領処理を実行する(ステップ609)。次に、
先に取込んだバッファ内のフラグ情報を判定し(ステッ
プ610)、コマンドチェインフラグオンならば、バッ
ファからのCCW情報を取得する処理(ステップ60
5)に戻る。また、コマンドチェインフラグオフなら
ば、対チャネル制御として、ステータスフレームを発行
する処理を実行し(ステップ611)、従来処理へ移
る。以上の処理により、CCWの分離が可能となる。
Next, the command code, flag information, and CCW information of the transfer count are extracted from the buffer (512) (step 605). Next, the command code is analyzed (Step 606). If the command code is a control command, the command frame information of the control command is passed to the control processor, and the parameters in the buffer are transferred by extension to the data transfer control unit (530). ) To the control processor (540) (step 607). On the other hand, if the result of analyzing the command code is a WRITE command, after passing the WRITE command frame information to the control processor (540), the actual data in the buffer is extended by the data transfer control unit (530). ) Under the control of the control processor (540).
(550) (step 608). Next, a process of receiving the transfer completion status of the parameter / actual data from the control processor is executed (step 609). next,
The flag information in the buffer previously fetched is determined (step 610), and if the command chain flag is on, the process of acquiring CCW information from the buffer (step 60)
Return to 5). If the command chain flag is off, a process of issuing a status frame is executed as channel control (step 611), and the process proceeds to a conventional process. Through the above processing, the CCW can be separated.

【0017】図7は図3から図6で説明した実施例を使
用し、ESCONインターフェイス上でDX/LOC/
WRCKDを実行した場合のシーケンス図を示す。ま
ず、CPU側からCCWチェインを結合したことを意味
するコマンドフレーム(CMD)が発行される(70
1)。次に、DKC側から結合コマンドを受領したこと
を意味するコマンドレスポンスフレーム(CMD RE
SP)が発行される(702)。次に、CPU側からコ
マンドレスポンスを受領したことを意味するコマンドレ
スポンス受領フレーム(ACPT CMD RESP)が
発行される(703)。次に、CPU側からDXコマン
ド、LOCコマンド、及び、WRCKDコマンドのコマ
ンドコード、フラグ、転送カウント、実データが格納さ
れたCCWリストがデータフレーム(DATA)として
発行される(704)。次に、データフレームを受領し
データ内のCCWチェインに応じた処理を終了したこと
ことを意味するステータスフレーム(STUS)がDK
C側から発行される(705)。次に、CPU側からス
テータスフレームを受領したことを意味するステータス
受領フレーム(ACPT STUS)が発行される(7
06)。次に、DKC側からCCWチェインの終了を意
味するデバイスレベルACKフレーム(DEV AC
K)が発行される(707)。
FIG. 7 uses the embodiment described with reference to FIGS. 3 to 6 and, on the ESCON interface, DX / LOC /
FIG. 7 shows a sequence diagram when WRKD is executed. First, the CPU issues a command frame (CMD) indicating that the CCW chains have been combined (70).
1). Next, a command response frame (CMD RE) indicating that the combined command has been received from the DKC side.
SP) is issued (702). Next, a command response reception frame (ACTT CMD RESP) indicating that the command response has been received is issued from the CPU side (703). Next, the command side, the command code of the DX command, the LOC command, and the WRCKD command, the flag, the transfer count, and the CCW list in which the actual data are stored are issued as the data frame (DATA) (704). Next, a status frame (STUS) indicating that the data frame has been received and processing according to the CCW chain in the data has been completed is generated by the DK.
Issued from the C side (705). Next, a status reception frame (ACPT STUS) indicating that the status frame has been received from the CPU side is issued (7).
06). Next, from the DKC side, a device level ACK frame (DEV AC
K) is issued (707).

【0018】また、複数レコードのWRITEを実行す
るCCWチェインの場合には、本一実施例ではデータフ
レーム内のCCWリストに複数レコードのCCWを並べ
た形式となる。すなわち、例えば、図3のデータバッフ
ァ334に格納されるCCWリストの“ WRCKD…
…WRデータ ”が複数個並ぶことになる。尚、図4の
コマンドコード解析判定の箇所(402)を変更するこ
とにより、CCWリストの作り方を変更することは可能
である。また、本一実施例では、DXコマンドとLOC
コマンドが結合されるが、この結合の後にREAD系の
コマンドが結合されることはない。したがって、DX/
LOC結合コマンドは単独でDKC側に送られ、DX,
LOCに続くREAD系コマンドも単独でDKC側に送
られ、CPU―DKC間インターフェイス上は、DX/
LOC結合コマンドにREAD系コマンドがチェインし
た形で見える。これらにより、図2示したような従来動
作に比べ、実際のデータ転送を開始するまでのオーバヘ
ッドを削減することができる。
In the case of a CCW chain for executing WRITE of a plurality of records, the present embodiment employs a format in which CCWs of a plurality of records are arranged in a CCW list in a data frame. That is, for example, “WRCKD... Of the CCW list stored in the data buffer 334 of FIG.
.. WR data ”are arranged in plurality. It is possible to change the method of creating the CCW list by changing the location (402) of the command code analysis determination in FIG. In the example, DX command and LOC
Commands are combined, but no READ-related commands are combined after this combination. Therefore, DX /
The LOC join command is sent alone to the DKC side, and DX,
The READ command following the LOC is also sent to the DKC side alone, and the DX / DXC interface
It looks like a READ-related command chained to the LOC connection command. As a result, it is possible to reduce the overhead until the actual data transfer is started, as compared with the conventional operation as shown in FIG.

【0019】[0019]

【発明の効果】本発明のデータ処理システムは、CPU
側でCCWチェインを結合し、複数のCCWをまとめて
DKCに転送し、DKC側でCCWチェインを分離して
処理することにより、CPU−DKC間の複数のCCW
の通信によるオーバヘットの削減ができる。CPU―D
KC間の物理的な転送速度がより向上した場合、オーバ
ヘッドの削減により性能向上を可能とすることができ
る。
The data processing system of the present invention has a CPU
Side, the CCW chains are combined, a plurality of CCWs are collectively transferred to the DKC, and the DKC side separates and processes the CCW chains, whereby a plurality of CCWs between the CPU and the DKC are processed.
The overhead can be reduced by the communication. CPU-D
When the physical transfer speed between the KCs is further improved, the performance can be improved by reducing the overhead.

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

【図1】本発明のデータ処理システムの全体構成を示す
図である。
FIG. 1 is a diagram showing an overall configuration of a data processing system of the present invention.

【図2】従来のESCON上のシーケンスを示す図であ
る。
FIG. 2 is a diagram showing a sequence on a conventional ESCON.

【図3】CPU側でのCCWチェインの結合を説明する
ための図である。
FIG. 3 is a diagram for explaining coupling of CCW chains on the CPU side.

【図4】CPU側でのCCWチェインを結合する処理の
フローチャートを示す図である。
FIG. 4 is a diagram illustrating a flowchart of a process of combining CCW chains on the CPU side.

【図5】DKC側でのCCWチェインの分離を説明する
ための図である。
FIG. 5 is a diagram illustrating separation of a CCW chain on the DKC side.

【図6】DKC側でのCCWチェインを分離する処理の
フローチャートを示す図である。
FIG. 6 is a diagram illustrating a flowchart of a process of separating a CCW chain on the DKC side.

【図7】本発明によるESCON上のシーケンスを示す
図である。
FIG. 7 is a diagram showing a sequence on ESCON according to the present invention.

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

101 中央処理装置(CPU) 102 ディスク制御装置(DKC) 103 ディスク駆動装置(DKU) 104 CPU−DKC間接続ケーブル 105 DKC−DKU間接続ケーブル 111 演算処理部(IP) 112 主記憶装置部(MS) 113 入出力制御部(CH) 114 システムコントローラ部(SC) 121 チャネル制御部(CH制御部) 122 CACHEメモリ部(CACHE) 123 制御プロセッサ部 124 データ転送制御部 131 ディスク装置 101 Central Processing Unit (CPU) 102 Disk Control Unit (DKC) 103 Disk Drive Unit (DKU) 104 CPU-DKC Connection Cable 105 DKC-DKU Connection Cable 111 Arithmetic Processing Unit (IP) 112 Main Storage Unit (MS) 113 Input / output control unit (CH) 114 System controller unit (SC) 121 Channel control unit (CH control unit) 122 CACHE memory unit (CACHE) 123 Control processor unit 124 Data transfer control unit 131 Disk device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 古海 昇 神奈川県小田原市国府津2880番地 株式会 社日立製作所ストレージシステム事業部内 Fターム(参考) 5B014 EB04 GB07 GB08  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Noboru Koumi 2880 Kozu, Odawara-shi, Kanagawa F-term in Storage Systems Division, Hitachi, Ltd. (Reference) 5B014 EB04 GB07 GB08

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 プログラムの実行/データの処理等を行
う演算ユニットと、プログラム/データを格納する主記
憶装置と、主記憶装置と外部のディスク制御装置との間
でデータ転送を制御する入出力チャネル部を有するデー
タ処理システムにおいて、 前記入出力チャネル部は、複数のチャネルコマンドワー
ド(以下、CCWという)を結合してCCWリストを作
成し、該CCWリストにCCW結合コマンドを含むコマ
ンドフレームを付加して前記ディスク制御装置に転送す
る手段を有することを特徴とするデータ処理システム。
An arithmetic unit for executing a program / processing data, a main memory for storing a program / data, and an input / output for controlling data transfer between the main memory and an external disk controller. In the data processing system having a channel unit, the input / output channel unit combines a plurality of channel command words (hereinafter, referred to as CCW) to create a CCW list, and adds a command frame including a CCW combined command to the CCW list. And a means for transferring the data to the disk controller.
【請求項2】 請求項1記載のデータ処理システムにお
いて、 前記CCWリスト中のCCWは、元のCCWの形式を維
持していることを特徴とするデータ処理システム。
2. The data processing system according to claim 1, wherein the CCW in the CCW list maintains the format of the original CCW.
【請求項3】 ディスク制御装置内のデータの管理等を
行う制御プロセッサと、データを格納するキャッシュメ
モリと、キャッシュメモリと外部のデータ処理システム
との間でデータ転送を制御するチャネル制御部を有する
ディスク制御装置において、 前記チャネル制御部は、前記データ処理システムからC
CW結合コマンドを含むコマンドフレームの付加され
た、複数のCCWを結合したCCWリストが転送された
とき、該CCWリスト内の各CCWを分離し、該分離し
た各CCWの処理を行う手段を有することを特徴とする
ディスク制御装置。
3. A control processor for managing data in a disk controller, a cache memory for storing data, and a channel control unit for controlling data transfer between the cache memory and an external data processing system. In the disk control device, the channel control unit may control the data processing system
When a CCW list in which a plurality of CCWs combined with a command frame including a CW combination command is transferred is transferred, means for separating each CCW in the CCW list and processing each separated CCW are provided. A disk control device characterized by the above-mentioned.
【請求項4】 中央処理装置と、該中央処理装置に接続
されたディスク制御装置を備えるデータ処理システムで
あって、 該中央処理装置は、プログラムの実行/データの処理等
を行う演算ユニットと、プログラム/データを格納する
主記憶装置と、該主記憶装置と前記ディスク制御装置と
の間でデータ転送を制御する入出力チャネル部を有し、
該入出力チャネル部が、複数のCCWを結合してCCW
リストを作成し、該CCWリストにCCW結合コマンド
を含むコマンドフレームを付加して前記ディスク制御装
置に転送する手段を有し、 ディスク制御装置は、データの管理等を行う制御プロセ
ッサと、データを格納するキャッシュメモリと、キャッ
シュメモリと前記中央処理装置との間でデータ転送を制
御するチャネル制御部を有し、該チャネル制御部が、前
記中央処理装置から前記CCW結合コマンドを含むコマ
ンドフレームの付加されたCCWリストが転送されたと
き、該CCWリスト内の各CCWを分離し、該分離した
各CCWの処理を行う手段を有することを特徴とするデ
ータ処理システム。
4. A data processing system comprising a central processing unit and a disk controller connected to the central processing unit, the central processing unit comprising: an arithmetic unit for executing a program / processing data; A main storage device for storing programs / data, and an input / output channel unit for controlling data transfer between the main storage device and the disk controller;
The input / output channel unit connects a plurality of CCWs to
Means for creating a list, adding a command frame containing a CCW binding command to the CCW list, and transferring the command frame to the disk control device. The disk control device includes a control processor for performing data management and the like, and a device for storing data. And a channel control unit for controlling data transfer between the cache memory and the central processing unit. The channel control unit receives a command frame including the CCW connection command from the central processing unit. A data processing system comprising: means for separating each CCW in the CCW list when the transferred CCW list is transferred, and processing the separated CCWs.
JP10355419A 1998-11-30 1998-11-30 Data processing system and disk controller Pending JP2000163354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10355419A JP2000163354A (en) 1998-11-30 1998-11-30 Data processing system and disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10355419A JP2000163354A (en) 1998-11-30 1998-11-30 Data processing system and disk controller

Publications (1)

Publication Number Publication Date
JP2000163354A true JP2000163354A (en) 2000-06-16

Family

ID=18443845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10355419A Pending JP2000163354A (en) 1998-11-30 1998-11-30 Data processing system and disk controller

Country Status (1)

Country Link
JP (1) JP2000163354A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100568203C (en) * 2006-10-10 2009-12-09 国际商业机器公司 Be beneficial to the method and system of the I/O processing of processing environment
JP2013516667A (en) * 2010-04-27 2013-05-13 株式会社日立製作所 Mainframe storage device to which Thin Provisioning is applied
US8595414B2 (en) 2010-09-30 2013-11-26 Apple Inc. Selectively combining commands for a system having non-volatile memory

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100568203C (en) * 2006-10-10 2009-12-09 国际商业机器公司 Be beneficial to the method and system of the I/O processing of processing environment
JP2013516667A (en) * 2010-04-27 2013-05-13 株式会社日立製作所 Mainframe storage device to which Thin Provisioning is applied
US8595414B2 (en) 2010-09-30 2013-11-26 Apple Inc. Selectively combining commands for a system having non-volatile memory

Similar Documents

Publication Publication Date Title
JP2565632B2 (en) I / O system
US20070192765A1 (en) Virtual machine system
JPH0792761B2 (en) Input / output control method for virtual computer system
JP2000029737A (en) Processor having real-time outer instruction insertion for debugging functions
US4675807A (en) Multiple file transfer to streaming device
US7865883B1 (en) Parallel and asynchronous debugger and debugging method for multi-threaded programs
JP2000163354A (en) Data processing system and disk controller
JPH10105502A (en) Peripheral equipment controller
JP2630198B2 (en) Broadcast bus interface for peripheral devices
JP3517417B2 (en) Data transfer device
JP2001125866A (en) Data processing system and central processing unit and disk controller
JPH0793101A (en) Data backup device
JP2001290607A (en) Command queuing control method for device driver and computer system
JP2003005987A (en) Emulation device
JP2878159B2 (en) Transaction processing system
JPH05151137A (en) Electronic computer device
JP2524620B2 (en) Input / output control method
JP2783275B2 (en) Distributed parallel processing program debugging method
JP2644857B2 (en) Data transfer method
JPH07295761A (en) Mirroring magnetic disk device
JPH03111959A (en) External device controller
JP2732951B2 (en) Data transfer control method
JPS6212555B2 (en)
JPH0264815A (en) Disk cache control system
JPH06266630A (en) Input/output controller with trace function

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040317

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050517

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050719

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060328