JP2002215335A - Memory system - Google Patents

Memory system

Info

Publication number
JP2002215335A
JP2002215335A JP2001014406A JP2001014406A JP2002215335A JP 2002215335 A JP2002215335 A JP 2002215335A JP 2001014406 A JP2001014406 A JP 2001014406A JP 2001014406 A JP2001014406 A JP 2001014406A JP 2002215335 A JP2002215335 A JP 2002215335A
Authority
JP
Japan
Prior art keywords
bus
host
unit
measurement
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001014406A
Other languages
Japanese (ja)
Other versions
JP4041284B2 (en
Inventor
Akihiro Mannen
暁弘 萬年
Ikuya Yagisawa
育哉 八木沢
Naoto Matsunami
直人 松並
Masahiko Sato
雅彦 佐藤
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 JP2001014406A priority Critical patent/JP4041284B2/en
Publication of JP2002215335A publication Critical patent/JP2002215335A/en
Application granted granted Critical
Publication of JP4041284B2 publication Critical patent/JP4041284B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a device for conducting measurement of performance by the unit of Lu and notify notifying the results of measurement to the external in an array type disc system. SOLUTION: In this array type disc system, a performance measuring means for measuring usage situation of each transfer passage for each LU is provided inside the array type disc system, and a usage situation for each LU in each transfer passage is measured. Result of measurement is then notified to an external host and a control terminal or the like, using an external communication program.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はコンピュータシステ
ムの記憶装置システムのための制御方式に係わり、特に
記憶装置システムの性能測定に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control method for a storage system of a computer system, and more particularly, to performance measurement of the storage system.

【0002】[0002]

【従来の技術】ディスクアレイシステムは、RAID
(Redundant Arrays of Inexpensive Disks)とも呼ば
れ、複数のディスク装置をアレイ状に配置した構成をと
り、ホストからのリード要求(データの読み出し要求)
およびライト要求(データの書き込み要求)をディスク
の並列動作によって高速に処理するとともに、データに
冗長データを付加することによって信頼性を向上させた
記憶装置である。ディスクアレイシステムは、冗長デー
タの種類と構成により5つのレベルに分類されている
(論文:"A Case for Redundant Arrays of Inexpensiv
e Disks (RAID)", David A.Patterson, Garsh Gibson,
and Randy H.Katz, Computer Science Division Depart
ment of Electrical Engineering and Computer Scienc
es, Universityof California Berkeley ACM SIGMOD p
p.109−116 1988)。
2. Description of the Related Art Disk array systems use RAID.
(Redundant Arrays of Inexpensive Disks), a configuration in which a plurality of disk devices are arranged in an array, and a read request (data read request) from the host
And a write request (data write request) is processed at high speed by parallel operation of disks, and the reliability is improved by adding redundant data to data. Disk array systems are classified into five levels according to the type and configuration of redundant data (Paper: "A Case for Redundant Arrays of Inexpensiv"
e Disks (RAID) ", David A. Patterson, Garsh Gibson,
and Randy H. Katz, Computer Science Division Depart
ment of Electrical Engineering and Computer Scienc
es, University of California Berkeley ACM SIGMOD p
pp. 109-116 1988).

【0003】ディスクアレイシステムは複数のディスク
からなるディスク群を備えている。上記のようなディス
クアレイを実現するためには、ホストからのリード/ラ
イト要求を各ディスクへのリード/ライト要求に変換
し、ライト時にはデータを各ディスクへ分散し、リード
時には各ディスクからデータを集合するデータ分散・集
合制御を行う必要がある。このような制御をディスクア
レイ制御と呼ぶこととする。
The disk array system has a disk group composed of a plurality of disks. In order to realize the above-described disk array, a read / write request from a host is converted into a read / write request to each disk, data is distributed to each disk at the time of writing, and data is read from each disk at the time of reading. It is necessary to perform data distribution and aggregation control for aggregation. Such control is referred to as disk array control.

【0004】ホストからのリード/ライト要求は、一般
的にLU(Logical Unit)と呼ばれる記憶装置の論理ユ
ニット単位で行われる。
[0004] A read / write request from a host is generally made in units of a logical unit of a storage device called an LU (Logical Unit).

【0005】ディスクアレイの性能測定をLU単位で行
っている従来例は、たとえば特開平9−274544号
公報がある。この例では、LUごとにシーケンシャル/
ランダム等のアクセスの種類を採取している。
A conventional example in which the performance of a disk array is measured in LU units is disclosed in, for example, Japanese Patent Application Laid-Open No. 9-274544. In this example, sequential /
The types of access such as random are collected.

【0006】[0006]

【発明が解決しようとする課題】ディスクアレイにおい
て、LUごとのアクセス状況がわかれば、システムの再
構成時などにアクセス状況に基づいて負荷分散を行うこ
とにより、性能面で最適なLU構成、RAID構成を構
築することが可能となる。例えば、シーケンシャルなア
クセスが続くことによって、あるLUにアクセスが集中
するときは、LUを組替えて1つのLUにアクセスが集
中しないようにすることが考えられる。
In a disk array, if the access status for each LU is known, load distribution is performed based on the access status at the time of system reconfiguration or the like, so that an optimal LU configuration and RAID in terms of performance can be obtained. A configuration can be constructed. For example, when access is concentrated on a certain LU due to continuous access, LUs may be rearranged so that access is not concentrated on one LU.

【0007】また、LUごとのアクセス性能、LUごと
のハードウェア各部位の負荷状況がわかれば、ディスク
アレイシステム全体の性能ボトルネックの解析に使用す
ることが出来る。
Further, if the access performance for each LU and the load status of each part of the hardware for each LU are known, it can be used for analyzing the performance bottleneck of the entire disk array system.

【0008】また、複数のユーザに対して、データ保存
領域を提供し、代償として料金を受け取るストレージプ
ールというサービスが考えられるが、このストレージプ
ールにおいては、使用容量だけでなく、ハードウェア資
源をどれだけ使ったかという性能に対しても課金するこ
とが予想される。そのためには、LUごとの性能測定が
必要である。
[0008] A service called a storage pool, which provides a data storage area to a plurality of users and receives a fee in exchange, can be considered. In this storage pool, not only the used capacity but also the hardware resources are determined. It is anticipated that a fee will be charged for the performance of only using. For that purpose, performance measurement for each LU is required.

【0009】また、同様のストレージプールにおいて、
特定顧客に特定性能しか使わせないという性能サービス
における性能コントロールやハードウェア資源使用抑止
のための指針を得るためにも、LUごとの性能測定が必
要である。しかしながら、従来技術ではLUごとの転送
性能、負荷状況の測定および外部への通知は見受けられ
ない。
In a similar storage pool,
Performance measurement for each LU is necessary in order to obtain a guideline for performance control in a performance service that only a specific customer can use a specific performance and for suppressing use of hardware resources. However, in the related art, measurement of transfer performance and load status for each LU and notification to the outside are not found.

【0010】本発明の第1の目的は、測定結果からの負
荷分散により最適なRAID構成を構築するために、L
Uごとの転送性能、負荷状況を測定し、外部へ通知可能
としたディスクアレイシステムおよび方法を提供するこ
とにある。
A first object of the present invention is to construct an optimal RAID configuration by load distribution from measurement results.
It is an object of the present invention to provide a disk array system and a method capable of measuring the transfer performance and the load status of each U and notifying the outside.

【0011】本発明の第2の目的は、ディスクアレイシ
ステムの性能ボトルネック解析のために、LUごとの転
送性能、負荷状況を測定し、外部へ通知可能としたディ
スクアレイシステムおよび方法を提供することにある。
A second object of the present invention is to provide a disk array system and method capable of measuring the transfer performance and load status of each LU and notifying them to the outside for analyzing the performance bottleneck of the disk array system. It is in.

【0012】本発明の第3の目的は、ハードウェア資源
をどれだけ使ったかがわかり、性能に対する課金を可能
とするために、LUごとの転送性能、負荷状況を測定
し、外部へ通知可能としたディスクアレイシステムおよ
び方法を提供することにある。
A third object of the present invention is to measure the transfer performance and load status of each LU and to notify the external to enable the user to know how much hardware resources have been used and to charge for performance. A disk array system and method are provided.

【0013】本発明の第4の目的は、ハードウェア資源
使用抑止のための指針を得るために、LUごとの転送性
能、負荷状況を測定し、外部へ通知可能としたディスク
アレイシステムおよび方法を提供することにある。
A fourth object of the present invention is to provide a disk array system and method which can measure the transfer performance and load status of each LU and notify the external to obtain a guideline for suppressing the use of hardware resources. To provide.

【0014】[0014]

【課題を解決するための手段】本発明は上記要求を満足
するために、ディスクアレイシステム内で、LUごとの
転送性能、負荷状況を測定し、さらにディスクアレイシ
ステム外部へ測定結果を通知する手段を備えたものであ
る。
SUMMARY OF THE INVENTION In order to satisfy the above demand, the present invention measures the transfer performance and load status of each LU in a disk array system, and notifies the measurement result to the outside of the disk array system. It is provided with.

【0015】前記第1、第2、第3、第4の目的を達成
するために、本発明は、アレイ状に配置した複数のディ
スク装置を有するアレイ型ディスクシステムにおいて、
ホストとの入出力を行う少なくとも1つ以上のホスト入
出力手段と、複数のディスク装置との入出力を行う少な
くとも1つ以上のディスク入出力手段と、データを一時
的に保持するディスクキャッシュと、ディスクキャッシ
ュを制御するキャッシュコントローラと、ホスト入出力
手段とキャッシュコントローラを接続するホスト側内部
バスと、ディスク入出力手段とキャッシュコントローラ
を接続するディスク側内部バスと、キャッシュコントロ
ーラとディスクキャッシュを接続するキャッシュバス
と、LUごとの各転送路の使用状況を測定する性能測定
手段とを設ける。各転送路とは、上記ホスト側内部バ
ス、ディスク側内部バス、キャッシュバスのすくなくと
もいずれかひとつのことであり、各転送路におけるLU
ごとの使用状況を測定する。
In order to achieve the first, second, third and fourth objects, the present invention provides an array type disk system having a plurality of disk devices arranged in an array.
At least one or more host input / output means for performing input / output with a host, at least one or more disk input / output means for performing input / output with a plurality of disk devices, a disk cache for temporarily holding data, A cache controller for controlling the disk cache, a host-side internal bus connecting the host I / O unit and the cache controller, a disk-side internal bus connecting the disk I / O unit and the cache controller, and a cache connecting the cache controller and the disk cache A bus and performance measuring means for measuring the use status of each transfer path for each LU are provided. Each transfer path is at least one of the host-side internal bus, disk-side internal bus, and cache bus.
Measure the usage of each.

【0016】また、ディスクアレイシステム内にホスト
通信プログラムを設けることで、転送路の使用状況をホ
ストに通知できる。
Further, by providing a host communication program in the disk array system, the use status of the transfer path can be notified to the host.

【0017】また、前記第1、第2、第3、第4の目的
を達成するために、本発明は、上記の手段に加え、制御
端末との通信を行う制御端末通信手段と、制御端末通信
プログラムとを設けることで、転送状況を制御端末に通
知できる。
In order to achieve the first, second, third, and fourth objects, the present invention provides, in addition to the above means, a control terminal communication means for communicating with a control terminal, and a control terminal. By providing the communication program, the transfer status can be notified to the control terminal.

【0018】[0018]

【発明の実施の形態】以下、本発明の実施の形態を、図
を用いて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0019】(第1の実施形態)本発明の第1の実施形
態は、ホストからの指示に従い、ディスクアレイ内各バ
ス上のデータ転送量、バス使用量をLU単位で測定し、
測定結果のホストへの通知を図るためのものである。
(First Embodiment) In a first embodiment of the present invention, the data transfer amount and the bus use amount on each bus in a disk array are measured in LU units according to an instruction from a host.
This is for notifying the host of the measurement result.

【0020】(1)システム構成 まず、第1の実施形態のシステム構成を、図1を用いて
説明する。
(1) System Configuration First, the system configuration of the first embodiment will be described with reference to FIG.

【0021】図1において、ホストA100、ホストB
110、ホストC120は、ディスクアレイ200に対
してリード/ライト要求を出し、データの入出力を行う
ホストであり、130はバススイッチ、200はディス
クアレイである。
In FIG. 1, a host A 100, a host B
110 and a host C 120 are hosts that issue read / write requests to the disk array 200 and input / output data, 130 is a bus switch, and 200 is a disk array.

【0022】ディスクアレイ200は、ホスト入出力部
210、211と、ディスクキャッシュ230と、ディ
スク入出力部250、251と、ディスク装置群27
0、271と、ディスクアレイ全体の制御を行うMPU
280と、バスブリッジ285と、メモリ290と、キ
ャッシュコントローラ300とを備えている。ディスク
装置群270、271は、各々が少なくとも1台以上の
ディスク装置から構成される。本実施形態では、一例と
して、ディスク装置群270はディスク装置277〜2
79から構成されるとする。ホスト入出力部210、2
11は、少なくとも1つ以上であればよい。ディスク入
出力部250、251は、少なくとも1つ以上であれば
よい。ディスク装置群270、271は、少なくとも1
つ以上であればよい。
The disk array 200 includes host input / output units 210 and 211, a disk cache 230, disk input / output units 250 and 251 and a disk device group 27.
0, 271 and MPU for controlling the entire disk array
280, a bus bridge 285, a memory 290, and a cache controller 300. Each of the disk device groups 270 and 271 includes at least one or more disk devices. In the present embodiment, as an example, the disk device group 270 includes the disk devices 277 to 2
79. Host input / output unit 210, 2
11 may be at least one or more. The number of disk input / output units 250 and 251 may be at least one. The disk device groups 270 and 271 have at least one
At least one.

【0023】ホストA100、ホストB110、ホスト
C120は、バススイッチ130を介して、ホストバス
A140、ホストバスB141によりディスクアレイ2
00のホスト入出力部210、211と接続する。ホス
トA100、ホストB110、ホストC120で表すホ
ストは、少なくとも1つ以上であればよい。
The host A 100, the host B 110, and the host C 120 are connected to the disk array 2 by the host bus A 140 and the host bus B 141 via the bus switch 130.
00 host input / output units 210 and 211. The host represented by the host A100, the host B110, and the host C120 may be at least one or more.

【0024】ホストA100、ホストB110、ホスト
C120とキャッシュコントローラ300との間の転送
を実行するホスト入出力部210、211は、ホスト側
内部バス220によりキャッシュコントローラ300と
接続する。ホスト入出力部210は、ホストバスA14
0上のデータ転送を監視し転送量を測定するバス使用状
況測定部212を有する。ホスト入出力部211もホス
ト入出力部210と同様の機能を有する。
The host input / output units 210 and 211 for executing the transfer between the host A 100, the host B 110, the host C 120 and the cache controller 300 are connected to the cache controller 300 via the host-side internal bus 220. The host input / output unit 210 is connected to the host bus A14.
It has a bus usage status measuring unit 212 for monitoring data transfer on the data transfer device 0 and measuring the transfer amount. The host input / output unit 211 has the same function as the host input / output unit 210.

【0025】ディスク装置群270、271とキャッシ
ュコントローラ300との間のデータ転送を実行するデ
ィスク入出力部250、251は、各々ディスクバスA
260、ディスクバスB261によりディスク装置群2
70、271と接続し、ディスク側内部バス240によ
りキャッシュコントローラ300と接続する。ディスク
入出力部250は、ディスクバス260上のデータ転送
を監視し使用状況を測定するバス使用状況測定部252
を有する。ディスク入出力部251もディスク入出力部
250と同様の機能を有する。
The disk input / output units 250 and 251 for executing data transfer between the disk device groups 270 and 271 and the cache controller 300 have disk buses A and
260, the disk device group 2 by the disk bus B 261
70 and 271, and to the cache controller 300 via the disk-side internal bus 240. The disk input / output unit 250 monitors a data transfer on the disk bus 260 and measures a usage status.
Having. The disk input / output unit 251 has the same function as the disk input / output unit 250.

【0026】ディスクキャッシュ230は、キャッシュ
バス231によりキャッシュコントローラ300と接続
される。
The disk cache 230 is connected to the cache controller 300 via a cache bus 231.

【0027】キャッシュコントローラ300は、ホスト
入出力部210、211とディスクキャッシュ230と
の間のデータ転送をバッファリングするホスト側内部バ
スバッファ310と、ディスクキャッシュ230とキャ
ッシュコントローラ300の間の転送を制御するキャッ
シュ制御部320と、ディスク入出力部250、251
とディスクキャッシュ230との間のデータ転送をバッ
ファリングするディスク側内部バスバッファ330と、
ホスト入出力部210、211からディスクキャッシュ
230に転送されるデータに後述するLU情報を付加
し、また、ディスクキャッシュ230からホスト入出力
部210、211に転送されるデータに付加されている
LU情報を削除するLU情報付加/削除部340と、ホ
スト側内部バス220上のデータ転送を監視し、使用状
況を測定するバス使用状況測定部311と、キャッシュ
バス231上のデータ転送を監視し、使用状況を測定す
るバス使用状況測定部321と、ディスク側内部バス2
40上のデータ転送を監視し、使用状況を測定するバス
使用状況測定部331とを有する。
The cache controller 300 controls the internal bus buffer 310 for buffering data transfer between the host input / output units 210 and 211 and the disk cache 230, and controls the transfer between the disk cache 230 and the cache controller 300. Cache control unit 320 and disk input / output units 250 and 251
A disk-side internal bus buffer 330 for buffering data transfer between the disk cache 230 and
LU information described below is added to data transferred from the host input / output units 210 and 211 to the disk cache 230, and LU information added to data transferred from the disk cache 230 to the host input / output units 210 and 211. LU information addition / deletion unit 340 for monitoring data transfer, a bus usage status measurement unit 311 for monitoring data transfer on the host-side internal bus 220, and measuring usage status, and monitoring and transferring data transfer on the cache bus 231. A bus usage status measuring unit 321 for measuring the status;
And a bus use state measuring unit 331 for monitoring data transfer on the server 40 and measuring the use state.

【0028】ここで、LU情報と、LU情報付加/削除
部340によって転送データに対して行われるLU情報
の付加/削除について説明する。ホストA100は、論
理的なユニットであるLU単位でディスクアレイをリー
ド/ライトする。LUは、ディスクアレイ内では複数の
ディスク装置に分けられ、管理されている。
Here, addition / deletion of LU information and LU information performed by the LU information addition / deletion unit 340 on transfer data will be described. The host A100 reads / writes the disk array in LU units that are logical units. The LU is divided into a plurality of disk devices in the disk array and managed.

【0029】本実施形態においては、ディスクアレイ2
00内部の各バスの信号線を測定することによって転送
量等をカウントするのであるが、ディスクアレイ内の各
バスを流れるデータそのものは、どのLUの転送である
かを表わしておらず、LUの特定は出来ない。そのた
め、本発明においては、バス上を流れるデータにLU情
報を付加し、バス上のデータ転送を測定することで、そ
のデータに対応するLUを特定可能とする。
In this embodiment, the disk array 2
The transfer amount and the like are counted by measuring the signal lines of each bus inside the 00. However, the data itself flowing through each bus in the disk array does not indicate which LU is being transferred. It cannot be specified. Therefore, in the present invention, by adding LU information to data flowing on the bus and measuring data transfer on the bus, the LU corresponding to the data can be specified.

【0030】図2に、データにLU情報を付加する具体
的な例を示す。論理データブロック401、411、4
21は、ホストA100がディスクアレイ200にデー
タを転送する時のホストデータの一部であり、論理デー
タブロック401、論理データブロック411、論理デ
ータブロック421の順に連続したデータである。LU
情報402、412、422は、ホストA100が該転
送において指定したLUの値であり、それぞれ論理デー
タブロック401、411、421に対応して付加され
る。LU情報は、各論理データブロック401、41
1、421の最後尾に付加するものとし、論理データブ
ロック401、LU情報402、論理データブロック4
11、LU情報412、論理データブロック421、L
U情報422の順に連続したデータとなる。論理データ
ブロック401にLU情報402を併せたものを拡張デ
ータ400とし、拡張データ410、420も同様とす
る。
FIG. 2 shows a specific example of adding LU information to data. Logical data blocks 401, 411, 4
Reference numeral 21 denotes a part of the host data when the host A 100 transfers data to the disk array 200, and is data that is consecutive in the order of the logical data block 401, the logical data block 411, and the logical data block 421. LU
Information 402, 412, and 422 are LU values designated by the host A 100 in the transfer, and are added corresponding to the logical data blocks 401, 411, and 421, respectively. LU information is stored in each logical data block 401, 41.
1 and 421, the logical data block 401, LU information 402, logical data block 4
11, LU information 412, logical data block 421, L
Data becomes continuous in the order of the U information 422. A combination of the logical data block 401 and the LU information 402 is referred to as extension data 400, and the same applies to the extension data 410 and 420.

【0031】LU情報の付加は、ホスト入出力部210
および211からディスクキャッシュ230へのデータ
転送時に、LU情報付加/削除部340によって行なわ
れる。また、ディスクキャッシュ230からホスト入出
力部210および211へのデータ転送時に、LU情報
付加/削除部340がLU情報を削除する。これによ
り、ホスト側内部バス220上を流れるデータは、論理
データブロックのみであり、キャッシュバス231、デ
ィスク側内部バス240、ディスクバスA260、ディ
スクバスB261上を流れるデータは、拡張データとな
る。
The addition of LU information is performed by the host input / output unit 210.
When the data is transferred from the disk drive 211 to the disk cache 230, the LU information addition / deletion unit 340 performs the transfer. When data is transferred from the disk cache 230 to the host input / output units 210 and 211, the LU information addition / deletion unit 340 deletes LU information. As a result, the data flowing on the host-side internal bus 220 is only a logical data block, and the data flowing on the cache bus 231, the disk-side internal bus 240, the disk bus A260, and the disk bus B261 become extension data.

【0032】ホストバス140、141および、ホスト
側内部バス220上でのLU特定方法、LU情報付加/
削除部340がLUを特定する方法については、後述の
図3に示すバス使用状況測定部500の説明部分におい
て説明する。
The LU specifying method on the host buses 140 and 141 and the host-side internal bus 220, the addition of LU information /
The method by which the deletion unit 340 specifies an LU will be described later in the description of the bus usage status measurement unit 500 shown in FIG.

【0033】引き続き、図1のシステム構成について説
明する。MPU280は、バスブリッジ285を介して
メモリ290およびキャッシュコントローラ300と接
続される。
Next, the system configuration of FIG. 1 will be described. MPU 280 is connected to memory 290 and cache controller 300 via bus bridge 285.

【0034】メモリ290は、MPU280がディスク
アレイ制御を実行するために使用するディスクアレイ制
御プログラム291と、MPU280がホストバス14
0、141、ホスト側内部バス220、キャッシュバス
231、ディスク側内部バス240、ディスクバスA2
60、ディスクバスB261上の転送量等の測定を実行
するために使用するバス使用状況測定プログラム292
と、バス上の転送量等を測定した結果を格納するバス使
用状況測定結果テーブル293と、MPU280がバス
使用状況測定結果についてホストA100、ホストB1
10またはホストC120とディスクアレイ200の間
で行なわれる通信を実行するために使用されるホスト通
信プログラム294とを有する。バス使用状況測定結果
テーブル293の詳細については、後述する。
The memory 290 includes a disk array control program 291 used by the MPU 280 to execute disk array control, and the MPU 280 stores the host bus 14
0, 141, host-side internal bus 220, cache bus 231, disk-side internal bus 240, disk bus A2
60, a bus usage status measurement program 292 used to execute the measurement of the transfer amount on the disk bus B 261
And a bus usage status measurement result table 293 for storing the results of measurement of the amount of transfer on the bus, and the MPU 280 transmits the bus usage status measurement results to the host A100 and the host B1.
10 or a host communication program 294 used to execute communication performed between the host C 120 and the disk array 200. Details of the bus usage status measurement result table 293 will be described later.

【0035】バス使用状況測定部212、252、31
1、321、331について説明する。バス使用状況測
定部212、252、311、321、331は、図3
に示すバス使用状況測定部500のような構造で実現で
きる。
Bus usage status measuring units 212, 252, 31
1, 321 and 331 will be described. The bus usage status measurement units 212, 252, 311, 321 and 331 are configured as shown in FIG.
Can be realized by a structure like the bus use state measuring unit 500 shown in FIG.

【0036】バス使用状況測定部500は、LUアクセ
スカウンタ510〜512と、測定するバスのクロック
数をカウントするトータルカウンタ550と、トータル
カウンタ550がカウントした値を格納するトータルレ
ジスタ551と、測定するバス上のデータ転送が、バス
を専有したクロック数をカウントするバス専有値カウン
タ560と、バス専有値カウンタ560がカウントした
値を格納するテンポラリレジスタ561と、測定するバ
ス上のデータ転送のデータ転送量をカウントするデータ
転送量カウンタ570と、データ転送量カウンタ570
がカウントした値を格納するテンポラリレジスタ571
と、測定するバス上のデータ転送が、どのLUに関する
ものかを判定し、判定結果によりテンポラリレジスタ5
61、571の値を該当するLUアクセスカウンタ内の
レジスタに足しこむLU判定部580と、MPU280
からの指示により、各レジスタを初期化しカウント開始
の契機をあたえるカウント開始部590と、MPU28
0からの指示により、カウントを停止させるカウント停
止部595とを有する。
The bus usage measuring section 500 measures LU access counters 510 to 512, a total counter 550 for counting the number of clocks of the bus to be measured, and a total register 551 for storing the value counted by the total counter 550. For data transfer on the bus, a bus occupancy value counter 560 for counting the number of clocks occupying the bus, a temporary register 561 for storing the value counted by the bus occupancy value counter 560, and a data transfer for data transfer on the bus to be measured Data transfer amount counter 570 for counting the amount, and data transfer amount counter 570
Temporary register 571 for storing the value counted by
And which LU the data transfer on the bus to be measured relates to, and according to the determination result, the temporary register 5
An LU determination unit 580 for adding the values of 61 and 571 to a register in the corresponding LU access counter;
A count start unit 590 for initializing each register and giving an opportunity to start counting in accordance with an instruction from the MPU 28
A count stop unit 595 that stops counting in response to an instruction from 0.

【0037】LUアクセスカウンタ510,511,5
12はLUごとに設けられる。LUアクセスカウンタ5
10は、測定するLUを指定するLUレジスタ520
と、LUレジスタ520で指定されたLUに関するデー
タ転送が、バスを専有したクロック数のカウント値を格
納するバス専有値レジスタ530と、LUレジスタ52
0で指定されたLUに関するデータ転送の転送量のカウ
ント値を格納するデータ転送量レジスタ540とを有す
る。LUアクセスカウンタ511、512も、LUアク
セスカウンタ510と同様の機能を有する。LUアクセ
スカウンタ510〜512は、少なくとも一つ以上であ
ればよい。
LU access counters 510, 511, 5
Reference numeral 12 is provided for each LU. LU access counter 5
10 is an LU register 520 for specifying the LU to be measured
A bus occupancy value register 530 for storing a count value of the number of clocks occupying the bus, and a data transfer relating to the LU specified by the LU register 520;
A data transfer amount register 540 for storing a count value of a transfer amount of data transfer relating to the LU designated by 0. The LU access counters 511 and 512 have the same function as the LU access counter 510. The number of LU access counters 510 to 512 may be at least one.

【0038】一般にデータ転送量とバス専有値とは一致
もしないし、比例関係にもない。バス専有値とはデータ
が転送されているかどうかに係わらずあるLUがバスを
専有している時間を表す。バスに接続された機器の応答
時間の違いによってバスは専有されていても実際にデー
タが転送されていないという時間が変化するから、バス
の専有値は実際に計測しないと分からない値である。こ
の値が実際にハードウェアを使用している時間を表して
いる。
In general, the data transfer amount does not coincide with the bus occupancy value, and there is no proportional relationship. The bus occupancy value indicates the time during which a certain LU occupies the bus regardless of whether data is being transferred. Even when the bus is occupied, the time during which data is not actually transferred changes depending on the response time of the device connected to the bus. Therefore, the occupied value of the bus is a value that cannot be known unless it is actually measured. This value indicates how long the hardware is actually used.

【0039】以上が、第1の実施形態のシステム構成で
ある。
The system configuration of the first embodiment has been described above.

【0040】(2)性能測定 次に、転送されるデータのLU特定方法と、特定したL
Uごとの性能測定方法について説明する。まず、LU判
定部580が、各データ転送においてLUを特定する方
法を説明する。
(2) Performance Measurement Next, the LU specifying method of the transferred data and the specified L
The performance measurement method for each U will be described. First, a method in which the LU determination unit 580 specifies an LU in each data transfer will be described.

【0041】キャッシュバス231、ディスク側内部バ
ス240、ディスクバスA260、ディスクバスB26
1上のデータ転送においては、バス上を流れるデータは
図2に示す様にLU情報の付加された拡張データであ
り、データそのものにLU情報が付加されているため、
バス上のデータ転送を監視することにより対応するLU
の特定が可能である。
Cache bus 231, disk-side internal bus 240, disk bus A260, disk bus B26
1, the data flowing on the bus is extended data to which LU information is added as shown in FIG. 2, and since LU information is added to the data itself,
The corresponding LU is monitored by monitoring the data transfer on the bus.
Can be specified.

【0042】ホストバスA140上のデータ転送におい
ては、ホストA100からディスクアレイ200へのリ
ード/ライトは、LU指定で行われる。これは、ホスト
バスA140上へホストA100がリード/ライトコマ
ンドを発行することによって行われるが、このリード/
ライトコマンド中でホストA100がアクセスするLU
を指定するので、ホストバスA140を監視し、リード
/ライトコマンドのLU指定部分を調べることによって
各データに対応するLUの特定が可能である。ホストバ
スB141の場合も同様である。
In data transfer on the host bus A140, read / write from the host A100 to the disk array 200 is performed by LU specification. This is performed by the host A100 issuing a read / write command on the host bus A140.
LU accessed by host A100 during write command
Is specified, the LU corresponding to each data can be specified by monitoring the host bus A140 and checking the LU specification portion of the read / write command. The same applies to the case of the host bus B141.

【0043】ホストA100からLU指定で行われるデ
ータ転送は、ディスクアレイ200内では、MPU28
0によりディスクアレイ特有のアドレス変換が行われ、
ディスク装置群270、271に分散して格納される。
ホスト側内部バス220上のデータ転送はこのアドレス
変換後であり、ホスト側内部バス220上のデータ転送
を監視するだけでは、対応するLUを特定することは出
来ない。また、LU情報付加/削除部340で図2に示
すようなLU情報を付加するときもデータからだけでは
LUを特定することは出来ない。
In the disk array 200, data transfer performed from the host A 100 by LU designation is performed by the MPU 28
0 performs an address conversion specific to the disk array,
The data is distributed and stored in the disk device groups 270 and 271.
The data transfer on the host-side internal bus 220 is after this address conversion, and it is not possible to specify the corresponding LU only by monitoring the data transfer on the host-side internal bus 220. Also, when the LU information addition / deletion unit 340 adds the LU information as shown in FIG. 2, the LU cannot be specified only from the data.

【0044】そこで、本実施形態においては、ホスト入
出力部210からディスクキャッシュ230へのデータ
転送において、たとえば転送アドレスの上位ビットでか
つ、ディスクキャッシュ230のアドレス指定に影響を
及ぼさない領域に、ホストから指定されるLU情報を格
納しておく。バス使用状況測定部311においては、ホ
スト側内部バス220上のデータ転送を監視し、この転
送アドレスの上位ビットからLU情報を読み出し、LU
の特定を行う。また、LU情報付加/削除部340も、
同様の手段でLUの特定を行う。
Therefore, in the present embodiment, when data is transferred from the host input / output unit 210 to the disk cache 230, for example, the upper bits of the transfer address and an area that does not affect the address specification of the disk cache 230 are stored in the area. Is stored in advance. The bus usage status measuring unit 311 monitors data transfer on the host-side internal bus 220, reads LU information from the upper bits of this transfer address, and
Perform the identification of. The LU information addition / deletion unit 340 also
The LU is specified by the same means.

【0045】なお、その後のディスクアレイ200内で
のデータ転送においては、データ自体にLU番号がない
とデータ転送ごとにMPUの介在が必要となるのでMP
Uの負荷が大きい。従って、データ自体にLU情報を付加
し、データのみを監視することによってLUごとのバス
使用状況が判るようにしてある。
In the subsequent data transfer within the disk array 200, if there is no LU number in the data itself, an MPU is required for each data transfer.
U has a large load. Therefore, by adding LU information to the data itself and monitoring only the data, the bus usage status of each LU can be determined.

【0046】次に、バス使用状況測定部500が特定バ
スを監視し、測定時間とその測定時間内でのLUごとの
バス専有時間やLUごとのデータ転送量を測定する方法
を説明する。図4は、汎用のローカルバスであるPCI
バスのもっとも単純な連続データライト転送のタイミン
グチャートである。図4においてCLKは同期のための
基準信号である。リセットと割り込みを除く総てのPC
I信号はCLK信号線の立ち上がりエッジに同期して動
作する。
Next, a description will be given of a method in which the bus use state measuring unit 500 monitors a specific bus, and measures a measurement time, a bus occupation time for each LU within the measurement time, and a data transfer amount for each LU. FIG. 4 shows a general-purpose local bus, PCI.
5 is a timing chart of the simplest continuous data write transfer of the bus. In FIG. 4, CLK is a reference signal for synchronization. All PCs except reset and interrupt
The I signal operates in synchronization with the rising edge of the CLK signal line.

【0047】t0〜t6はCLK信号線の立ち上がりエ
ッジの時刻を表している。−FRAMEはイニシエータ
によってドライブされ、バス・サイクルが実行されてい
ることを示す負論理の信号線である。ADはアドレスと
データの転送が時分割で行なわれる32本の信号線であ
る。図4中のADDRはアドレス転送を表し、データ1
〜データ4はデータ転送を表している。
T0 to t6 represent times of rising edges of the CLK signal line. -FRAME is a negative logic line which is driven by the initiator and indicates that a bus cycle is being performed. AD is 32 signal lines in which address and data transfer is performed in a time-division manner. ADDR in FIG. 4 indicates an address transfer, and data 1
Data 4 represents data transfer.

【0048】−C/BEはアドレス転送時にはバス・コマ
ンドを、データ転送時にはバイトイネーブルとして使用
される4本の負論理の信号線である。図4中のCMDは
バス・コマンドを表し、BE#1〜BE#4はバイト・
イネーブルを表している。−IRDYはイニシエータに
よってドライブされ、イニシエータがデータ転送可能な
状態にあることを示す負論理の信号線である。−TRD
Yはターゲットによってドライブされターゲットがデー
タ転送可能な状態にあることを示す負論理の信号線であ
る。−DEVSELはバス・アクセスに対する応答とし
て、アクセスを受けたターゲットによってアサートされ
る負論理の信号線である。
-C / BE are four negative logic signal lines used as a bus command during address transfer and as a byte enable during data transfer. CMD in FIG. 4 represents a bus command, and BE # 1 to BE # 4 are byte commands.
Indicates enable. -IRDY is a negative logic signal line which is driven by the initiator and indicates that the initiator is in a state capable of transferring data. -TRD
Y is a negative logic signal line which is driven by the target and indicates that the target is in a state in which data transfer is possible. DEVSEL is a negative logic signal line that is asserted by the accessed target in response to a bus access.

【0049】ディスク側内部バス240にPCIバスを
使用した場合を例にとり、図4を用いてディスク側内部
バス240に対する測定動作を説明する。
Using a case where a PCI bus is used as the disk-side internal bus 240 as an example, a measurement operation for the disk-side internal bus 240 will be described with reference to FIG.

【0050】ディスク側内部バス240上の転送を測定
するのは、バス使用状況測定部331である。バス使用
状況測定部331が測定するのは、測定開始から測定終
了までの総クロック数、LUごとのディスク側内部バス
240を専有したクロック数、LUごとのディスク側内
部バス240上でデータが転送されたクロック数であ
る。
It is the bus usage measuring unit 331 that measures the transfer on the disk-side internal bus 240. The bus usage measuring unit 331 measures the total number of clocks from the start of measurement to the end of measurement, the number of clocks occupying the disk-side internal bus 240 for each LU, and the data transfer on the disk-side internal bus 240 for each LU. The number of clocks performed.

【0051】まず始めに、MPU280は、LUレジス
タ520〜522に測定するLUの番号を設定する。
First, the MPU 280 sets the number of the LU to be measured in the LU registers 520 to 522.

【0052】次に、MPU280は、カウント開始部5
90に、測定開始の指示を与える。カウント開始部59
0は、MPU280からの指示を受けると、LUアクセ
スカウンタ510〜512内のバス専有値レジスタ53
0〜532、データ転送量レジスタ540〜542、お
よびトータルレジスタ551、テンポラリレジスタ56
1、テンポラリレジスタ571の値を初期化し、トータ
ルカウンタ550、バス専有値カウンタ560、データ
転送量カウンタ570に測定開始の指示を与える。トー
タルカウンタ550、バス専有値カウンタ560、デー
タ転送量カウンタ570は、カウント開始部590から
の指示を受けると、カウント動作を開始する。
Next, the MPU 280 operates the counting start unit 5
An instruction to start measurement is given to 90. Count start unit 59
0, upon receiving an instruction from the MPU 280, the bus occupancy value register 53 in the LU access counters 510-512.
0 to 532, data transfer amount registers 540 to 542, total register 551, temporary register 56
1. Initialize the value of the temporary register 571, and give a measurement start instruction to the total counter 550, the bus occupancy value counter 560, and the data transfer amount counter 570. The total counter 550, the bus occupancy value counter 560, and the data transfer amount counter 570 start counting when receiving an instruction from the count start unit 590.

【0053】トータルカウンタ550は、測定開始から
測定終了までの間のCLK信号線の立ち上がりエッジを
カウントし、その期間のトータルのクロック数をトータ
ルレジスタ551に格納する。
The total counter 550 counts the rising edge of the CLK signal line from the start of measurement to the end of measurement, and stores the total number of clocks in that period in the total register 551.

【0054】バス専有値カウンタ560は、各データ転
送がバスを専有している間のCLK信号線の立ち上がり
エッジをカウントし、その値をテンポラリレジスタ56
1に格納する。PCIバスにおいては、データ転送は−
FRAME信号の立ち下りで始まり、−FRAME信号
と−IRDY信号の両方が立ち上がってバスがアイドル
になると終了である。図4においては、バスが専有され
ているのは、t1〜t5までの5クロックであり、テン
ポラリレジスタ561には、カウントした結果の値5が
格納される。
The bus occupancy value counter 560 counts the rising edge of the CLK signal line while each data transfer occupies the bus, and stores the value in the temporary register 56.
1 is stored. On the PCI bus, data transfer is-
The process starts when the FRAME signal falls, and ends when both the -FRAME signal and the -IRDY signal rise and the bus becomes idle. In FIG. 4, the bus is occupied for five clocks from t1 to t5, and the temporary register 561 stores the value 5 as the counting result.

【0055】データ転送量カウンタ570は、バス上で
実際にデータ転送が行われている期間のCLK信号線の
立ち上がりエッジをカウントし、その値をテンポラリレ
ジスタ571に格納する。PCIバスにおいては、−T
RDY信号が立ち下がっている期間がデータが転送され
ている期間であり、図4においていは、t2、t3、t
4、t5においてデータ転送量カウンタはカウントアッ
プし、カウントした結果の値4をテンポラリレジスタ5
71に格納する。
The data transfer amount counter 570 counts the rising edge of the CLK signal line during the period when data is actually transferred on the bus, and stores the value in the temporary register 571. In the PCI bus, -T
The period during which the RDY signal falls is the period during which data is transferred. In FIG. 4, t2, t3, t
At 4 and t5, the data transfer amount counter counts up, and the value 4 of the counted result is stored in the temporary register 5
71.

【0056】1データ転送ごとに、LU判定部580が
そのデータ転送に対応するLUを特定する。LU判定部
580は、特定したLUと、LUレジスタ520〜52
2の値を比較し、等しいものがあればその対応するバス
専有値レジスタにテンポラリレジスタ561の値を、デ
ータ転送量レジスタにテンポラリレジスタ571の値を
それぞれ加える。その後、テンポラリレジスタ561、
テンポラリレジスタ571の値をクリアする。
For each data transfer, the LU determination unit 580 specifies an LU corresponding to the data transfer. The LU determination unit 580 determines the identified LU and the LU registers 520 to 52
The two values are compared, and if they are equal, the value of the temporary register 561 is added to the corresponding bus exclusive value register, and the value of the temporary register 571 is added to the data transfer amount register. Then, the temporary register 561,
Clear the value of the temporary register 571.

【0057】測定時間が経過すると、MPU280は、
カウント停止部595に、測定終了の指示を与える。カ
ウント停止部595は、MPU280からの指示を受け
ると、トータルカウンタ550、バス専有値カウンタ5
60、データ転送量カウンタ570に測定終了の指示を
与える。トータルカウンタ550、バス専有値カウンタ
560、データ転送量カウンタ570は、カウント停止
部595からの指示を受けると、カウント動作を終了す
る。
After the measurement time has elapsed, the MPU 280
The count stop unit 595 is instructed to terminate the measurement. Upon receiving an instruction from the MPU 280, the count stop unit 595, the total counter 550, the bus occupancy value counter 5
60, An instruction to finish the measurement is given to the data transfer amount counter 570. When the total counter 550, the bus occupancy value counter 560, and the data transfer amount counter 570 receive an instruction from the count stop unit 595, the count operation ends.

【0058】上記一連の動作により、バス使用状況測定
部331は、測定開始から測定終了までの期間の、ディ
スク側内部バス240の総クロック数、LUごとの、デ
ータ転送がディスク側内部バス240を専有したクロッ
ク数、ディスク側内部バス240上で実データが転送さ
れたクロック数をカウントする。ディスク側内部バス2
40のクロック周波数および、データバス幅はあらかじ
め判っているので、カウントしたクロック数から正確な
測定時間、各LUがバスを専有した時間、LUごとのデ
ータ転送量を導き出すことができる。
By the above-described series of operations, the bus use state measuring unit 331 performs the data transfer on the disk-side internal bus 240 for each of the total number of clocks of the disk-side internal bus 240 and LU during the period from the start of the measurement to the end of the measurement. The number of exclusive clocks and the number of clocks to which actual data is transferred on the disk-side internal bus 240 are counted. Disk side internal bus 2
Since the clock frequency of 40 and the data bus width are known in advance, an accurate measurement time, a time during which each LU occupies the bus, and a data transfer amount for each LU can be derived from the counted clock number.

【0059】PCIバスを例に取り、バス使用状況測定
部331の場合を説明したが、PCIバス以外のバスの
場合でも、ホスト入出力部210、211、キャッシュ
コントローラ300、ディスク入出力部250、251
は各バスのプロトコルを解するインタフェースを備えて
いるため、プロトコルにあったカウントを行うことによ
り、同様の測定を行うことができる。すなわち、バス使
用状況測定部212はホストバスA上のデータ転送を、
バス使用状況測定部311はホスト側内部バス220上
のデータ転送を、バス使用状況測定部321はキャッシ
ュバス231上のデータ転送を、バス使用状況測定部2
52はディスクバスA260上のデータ転送をそれぞれ
監視し、各バス上の測定開始から測定終了までの期間
の、総クロック数、LUごとに、データ転送がバスを専
有したクロック数、バス上で実データが転送されたクロ
ック数をカウントする。
The case of the bus use status measuring unit 331 has been described taking the PCI bus as an example. However, even in the case of a bus other than the PCI bus, the host input / output units 210 and 211, the cache controller 300, the disk input / output unit 250, 251
Has an interface that understands the protocol of each bus, so that the same measurement can be performed by counting according to the protocol. That is, the bus usage measuring unit 212 performs data transfer on the host bus A,
The bus usage status measurement unit 311 performs data transfer on the host-side internal bus 220, the bus usage status measurement unit 321 performs data transfer on the cache bus 231, and the bus usage status measurement unit 2.
52 monitors the data transfer on the disk bus A260, and for each total number of LUs and LUs during the period from the start of measurement to the end of measurement on each bus, the number of clocks for which data transfer occupies the bus and the actual number of buses on the bus. Count the number of clocks to which data was transferred.

【0060】(3)ホスト−ディスクアレイ間のやりと
り 本実施形態においては、ホストがホストバスを介してデ
ィスクアレイに測定の指示を与え、ディスクアレイから
測定結果を得る。そこで、ホスト−ディスクアレイ間で
性能測定に使用するベンダユニークコマンドを定義す
る。ここでは、ホストA100がディスクアレイ200
に対して性能測定を指示する場合を例に説明する。
(3) Exchange between Host and Disk Array In this embodiment, the host gives a measurement instruction to the disk array via the host bus, and obtains a measurement result from the disk array. Therefore, a vendor unique command used for performance measurement between the host and the disk array is defined. Here, the host A 100 is the disk array 200
Will be described as an example of a case where a performance measurement is instructed.

【0061】図6において、設定コマンド610、測定
開始コマンド620、測定終了コマンド630、結果取
得コマンド640は、ホストA100からディスクアレ
イ200に対して発行されるコマンドであり、結果通知
レスポンス650は、ディスクアレイ200が受け取っ
た結果取得コマンド640に対応してホストA100へ
返すデータ列である。
In FIG. 6, a setting command 610, a measurement start command 620, a measurement end command 630, and a result acquisition command 640 are commands issued from the host A 100 to the disk array 200, and the result notification response 650 is This is a data string returned to the host A100 in response to the result acquisition command 640 received by the array 200.

【0062】設定コマンド610は、どのLUの、どの
バスを測定の対象にするかを設定するコマンドである。
コマンドコード611には、ユニークなコードを割り付
ける。LUN(LU Number)612には、測定
対象とするLUの番号を一つ設定する。バス指定ビット
列613は、LUN612に設定したLUにおいて、ど
のバスを測定するかを設定する8bitのビット列であ
る。そのビット定義は図示したように左からホストバス
A140、ホストバスB141、ホスト側内部バス22
0、キャッシュバス231、ディスク側内部バス24
0、ディスクバスA260、ディスクバスB261に対
応しており、ビットの値が”0”の場合は該当バスの測
定はしないこと、ビットの値が”1”の場合は該当バス
の測定を行うことを表す。
The setting command 610 is a command for setting which bus of which LU is to be measured.
A unique code is assigned to the command code 611. In the LUN (LU Number) 612, one LU number to be measured is set. The bus designation bit string 613 is an 8-bit bit string that sets which bus is to be measured in the LU set in the LUN 612. The bit definitions are, as shown, the host bus A140, the host bus B141, and the host-side internal bus 22 from the left.
0, cache bus 231, disk-side internal bus 24
0, disk bus A 260, and disk bus B 261. If the bit value is "0", do not measure the corresponding bus. If the bit value is "1", measure the corresponding bus. Represents

【0063】たとえばLU0に関するデータ転送のホス
ト側内部バス220、キャッシュバス231、ディスク
側内部バス240の性能測定を行う場合、ホストA10
0はLUN612にLU0を、バス指定ビット列613
に”00111000”を指定する。ホストA100
は、測定するLUの数だけ、設定コマンド610を発行
する。
For example, when measuring the performance of the host-side internal bus 220, cache bus 231, and disk-side internal bus 240 for data transfer relating to LU0, the host A10
0 indicates LU0 in LUN 612 and bus designation bit string 613
"00111000" is specified. Host A100
Issues setting commands 610 by the number of LUs to be measured.

【0064】測定開始コマンド620は、ディスクアレ
イ200に対して性能測定開始を指示するコマンドであ
る。コマンドコード621には、ユニークなコードを割
り付ける。
The measurement start command 620 is a command for instructing the disk array 200 to start performance measurement. A unique code is assigned to the command code 621.

【0065】測定終了コマンド630は、ディスクアレ
イ200に対して性能測定終了を指示するコマンドであ
る。コマンドコード631には、ユニークなコードを割
り付ける。
The measurement end command 630 is a command for instructing the disk array 200 to end the performance measurement. A unique code is assigned to the command code 631.

【0066】結果取得コマンド640は、ディスクアレ
イ200に対して測定結果の送信を指示するコマンドで
ある。コマンドコード641には、ユニークなコードを
割り付ける。LUN642には、測定結果の出力を求め
るLUの番号を指定する。バス指定ビット列643のビ
ット定義はバス指定ビット列613と同様であり、ビッ
トの値が”0”の場合は該当バスの測定結果は出力しな
いこと、ビットの値が”1”の場合は該当バスの測定結
果を出力することを表す。たとえばLU0に関する、ホ
スト側内部バス220、キャッシュバス231、ディス
ク側内部バス240上のデータ転送の測定結果出力をデ
ィスクアレイ200に求める場合、ホストA100はL
UN641にLU0を、バス指定ビット列643に”0
0111000”を指定する。ホストA100は、測定
結果を得るLUの数だけ、結果取得コマンド640を発
行する。なお、どのLUの値とも重ならない値、本実施
形態においては0xFFをLUN642に指定すると、
測定期間中の総クロック数を表すトータルカウンタ値を
指定したものと定義する。
The result acquisition command 640 is a command for instructing the disk array 200 to transmit a measurement result. A unique code is assigned to the command code 641. In the LUN 642, the number of the LU for which the measurement result is to be output is specified. The bit definition of the bus designation bit string 643 is the same as that of the bus designation bit string 613. When the bit value is “0”, the measurement result of the corresponding bus is not output, and when the bit value is “1”, the measurement result of the corresponding bus is not changed. Indicates that the measurement result is output. For example, when the measurement result output of the data transfer on the host-side internal bus 220, the cache bus 231 and the disk-side internal bus 240 regarding LU0 is requested from the disk array 200, the host A100 sets L
LU0 is assigned to UN641 and "0" is assigned to bus designation bit string 643.
0111000 ". The host A100 issues the result acquisition commands 640 by the number of LUs for which measurement results are obtained. If a value that does not overlap with any LU value, that is, 0xFF in the present embodiment, is specified as the LUN 642,
It is defined as specifying the total counter value indicating the total number of clocks during the measurement period.

【0067】結果通知レスポンス650は、ディスクア
レイ200からホストA100へ送信されるデータ列で
ある。データ列は、ホストバスA140におけるバス専
有値651、ホストバスB141におけるバス専有値6
52、ホスト側内部バス220におけるバス専有値65
3、キャッシュバス231におけるバス専有値654、
ディスク側内部バス240におけるバス専有値655、
ディスクバスA260におけるバス専有値656、ディ
スクバスB261におけるバス専有値657、ホストバ
スA140におけるデータ転送量658、ホストバスB
141におけるデータ転送量659、ホスト側内部バス
220におけるデータ転送量660、キャッシュバス2
31におけるデータ転送量661、ディスク側内部バス
240におけるデータ転送量662、ディスクバスA2
60におけるデータ転送量663、ディスクバスB26
1におけるデータ転送量664の順に並んでいる。ディ
スクアレイ200は、受け取った結果取得コマンド64
0で指示されたLUの各バスの測定結果をフォーマット
に従い送信する。なお、LUN642に0xFFが指定
されていた場合は、651〜657に各バスのトータル
カウンタ値を出力し、658〜664には0を出力する
ものとする。
The result notification response 650 is a data string transmitted from the disk array 200 to the host A100. The data string has a bus occupancy value 651 for the host bus A140 and a bus occupancy value 6 for the host bus B141.
52, a bus occupation value 65 in the host-side internal bus 220
3, the bus occupancy value 654 in the cache bus 231;
A bus occupancy value 655 in the disk-side internal bus 240,
Bus occupancy value 656 for disk bus A260, bus occupancy value 657 for disk bus B261, data transfer amount 658 for host bus A140, host bus B
141, the data transfer amount 660 in the host-side internal bus 220, the cache bus 2
31, the data transfer amount 662 in the disk-side internal bus 240, the disk bus A2
60, the data transfer amount 663, the disk bus B26
1 are arranged in the order of the data transfer amount 664. The disk array 200 receives the result acquisition command 64
The measurement result of each bus of the LU designated by 0 is transmitted according to the format. When 0xFF is specified for LUN 642, the total counter value of each bus is output to 651 to 657, and 0 is output to 658 to 664.

【0068】以下、図7のフローチャートに基づいて、
性能測定の流れを説明する。フローチャート左側は、ホ
ストA100の動作の流れであり、右側は、ディスクア
レイ200の動作の流れである。なお、ホストAが性能
測定の働きをするのは例であり、ホストB、ホストCで
あっても良い。
Hereinafter, based on the flowchart of FIG.
The flow of performance measurement will be described. The left side of the flowchart shows the operation flow of the host A100, and the right side shows the operation flow of the disk array 200. It is to be noted that the host A performs the function of measuring the performance, and the host B and the host C may be used.

【0069】ステップ1000において、ホストA10
0は、ディスクアレイ200に対して測定準備のための
設定コマンド610を発行する。ステップ1100にお
いて、ディスクアレイ200は、設定コマンド610を
受信する。
In step 1000, the host A10
0 issues a setting command 610 for measurement preparation to the disk array 200. In step 1100, the disk array 200 receives the setting command 610.

【0070】ステップ1110において、MPU280
は、受信した設定コマンド610のLUN612とバス
指定ビット列613の値を調べ、該当するバス使用状況
測定部内のLUレジスタにLUN612の値を設定す
る。例えばLUN641の値がLU0、バス指定ビット
列613の値が”00111000”であった場合、ホ
スト側内部バス220、キャッシュバス231、ディス
ク側内部バス240上のデータ転送でLU0に関するも
のを測定することになるので、MPU280は、バス使
用状況測定部311内のLUレジスタ520、バス使用
状況測定部321内のLUレジスタ520、バス使用状
況測定部331内のLUレジスタ520にそれぞれLU
0を設定する。
In step 1110, the MPU 280
Checks the value of the LUN 612 and the value of the bus designation bit string 613 of the received setting command 610, and sets the value of the LUN 612 in the LU register in the corresponding bus usage status measuring unit. For example, when the value of the LUN 641 is LU0 and the value of the bus designation bit string 613 is “00111000”, the data transfer on the host-side internal bus 220, the cache bus 231, and the disk-side internal bus 240 is measured for the LU0. Therefore, the MPU 280 stores the LU in the LU register 520 in the bus usage measuring section 311, the LU register 520 in the bus usage measuring section 321, and the LU register 520 in the bus usage measuring section 331, respectively.
Set 0.

【0071】ホストA100は、測定する全LUの設定
が終わるまで、ステップ1000を繰り返し実行する。
The host A 100 repeatedly executes step 1000 until the setting of all the LUs to be measured is completed.

【0072】全LUの設定が終わると、ステップ102
0において、ホストA100は、ディスクアレイ200
に対して測定開始コマンド620を発行する。
When the setting of all LUs is completed, step 102
0, the host A 100
Issue a measurement start command 620 to the.

【0073】ステップ1120において、ディスクアレ
イ200は、測定開始コマンド620を受信し、それを
受けステップ1130において、MPU280は、ステ
ップ1110でLUレジスタ設定のなされた全バス使用
状況測定部内のカウント開始部590に、測定開始の指
示を与える。これにより、各バス使用状況測定部は、各
バスを監視し測定する動作を開始する。ここで、MPU
280は、LUレジスタ設定の有無にかかわらず、存在
する全バス使用状況測定部内のカウント開始部590に
対して、測定開始の指示を与えてもよい。
In step 1120, the disk array 200 receives the measurement start command 620, and in response to this, in step 1130, the MPU 280 sets the count start unit 590 in the total bus use status measurement unit for which the LU register has been set in step 1110. Is given an instruction to start measurement. As a result, each bus usage state measuring unit starts an operation of monitoring and measuring each bus. Where MPU
The 280 may give a measurement start instruction to the count start unit 590 in the existing bus use status measurement unit regardless of the presence or absence of the LU register setting.

【0074】測定時間が経過し測定終了時間に達する
と、ステップ1030において、ホストA100はディ
スクアレイ200に対して測定終了コマンド630を発
行する。
When the measurement time has elapsed and the measurement end time has been reached, the host A 100 issues a measurement end command 630 to the disk array 200 in step 1030.

【0075】ステップ1140において、ディスクアレ
イ200は、測定終了コマンド630を受信し、それを
受けステップ1150において、MPU280は、ステ
ップ1110でLUレジスタ設定のなされた全バス使用
状況測定部内のカウント停止部595に、測定終了の指
示を与える。これにより、各バス使用状況測定部は、測
定動作を停止する。ここで、MPU280は、LUレジ
スタ設定の有無にかかわらず、存在する全バス使用状況
測定部内のカウント停止部595に対して、測定終了の
指示を与えてもよい。
In step 1140, the disk array 200 receives the measurement end command 630, and in response to this, in step 1150, the MPU 280 sets the count stop unit 595 in the total bus use status measurement unit for which the LU register has been set in step 1110. To the end of the measurement. As a result, each bus usage status measurement unit stops the measurement operation. Here, the MPU 280 may give an instruction to end the measurement to the count stop unit 595 in the existing bus use status measurement unit regardless of the presence or absence of the LU register setting.

【0076】測定終了の指示後、MPU280は、各バ
ス使用状況測定部内のバス専有値レジスタ530〜53
2、データ転送量レジスタ540〜542、およびトー
タルレジスタからカウント値を読み出し、メモリ290
上のバス使用状況測定結果テーブル293に値を集計す
る。LU0、LU1、LU2の3LUに関して測定を行
った時のバス使用状況測定結果テーブル293の構造を
図5に示す。バス使用状況測定結果テーブル293は、
各バスを行に、各レジスタを列にとったマトリクスにな
り、カウントされたクロック数の値を格納する。
After instructing the end of the measurement, the MPU 280 sets the bus occupancy value registers 530 to 53
2. The count value is read from the data transfer amount registers 540 to 542 and the total register,
The values are totaled in the bus use status measurement result table 293 above. FIG. 5 shows the structure of the bus usage status measurement result table 293 when the measurement is performed for 3 LUs LU0, LU1, and LU2. The bus usage status measurement result table 293 is
A matrix in which each bus is arranged in rows and each register is arranged in columns is used to store the counted clock value.

【0077】測定終了コマンド630発行後、ステップ
1040において、ホストA100はディスクアレイ2
00に対して結果取得コマンド640を発行して結果の
通知を要求する。
After issuing the measurement end command 630, in step 1040, the host A 100
00, a result acquisition command 640 is issued to request notification of the result.

【0078】ステップ1160において、ディスクアレ
イ200は、結果取得コマンド640を受信する。ステ
ップ1170において、MPU280は、受信した結果
取得コマンド640のLUN642とバス指定ビット列
643の値を調べ、バス使用状況測定結果テーブル29
3から該当する測定結果値を読み出して、結果通知レス
ポンス650としてホストA100に送信する。
At step 1160, the disk array 200 receives the result acquisition command 640. In step 1170, the MPU 280 checks the value of the LUN 642 and the bus designation bit string 643 of the received result acquisition command 640, and
The corresponding measurement result value is read out from No. 3 and transmitted to the host A 100 as a result notification response 650.

【0079】ステップ1050において、ホストA10
0は、結果通知レスポンス650を受信する。
In step 1050, the host A10
0 receives the result notification response 650.

【0080】ホストA100は、必要とする全LUの測
定結果が得られるまで、ステップ1040、ステップ1
050を繰り返し実行する。測定期間のトータルカウン
ト数を含む全LUの測定結果が得られると、終了である
(ステップ1070)。
The host A100 executes steps 1040 and 1 until the required measurement results of all LUs are obtained.
050 is repeatedly executed. When the measurement results of all the LUs including the total count number in the measurement period are obtained, the process ends (step 1070).

【0081】なお、各コマンドに対して、コマンド実行
の成否を示すステータスをディスクアレイ200からホ
ストA100に返すが、図7では省略してある。
For each command, a status indicating the success or failure of the command execution is returned from the disk array 200 to the host A 100, but is omitted in FIG.

【0082】以上の構成、動作により本実施形態によれ
ば、ディスクアレイ200内部の各バス上のデータ転送
において、LUごとの転送性能、負荷状況を測定するこ
とが可能となる。さらに、ホストA100からの要求に
応じて、LUごとの転送性能、負荷状況の測定結果をデ
ィスクアレイ200からホストA100へ通知すること
ができる。
According to the present embodiment, the above configuration and operation make it possible to measure the transfer performance and load status of each LU in data transfer on each bus in the disk array 200. Further, in response to a request from the host A100, the disk array 200 can notify the host A100 of the measurement results of the transfer performance and the load status for each LU.

【0083】測定結果が外部ホストへ通知できることか
ら、測定結果からの負荷分散により最適なRAID構成
を構築する目的に使用できるという効果がある。
Since the measurement result can be notified to the external host, there is an effect that it can be used for the purpose of constructing an optimal RAID configuration by load distribution from the measurement result.

【0084】また、測定結果を解析することによって、
ディスクアレイシステムの性能ボトルネック解析の目的
に使用できるという効果がある。
Also, by analyzing the measurement results,
There is an effect that it can be used for the purpose of analyzing the performance bottleneck of the disk array system.

【0085】また、測定結果から各LUがハードウェア
資源をどれだけ使ったかがわかり、ストレージプールで
性能に対する課金を可能とするために利用できるという
効果がある。
Further, it is possible to know how much each LU has used the hardware resources from the measurement result, and there is an effect that the LU can be used to enable the performance to be charged in the storage pool.

【0086】また、ハードウェア資源使用抑止のための
指針を得るための目的で、測定結果を利用できるという
効果がある。
Further, there is an effect that the measurement result can be used for the purpose of obtaining a guideline for suppressing the use of hardware resources.

【0087】なお、ホストA100、ホストB110、
ホストC120とホスト入出力部210、211の間、
および、ディスク装置群270、271とディスク入出
力部250、251の間のインタフェースとしては、た
とえばファイバチャネル、SCSIなどが考えられる
が、他のインタフェースであってもよい。また、ホスト
側内部バス220、および、ディスク側内部バス240
は、たとえば64ビット幅のPCIバスなどが考えられ
るが、32ビット幅のPCIバスや他のバスであっても
実現できる。
The host A100, host B110,
Between the host C120 and the host input / output units 210, 211,
The interface between the disk device groups 270 and 271 and the disk input / output units 250 and 251 may be, for example, a fiber channel, SCSI, or the like, but may be another interface. The host-side internal bus 220 and the disk-side internal bus 240
For example, a 64-bit PCI bus may be used, but a 32-bit PCI bus or another bus may be used.

【0088】また、本実施形態では、測定結果のカウン
ト値をホストA100へ通知するとしたが、測定結果か
らMPU280が単位時間あたりの転送量、バス使用率
を計算し、計算結果をホストA100へ通知してもよ
い。
In this embodiment, the count value of the measurement result is notified to the host A 100. However, the MPU 280 calculates the transfer amount per unit time and the bus usage rate from the measurement result, and notifies the host A 100 of the calculation result. May be.

【0089】また、本実施形態では、測定終了コマンド
630により、測定を終了してから測定データを集計
し、ホストA100へ通知するとしているが、測定中に
もバス使用状況測定結果テーブル293に測定データを
集計し、測定終了コマンド630による測定終了を行わ
ずに結果取得コマンド640を発行して動作中の測定デ
ータを取得できるように変更することは容易である。
In this embodiment, the measurement data is totaled after the measurement is completed by the measurement end command 630, and the measurement data is reported to the host A100. It is easy to aggregate the data and issue the result acquisition command 640 without terminating the measurement by the measurement end command 630 so that the measurement data in operation can be acquired.

【0090】(第2の実施形態)本発明の第2の実施形
態は、第1の実施形態においてホストA100が行って
いた性能測定の制御を、ディスクアレイ外部の制御端末
からの指示により実施するものである。
(Second Embodiment) In a second embodiment of the present invention, the control of the performance measurement performed by the host A100 in the first embodiment is performed by an instruction from a control terminal outside the disk array. Things.

【0091】図8に、第2の実施形態におけるシステム
構成例を示す。ここでは、第1の実施形態との違いのみ
を説明する。図8において、制御端末700は、ディス
クアレイ200に対してさまざまな制御命令を発行する
ディスクアレイ制御用の端末である。制御端末700と
ディスクアレイ200間の通信を実行する制御端末通信
装置720はバスブリッジ285と接続し、制御端末7
00とは制御線710で接続する。制御線710は、シ
リアルや既存のネットワーク通信線で実現できる。メモ
リ290は、MPU280が、転送量等の測定について
制御端末700とディスクアレイ200の間で行われる
通信を実行するために使用する制御端末通信プログラム
295を有する。以上が、第2の実施形態のシステム構
成である。
FIG. 8 shows an example of a system configuration according to the second embodiment. Here, only the differences from the first embodiment will be described. 8, a control terminal 700 is a disk array control terminal that issues various control commands to the disk array 200. A control terminal communication device 720 for executing communication between the control terminal 700 and the disk array 200 connects to the bus bridge 285 and
00 is connected by a control line 710. The control line 710 can be realized by a serial or existing network communication line. The memory 290 has a control terminal communication program 295 used by the MPU 280 to execute communication performed between the control terminal 700 and the disk array 200 for measurement of the transfer amount and the like. The above is the system configuration of the second embodiment.

【0092】次に、第2の実施形態の動作について、第
1の実施形態と異なる部分について説明する。第2の実
施形態においては、制御端末700が、ディスクアレイ
200に対して、設定コマンド610、測定開始コマン
ド620、測定終了コマンド630、結果取得コマンド
640を発行し性能測定を制御する。また、ディスクア
レイ200は、制御端末700へ結果通知レスポンス6
50を送信する。
Next, the operation of the second embodiment will be described, focusing on the differences from the first embodiment. In the second embodiment, the control terminal 700 issues a setting command 610, a measurement start command 620, a measurement end command 630, and a result acquisition command 640 to the disk array 200 to control the performance measurement. In addition, the disk array 200 sends a result notification response 6 to the control terminal 700.
Send 50.

【0093】上記構成、動作により、第2の実施形態で
は、制御端末700からの指示により、LUごとの性能
測定が実施できる。したがって、第1の実施形態と同様
な効果を得ることができる。
According to the above configuration and operation, in the second embodiment, performance measurement for each LU can be performed in accordance with an instruction from the control terminal 700. Therefore, the same effect as in the first embodiment can be obtained.

【0094】(第3の実施形態)本発明の第3の実施形
態は、課金サーバという特別なホストを用いて、性能測
定結果を集計し、ハードウェア使用性能に対する課金を
図るためのものである。なお、これは第1の実施例にお
いてホストAで課金が出来ないことを表すものではな
い。ホストAで課金をするようにしても良い。
(Third Embodiment) The third embodiment of the present invention is to collect performance measurement results using a special host called a billing server, and to bill for hardware use performance. . This does not indicate that the host A cannot charge in the first embodiment. The host A may be charged.

【0095】図9に、第3の実施形態におけるシステム
構成例を示す。ここでは、第1の実施形態との違いのみ
を説明する。図9において、課金サーバ900は、ディ
スクアレイ200内部のバス上のデータ転送量、バス負
荷率の監視をLU単位で行うことを目的とした特別なホ
ストである。課金サーバ900は、測定結果を集計する
ために内部にメモリ910を持つ。
FIG. 9 shows an example of a system configuration according to the third embodiment. Here, only the differences from the first embodiment will be described. In FIG. 9, a billing server 900 is a special host for the purpose of monitoring the data transfer amount on the bus inside the disk array 200 and the bus load ratio in LU units. The billing server 900 has a memory 910 therein for totalizing the measurement results.

【0096】課金サーバ900は、バススイッチ130
を介して、ホストバスA140、ホストバスB141に
よりディスクアレイ200のホスト入出力部210、2
11と接続する。メモリ290は、MPU280が、バ
ス使用状況測定について課金サーバ900とディスクア
レイ200の間で行われる通信を実行するために使用す
る課金サーバ通信プログラム296を有する。以上が、
第3の実施形態のシステム構成である。
The billing server 900 includes a bus switch 130
Via the host bus A 140 and the host bus B 141, the host I / O units 210 and 2 of the disk array 200.
11 is connected. The memory 290 has a charging server communication program 296 used by the MPU 280 to execute communication performed between the charging server 900 and the disk array 200 for bus usage measurement. More than,
It is a system configuration of a third embodiment.

【0097】次に、第3の実施形態の動作について、第
1の実施形態と異なる部分について説明する。第3の実
施形態においては、課金サーバ900が、ディスクアレ
イ200に対して、設定コマンド610、測定開始コマ
ンド620、測定終了コマンド630、結果取得コマン
ド640を発行し性能測定を制御する。また、ディスク
アレイ200は、課金サーバ900へ結果通知レスポン
ス650を送信する。課金サーバ900は、測定結果か
らLUごとのデータ転送量、バス負荷率を計算し、LU
ごとに課金額を算出する。
Next, the operation of the third embodiment will be described, focusing on the differences from the first embodiment. In the third embodiment, the accounting server 900 issues a setting command 610, a measurement start command 620, a measurement end command 630, and a result acquisition command 640 to the disk array 200 to control the performance measurement. Further, the disk array 200 transmits a result notification response 650 to the accounting server 900. The accounting server 900 calculates a data transfer amount and a bus load factor for each LU from the measurement result, and
The charge amount is calculated for each.

【0098】図10に、具体例を示す。課金サーバ90
0内部にあるメモリ910上のバス使用状況測定結果テ
ーブル920は、ディスクアレイ200内のメモリ29
0上のバス使用状況測定結果テーブル293と同様の構
造を持ち、結果通知レスポンス650により得られた測
定値を格納する。課金サーバ900は、この測定値を元
に、LUごとのデータ転送量、バス負荷率を計算する。
データ転送量とは、実際にそのバス上で行われたデータ
転送の転送量のことで、バス負荷率は、データ転送がバ
スを専有使用した時間をパーセントで表したものであ
る。ここで、ホスト側内部バス220が動作周波数33
MHz、バス幅64bitのPCIバスで構成されてい
るとすると、ホスト側内部バスの測定のトータルクロッ
ク数1000クロックの内、LU0に関するデータ転送
がホスト側内部バスを専有使用したクロック数は200
クロックであり、バス負荷率200/1000×100
=20%が導き出せる。また、LU0に関するデータ転
送が行われたクロック数は175クロックであり、そこ
からデータ転送量175×64bit(8byte)=
1400byteが導き出せる。同様の計算によってL
Uごとの各バスのデータ転送量、バス負荷率をまとめた
ものが、データ転送量、バス負荷率テーブル930であ
る。このようにまとめることによって、LUごとに各部
位のデータ転送量がわかり、また、どのLUがどの部位
にどれだけに負荷をかけているのかがわかるようにな
る。
FIG. 10 shows a specific example. Billing server 90
0, the bus use status measurement result table 920 on the memory 910 inside the memory
It has the same structure as the bus usage status measurement result table 293 on 0, and stores the measurement value obtained by the result notification response 650. The accounting server 900 calculates a data transfer amount and a bus load factor for each LU based on the measured values.
The data transfer amount is a transfer amount of data transfer actually performed on the bus, and the bus load factor is a percentage of time during which data transfer exclusively uses the bus. Here, the host side internal bus 220 operates at the operating frequency 33.
Assuming that the PCI bus is composed of a PCI bus having a bus width of 64 MHz and a bus width of 64 bits, the number of clocks exclusively used for the LU0 data transfer by using the host-side internal bus is 200 out of 1000 clocks measured by the host-side internal bus.
Clock, bus load factor 200/1000 × 100
= 20% can be derived. The number of clocks at which the data transfer for LU0 is performed is 175 clocks, and the data transfer amount is 175 × 64 bits (8 bytes) =
1400 bytes can be derived. By the same calculation, L
The data transfer amount and bus load ratio of each bus for each U are summarized in a data transfer amount and bus load ratio table 930. By summarizing in this way, it becomes possible to know the data transfer amount of each part for each LU, and to know which LU puts a load on which part and how much.

【0099】本実施形態では、キャッシュバスに最も負
荷がかかるアーキテクチャである。したがって、ハード
ウェア使用量に対しての課金では、キャッシュバスの負
荷率に比例して課金額を決めることが考えられる。デー
タ転送量、バス負荷率テーブル930において、キャッ
シュバスのバス負荷率は、LU0が45.3%、LU1
が24%、LU2が17.3%である。したがって、L
U0を使用しているユーザに最も大きな課金額を付け、
以下LU1を使用しているユーザ、LU2を使用してい
るユーザの順の金額となる。
In this embodiment, the architecture places the highest load on the cache bus. Therefore, when charging for the hardware usage, it is conceivable to determine the charging amount in proportion to the load ratio of the cache bus. In the data transfer amount and bus load ratio table 930, the bus load ratio of the cache bus is 45.3% for LU0 and LU1 for LU1.
Is 24% and LU2 is 17.3%. Therefore, L
The user who uses U0 is charged the largest amount,
Hereinafter, the amount of money is the order of the user using LU1 and the user using LU2.

【0100】上記構成、動作により、第3の実施形態で
は、課金サーバ900からの指示により、LUごとの性
能測定が実施できる。したがって、第1の実施形態と同
様の効果を得ることができる。特に、課金サーバ900
内でLUごとのデータ転送量、バス負荷率を計算するこ
とによって、ハードウェア使用性能に対する課金を実現
できるという効果がある。
With the above configuration and operation, in the third embodiment, performance measurement for each LU can be performed in accordance with an instruction from the accounting server 900. Therefore, the same effect as in the first embodiment can be obtained. In particular, the billing server 900
The calculation of the data transfer amount and the bus load factor for each LU within the LU has the effect of realizing charging for the hardware usage performance.

【0101】[0101]

【発明の効果】以上述べたように、本発明によれば、デ
ィスクアレイ内部の各バスにおける、LUごとの転送性
能、負荷状況を測定し、外部ホストまたは制御端末から
の要求に従い測定結果を通知するように構成したため、
ディスクアレイの外部からLUごとの転送性能・負荷状
況がモニタ可能であるという効果が得られる。
As described above, according to the present invention, the transfer performance and load status of each LU in each bus in the disk array are measured, and the measurement result is notified according to a request from an external host or a control terminal. Because it was configured to
The effect is obtained that the transfer performance and load status of each LU can be monitored from outside the disk array.

【0102】上記効果は、負荷分散によるディスクアレ
イの性能チューニング、ボトルネック解析によるディス
クアレイの性能コントロール、使用したハードウェア資
源に対して課金するシステム、ハードウェア資源使用抑
止のための指針を得ることに使用することができる。
The above effects are obtained by tuning the performance of the disk array by load balancing, controlling the performance of the disk array by bottleneck analysis, a system for charging the used hardware resources, and obtaining guidelines for suppressing the use of hardware resources. Can be used for

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

【図1】第1の実施形態におけるシステム構成図であ
る。
FIG. 1 is a system configuration diagram according to a first embodiment.

【図2】LU情報付きの論理データブロックの説明図で
ある。
FIG. 2 is an explanatory diagram of a logical data block with LU information.

【図3】バス使用状況測定部のブロック図である。FIG. 3 is a block diagram of a bus usage status measuring unit.

【図4】ディスク側内部バスのタイミングチャートであ
る。
FIG. 4 is a timing chart of a disk-side internal bus.

【図5】バス使用状況測定結果テーブルの構成図であ
る。
FIG. 5 is a configuration diagram of a bus use status measurement result table.

【図6】定義したベンダユニークコマンドの説明図であ
る。
FIG. 6 is an explanatory diagram of a defined vendor unique command.

【図7】ホストからの指示により性能測定を実施するフ
ローチャートである。
FIG. 7 is a flowchart for performing performance measurement according to an instruction from a host.

【図8】第2の実施形態におけるシステム構成図であ
る。
FIG. 8 is a system configuration diagram according to a second embodiment.

【図9】第3の実施形態におけるシステム構成図であ
る。
FIG. 9 is a system configuration diagram according to a third embodiment.

【図10】バス使用状況測定結果テーブル、データ転
送、バス負荷率テーブルの説明図である。
FIG. 10 is an explanatory diagram of a bus usage status measurement result table, a data transfer, and a bus load ratio table.

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

100 ホストA 200 ディスクアレイ 210 ホスト入出力部 212 バス使用状況測定部 220 ホスト側内部バス 230 ディスクキャッシュ 231 キャッシュバス 240 ディスク側内部バス 250 ディスク入出力部 252 バス使用状況測定部 260 ディスクバス 270 ディスク装置群 280 MPU 300 キャッシュコントローラ 311 バス使用状況測定部 321 バス使用状況測定部 331 バス使用状況測定部 Reference Signs List 100 Host A 200 Disk array 210 Host input / output unit 212 Bus usage status measurement unit 220 Host side internal bus 230 Disk cache 231 Cache bus 240 Disk side internal bus 250 Disk input / output unit 252 Bus usage status measurement unit 260 Disk bus 270 Disk device Group 280 MPU 300 Cache controller 311 Bus usage status measurement unit 321 Bus usage status measurement unit 331 Bus usage status measurement unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 松並 直人 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 佐藤 雅彦 神奈川県小田原市国府津2880番地 株式会 社日立製作所ストレージシステム事業部内 Fターム(参考) 5B042 GA15 GA36 HH20 MC23 MC28 5B065 BA01 CA30 CC08 CH01 EK02 EK07  ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Naoto Matsunami 1099 Ozenji Temple, Aso-ku, Kawasaki City, Kanagawa Prefecture Inside System Development Laboratory, Hitachi, Ltd. 5B042 GA15 GA36 HH20 MC23 MC28 5B065 BA01 CA30 CC08 CH01 EK02 EK07

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】記憶装置と、1つ以上の内部のデータ転送
路と、前記転送路の少なくとも1つについて前記記憶装
置の論理ユニットごとに使用状況を測定する測定部と、
前記測定部で測定された前記論理ユニットごとの使用状
況を外部に通知する出力手段とを備えたことを特徴とす
る記憶装置システム。
1. A storage device, at least one internal data transfer path, and a measuring unit for measuring the use status of at least one of the transfer paths for each logical unit of the storage device;
An output unit for notifying the use status of each of the logical units measured by the measurement unit to the outside.
【請求項2】前記測定部は前記論理ユニットごとに前記
少なくとも1つの転送路に関しての単位時間当たりのデ
ータ転送量および/又は転送路の専有率を測定すること
を特徴とする請求項1記載の記憶装置システム。
2. The apparatus according to claim 1, wherein said measuring unit measures a data transfer amount per unit time and / or a transfer path occupancy ratio of said at least one transfer path for each of said logical units. Storage system.
【請求項3】前記測定部は前記論理ユニットごとにある
測定期間における前記論理ユニットが前記少なくとも1
つの転送路を専有した期間の合計を測定することを特徴
とする請求項1記載の記憶装置システム。
3. The measuring unit according to claim 1, wherein the logical unit is configured to determine whether the logical unit is in the at least one logical unit during a measurement period for each logical unit.
2. The storage device system according to claim 1, wherein a total period during which one transfer path is occupied is measured.
【請求項4】前記測定部は前記ある測定期間のトータル
クロック数と、前記少なくとも1つの転送路を専有した
期間のクロック数の合計クロック数を測定することを特
徴とする請求項3記載の記憶装置システム。
4. The storage according to claim 3, wherein said measuring unit measures the total number of clocks in said certain measuring period and the number of clocks in a period occupying said at least one transfer path. Equipment system.
【請求項5】前記出力手段はホストとの通信を行なうホ
スト通信プログラムを有し、ホストからの要求に応答し
て前記使用状況を前記ホストに通知することを特徴とす
る請求項1記載の記憶装置システム。
5. The storage according to claim 1, wherein said output means has a host communication program for communicating with a host, and notifies the host of the use status in response to a request from the host. Equipment system.
【請求項6】更に、制御端末との通信を行なう制御端末
通信手段を有し、前記出力手段は前記制御端末と通信す
る制御端末通信プログラムを有し前記制御端末からの要
求に応答して前記使用状況を前記制御端末通信手段を通
して前記制御端末に通知することを特徴とする請求項1
記載の記憶装置システム。
6. A control terminal communication means for communicating with a control terminal, said output means having a control terminal communication program for communicating with said control terminal, said control means being responsive to a request from said control terminal. 2. The control terminal according to claim 1, wherein the control terminal notifies the control terminal of a use situation through the control terminal communication means.
The storage device system according to claim 1.
【請求項7】複数の論理ユニットを構成する記憶装置
と、1つ以上の内部のデータ転送路と、前記転送路の少
なくとも1つを通るデータに前記論理ユニットを識別す
る識別子を付加する論理ユニット識別子制御部と、前記
転送路の少なくとも1つについて前記識別子を用いて前
記記憶装置の論理ユニットごとに使用状況を測定する測
定部と、前記測定部で測定された前記論理ユニットごと
の使用状況を外部に通知する出力手段とを備えたことを
特徴とする記憶装置システム。
7. A logical unit for adding an identifier for identifying a logical unit to data passing through a storage device constituting a plurality of logical units, one or more internal data transfer paths, and data passing through at least one of the transfer paths. An identifier control unit, a measurement unit that measures a use state for each logical unit of the storage device using the identifier for at least one of the transfer paths, and a use state for each of the logical units measured by the measurement unit. A storage device system comprising: an output unit for notifying to the outside.
【請求項8】更に、前記記憶装置とホストとの間に設け
られたキャッシュメモリを有し、前記識別子制御部は前
記キャッシュメモリへのデータの読み書きのアドレスに
付加された論理ユニットを識別する情報に基づいて前記
データに前記識別子を付加することを特徴とする請求項
7記載の記憶装置システム。
8. The information processing apparatus according to claim 1, further comprising a cache memory provided between said storage device and a host, wherein said identifier control unit includes information for identifying a logical unit added to an address for reading / writing data from / to said cache memory. 8. The storage device system according to claim 7, wherein the identifier is added to the data based on the following.
【請求項9】前記識別子制御部はホストへ転送するデー
タから前記識別子を削除することを特徴とする請求項7
記載の記憶装置システム。
9. The system according to claim 7, wherein the identifier control unit deletes the identifier from data to be transferred to a host.
The storage device system according to claim 1.
【請求項10】複数の記憶装置を有し複数の論理ユニッ
トを構成する記憶装置群と、前記記憶装置群とホストの
間で転送されるデータを格納するキャッシュメモリと、
前記キャッシュメモリへデータを読み書きするキャッシ
ュバスと、前記キャッシュバスの前記論理ユニットごと
の使用状況を測定するバス使用状況測定部と、前記使用
状況を外部へ出力する出力部とを備えたことを特徴とす
る記憶装置システム。
10. A storage device group having a plurality of storage devices and constituting a plurality of logical units, a cache memory for storing data transferred between the storage device group and a host,
A cache bus that reads and writes data from and to the cache memory; a bus usage status measurement unit that measures the usage status of the cache bus for each logical unit; and an output unit that outputs the usage status to the outside. Storage system.
JP2001014406A 2001-01-23 2001-01-23 Storage system Expired - Fee Related JP4041284B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001014406A JP4041284B2 (en) 2001-01-23 2001-01-23 Storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001014406A JP4041284B2 (en) 2001-01-23 2001-01-23 Storage system

Publications (2)

Publication Number Publication Date
JP2002215335A true JP2002215335A (en) 2002-08-02
JP4041284B2 JP4041284B2 (en) 2008-01-30

Family

ID=18881106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001014406A Expired - Fee Related JP4041284B2 (en) 2001-01-23 2001-01-23 Storage system

Country Status (1)

Country Link
JP (1) JP4041284B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004295457A (en) * 2003-03-27 2004-10-21 Hitachi Ltd Storage device
JP2008129932A (en) * 2006-11-22 2008-06-05 Nec System Technologies Ltd Disk array device system, disk array device control method, and program
JP2010097555A (en) * 2008-10-20 2010-04-30 Hitachi Ltd Electric power estimation method and computer system
JP2010211549A (en) * 2009-03-11 2010-09-24 Fujitsu Ltd Management program, management apparatus and management method
US7913037B2 (en) 2006-03-20 2011-03-22 Hitachi, Ltd. Computer system for controlling allocation of physical links and method thereof
US7954013B2 (en) 2008-06-05 2011-05-31 Hitachi, Ltd. Storage device and performance measurement method for the same

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004295457A (en) * 2003-03-27 2004-10-21 Hitachi Ltd Storage device
US7913037B2 (en) 2006-03-20 2011-03-22 Hitachi, Ltd. Computer system for controlling allocation of physical links and method thereof
US8275938B2 (en) 2006-03-20 2012-09-25 Hitachi, Ltd. Computer system for controlling allocation of physical links and method thereof
US8543762B2 (en) 2006-03-20 2013-09-24 Hitachi, Ltd. Computer system for controlling allocation of physical links and method thereof
JP2008129932A (en) * 2006-11-22 2008-06-05 Nec System Technologies Ltd Disk array device system, disk array device control method, and program
JP4679494B2 (en) * 2006-11-22 2011-04-27 Necシステムテクノロジー株式会社 Disk array device system, disk array device control method, and program
US7954013B2 (en) 2008-06-05 2011-05-31 Hitachi, Ltd. Storage device and performance measurement method for the same
JP2010097555A (en) * 2008-10-20 2010-04-30 Hitachi Ltd Electric power estimation method and computer system
JP2010211549A (en) * 2009-03-11 2010-09-24 Fujitsu Ltd Management program, management apparatus and management method

Also Published As

Publication number Publication date
JP4041284B2 (en) 2008-01-30

Similar Documents

Publication Publication Date Title
JP3201219B2 (en) I / O processing system
KR100974043B1 (en) On demand, non-capacity based process, apparatus and computer program to determine maintenance fees for disk data storage system
US8706986B2 (en) Load equalizing storage controller and control method for the same
US6549981B2 (en) Disk array system with controllers that automate host side of ATA interface
CN101965559B (en) Flash memory controller having crosspoint switch connecting processer and internal storage
Chervenak Performance measurements of the first raid prototype
JPS58151631A (en) Dma bus load varying device
US20120221809A1 (en) Storage apparatus and data processing method of the same
EP1899825A1 (en) Device and method for controlling multiple dma tasks
US7725664B2 (en) Configuration definition setup method for disk array apparatus, and disk array apparatus
CN108153482A (en) I/O command processing method and Media Interface Connector controller
CN108733308A (en) Method and apparatus for managing Pan Chi
US7363453B1 (en) Method and apparatus for improving storage device performance by selective volume swapping based on hot spot analysis
US20150058503A1 (en) Storage apparatus and method of controlling storage apparatus
JP4041284B2 (en) Storage system
US7281106B1 (en) Method and apparatus for selective volume swapping in a data storage device based on merging multiple sets of candidate storage devices
JP2009075753A (en) Data transfer device, information processing system, data transfer program and computer-readable recording medium with the same program recorded thereon
WO2019084917A1 (en) Method and apparatus for calculating available capacity of storage system
CN108153582A (en) I/O command processing method and Media Interface Connector controller
US20030172229A1 (en) Systems and methods for detecting and compensating for runt block data transfers
Chang et al. Analysis of shared-link AXI
JP2002157091A (en) Storage sub-system, and memory used therefor
JP2013058169A (en) Disk array device and disk array device control method
Niu et al. SMR drive performance analysis under different workload environments
Merchant et al. Disk array models in Minerva

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040729

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070328

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20070328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070717

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070914

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071016

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071109

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131116

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees