JP2003296150A - File relocation system - Google Patents

File relocation system

Info

Publication number
JP2003296150A
JP2003296150A JP2002096927A JP2002096927A JP2003296150A JP 2003296150 A JP2003296150 A JP 2003296150A JP 2002096927 A JP2002096927 A JP 2002096927A JP 2002096927 A JP2002096927 A JP 2002096927A JP 2003296150 A JP2003296150 A JP 2003296150A
Authority
JP
Japan
Prior art keywords
file
gene
volume
evaluation
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.)
Pending
Application number
JP2002096927A
Other languages
Japanese (ja)
Inventor
Naoki Tsubone
直毅 坪根
Hisanori Nakajima
尚紀 中島
Tatsuo Yoshikawa
達雄 吉川
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.)
Daiwa Securities Group Inc
Original Assignee
Daiwa Securities Group Inc
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 Daiwa Securities Group Inc filed Critical Daiwa Securities Group Inc
Priority to JP2002096927A priority Critical patent/JP2003296150A/en
Publication of JP2003296150A publication Critical patent/JP2003296150A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a file relocation system capable of efficiently performing the relocation of files which simultaneously satisfies various purposes in a short time. <P>SOLUTION: In this file relocation system, a data working processing means 12 generates the input and output count number and file capacity of each file and locating state information showing whether each file is actually located to each volume or not from the access record to the file group 2 of a host online system 1 outputted from a resource information collecting system 3. A file optimum location processing means 15 determines the optimum location of files by operation by genetic algorithm using each information generated from the data working processing means 12. A file moving processing means 19 performs the relocation of files in the file group 2 according to the optimum location of files. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ファイルの再配置
位置を決定するファイル再配置システムに係り、特に再
配置に要する時間及び労力を軽減できるファイル再配置
システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file relocation system for determining a file relocation position, and more particularly to a file relocation system capable of reducing the time and labor required for relocation.

【0002】[0002]

【従来の技術】汎用コンピュータのオンライン処理又は
バッチ処理において、ディスク上のファイルのアクセス
に要する時間は当該コンピュータのパフォーマンスに大
きな影響を与える。このため汎用コンピュータでは、ア
クセス時間の低減のため、定期的にファイルをディスク
上の最適な位置に再配置することが重要である。従来、
ファイルの再配置は専門家が勘に頼って、手作業で行っ
ていた。
2. Description of the Related Art In online processing or batch processing of a general-purpose computer, the time required to access a file on a disk greatly affects the performance of the computer. For this reason, in a general-purpose computer, it is important to relocate the file to the optimum position on the disk periodically in order to reduce the access time. Conventionally,
The relocation of files was done manually by experts, relying on intuition.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来のファイル再配置方法では、短時間に効率的なファイ
ル再配置を行うことができないという問題点があった。
特に、ホストオンラインシステムは、フルタイムで稼働
しているため、メンテナンス時間が十分にとれないとい
う制約がある。このため、ファイルの再配置が完了する
のに例えば6週間掛かるということもあった。
However, the above-mentioned conventional file relocation method has a problem that it is not possible to perform efficient file relocation in a short time.
In particular, since the host online system operates in full time, there is a restriction that maintenance time cannot be taken sufficiently. Therefore, it may take, for example, 6 weeks to complete the rearrangement of files.

【0004】また、ファイルの再配置は、アクセス回数
またはファイル容量の平準化等の多様な目的を同時に満
たすようにする必要があるため、再配置の位置を決定す
る作業は困難なものとなっていた。
Further, since it is necessary to relocate files so as to simultaneously satisfy various purposes such as the number of times of access or leveling of file capacity, it is difficult to determine the location of relocation. It was

【0005】本発明は上記実情に鑑みて為されたもの
で、多様な目的を同時に満たすファイルの再配置を短時
間で効率的に行うことができるファイル再配置システム
を提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a file rearrangement system capable of efficiently rearranging files that simultaneously satisfy various purposes in a short time. .

【0006】[0006]

【課題を解決するための手段】上記従来例の問題点を解
決するための本発明は、ファイル再配置システムにおい
て、コンピュータにおいて複数のボリュームに配置され
たファイルを複数のボリュームに再配置するにあたり、
各ファイルの入出力負荷及びファイル容量と、各ボリュ
ームに対して各ファイルが実際に配置されているか否か
を示す配置状態情報を用いて遺伝的アルゴリズムによる
演算を行い、各ファイルに対し最適又は略最適な配置と
なるボリュームを決定する最適配置決定処理を行い、処
理結果に基づいて各ファイルを該当するボリュームに再
配置するものであり、多様な目的を同時に満たすファイ
ルの再配置を短時間で効率的に行うことができる。コン
ピュータは、汎用コンピュータであることが好ましい。
入出力負荷は、入出力カウント×ブロックサイズで表さ
れるが、オンラインシステムではファイルのブロックサ
イズはほぼ一定であるため、入出力カウントで置き換え
ることができる。
DISCLOSURE OF THE INVENTION The present invention for solving the above-mentioned problems of the prior art is, in a file relocation system, relocating a file placed in a plurality of volumes in a computer to a plurality of volumes in a computer.
A genetic algorithm is used to calculate the I / O load and file capacity of each file, and the placement status information that indicates whether each file is actually placed in each volume. The optimal placement determination process that determines the optimal placement volume is performed, and each file is relocated to the corresponding volume based on the processing result. Relocation of files that simultaneously satisfy various purposes can be performed efficiently in a short time. Can be done on a regular basis. The computer is preferably a general purpose computer.
The I / O load is represented by I / O count × block size. In an online system, the block size of a file is almost constant, so it can be replaced by the I / O count.

【0007】また、本発明は、ファイル再配置システム
において、コンピュータにおいて複数のボリュームに配
置されたファイルを複数のボリュームに再配置するファ
イル再配置システムであって、汎用コンピュータにおけ
る資源使用状況から、各ファイルの入出力負荷及びファ
イル容量と、各ボリュームに対して各ファイルが実際に
配置されているか否かを示す配置状態情報とを生成して
出力するデータ加工部と、データ加工部において生成さ
れたデータを用いて、遺伝的アルゴリズムによる演算を
行い、各ファイルに対し最適な又は最適な配置となるボ
リュームを決定する最適配置決定処理を行うファイル最
適配置部と、最適配置決定処理の処理結果に基づいて各
ファイルを該当するボリュームに再配置するファイル移
動処理部とを有するものであり、多様な目的を同時に満
たすファイルの再配置を短時間で効率的に行うことがで
きる。
Further, the present invention is a file relocation system for relocating files arranged in a plurality of volumes in a computer to a plurality of volumes in a file relocation system. A data processing unit for generating and outputting the input / output load and file capacity of the file and the arrangement state information indicating whether or not each file is actually arranged for each volume, and the data processing unit. Based on the processing result of the optimum file placement section, and the file best placement section that performs the best placement decision process that determines the volume that is the best or the best placement for each file by performing a genetic algorithm operation using the data And a file move processing unit that relocates each file to the corresponding volume. Are those, can be performed efficiently relocation of files that meet a variety of purposes at the same time in a short time.

【0008】また、本発明は、上記ファイル再配置シス
テムにおいて、遺伝的アルゴリズムは、各ファイルにつ
いてのボリュームへの配置状態を二進数表現で示したラ
ンダムな遺伝子データを複数生成する遺伝子生成手段
と、ファイル再配置でボリュームに対するファイル配置
の適性を示す評価関数を用いて遺伝子データの評価を行
う遺伝子評価手段と、評価関数による評価結果に基づい
て評価の低い規定数の遺伝子データを除き、残りの遺伝
子データのグループを抽出するグループ抽出手段と、グ
ループから任意の2つの遺伝子データを抽出し、抽出し
た遺伝子データの一部を交換して新たな遺伝子データを
生成し、生成された遺伝子データでグループを再構成す
る交差手段と、グループから任意の遺伝子データを抽出
し、抽出したデータの一部を変更して新たな遺伝子デー
タを生成し、生成された遺伝子データでグループを再構
成する突然変異手段とを有し、遺伝子生成手段で生成さ
れた遺伝子データを、遺伝子評価手段で評価し、グルー
プ抽出手段でグループの抽出を行い、交差手段及び突然
変異手段でグループの再構成を行い、更に、交差手段及
び突然変異手段において再構成されたグループ中の遺伝
子データを、遺伝子評価手段において評価し、遺伝子評
価手段において規定の条件を満たすまで、交差手段、突
然変異手段及び遺伝子評価手段における処理を繰り返し
行うアルゴリズムであり、ファイル最適配置部は、遺伝
的アルゴリズムによる演算終了後、評価の結果が最高又
は略最高となる遺伝子データをファイル移動処理部に出
力するものであり、評価関数を用いて遺伝的アルゴリズ
ムで生成される遺伝子データを評価するため、多様な目
的を同時に満たすファイルの再配置を短時間で効率的に
行うことができる。
In the file rearrangement system according to the present invention, the genetic algorithm is a gene generating means for generating a plurality of random gene data in which the arrangement state of each file in the volume is expressed in binary notation, Gene evaluation means that evaluates gene data using an evaluation function that indicates the suitability of file allocation for volume in file relocation, and the remaining genes except for a specified number of gene data with low evaluation based on the evaluation result by the evaluation function. Group extracting means for extracting a group of data and two arbitrary gene data are extracted from the group, a part of the extracted gene data is exchanged to generate new gene data, and the generated gene data is used to identify the group. Reconstructed crossing means and arbitrary gene data extracted from the group, extracted data Generating new gene data by changing a part, and having a mutation means for reconstituting a group with the generated gene data, the gene data generated by the gene generation means is evaluated by the gene evaluation means. , The group extraction means extracts the groups, the crossing means and the mutation means reconstruct the groups, and further, the gene evaluation means evaluates the gene data in the groups reconstructed by the crossing means and the mutation means. However, it is an algorithm that repeats the processing in the crossing means, the mutation means and the gene evaluation means until the gene evaluation means satisfies the prescribed condition. It outputs the highest or almost the highest gene data to the file movement processing unit, using the evaluation function. To evaluate the genetic data generated by the heat algorithm can be efficiently performed in a short time relocation of files that meet a variety of purposes at the same time.

【0009】また、本発明は、上記ファイル再配置シス
テムにおいて、評価関数は、ボリュームあたりの入出力
カウント平均値に対する各ボリュームにおける入出力カ
ウントの比の総和に所定の重み係数を掛けた値と、ボリ
ュームあたりのファイル容量平均値に対する各ボリュー
ムにおけるファイル容量の比の総和に所定の重み係数を
掛けた値と、ボリュームあたりのファイル数平均値に対
する各ボリュームにおけるファイル数の比の総和に所定
の重み係数を掛けた値を用いており、これらの値を加算
することで遺伝子データの評価を行うものであり、各ボ
リュームにおける入出力カウント、ファイル容量及びフ
ァイル数を一定条件下で同時に平準化できるファイルの
最適な配置を短時間で効率よく求めることができる。
According to the present invention, in the above file relocation system, the evaluation function is a value obtained by multiplying a sum of ratios of input / output counts in each volume to an average value of input / output counts per volume by a predetermined weighting factor. A value obtained by multiplying the sum of the ratio of the file capacity in each volume to the average value of the file capacity per volume by a predetermined weighting coefficient, and a sum of the ratio of the number of files in each volume to the average value of the number of files per volume The value obtained by multiplying by is used to evaluate the gene data by adding these values, and the I / O count, file capacity and number of files in each volume can be leveled simultaneously under certain conditions. The optimum arrangement can be efficiently obtained in a short time.

【0010】また、本発明は、上記ファイル再配置シス
テムにおいて、評価関数は、各ボリュームにおけるファ
イルの個数に対応して決まるペナルティの総和に所定の
重み付け係数を掛けた値を用いており、この値を加算し
て遺伝子データを評価するものであり、各ボリュームに
おけるファイル数を一定条件下で平準化できるファイル
の最適な配置を一層短時間で効率よく求めることができ
る。
Further, according to the present invention, in the above file relocation system, the evaluation function uses a value obtained by multiplying a total sum of penalties determined corresponding to the number of files in each volume by a predetermined weighting coefficient. Is added to evaluate the gene data, and it is possible to efficiently find the optimum arrangement of files that can level the number of files in each volume under a certain condition in a shorter time.

【0011】また、本発明は、上記ファイル再配置シス
テムにおいて、評価関数は、入出力カウントが一定の範
囲にないボリュームの数に所定の重み付け係数を掛けた
値を用いており、この値を加算して遺伝子データを評価
するものであり、各ボリュームにおける入出力カウント
を一定条件下で平準化できるファイルの最適な配置を一
層短時間で効率よく求めることができる。
Further, according to the present invention, in the above file relocation system, the evaluation function uses a value obtained by multiplying the number of volumes whose input / output count is not within a certain range by a predetermined weighting coefficient, and adding this value. Then, the gene data is evaluated, and the optimum arrangement of files that can level the input / output counts in each volume under a certain condition can be efficiently obtained in a shorter time.

【0012】また、本発明は、上記ファイル再配置シス
テムにおいて、評価関数は、ファイル容量が一定の範囲
にないボリュームの数に所定の重み付け係数を掛けた値
を用いており、この値を加算して遺伝子データを評価す
るものであり、各ボリュームにおけるファイル容量を一
定条件下で平準化できるファイルの最適な配置を一層短
時間で効率よく求めることができる。また、本発明は、
上記ファイル再配置システムにおいて、ファイル最適配
置部は、入出力の競合の回避、排他制御の観点から、異
なるボリュームに配置すべきファイルに関しても条件と
して設定可能であり、この条件下で処理を行い、トラン
ザクション間の同一ファイルのアクセス競合を避けるこ
とができる。
According to the present invention, in the above file relocation system, the evaluation function uses a value obtained by multiplying the number of volumes whose file capacity is not within a certain range by a predetermined weighting coefficient, and adding this value. The gene data is evaluated by using the above-mentioned method, and the optimum file arrangement that can equalize the file capacity in each volume under a fixed condition can be efficiently obtained in a shorter time. Further, the present invention is
In the file relocation system described above, the file optimum placement unit can set as a condition the files to be placed in different volumes from the viewpoint of avoiding input / output conflict and exclusive control. Access conflict of the same file between transactions can be avoided.

【0013】また、本発明は、上記ファイル再配置シス
テムにおいて、ファイル最適配置部は、グループ抽出手
段において、グループに属する遺伝子データのうち、上
位規定数の遺伝子データを抜き出し、グループ再構成手
段において、抜き出されなかった遺伝子データについて
一部交換又は一部変更を行い、遺伝子評価手段におい
て、抜き出された遺伝子データよりも評価の高い遺伝子
データが存在する場合、前記評価の高い遺伝子データ
と、前記抜き出された遺伝子データのうち最も評価の低
い遺伝子データとを交換するものであり、より評価の高
い遺伝子データの発生を促すことができるため、多様な
目的を同時に満たすファイルの再配置を一層短時間で効
率的に行うことができる。
According to the present invention, in the above file rearrangement system, the file optimum arrangement unit extracts, in the group extraction means, a prescribed upper number of gene data from the gene data belonging to the group, and in the group reconstruction means, If a part of the gene data that has not been extracted is partially exchanged or changed, and in the gene evaluation means, there is gene data that has a higher evaluation than the extracted gene data, the gene data that has a high evaluation and the It replaces the lowest-evaluated gene data among the extracted gene data, and can promote the generation of higher-evaluated gene data, so the rearrangement of files that simultaneously satisfy various purposes can be made even shorter. It can be done efficiently in time.

【0014】また、本発明は、上記ファイル再配置シス
テムにおいて、ファイル最適配置部は、遺伝子評価手段
において最高評価の遺伝子データが規定期間生成されな
い場合に、引き続き行うグループ再構成のときにおいて
一部変更を行うものであり、適宜に突然変異を発生させ
ることができるため、多様な目的を同時に満たすファイ
ルの再配置を一層短時間で効率的に行うことができる。
Further, in the above-mentioned file rearrangement system according to the present invention, the file optimum arrangement part is partially changed at the time of group rearrangement which is continuously performed when the gene data of the highest evaluation is not generated in the gene evaluation means for a prescribed period. Since the mutation can be appropriately generated, the rearrangement of files that simultaneously satisfy various purposes can be efficiently performed in a shorter time.

【0015】また、本発明は、上記ファイル再配置シス
テムを用いてファイルの再配置を行わせることを特徴と
するホストオンラインシステムであり、ホストオンライ
ンシステムにおいて多様な目的を同時に満たすファイル
の再配置を短時間で効率的に行うことができ、ホストオ
ンラインシステムのパフォーマンスを向上できる。
Further, the present invention is a host online system characterized in that files are reallocated using the file reallocation system described above, and the reallocation of files satisfying various purposes at the same time is achieved in the host online system. It can be done efficiently in a short time and can improve the performance of the host online system.

【0016】[0016]

【発明の実施の形態】本発明の実施の形態について図面
を参照しながら説明する。本発明の実施の形態に係るフ
ァイル再配置システムは、ホストオンラインシステムに
おいて複数のボリュームに配置されたファイルを複数の
ボリュームに再配置するにあたり、各ファイルの入出力
カウント数及びファイル容量と、各ボリュームへの各フ
ァイルの配置状態情報を用いた遺伝的アルゴリズムによ
って、ファイルの最適な又は略最適な配置を求め、当該
配置にしたがってファイルの再配置を行うものであり、
これにより多様な目的を同時に満たすファイルの再配置
を短時間で効率的に行うことができ、ファイルの再配置
に要する時間及び労力を軽減することができる。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described with reference to the drawings. The file relocation system according to the embodiment of the present invention, when relocating files arranged in a plurality of volumes in a host online system to a plurality of volumes, the input / output count number and file capacity of each file, and each volume By the genetic algorithm using the placement state information of each file to the, to find the optimal or near-optimal placement of the file, to relocate the file according to the placement,
This makes it possible to relocate files that simultaneously satisfy various purposes simultaneously in a short time, and reduce the time and labor required for relocating files.

【0017】尚、請求項におけるデータ加工部は図1の
資源使用状況記憶部11、データ加工処理手段12及び
加工データ記憶部13に相当し、ファイル最適配置部は
コントロール記憶部14、ファイル最適配置決定処理手
段15及びファイル配置データ記憶部16に、ファイル
移動処理部はファイル移動JCL作成処理手段17、フ
ァイル移動処理JCL記憶部18及びファイル移動処理
手段19にそれぞれ相当する。また、請求項における遺
伝子生成手段は図5のS1を、遺伝子評価手段はS3
を、グループ抽出手段はS5を、交差手段はS6を、突
然変異手段はS7をそれぞれ実行する機能実現手段に相
当している。
The data processing unit in the claims corresponds to the resource usage status storage unit 11, the data processing unit 12 and the processed data storage unit 13 of FIG. 1, and the file optimal placement unit is the control storage unit 14 and the file optimal placement unit. The determination processing unit 15 and the file arrangement data storage unit 16 correspond to the file movement processing unit, and the file movement processing unit corresponds to the file movement JCL creation processing unit 17, the file movement processing JCL storage unit 18, and the file movement processing unit 19, respectively. The gene generating means in the claims is S1 in FIG. 5, and the gene evaluating means is S3.
The group extracting means corresponds to S5, the crossing means corresponds to S6, and the mutation means corresponds to S7.

【0018】本発明の実施の形態に係るファイル再配置
システムの構成について図1を参照しながら説明する。
図1は、本発明の実施の形態に係るファイル再配置シス
テムを含む全体構成のブロック図である。本発明の実施
の形態に係るファイル再配置システム(本システム)
は、図1に示すように、全体構成として、ホストオンラ
インシステム1と、ファイル群2と、資源情報収集シス
テム3と、ファイル再配置システム4とを有している。
The configuration of the file relocation system according to the embodiment of the present invention will be described with reference to FIG.
FIG. 1 is a block diagram of an overall configuration including a file relocation system according to an exemplary embodiment of the present invention. File relocation system according to an embodiment of the present invention (this system)
As shown in FIG. 1, has a host online system 1, a file group 2, a resource information collection system 3, and a file relocation system 4 as a whole.

【0019】本装置における各部を具体的に説明する。
ホストオンラインシステム1は、LAN等のネットワー
クを介して端末装置(図示せず)と接続されており、当
該端末装置から入力される処理命令に基づいてオンライ
ン処理を行い、処理結果をネットワークを介して当該端
末装置に出力するものである。
Each part of the apparatus will be specifically described.
The host online system 1 is connected to a terminal device (not shown) via a network such as a LAN, performs online processing based on a processing command input from the terminal device, and outputs the processing result via the network. It is output to the terminal device.

【0020】ファイル群2は、ホストオンラインシステ
ム1で用いるファイルの集合である。ファイル群2は、
複数のボリュームからなるディスクに保存されており、
ホストオンラインシステム1からのアクセスにより、読
出し又は書込みが行われる。
The file group 2 is a set of files used in the host online system 1. File group 2 is
It is stored on a disk consisting of multiple volumes,
Reading or writing is performed by access from the host online system 1.

【0021】資源情報収集システム3は、ホストオンラ
インシステム1に接続されており、ホストオンラインシ
ステム1におけるファイル群2へのアクセス状況を監視
し、アクセス記録(資源使用状況)を集計して、ファイ
ル再配置システム4に出力する。
The resource information collecting system 3 is connected to the host online system 1, monitors the access status to the file group 2 in the host online system 1, collects the access record (resource usage status), and recollects the file. Output to the placement system 4.

【0022】ファイル再配置システム4は、本発明の特
徴部分であり、資源情報収集システム3から出力された
ホストオンラインシステム1のアクセス記録から、各フ
ァイルのIO(Input/Output)カウント数及びファイル
容量と、各ボリュームへのファイル配置状態の情報を生
成し、生成された各情報に基づき、全てのファイルに対
し一定条件下で最適な配置となるボリュームの決定処理
(以下、ファイル最適配置決定処理)を行う。ファイル
再配置システム4は、ファイル最適配置決定処理の結果
に基づいて、ファイル群2におけるファイルの再配置を
行う。
The file relocation system 4 is a characteristic part of the present invention. From the access record of the host online system 1 output from the resource information collection system 3, the IO (Input / Output) count number and file capacity of each file And the file allocation status information for each volume is generated, and based on each generated information, the process of determining the volume that provides the optimum allocation for all files under certain conditions (hereinafter, the file optimal allocation determination process) I do. The file relocation system 4 relocates the files in the file group 2 based on the result of the file optimal placement determination process.

【0023】次に、ファイル再配置システム(本システ
ム)4の構成について説明する。本システムは、図1に
示すように、資源使用状況記憶部11と、データ加工処
理手段12と、加工データ記憶部13と、コントロール
情報記憶部14と、ファイル最適配置決定処理手段15
と、ファイル配置データ記憶部16と、ファイル移動J
CL(Job Control Language)作成処理手段17と、フ
ァイル移動処理JCL記憶部18と、ファイル移動処理
手段19とを有している。
Next, the configuration of the file relocation system (present system) 4 will be described. As shown in FIG. 1, the present system includes a resource usage status storage unit 11, a data processing unit 12, a processed data storage unit 13, a control information storage unit 14, and a file optimal placement determination processing unit 15.
And the file arrangement data storage unit 16 and the file move J
It has a CL (Job Control Language) creation processing means 17, a file movement processing JCL storage section 18, and a file movement processing means 19.

【0024】次に、本システムの各部を具体的に説明す
る。資源使用状況記憶部11は、資源情報収集システム
3から出力されたホストオンラインシステム1における
アクセス記録を格納し、記憶する。データ加工処理手段
12は、資源使用状況記憶部11に記憶されたアクセス
記録を読み出し、当該アクセス記録から、各ファイルの
IOカウント数及びファイル容量と、各ボリュームへの
ファイル配置状態の情報に加工し、加工データ記憶部1
3に出力する。加工データ記憶部13は、データ加工処
理手段12において加工された情報を格納し、記憶す
る。
Next, each part of this system will be specifically described. The resource usage status storage unit 11 stores and stores the access record in the host online system 1 output from the resource information collection system 3. The data processing unit 12 reads the access record stored in the resource use status storage unit 11 and processes the access record into information on the IO count number and file capacity of each file and the file allocation state in each volume. , Processing data storage unit 1
Output to 3. The processed data storage unit 13 stores and stores information processed by the data processing unit 12.

【0025】コントロール情報記憶部14は、ファイル
最適配置決定処理手段15で用いる各種処理命令を記憶
しており、ファイル最適配置決定処理手段15からのア
クセスによって処理命令をファイル最適配置決定処理手
段15に出力する。ファイル最適配置決定処理手段15
は、後述する遺伝的アルゴリズム(Genetic Algorith
m:以下GA)を用いてファイルの最適配置決定処理を
行い、処理結果であるファイルの最適配置情報をファイ
ル配置データ記憶部16に出力する。ファイル最適配置
決定処理手段15は、最適配置決定処理の際に必要があ
れば、コントロール情報記憶部14にアクセスして、必
要な処理命令を読み込む。
The control information storage unit 14 stores various processing instructions used by the file optimal placement determination processing means 15, and the processing instructions are sent to the file optimal placement determination processing means 15 by access from the file optimal placement determination processing means 15. Output. File optimal placement determination processing means 15
Is a genetic algorithm (Genetic Algorithm) described later.
m: hereinafter referred to as GA), the optimum placement determination processing of the file is performed, and the optimum placement information of the file which is the processing result is output to the file placement data storage unit 16. The file optimum layout determination processing means 15 accesses the control information storage unit 14 and reads a necessary processing command if necessary in the optimum layout determination processing.

【0026】ファイル配置データ記憶部16は、ファイ
ル最適配置決定処理手段15において求められたファイ
ルの最適配置情報を格納し、記憶する。ファイル移動J
CL作成処理手段17は、ファイル配置データ記憶部1
6に記憶されているファイルの最適配置情報にしたがっ
てファイルを配置するための処理命令をJCLを用いて
生成し、ファイル移動JCL記憶部18に出力する。フ
ァイル移動処理JCL記憶部18は、ファイル移動JC
L作成処理手段17で生成されたファイル配置処理命令
を格納し、記憶する。ファイル移動処理手段19は、フ
ァイル移動JCL記憶部18に記憶されているファイル
配置処理命令に基づいて、ファイル群2の各ファイルを
該当するボリュームに再配置する。
The file allocation data storage unit 16 stores and stores the optimum allocation information of the file obtained by the file optimum allocation determination processing means 15. File move J
The CL creation processing means 17 includes the file arrangement data storage unit 1
A processing instruction for allocating a file according to the optimum allocation information of the file stored in 6 is generated by using JCL, and is output to the file move JCL storage unit 18. The file move processing JCL storage unit 18 stores the file move JC.
The file placement processing command generated by the L creation processing means 17 is stored and stored. The file migration processing means 19 relocates each file of the file group 2 to the corresponding volume based on the file layout processing command stored in the file migration JCL storage unit 18.

【0027】次に、本システムのファイル最適配置決定
処理手段15で用いられるGAについて説明する。ファ
イル再配置処理問題では、複数あるボリュームのディス
ク(以下、ボリュームと略する)のIOカウントを平準
化することが主目的となるが、ディスクへのアクセスの
高速化を図る意味でも、各ボリュームのファイル容量を
平準化することも重要である。また、実際のホストオン
ラインシステムでは、トランザクションの競合を回避す
るため、一つのファイルを分散して複数のボリュームに
配置する分散ファイル処理が行われており、これらが要
因となってファイル再配置処理問題はより複雑なものと
なっている。
Next, the GA used in the file optimum placement determination processing means 15 of this system will be described. In the file relocation processing problem, the main purpose is to equalize the IO counts of disks of multiple volumes (hereinafter abbreviated as volumes), but in the sense of speeding up disk access, Leveling the file capacity is also important. In an actual host online system, distributed file processing is performed to distribute one file and allocate it to multiple volumes in order to avoid transaction conflicts, which causes file relocation problems. Is more complex.

【0028】ファイル再配置処理問題の解法の一つとし
て、当該問題を複数の目的関数及び当該目的関数に対応
する制約条件からなる整数計画問題としてモデル化し、
これらの目的関数のパレート最適解を求める多目標整数
混合計画法が知られているが、制約条件は線形(1次
式)でなければならないという制限があり、制約条件が
複雑な場合には最適解を求めることが困難となる。一
方、本システムで用いるGAによれば、制約条件は一次
式に限らず、比較的自由に設定できるため、複雑な制約
が要求されるような整数計画問題に対しては非常に有効
である。
As one of the solutions to the file relocation processing problem, the problem is modeled as an integer programming problem consisting of a plurality of objective functions and constraints corresponding to the objective functions,
A multi-objective integer mixed programming method for obtaining Pareto optimal solutions of these objective functions is known, but there is a restriction that the constraint condition must be linear (linear expression), and it is optimal when the constraint condition is complicated. It is difficult to find a solution. On the other hand, according to the GA used in the present system, the constraint condition is not limited to the linear expression and can be set relatively freely, so that it is very effective for the integer programming problem that requires complicated constraint.

【0029】本システムで用いるGAは、第1段階とし
て各ボリュームへのファイルの配置状態を示すデータを
遺伝子データ(以下、遺伝子)とみなして、そのランダ
ムな遺伝子を複数個生成し、第2段階として生成された
遺伝子を評価して評価結果に基づく分類を行い、第3段
階として評価の高い遺伝子群に属する遺伝子に対して交
差を行うか、又は突然変異を発生させて、より評価の高
い遺伝子を生成することにより、ファイルの再配置の最
適解を求めるものである。上記複数個の遺伝子は一定長
とすることが好ましい。
In the GA used in the present system, the data indicating the arrangement state of files in each volume is regarded as gene data (hereinafter referred to as genes) in the first step, and a plurality of random genes are generated, and in the second step. Genes generated as are evaluated and classified based on the evaluation result, and a gene having a higher evaluation is obtained by performing a crossover or generating a mutation with respect to genes belonging to a highly evaluated gene group in the third step. Is generated to obtain the optimum solution for file relocation. It is preferable that the plurality of genes have a constant length.

【0030】まず、第1段階において生成する遺伝子の
構成及び生成方法について、図2を用いて説明する。図
2は、本システムで用いるGAにおける遺伝子の生成方
法についての説明図であり、このうち図2(a)は、各
ファイルのボリュームへの配置状態を示した表であり、
図2(b)は、本システムで生成する遺伝子の構成図で
ある。図2(a)の表は、ファイルの番号及び当該ファ
イルを配置すべきボリューム番号との対応関係を示して
いる。図2(a)では、ファイル番号、配置先のボリュ
ームの番号の他に、ボリューム番号の二進数表現(図2
では3ビット)が示されている。例えばファイル1はボ
リューム1に配置されるので、ボリューム番号の二進数
表現は“001”となる。
First, the structure of the gene generated in the first step and the method for generating it will be described with reference to FIG. FIG. 2 is an explanatory diagram of a gene generation method in GA used in the present system, in which FIG. 2 (a) is a table showing the arrangement state of each file in a volume,
FIG. 2B is a configuration diagram of genes generated by this system. The table of FIG. 2A shows the correspondence between the file number and the volume number in which the file is to be arranged. In FIG. 2A, in addition to the file number and the number of the allocation destination volume, the binary representation of the volume number (see FIG.
3 bits) are shown. For example, since the file 1 is arranged in the volume 1, the binary representation of the volume number is "001".

【0031】本システムのGAでは、各ファイルの配置
先のボリューム番号の二進数表現を結合して、ファイル
の配置状態を示す遺伝子を生成する。図2(b)の遺伝
子は、図2(a)の表に対応しており、各ファイルの配
置先のボリュームの番号の二進数表現が、ファイル番号
順に左から並べられて構成されている。すなわち本シス
テムのGAで生成される遺伝子は、各ファイルの配置先
のボリューム番号の組み合わせといえる。図2では、ボ
リューム番号は3ビットで表現しているが、本システム
において、再配置の対象のファイルがN個、配置先のボ
リュームがM個の場合には、ボリューム番号のビット長
はlogMビットとなり、遺伝子のビット長はNlo
Mビットとなる。
In the GA of this system, the arrangement of each file
Combines the binary representation of the previous volume numbers into a file
Genes showing the arrangement state of Inheritance in Figure 2 (b)
The child corresponds to the table in Fig. 2 (a), and the distribution of each file is
The binary number of the destination volume number is the file number
They are arranged in order from the left. Ie this system
Genes generated by the GA of the system are located in each file
It can be said that it is a combination of volume numbers. In FIG.
This system uses 3 bits for the ryume number.
, There are N files to be relocated and
Bit length of volume number when there are M volumes
Is logTwoM bits, the gene bit length is Nlo
g TwoIt becomes M bits.

【0032】次に、第2段階における、本システムのG
Aにおける遺伝子の分類について、図3を用いて説明す
る。図3は、本システムにおける好ましい遺伝子の抽出
及び分類状況を示した説明図である。図3において、本
システムにおいて生成される遺伝子の集合である遺伝子
群31は、GAにおいて遺伝子毎に評価が行われ、高い
評価を得た遺伝子が抽出される。抽出された遺伝子のう
ち、上位規定数の遺伝子は、遺伝子群31から分離さ
れ、上位遺伝子群32として分類され、残りの評価の高
い遺伝子は交差対象遺伝子群34として分類される。ま
た評価の低い遺伝子は、下位遺伝子群33として、遺伝
子群31から除去される。
Next, the G of the present system in the second stage
Classification of genes in A will be described with reference to FIG. FIG. 3 is an explanatory diagram showing a preferable gene extraction and classification situation in this system. In FIG. 3, a gene group 31, which is a set of genes generated in the present system, is evaluated for each gene in GA, and genes that have been highly evaluated are extracted. Among the extracted genes, the upper specified number of genes are separated from the gene group 31 and classified as the upper gene group 32, and the remaining highly evaluated genes are classified as the crossover target gene group 34. Genes with a low evaluation are removed from the gene group 31 as the lower gene group 33.

【0033】また、本システムのGAは、交差対象遺伝
子群34に分類された遺伝子のうち、2個の遺伝子を抽
出して交差を行い、新たな遺伝子を生成する。これを規
定回数(本システムではn回)行う。場合によっては、
交差対象遺伝子群34に分類された遺伝子のうち、適当
な個数の遺伝子を抽出して、突然変異を発生させる。交
差又は突然変異を行った後、本システムのGAは交差対
象遺伝子群34に分類された遺伝子の評価を行い、上位
遺伝子群32の遺伝子のいずれかより高い評価の遺伝子
(最高評価遺伝子341)が存在する場合には、当該遺
伝子と上位遺伝子群32のうち最も評価の低い遺伝子と
を交換する。遺伝子の評価方法については、後述する。
Further, the GA of the present system extracts two genes out of the genes classified in the crossover target gene group 34 and crosses them to generate a new gene. This is performed a specified number of times (n times in this system). In some cases,
An appropriate number of genes are extracted from the genes classified in the crossover target gene group 34 to generate mutations. After performing the crossover or mutation, the GA of the present system evaluates the genes classified into the crossover target gene group 34, and the gene having the higher evaluation (highest evaluation gene 341) is higher than any of the genes in the upper gene group 32. If present, the gene is replaced with the lowest-evaluated gene in the upper gene group 32. The gene evaluation method will be described later.

【0034】ここでGAにて一般的に行われる交差及び
突然変異について、図4を用いて説明する。図4は、G
Aにおける交差及び突然変異の説明図である。図4にお
いて、遺伝子A及び遺伝子Bは、共に18ビット長であ
る。図4において、GAは、遺伝子Aの上位12ビット
と、遺伝子Bの下位6ビットを抽出して、これらを結合
させる(交差)。交差の結果、得られた遺伝子Cに対
し、GAは上位6ビット目及び10ビット目の数字を反
転させる(突然変異)ことで、新たな遺伝子C´が得ら
れる。
Crossing and mutation generally performed in GA will be described with reference to FIG. FIG. 4 shows G
It is explanatory drawing of the crossover and mutation in A. In FIG. 4, gene A and gene B are both 18 bits long. In FIG. 4, the GA extracts the upper 12 bits of the gene A and the lower 6 bits of the gene B and connects them (crossover). With respect to the gene C obtained as a result of the crossover, the GA reverses (mutates) the numbers in the upper 6th bit and the 10th bit to obtain a new gene C ′.

【0035】GAでは、評価の高い遺伝子同士を掛け合
わせて、より評価の高い遺伝子を生成させる目的で交差
が行われる。また進化が停滞して評価の高い遺伝子が生
成されない場合には、突然変異として異常な遺伝子を生
成することによって、新たな進化を促す効果がある。本
システムのGAでは、第3の段階において同様の操作を
行うことで遺伝子の交差及び突然変異を実現している。
In GA, crossing is performed for the purpose of multiplying highly evaluated genes to generate a more highly evaluated gene. In addition, when evolution is stagnant and a highly evaluated gene cannot be generated, an abnormal gene is generated as a mutation, which has the effect of promoting new evolution. In the GA of this system, gene crossover and mutation are realized by performing the same operation in the third step.

【0036】本システムにおけるGAによるファイル最
適配置決定処理の具体的動作について、図2〜図5を用
いて説明する。図5は、本システムにおけるGAによる
ファイル最適配置決定処理のフローチャート図である。
図5に示すように、本システムではGAが稼動される
と、まず、全てのファイルのボリュームへの配置状態を
0又は1(0−1)の整数表現に表し、ファイル配置の
定式化を行う(S1)。さらに本システムは、S1で定
式化されたファイル配置の整数表現を用いて、複数の遺
伝子をランダムに生成する(S2)。
The specific operation of the file optimum layout determination process by the GA in this system will be described with reference to FIGS. FIG. 5 is a flow chart of the file optimal placement determination process by the GA in this system.
As shown in FIG. 5, when GA is operated in this system, first, the allocation state of all files in the volume is represented by an integer expression of 0 or 1 (0-1), and the file allocation is formulated. (S1). Furthermore, the system randomly generates a plurality of genes using the integer representation of the file arrangement formulated in S1 (S2).

【0037】本システムは、図5のS1において、ファ
イルの配置先のボリューム番号を図2(a)に示される
ような二進数表現に置き換えて定式化を行い、S2にお
いて、図2(b)で示されるような構成の遺伝子を、ラ
ンダムに生成する。すなわち、本システムは、全てのフ
ァイルについて配置先のボリュームをランダムに決定
し、それらのボリューム番号の組み合わせを遺伝子とし
て生成する処理を繰り返し、複数の遺伝子を生成する。
In this system, in S1 of FIG. 5, the volume number of the file allocation destination is replaced with a binary number representation as shown in FIG. 2A for formulation, and in S2, it is formulated as shown in FIG. 2B. Genes with the constitution shown in are randomly generated. That is, the present system randomly determines the volume of the allocation destination for all files and repeats the process of generating a combination of those volume numbers as a gene to generate a plurality of genes.

【0038】遺伝子を生成した後、本システムは、生成
した遺伝子を評価関数に当てはめて、各遺伝子の評価を
行う(S3)。以下、遺伝子の評価方法について説明す
る。まず、本システムは、各遺伝子について、遺伝子の
情報にしたがってファイルを配置した場合の各ボリュー
ムにおけるIOカウント、ファイル容量及びファイル個
数を算出し、さらに各ファイルのIOカウント及びファ
イル容量と、実際の各ボリュームへのファイルの配置状
態情報から、ボリュームあたりのIOカウント、ファイ
ル容量及びファイル個数の平均値を算出する。そして本
システムは、各ボリュームにおけるIOカウント、ファ
イル容量及びファイル個数を、それぞれの平均値との比
を表した数量に変換する。変換は、ボリューム毎に
(1)〜(3)式に示す通りに行われ、IOカウント、
ファイル容量、ファイル個数についてそれぞれIO
、N(iはボリューム番号)が得られる。得られ
た数量は、後述する評価関数で用いられる。
After generating the genes, the system applies the generated genes to an evaluation function to evaluate each gene (S3). Hereinafter, a method for evaluating a gene will be described. First, the present system calculates the IO count, file capacity, and number of files in each volume when files are arranged according to gene information for each gene, and further calculates the IO count and file capacity of each file and the actual The average value of the IO count, the file capacity, and the number of files per volume is calculated from the file allocation state information on the volume. The system then converts the IO count, file capacity, and number of files in each volume into a quantity that represents the ratio of each to the average value. The conversion is performed for each volume as shown in equations (1) to (3), and IO count,
The file capacity and the number of files are IO i ,
S i and N i (i is a volume number) are obtained. The obtained quantity is used in the evaluation function described later.

【0039】[0039]

【数1】 [Equation 1]

【0040】また、遺伝子の評価において、本システム
は、各ボリュームに配置されるファイル数も評価の対象
としている。本システムでは、Nのほかに、一つのボ
リュームに配置されるファイル数を調べ、配置されるフ
ァイル数が多くなるにつれ、ペナルティとして減点して
おり、得られたペナルティPを、評価関数で用いてい
る。また、一つのボリューム群に、二つ以上同じ分割フ
ァイルグループのファイルが入っている場合にもペナル
ティとする。具体的には、分散ファイルが一つのボリュ
ームに対して二つ以上入っている場合に、Di>0とな
るペナルティDを設定する。
In the gene evaluation, the present system also evaluates the number of files arranged in each volume. In this system, in addition to N i, the number of files placed in one volume is checked, and as the number of placed files increases, a penalty is deducted, and the obtained penalty P i is evaluated by an evaluation function. I am using. In addition, a penalty is applied when two or more files of the same divided file group are contained in one volume group. Specifically, if the distributed file is in two or more for one volume, setting the penalty D i as the Di> 0.

【0041】次に、本システムは、上記数量IO、S
、N及びペナルティP、Dに基づいて、評価関
数を用いて遺伝子の評価を行う。評価関数は、(4)〜
(11)式で表される。
Next, this system uses the above quantities IO i , S
Genes are evaluated using an evaluation function based on i , N i and penalties P i , D i . The evaluation function is (4)-
It is expressed by equation (11).

【0042】[0042]

【数2】 [Equation 2]

【0043】評価関数のうち、(4)〜(7)式は、全
てのボリュームにおける数量IO、S、Nとペナ
ルティPの総和をそれぞれ算出するものである。ま
た、(8)式は、数量IOが一定の範囲にないボリュ
ームの数を、(9)式は、数量Sが一定の範囲にない
ボリュームの数を算出するものである。(8)式におけ
るαIO及びβIO、(9)式におけるαSIZE及び
βSIZEは、本システムの運用状況に応じて任意に決
まる値である。また、(10)式のDは分割ファイル
グループのファイルに関するペナルティである。
Among the evaluation functions, equations (4) to (7) are for calculating the sum total of the quantities IO i , S i , N i and the penalty P i in all the volumes. Expression (8) calculates the number of volumes whose quantity IO i is not within a certain range, and expression (9) calculates the number of volumes whose quantity S i is not within a certain range. Α IO and β IO in the formula (8), and α SIZE and β SIZE in the formula (9) are values arbitrarily determined according to the operation status of the system. Further, D i in the equation (10) is a penalty for files in the divided file group.

【0044】そして(4)〜(10)式でそれぞれ得ら
れた値E〜Eは、(11)式において重み付け係数
ε〜εがそれぞれ掛けられて、さらにこれらの総和
Eが算出され、Eの値が評価の尺度となる。本システム
で用いる評価関数は、ファイルの再配置における達成す
べき目的、すなわち各ボリュームにおけるIOカウン
ト、ファイル容量及びファイル数の平準化についての適
性を示すものであり、Eの値は小さいほど評価が高く、
最適なファイル配置である。尚、(11)式における重
み付け係数ε〜εは、本システムの運用状況に応じ
て任意に決定してよい。
Then, the values E 1 to E 7 obtained by the equations (4) to (10) are respectively multiplied by the weighting factors ε 1 to ε 7 in the equation (11), and the sum E thereof is calculated. The value of E is used as the evaluation scale. The evaluation function used in this system shows the purpose to be achieved in file relocation, that is, the suitability for leveling the IO count, file capacity, and number of files in each volume. The smaller the value of E, the better the evaluation. high,
This is the optimal file layout. The weighting factors ε 1 to ε 7 in the equation (11) may be arbitrarily determined according to the operational status of the system.

【0045】本システムは、上記一連の評価処理を、そ
れぞれの遺伝子について行う。評価処理が終わると本シ
ステムは、一定の基準をクリアしたか否かを確認する
(S4)。S4における基準とは、GAの動作を終了す
るか否かの判定基準であり、例えば規定の評価以上の遺
伝子が存在又は発生したか、或いは最高の評価の遺伝子
が規定周期発生しない場合等には、これ以上遺伝子の進
化はないものとみなして、GAを終了し(S4のN
O)、そうでなければ(S4のYES)、GAを続行す
る。本システムでは、一回目の評価の直後には、GAを
終了させないものとしている。そして本システムは、得
られた各遺伝子の評価に基づいて、評価の高い規定数の
遺伝子を抽出する(S5)。S3において本システムで
は、図3に示されるように、生成された遺伝子群31を
評価結果に基づいて、上位遺伝子群42、下位遺伝子群
43及び交差対象遺伝子群34に分類する。
The present system performs the series of evaluation processes described above for each gene. When the evaluation process ends, the system confirms whether or not a certain standard is cleared (S4). The criterion in S4 is a criterion for deciding whether to end the operation of GA. For example, in the case where a gene having a level higher than a prescribed evaluation exists or has occurred, or a gene with the highest evaluation does not occur in a prescribed cycle, etc. , Assuming that there is no further gene evolution, terminate GA (S4 N
O), if not (YES in S4), continue GA. In this system, the GA is not terminated immediately after the first evaluation. Then, the system extracts a predetermined number of highly evaluated genes based on the obtained evaluation of each gene (S5). In S3, in the present system, as shown in FIG. 3, the generated gene group 31 is classified into an upper gene group 42, a lower gene group 43, and a crossing target gene group 34 based on the evaluation result.

【0046】次に、本システムは、交差対象遺伝子群3
4から2個の遺伝子を抽出して交差させ、新たな遺伝子
を1個生成する(S6)。本システムは上記交差を規定
回数繰り返す。規定回数交差が終了すると、本システム
は、適当な個数の遺伝子を抽出して、遺伝子の一部を反
転させることによって、突然変異を発生させる(S
7)。本システムにおける遺伝子の交差及び突然変異
は、図4に示される通りに行われる。また、交差及び突
然変異によって新たに発生した遺伝子は、交差対象遺伝
子群34に含まれ、これにより交差対象遺伝子群34が
再構成される。尚、交差させる遺伝子の部位及び突然変
異で反転させる遺伝子の部位については、任意に決めて
もよい。
Next, the present system uses the cross target gene group 3
Two genes are extracted from 4 and crossed to generate one new gene (S6). The system repeats the above intersection a specified number of times. After the predetermined number of crossovers, the system extracts a proper number of genes and inverts some of the genes to generate mutations (S
7). Gene crossovers and mutations in this system are performed as shown in FIG. Genes newly generated by crossing and mutation are included in the crossing target gene group 34, and thereby the crossing target gene group 34 is reconstructed. The site of the gene to be crossed and the site of the gene to be inverted by mutation may be arbitrarily determined.

【0047】本システムは、交差及び突然変異の操作を
終了すると、交差対象遺伝子群34のに属する遺伝子の
評価を行う(S3)。評価の結果、上位遺伝子群32中
の遺伝子よりも評価の高い遺伝子(図3における最高評
価遺伝子341)が存在する場合、本システムは、図3
に示すように、上位遺伝子32のうち最も評価の低い遺
伝子と、最高評価遺伝子341とを交換する。本システ
ムでは、上位規定数の遺伝子データを上位遺伝子群32
として抜き出し、交差対象遺伝子群34の遺伝子データ
に交差又は突然変異を発生させ、生成された最高評価遺
伝子341とを交換する操作を行うことで、優性遺伝子
が原因となる進化の停滞を防ぎ、より評価の高い遺伝子
の発生を促すことができる。
After completing the crossover and mutation operations, this system evaluates the genes belonging to the crossover target gene group 34 (S3). As a result of the evaluation, when there is a gene having a higher evaluation than the genes in the upper gene group 32 (the highest evaluation gene 341 in FIG. 3), the present system is
As shown in, the lowest-evaluated gene among the upper genes 32 and the highest-evaluated gene 341 are exchanged. In this system, the upper defined gene data is stored in the upper gene group 32.
By performing an operation of crossing or mutation in the gene data of the crossover target gene group 34 and exchanging with the generated highest evaluation gene 341, stagnation of evolution caused by the dominant gene is prevented, and The generation of highly evaluated genes can be promoted.

【0048】本システムは、交差対象遺伝子34に対し
て、上述したS3からS7の操作を繰り返すことによっ
て、より評価の高い遺伝子の生成を試行する。そしてS
3において、規定の評価の最高評価遺伝子341が発生
したか、或いは最高評価遺伝子341が規定周期発生し
ない等の基準がクリアされると(S4のYES)、本シ
ステムはGAを終了する。基準がクリアされなければ
(S4のNO)、本システムはS5に戻り、交差及び突
然変異を繰り返す。GAの終了後、本システムは上位遺
伝子32から最も高い遺伝子を抽出することにより、フ
ァイル配置の最適解を得ることができる。以上が本シス
テムのGAによるファイル最適配置決定処理の動作であ
る。
The present system tries to generate a gene having a higher evaluation by repeating the above-described operations of S3 to S7 for the crossing target gene 34. And S
In 3, when the criteria such as the occurrence of the highest evaluation gene 341 of the prescribed evaluation has occurred or the highest evaluation gene 341 does not occur in the prescribed cycle (YES in S4), the present system ends GA. If the criterion is not cleared (NO in S4), the system returns to S5 and repeats crossing and mutation. After the GA is completed, the system can obtain the optimal solution for the file arrangement by extracting the highest gene from the upper genes 32. The above is the operation of the file optimal layout determination processing by the GA of the present system.

【0049】本システムにおいて、S7で発生させる突
然変異は、S3における評価において最高評価遺伝子3
41が存在しない場合に発生させるようにしてもよい。
このような操作とすることで、適宜に突然変異を発生さ
せ、効率よく最高評価遺伝子341を発生させることが
できる。
In this system, the mutation generated in S7 is the highest evaluated gene 3 in the evaluation in S3.
You may make it generate | occur | produce when 41 does not exist.
With such an operation, mutation can be appropriately generated, and the highest evaluation gene 341 can be efficiently generated.

【0050】次に、本システムにおいて、ファイル最適
配置決定処理に先立って行われることが好ましい、初期
配置設定について、図6〜図8を用いて説明する。図6
は、一般的なホストオンラインシステムにおけるIOカ
ウント数又はファイル容量とボリュームの関係を示した
説明図であり、図7は、本システムにおけるIOカウン
トの説明図であり、図8は、本システムにおけるファイ
ル容量の説明図である。
Next, in the present system, the initial placement setting, which is preferably performed prior to the file optimum placement determination process, will be described with reference to FIGS. Figure 6
FIG. 7 is an explanatory diagram showing the relationship between the IO count number or file capacity and volume in a general host online system, FIG. 7 is an explanatory diagram of the IO count in this system, and FIG. 8 is a file in this system. It is an explanatory view of capacity.

【0051】図6において、図6(A)は、各ボリュー
ムにおけるIOカウント数の分布を示した分布図であ
り、横軸はボリューム番号を、縦軸はIOカウント数を
表している。図6(B)は、各ボリュームにおけるファ
イル容量の分布を示した分布図であり、横軸はボリュー
ム番号を、縦軸はファイル容量を表している。各図にお
いて、IOカウント数は特定のボリュームにおいて頻度
が高く、またファイル容量も特定のボリュームにおいて
大きいことが分かる。また、両図を比較すると、IOカ
ウント数の頻度の高いボリュームと、ファイル容量の大
きいボリュームとは必ずしも一致せず、むしろ負の相関
関係にある。
In FIG. 6, FIG. 6A is a distribution chart showing the distribution of the IO count numbers in each volume, where the horizontal axis represents the volume number and the vertical axis represents the IO count number. FIG. 6B is a distribution diagram showing the distribution of the file capacity in each volume, where the horizontal axis represents the volume number and the vertical axis represents the file capacity. In each figure, it can be seen that the IO count number is high in a specific volume and the file capacity is also large in the specific volume. Further, comparing the two figures, the volume with a high frequency of IO counts and the volume with a large file capacity do not necessarily match, but rather have a negative correlation.

【0052】オンラインシステムのアクセスのかなりの
部分は、特定のファイルに集中することが一般的に知ら
れている。そこで本ファイル再配置システムでは、まず
全てのファイルのIOカウント数を調べ、上位順にファ
イルのリストを作成する。そして上位順に各ファイルを
ボリュームに仮に割り振る。
It is generally known that a significant portion of online system access is concentrated in a particular file. Therefore, in this file relocation system, first, the IO count numbers of all files are checked, and a list of files is created in the order of higher ranks. Then, each file is provisionally allocated to the volume in the order of higher ranks.

【0053】図7において、本システムは、N個のファ
イルをm個のボリュームに配置するものとして説明を行
う。まず、本システムは、N個のファイルに対してIO
カウント数を調べ、IOカウント数に基づいて上位順に
ファイル番号のリストを作成する。
In FIG. 7, the present system will be described assuming that N files are arranged in m volumes. First, this system uses IO for N files.
The number of counts is checked, and a list of file numbers is created in order from the top based on the IO count.

【0054】ここで、本システムは、IOカウント平均
値となるファイルの番号nを求める。本システムではn
の値を、N個のファイルについて仮に上位n個のファイ
ルを上位カウント数ファイル群と、残りn+1〜N番目
までの残りのファイルを下位カウント数ファイル群とし
て分類するために用いる。
Here, the present system obtains the file number n that is the IO count average value. In this system, n
Is used to classify the upper n files of the N files into the upper count number file group and the remaining n + 1 to N-th remaining files as the lower count number file group.

【0055】nの値の算出方法について、詳細に説明す
る。上位i番目のファイルのIOカウント数をIO
表すと、n番目のファイルのIOカウント数IOと、
下位カウント数ファイル群の平均IOカウント数は、
(12)式で表されるような関係となる必要がある。
The method of calculating the value of n will be described in detail. When the IO count number of the upper i-th file is represented as IO i , the IO count number IO n of the n-th file
The average IO count of the lower count files is
It is necessary for the relationship to be expressed by equation (12).

【0056】[0056]

【数3】 [Equation 3]

【0057】(12)式を踏まえ、本システムは、n番
目のファイルのIOカウント数IO と、下位カウント
数ファイル群の平均IOカウント数との差が最小となる
ようなnを決定する。数式で表すと、(13)式の通り
になる。
Based on equation (12), this system is
IO count of the eye file IO nAnd the lower count
Minimal difference from the average IO count of several files
Determine n as such. When expressed by a mathematical formula, as in formula (13)
become.

【0058】[0058]

【数4】 [Equation 4]

【0059】nの値が決定されると、本システムは、各
ファイルをボリュームに仮に割り振る。割り振り方とし
ては、IOカウント数の最も多いファイルはボリューム
1に、2番目のファイルはボリューム2に、というよう
にする。図6の説明図は、割り振り後のボリュームとI
Oカウント数の関係を示したものであり、横軸はボリュ
ーム番号を、縦軸はIOカウント数を示している。
When the value of n is determined, the system provisionally allocates each file to the volume. As the allocation method, the file with the largest IO count number is assigned to volume 1, the second file is assigned to volume 2, and so on. The illustration of FIG. 6 shows the volume and I after allocation.
It shows the relationship of the O count number, the horizontal axis shows the volume number, and the vertical axis shows the IO count number.

【0060】各ファイルがボリュームに割り振られた後
の処理について、図8を用いて具体的に説明する。図8
の説明図は、上位カウント数ファイル群のファイル割り
振り後のボリュームとファイル容量の関係を示したもの
であり、横軸はボリューム番号を、縦軸はファイル容量
を示している。
The process after each file is allocated to the volume will be specifically described with reference to FIG. Figure 8
Is a diagram showing the relationship between the volume and the file capacity of the upper count number file group after file allocation, where the horizontal axis represents the volume number and the vertical axis represents the file capacity.

【0061】一般的なホストオンラインシステムにおい
て、各ボリュームにおけるファイル容量の大小の差は、
IOカウント数の大小の差ほど大きなものとはなってい
ない。また、IOカウント数とファイル容量は正の相関
関係にないため、各ボリュームにおいて、IOカウント
数が上位であっても、ファイル容量は上位であるとは限
らない。よって上位カウント数ファイル群におけるファ
イル容量の分布は、図8に示すような規則性のない波形
となる。
In a general host online system, the difference between the file capacities of the volumes is
It is not as large as the difference between the IO count numbers. Further, since the IO count number and the file capacity do not have a positive correlation, even if the IO count number is high in each volume, the file capacity is not always high. Therefore, the distribution of the file capacity in the upper count number file group has a waveform with no regularity as shown in FIG.

【0062】本発明による好ましいシステムでは、この
上位カウント数ファイル群の割り振りの後にGAを行
う。具体的には、まだ割り振られていないファイルにつ
いて割り振られたファイルを除いたIOカウント及び各
ボリュームにおける全ファイル容量を用いてGAを行
う。ここでペナルティは、n+1〜m番目のボリューム
のみに課する。これにより、より効率的に再配置を行う
ことができる。
In the preferred system according to the present invention, GA is performed after the allocation of the upper count number file group. Specifically, GA is performed using the IO count excluding allocated files and the total file capacity in each volume for files that have not been allocated yet. Here, the penalty is applied only to the n + 1 to m-th volumes. Thereby, the rearrangement can be performed more efficiently.

【0063】次に、本システムにおけるファイル再配置
処理の動作について図1を用いて説明する。資源情報収
集システム3はホストオンラインシステム1におけるフ
ァイル群2へのアクセス状況を監視し、監視状況をアク
セス記録として集計して、ファイル再配置システム4に
出力する。
Next, the operation of the file relocation processing in this system will be described with reference to FIG. The resource information collection system 3 monitors the access status to the file group 2 in the host online system 1, collects the monitor status as an access record, and outputs it to the file relocation system 4.

【0064】ファイル再配置システム4において、アク
セス記録は資源使用状況記憶部11に格納、記憶され
る。アクセス記録はデータ加工処理手段12において、
各ファイルのIOカウント数及びファイル容量と、各ボ
リュームへのファイル配置状態の情報に加工され、加工
データ記憶部13に出力される。そしてファイル最適配
置決定処理手段15は、加工データ記憶部13にアクセ
スし、記憶された情報を読み出し、既述したIOカウン
ト平均値及びファイル容量平均値の算出及びファイルの
初期配置設定を行った後、GAによるファイルの最適配
置決定処理を行う。またファイル最適配置決定処理手段
15は、コントロール情報記憶部14にアクセスして必
要な処理命令を読み込んで、最適配置決定処理を実行す
る。最適配置決定処理が完了すると、ファイル最適配置
決定処理手段15は、処理結果であるファイルの最適配
置情報をファイル配置データ記憶部16に出力する。
In the file relocation system 4, the access record is stored and stored in the resource use status storage unit 11. The access record is recorded in the data processing means 12 by
It is processed into information on the IO count number and file capacity of each file and the file allocation state in each volume, and is output to the processed data storage unit 13. Then, the file optimum placement determination processing means 15 accesses the processed data storage unit 13, reads the stored information, calculates the IO count average value and the file capacity average value, and performs the initial placement setting of the file. , GA to determine the optimum file layout. Further, the file optimum layout determination processing means 15 accesses the control information storage unit 14 to read a necessary processing command, and executes the optimum layout determination processing. When the optimum placement determination processing is completed, the file optimum placement determination processing means 15 outputs the optimum placement information of the file, which is the processing result, to the file placement data storage unit 16.

【0065】ファイル移動JCL作成処理手段17は、
ファイル配置データ記憶部16に新たなファイルの最適
配置情報が入力されると、当該最適配置情報にしたがっ
てファイルを配置するための処理命令(以下、ファイル
配置処理命令)をJCLを用いて生成し、ファイル移動
JCL記憶部18に出力する。ファイル移動処理手段1
9は、ファイル移動処理JCL記憶部18に新たなファ
イル配置処理命令が入力されると、当該処理命令に基づ
いて、ファイル群2における各ファイルを、該当するボ
リュームに再配置する。
The file move JCL creation processing means 17
When the optimal placement information of a new file is input to the file placement data storage unit 16, a processing instruction for placing a file according to the optimal placement information (hereinafter, file placement processing instruction) is generated using JCL, Output to the file move JCL storage unit 18. File move processing means 1
When a new file placement processing command is input to the file migration processing JCL storage unit 9, the server 9 relocates each file in the file group 2 to the corresponding volume based on the processing command.

【0066】本システムにおけるファイル再配置処理
は、バッチ処理を用いて定期的に自動で実行させるよう
にしてもよく、又はユーザからの実行命令によって実行
させるようにしてもよい。また、本システムにおいて、
例えばボリュームが多数ある場合には、ボリュームを複
数のボリューム群に分割し、本システムを用いて各ファ
イルのボリューム群への再配置を行った後、さらに各ボ
リューム群において、本システムを用いて当該ボリュー
ム群に再配置されたファイルの当該ボリューム群に属す
るボリュームへの再配置を行うようにしてもよい。
The file rearrangement process in this system may be automatically executed periodically by using a batch process, or may be executed by an execution instruction from the user. In addition, in this system,
For example, if there are many volumes, divide the volume into multiple volume groups, relocate each file to the volume group using this system, and then use this system in each volume group. The files relocated to the volume group may be relocated to the volumes belonging to the volume group.

【0067】本システムによるファイルの再配置は、例
えばディスクの交換時や、新たなアプリケーションの導
入時等、ファイルのアクセス状況に変化が発生するよう
な場合に行うことが好適である。
The rearrangement of files by this system is preferably performed when the access status of a file changes, such as when a disk is replaced or when a new application is installed.

【0068】上述したように、本システムによれば、各
ファイルをボリュームに再配置するにあたり、各ファイ
ルのIOカウント数及びファイル容量と、各ボリューム
に対して各ファイルが実際に配置されているか否かを示
す配置状態情報を用いたGAによってファイルの最適な
配置を求める最適配置決定処理を行い、処理結果に基づ
いてファイルをボリュームに再配置することにより、多
様な目的を同時に満たすファイルの再配置を短時間で効
率的に行うことができる効果がある。
As described above, according to this system, when rearranging each file in the volume, the IO count number and file capacity of each file and whether each file is actually arranged in each volume or not. Relocation of files satisfying various purposes at the same time by performing the optimal placement determination process for obtaining the optimal placement of files by GA using the placement status information indicating that, and relocating the files to the volume based on the processing result. There is an effect that can be efficiently performed in a short time.

【0069】特に本システムでは、GAは、全てのファ
イルについてのボリュームへの配置状態を二進数表現で
示したランダムな遺伝子を作成し、ボリュームに対する
ファイル配置の適性を示す評価関数を用いて遺伝子評価
し、評価結果に基づき遺伝子のうち評価の低いものを除
去して、残りの遺伝子のグループを抽出し、グループ中
の任意の2つの遺伝子に対し交差を行い、及び/又は所
定の遺伝子データに対し突然変異を発生させて新たな遺
伝子を生成してグループの再構成を行い、遺伝子評価に
おいて規定の条件を満たすまで、グループ中の遺伝子の
交差、突然変異及び評価を繰り返し行い、GAの終了
後、評価が最高となる遺伝子をファイルの最適な配置と
して出力することにより、遺伝的アルゴリズムで生成さ
れる遺伝子のファイル再配置の適性を評価できるため、
多様な目的を同時に満たすファイルの再配置を短時間で
効率的に行うことができる。
In particular, in this system, the GA creates a random gene in which the arrangement state of all files in the volume is expressed by a binary number, and the gene evaluation is performed using an evaluation function showing the suitability of the file arrangement for the volume. Then, the ones with low evaluation among the genes are removed based on the evaluation result, the groups of the remaining genes are extracted, crossover is performed with respect to any two genes in the group, and / or with respect to predetermined gene data. Generating a new gene to generate a new gene to reconstruct the group, repeat the crossover, mutation and evaluation of the genes in the group until the specified condition is satisfied in the gene evaluation, and after the GA is completed, By outputting the gene with the highest evaluation as the optimal layout of the file, the gene algorithm generated by the genetic algorithm is filtered. Since it is possible to evaluate the suitability of relocation,
Files that satisfy various purposes at the same time can be relocated in a short time and efficiently.

【0070】また、本システムでは、GAにおいて、各
ボリュームにおけるIOカウント数、ファイル容量及び
ファイル数の適性を示す評価関数を用いて遺伝子の評価
を行っているため、各ボリュームにおけるIOカウント
数、ファイル容量及びファイル数を一定条件下で平準化
できるファイルの最適な配置を短時間で効率よく求める
ことができる効果がある。
Further, in this system, in the GA, the gene is evaluated by using the evaluation function showing the suitability of the IO count number, file capacity and the file number in each volume, so that the IO count number and the file in each volume are evaluated. There is an effect that it is possible to efficiently find the optimum arrangement of files that can equalize the capacity and the number of files under a certain condition in a short time.

【0071】また、本システムでは、抽出されたグルー
プ中の遺伝子のうち、上位規定数の遺伝子を上位遺伝子
群32として抜き出し、残りの遺伝子を交差対象遺伝子
群34として分類し、交差又は突然変異を行って再構成
し、交差対象遺伝子群34の遺伝子の遺伝子評価の結
果、上位遺伝子群32の遺伝子よりも評価の高い遺伝子
が存在する場合、上位遺伝子群32のうち最も評価の低
い遺伝子と交換することにより、より評価の高い遺伝子
の発生を促すことができ、多様な目的を同時に満たすフ
ァイルの再配置を一層短時間で効率的に行うことができ
る効果がある。
Further, in the present system, among the genes in the extracted group, the upper defined number of genes are extracted as the upper gene group 32, the remaining genes are classified as the crossover target gene group 34, and the crossover or mutation is performed. As a result of the gene evaluation of the genes of the crossover target gene group 34 after performing the reconstruction, when there is a gene having a higher evaluation than the gene of the upper gene group 32, the gene having the lowest evaluation is exchanged with the upper gene group 32. As a result, it is possible to promote the generation of highly evaluated genes, and to rearrange files that simultaneously satisfy various purposes at the same time in an even shorter time.

【0072】また、本システムでは、交差対象遺伝子群
34において最も評価の高い遺伝子が規定期間生成され
ない場合、突然変異を発生させることにより、適宜に突
然変異を発生させることができ、多様な目的を同時に満
たすファイルの再配置を一層短時間で効率的に行うこと
ができる効果がある。
In addition, in the present system, when a gene having the highest evaluation in the crossover target gene group 34 is not generated for a prescribed period, it is possible to appropriately generate a mutation by generating a mutation. There is an effect that the files to be simultaneously filled can be efficiently rearranged in a shorter time.

【0073】また、本システムを用いて、ホストオンラ
インシステムにおけるファイルの再配置を行わせること
によって、多様な目的を同時に満たすファイルの再配置
を短時間で効率的に行うことができ、再配置の結果とし
てファイルへのアクセス時間を低減できるため、ホスト
オンラインシステムのパフォーマンスを向上できる効果
がある。
Further, by relocating the files in the host online system using this system, the relocation of the files satisfying various purposes at the same time can be performed efficiently in a short time. As a result, the access time to the file can be reduced, which has the effect of improving the performance of the host online system.

【0074】[0074]

【発明の効果】本発明によれば、ファイル再配置システ
ムにおいて、多様な目的を同時に満たすファイルの再配
置を短時間で効率的に行うことができる効果がある。
According to the present invention, in the file relocation system, it is possible to efficiently relocate files that simultaneously satisfy various purposes in a short time.

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

【図1】本発明の実施の形態に係るファイル再配置シス
テムを含む全体構成のブロック図である。
FIG. 1 is a block diagram of an overall configuration including a file relocation system according to an exemplary embodiment of the present invention.

【図2】本発明の実施の形態に係るファイル再配置シス
テムで用いるGAにおける遺伝子の生成方法についての
説明図である。
FIG. 2 is an explanatory diagram of a gene generation method in GA used in the file rearrangement system according to the exemplary embodiment of the present invention.

【図3】本発明の実施の形態に係るファイル再配置シス
テムにおける遺伝子の抽出及び分類状況を示した説明図
である。
FIG. 3 is an explanatory diagram showing gene extraction and classification states in the file rearrangement system according to the exemplary embodiment of the present invention.

【図4】GAにおける交差及び突然変異の説明図であ
る。
FIG. 4 is an explanatory diagram of crossover and mutation in GA.

【図5】本発明の実施の形態に係るファイル再配置シス
テムにおけるGAによるファイル最適配置決定処理のフ
ローチャート図である。
FIG. 5 is a flowchart diagram of a file optimal placement determination process by a GA in the file reallocation system according to the embodiment of the present invention.

【図6】ホストオンラインシステムにおけるIOカウン
ト数及びファイル容量と、ボリュームの関係を示した説
明図である。
FIG. 6 is an explanatory diagram showing the relationship between the IO count number, file capacity, and volume in the host online system.

【図7】本発明の一実施形態によるIOカウント数対ボ
リュームの図である。
FIG. 7 is a diagram of IO count number versus volume according to one embodiment of the invention.

【図8】本発明の一実施形態によるファイル容量対ボリ
ュームの図である。
FIG. 8 is a diagram of file capacity versus volume according to one embodiment of the invention.

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

1…ホストオンラインシステム、 2…ファイル群、
3…資源情報収集システム、 4…ファイル再配置シス
テム、 11…資源使用状況記憶部、 12…データ加
工処理手段、 13…加工データ記憶部、 14…コン
トロール記憶部、 15…ファイル最適配置決定処理手
段、 16…ファイル配置データ記憶部、 17…ファ
イル移動JCL作成処理手段、 18…ファイル移動処
理JCL記憶部、 19…ファイル移動処理手段、 3
1…遺伝子群、 32…上位遺伝子群、 33…下位遺
伝子群、 34…交差対象遺伝子群、 341…最高評
価遺伝子
1 ... Host online system, 2 ... File group,
3 ... Resource information collection system, 4 ... File relocation system, 11 ... Resource usage status storage unit, 12 ... Data processing unit, 13 ... Processing data storage unit, 14 ... Control storage unit, 15 ... Optimal file placement determination processing unit , 16 ... File arrangement data storage unit, 17 ... File move JCL creation processing unit, 18 ... File move processing JCL storage unit, 19 ... File move processing unit, 3.
1 ... Gene group, 32 ... Upper gene group, 33 ... Lower gene group, 34 ... Cross target gene group, 341 ... Highest evaluation gene

───────────────────────────────────────────────────── フロントページの続き (72)発明者 吉川 達雄 東京都江東区冬木15番6号 株式会社大和 総研内 Fターム(参考) 5B082 AA01 CA05 CA11    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Tatsuo Yoshikawa             Yamato Co., Ltd. 15-6 Fuyuki, Koto-ku, Tokyo             Soken F-term (reference) 5B082 AA01 CA05 CA11

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータにおいて複数のボリューム
に配置されたファイルを複数のボリュームに再配置する
にあたり、各ファイルの入出力負荷及びファイル容量
と、各ボリュームに対して各ファイルが実際に配置され
ているか否かを示す配置状態情報を用いて遺伝的アルゴ
リズムによる演算を行い、各ファイルに対し最適又は略
最適な配置となるボリュームを決定する最適配置決定処
理を行い、処理結果に基づいて各ファイルを該当するボ
リュームに再配置することを特徴とするファイル再配置
システム。
1. When relocating a file placed in a plurality of volumes in a computer to a plurality of volumes, the input / output load and file capacity of each file and whether each file is actually placed in each volume. A genetic algorithm is used to calculate the optimal placement determination process that determines the optimal or nearly optimal volume for each file by using the placement status information that indicates whether or not each file is matched based on the processing result. File relocation system characterized by relocating to a volume to be used.
【請求項2】 コンピュータにおいて複数のボリューム
に配置されたファイルを複数のボリュームに再配置する
ファイル再配置システムであって、 汎用コンピュータにおける資源使用状況から、各ファイ
ルの入出力負荷及びファイル容量と、各ボリュームに対
して各ファイルが実際に配置されているか否かを示す配
置状態情報とを生成して出力するデータ加工部と、 前記データ加工部において生成されたデータを用いて、
遺伝的アルゴリズムによる演算を行い、各ファイルに対
し最適又は略最適な配置となるボリュームを決定する最
適配置決定処理を行うファイル最適配置部と、 前記最適配置決定処理の処理結果に基づいて各ファイル
を該当するボリュームに再配置するファイル移動処理部
とを有することを特徴とするファイル再配置システム。
2. A file relocation system for relocating files arranged in a plurality of volumes in a computer to a plurality of volumes, the input / output load and the file capacity of each file from the resource usage status in a general-purpose computer, Using the data generated by the data processing unit that generates and outputs the arrangement state information indicating whether or not each file is actually arranged for each volume, using the data generated by the data processing unit,
A file optimal placement unit that performs an operation by a genetic algorithm and performs an optimal placement determination process that determines a volume that is an optimal or substantially optimal placement for each file, and a file optimal placement unit that assigns each file based on the processing result of the optimal placement determination process. A file relocation system having a file migration processing unit for relocating to a corresponding volume.
【請求項3】 遺伝的アルゴリズムは、各ファイルにつ
いてのボリュームへの配置状態を二進数表現で示したラ
ンダムな遺伝子データを複数生成する遺伝子生成手段
と、 ファイル再配置でボリュームに対するファイル配置の適
性を示す評価関数を用いて遺伝子データの評価を行う遺
伝子評価手段と、 前記評価関数による評価結果に基づいて評価の低い規定
数の遺伝子データを除き、残りの遺伝子データのグルー
プを抽出するグループ抽出手段と、 前記グループから任意の2つの遺伝子データを抽出し、
前記抽出した遺伝子データの一部を交換して新たな遺伝
子データを生成し、前記生成された遺伝子データでグル
ープを再構成する交差手段と、 前記グループから任意の遺伝子データを抽出し、前記抽
出したデータの一部を変更して新たな遺伝子データを生
成し、前記生成された遺伝子データでグループを再構成
する突然変異手段とを有し、 前記遺伝子生成手段で生成された遺伝子データを、前記
遺伝子評価手段で評価し、前記グループ抽出手段でグル
ープの抽出を行い、前記交差手段及び前記突然変異手段
で前記グループの再構成を行い、 更に、前記交差手段及び前記突然変異手段において再構
成されたグループ中の遺伝子データを、前記遺伝子評価
手段において評価し、前記遺伝子評価手段において規定
の条件を満たすまで、前記交差手段、前記突然変異手段
及び前記遺伝子評価手段における処理を繰り返し行うア
ルゴリズムであり、 ファイル最適配置部は、遺伝的アルゴリズムによる演算
終了後、評価の結果が最高または略最高となる遺伝子デ
ータをファイル移動処理部に出力することを特徴とする
請求項2記載のファイル再配置システム。
3. The genetic algorithm comprises a gene generating means for generating a plurality of random gene data in which the arrangement state of each file in a volume is expressed in binary notation, and the file rearrangement determines the suitability of the file arrangement for the volume. Gene evaluation means for evaluating gene data using the evaluation function shown, and a group extraction means for extracting a group of the remaining gene data except for a prescribed number of low-evaluation gene data based on the evaluation result by the evaluation function, , Extracting any two gene data from the group,
Intersection means for exchanging a part of the extracted gene data to generate new gene data, and reconstructing a group with the generated gene data, and extracting arbitrary gene data from the group, and extracting the gene data. Generating new gene data by changing a part of the data, and having a mutation means for reconstructing a group with the generated gene data, the gene data generated by the gene generating means, The groups evaluated by the evaluation means, the groups extracted by the group extraction means, the groups reconstructed by the intersecting means and the mutation means, and the groups reconstructed by the intersection means and the mutation means The gene data in the medium is evaluated by the gene evaluation means, and the crossing operation is performed until the specified condition is satisfied by the gene evaluation means. An algorithm for repeatedly performing the processing in the mutation means and the gene evaluation means, wherein the file optimal placement unit is a file migration processing unit for the gene data having the highest or almost the highest evaluation result after the completion of the calculation by the genetic algorithm. 3. The file rearrangement system according to claim 2, wherein the file is rearranged.
【請求項4】 評価関数は、ボリュームあたりの入出力
カウント平均値に対する各ボリュームにおける入出力カ
ウントの比の総和に所定の重み係数を掛けた値と、 ボリュームあたりのファイル容量平均値に対する各ボリ
ュームにおけるファイル容量の比の総和に所定の重み係
数を掛けた値と、 ボリュームあたりのファイル数平均値に対する各ボリュ
ームにおけるファイル数の比の総和に所定の重み係数を
掛けた値を用いており、これらの値を加算して遺伝子デ
ータの評価を行うことを特徴とする請求項3記載のファ
イル再配置システム。
4. The evaluation function is a value obtained by multiplying a sum of ratios of input / output counts in each volume with respect to an average value of input / output counts per volume by a predetermined weighting coefficient, and a value in each volume with respect to an average value of file capacity per volume. The value obtained by multiplying the total sum of the file capacity ratios by a predetermined weighting factor and the sum of the ratio of the number of files in each volume to the average number of files per volume by a predetermined weighting factor are used. The file rearrangement system according to claim 3, wherein the gene data is evaluated by adding the values.
【請求項5】 評価関数は、各ボリュームにおけるファ
イルの個数に対応して決まるペナルティの総和に所定の
重み付け係数を掛けた値を用いており、この値を加算し
て遺伝子データの評価を行うことを特徴とする請求項4
記載のファイル再配置システム。
5. The evaluation function uses a value obtained by multiplying the total sum of penalties determined according to the number of files in each volume by a predetermined weighting coefficient, and evaluates gene data by adding this value. 5. The method according to claim 4, wherein
File relocation system described.
【請求項6】評価関数は、入出力の競合の回避及び/又
はファイルの排他制御のために分割してできた複数の分
散ファイルが同じボリュームにある場合にペナルティを
設定することを特徴とする請求項5記載のファイル再配
置システム。
6. The evaluation function is characterized in that a penalty is set when a plurality of distributed files formed by division for avoiding I / O contention and / or exclusive control of files are in the same volume. The file relocation system according to claim 5.
【請求項7】 評価関数は、入出力カウントが一定の範
囲にないボリュームの数に所定の重み付け係数を掛けた
値を用いており、この値を加算して遺伝子データの評価
を行うことを特徴とする請求項4乃至6いずれか記載の
ファイル再配置システム。
7. The evaluation function uses a value obtained by multiplying the number of volumes whose input / output count is not within a certain range by a predetermined weighting coefficient, and evaluates gene data by adding this value. The file relocation system according to any one of claims 4 to 6.
【請求項8】 評価関数は、ファイル容量が一定の範囲
にないボリュームの数に所定の重み付け係数を掛けた値
を用いており。この値を加算して遺伝子データの評価を
行うことを特徴とする請求項4乃至7いずれか記載のフ
ァイル再配置システム。
8. The evaluation function uses a value obtained by multiplying the number of volumes whose file capacity is not within a certain range by a predetermined weighting coefficient. 8. The file rearrangement system according to claim 4, wherein the gene data is evaluated by adding this value.
【請求項9】 ファイル最適配置部は、グループ抽出手
段において、グループに属する遺伝子データのうち、上
位規定数の遺伝子データを抜き出し、グループ再構成手
段において、抜き出されなかった遺伝子データについて
一部交換又は一部変更を行い、遺伝子評価手段におい
て、抜き出された遺伝子データよりも評価の高い遺伝子
データが存在する場合、前記評価の高い遺伝子データ
と、前記抜き出された遺伝子データのうち最も評価の低
い遺伝子データとを交換することを特徴とする請求項3
乃至8いずれか記載のファイル再配置システム。
9. The file optimal arranging unit extracts, by the group extracting unit, a prescribed number of gene data out of the gene data belonging to the group, and the group reconstructing unit partially exchanges the gene data not extracted. Or, when some changes are made and the gene evaluation means has gene data with a higher evaluation than the extracted gene data, the highest evaluation of the gene data with the highest evaluation and the extracted gene data 4. Exchange with low genetic data.
8. The file relocation system according to any one of 8 to 8.
【請求項10】 ファイル最適配置部は、遺伝子評価手
段において最高評価の遺伝子データが規定期間生成され
ない場合に、引き続き行うグループ再構成のときにおい
て一部変更を行うことを特徴とする請求項3乃至9記載
のファイル再配置システム。
10. The file optimal arrangement unit makes a partial change in the subsequent group reconstruction when the gene evaluation unit does not generate the highest-evaluated gene data for a prescribed period. 9. The file relocation system according to item 9.
【請求項11】 請求項1乃至10いずれか記載のファ
イル再配置システムを用いてファイルの再配置を行わせ
ることを特徴とするホストオンラインシステム。
11. A host online system, wherein the file relocation system according to claim 1 is used to relocate a file.
JP2002096927A 2002-03-29 2002-03-29 File relocation system Pending JP2003296150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002096927A JP2003296150A (en) 2002-03-29 2002-03-29 File relocation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002096927A JP2003296150A (en) 2002-03-29 2002-03-29 File relocation system

Publications (1)

Publication Number Publication Date
JP2003296150A true JP2003296150A (en) 2003-10-17

Family

ID=29387552

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002096927A Pending JP2003296150A (en) 2002-03-29 2002-03-29 File relocation system

Country Status (1)

Country Link
JP (1) JP2003296150A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010097674A (en) * 2008-10-20 2010-04-30 Cri Middleware Co Ltd Data processing device, data processing method, and program
JP2016517588A (en) * 2013-03-14 2016-06-16 カリフォルニア インスティチュート オブ テクノロジー Distributed storage allocation for heterogeneous systems
CN111312396A (en) * 2020-02-21 2020-06-19 光瀚健康咨询管理(上海)有限公司 Individual wine capacity evaluation method and system based on wine capacity related factors

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010097674A (en) * 2008-10-20 2010-04-30 Cri Middleware Co Ltd Data processing device, data processing method, and program
JP2016517588A (en) * 2013-03-14 2016-06-16 カリフォルニア インスティチュート オブ テクノロジー Distributed storage allocation for heterogeneous systems
CN111312396A (en) * 2020-02-21 2020-06-19 光瀚健康咨询管理(上海)有限公司 Individual wine capacity evaluation method and system based on wine capacity related factors
CN111312396B (en) * 2020-02-21 2023-09-29 南通中科医学检验实验室有限公司 Individual alcohol content assessment method and system based on alcohol content related factors

Similar Documents

Publication Publication Date Title
Xambre et al. A simulated annealing approach for manufacturing cell formation with multiple identical machines
Baykasoğlu et al. Stochastic U-line balancing using genetic algorithms
EP0708942B1 (en) Method and structure for evaluating and enhancing the performance of cache memory systems
US6978259B1 (en) Automated system adaptation technique particularly for data storage systems
US11921725B2 (en) Processing queries based on rebuilding portions of virtual segments
JP4475614B2 (en) Job assignment method and parallel processing method in parallel processing method
Sethi et al. RecShard: statistical feature-based memory optimization for industry-scale neural recommendation
JP5051135B2 (en) Resource information collection device, resource information collection method, program, and collection schedule generation device
JP7040319B2 (en) Operation management device, destination recommended method and destination recommended program
JP2004530967A (en) Method and apparatus for developing a prediction model
US8122450B2 (en) Method and apparatus for distributing memory in a data processing system
CN1327196A (en) Information processing system and distribution method of storage device
JP5134601B2 (en) Production schedule creation device
JP7196489B2 (en) Optimization Problem Calculation Program, Optimization Problem Calculation Method, and Optimization Problem Calculation Device
US11734355B2 (en) Processing queries based on level assignment information
JP2015197721A (en) Storage device adjustment device, hierarchical storage design program, and hierarchical storage design method
Bruder et al. A hybrid in situ approach for cost efficient image database generation
Chandra Gope Dynamic data allocation methods in distributed database system
CN104778088B (en) A kind of Parallel I/O optimization methods and system based on reduction interprocess communication expense
JP2003296150A (en) File relocation system
Viswanathan Configuring cellular manufacturing systems: a quadratic integer programming formulation and a simple interchange heuristic
CN111984403A (en) Method and system for distributing and deploying software components in distributed system
US6952701B2 (en) Simultaneous array configuration and store assignment for a data storage system
Kumar et al. An extended approach to Non-Replicated dynamic fragment allocation in distributed database systems
JP2003296149A (en) File relocation system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080314

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080509

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080625