JP2006277530A - Allocation system, allocation apparatus, allocation method and program for the same - Google Patents

Allocation system, allocation apparatus, allocation method and program for the same Download PDF

Info

Publication number
JP2006277530A
JP2006277530A JP2005098098A JP2005098098A JP2006277530A JP 2006277530 A JP2006277530 A JP 2006277530A JP 2005098098 A JP2005098098 A JP 2005098098A JP 2005098098 A JP2005098098 A JP 2005098098A JP 2006277530 A JP2006277530 A JP 2006277530A
Authority
JP
Japan
Prior art keywords
storage
disk
area
allocation
user
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
JP2005098098A
Other languages
Japanese (ja)
Inventor
Tomohisa Yazaki
友久 矢崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2005098098A priority Critical patent/JP2006277530A/en
Publication of JP2006277530A publication Critical patent/JP2006277530A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technique that allocates space as reducing variations in service processing latency due to different use conditions of disks in a system having a plurality of disk devices (storage parts) and requiring disk spaces for respective users. <P>SOLUTION: For the allocation of a disk to a new user, the free space and access frequency of each disk are checked, and the disk that has a free space not smaller than a space to be allocated and has the lowest record of disk I/O volume per predetermined time out of the plurality of disk devices is allocated for the space for the new user. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ディスク領域の割り当てに関する技術であり、特に全てのユーザに同等のレスポンス時間でサービスを提供できるようにディスク領域を割り当てる技術に関する。   The present invention relates to a technique for allocating a disk area, and particularly to a technique for allocating a disk area so that a service can be provided to all users with an equivalent response time.

一般に、ディスク領域を割り当てる技術がいくつか提供されている。   In general, several techniques for allocating disk space are provided.

特許文献1では、アプリケーションが実行され、このアプリケーションが指定するファイルのopen/create命令が発行されると、ユーザが指定した方針、即ちアプリケーションの特性に応じてストレージ装置の空き容量やストレージ装置へのアクセス頻度等の各ストレージ装置の評価データを収集し、この収集した評価データに基づいてストレージ装置を割り当てる技術を提供している。   In Patent Document 1, when an application is executed and an open / create command for a file specified by the application is issued, the free capacity of the storage apparatus and the storage apparatus are allocated according to the policy specified by the user, that is, the characteristics of the application. There is provided a technique for collecting evaluation data of each storage device such as access frequency and allocating the storage device based on the collected evaluation data.

しかしながら、この特許文献1の技術では、上述したようにアプリケーション毎にストレージ装置が割り当てられるため、同一アプリケーションを使用するユーザが集中した場合、同一ストレージ装置が割り当てられるユーザが多発してしまい、レスポンスが遅れてしまうという問題がある。   However, in the technique of Patent Document 1, since a storage device is allocated for each application as described above, when users who use the same application are concentrated, a number of users to which the same storage device is allocated frequently occur, and a response is generated. There is a problem of being delayed.

また、ユーザ毎にディスク領域を割り当てる一般的な技術として、新規ユーザの追加時、新規ユーザに割り当てるディスクの量と、ディスクの残り空き容量とを比較して領域を割り当てられるかどうかを判断してから割り当てている。   In addition, as a general technique for allocating disk space for each user, when adding a new user, it is determined whether the space can be allocated by comparing the amount of disk allocated to the new user with the remaining free disk space. Assigned from.

しかし、このような方法でディスク領域を割り当てた場合、ディスクに割り当てられたユーザのサービス利用状況により、それぞれのディスクの使用状況にばらつきが出ることになる。時間あたりに多量のディスクアクセスを必要とするようなサービスの使い方をするユーザがあるディスクに集中した場合、他のディスクに比べて多くのディスクアクセスが定常的に行なわれることになる。   However, when the disk area is allocated by such a method, the usage status of each disk varies depending on the service usage status of the user allocated to the disk. When a user who uses a service that requires a large amount of disk access per hour concentrates on a certain disk, many disk accesses are performed on a regular basis compared to other disks.

ディスクが処理できる時間あたりの最大のI/O(Input/Output)量を上回るようなアクセスがあるディスクでは、I/O待ちによってユーザの要求に対するレスポンスが遅れる一方で、他のディスクではI/O量に余裕がありユーザの要求に対して遅延なくレスポンスを返すことができ、ディスクごとにサービス状況が異なるという状況になる。全てのユーザに対してレスポンスの遅れを生じることなくサービスを実施するためには、各ディスクの所定時間あたりのI/O量が均等になるように何らかの調整を行う必要があり、これを解決するための技術も開示されている(特許文献2)。   In a disk having an access exceeding the maximum input / output (I / O) amount that can be processed by the disk, a response to a user request is delayed by waiting for I / O, while in other disks, the I / O is delayed. Since there is a sufficient amount, a response can be returned without delay to the user's request, and the service status varies from disk to disk. In order to provide service to all users without causing a delay in response, it is necessary to make some adjustments so that the I / O amount per predetermined time of each disk is equalized. A technique for this is also disclosed (Patent Document 2).

特許文献2では、記憶装置のI/O量を含めたシステムの構成要素の稼動状況を考慮し、ディスク装置の論理構成変更などを変更して性能のチューニングを行う性能管理に関する技術を提供している。   Patent Document 2 provides a technique related to performance management that performs performance tuning by changing the logical configuration change of a disk device in consideration of the operation status of system components including the I / O amount of the storage device. Yes.

しかし、この特許文献1の技術ではサービスの実行時にチューニングを行なうため、チューニングの処理でCPUやI/Oなどの計算機資源が使用され、チューニング自体のためにシステムの性能が劣化するという問題がある。
特開2004−070971 特開2004−302751
However, since the technique of this Patent Document 1 performs tuning at the time of service execution, there is a problem that computer resources such as CPU and I / O are used in the tuning process, and the performance of the system deteriorates due to the tuning itself. .
JP2004070971 JP 2004-302751 A

本発明が解決しようとする課題は、上記問題点を鑑みることであって、複数のディスク装置(記憶部)を持ちユーザごとのディスク領域を必要とするシステムで、ディスクごとの使用状況の差異によるサービスの処理待ち時間のばらつきを抑えるように、領域を割り当てる技術を提供することである。   The problem to be solved by the present invention is to take the above-mentioned problems into consideration, and in a system having a plurality of disk devices (storage units) and requiring a disk area for each user, due to a difference in usage situation for each disk. It is to provide a technique for allocating areas so as to suppress variations in service processing latency.

また、サービスの実施時には性能チューニングのための処理を必要としないように、領域を割り当てる技術を提供することにある。   It is another object of the present invention to provide a technology for allocating areas so that processing for performance tuning is not required at the time of service execution.

上記課題を解決するための第1の発明は、新規ユーザに記憶領域を割り当てる割当システムであって、
データが記憶される複数の記憶部と、
前記各記憶部の空き領域の大きさ及び前記各記憶部へのアクセス頻度を測定する測定手段と、
前記測定結果に基づいて、割り当てる記憶領域を決定する決定手段と、
前記決定された記憶領域に関する情報と新規ユーザを一意に識別するユーザ識別情報とが対応付けられて記憶される管理部と
を有することを特徴とする。
A first invention for solving the above problem is an allocation system for allocating a storage area to a new user,
A plurality of storage units for storing data;
Measuring means for measuring the size of the free area of each storage unit and the frequency of access to each storage unit;
Determining means for determining a storage area to be allocated based on the measurement result;
The management unit stores information related to the determined storage area and user identification information for uniquely identifying a new user.

上記課題を解決するための第2の発明は、上記第1の発明において、
前記決定手段は、
新規ユーザに割り当てるべき記憶領域の大きさより、前記記憶部の空き領域の大きさの方が大きい記憶部の中、アクセス頻度が一番少ない記憶部に記憶領域の割り当てを決定する手段であることを特徴とする。
According to a second invention for solving the above-mentioned problem, in the first invention,
The determining means includes
It is means for determining the allocation of a storage area to a storage unit having the least access frequency among the storage units having a larger free area size than the storage area to be allocated to a new user. Features.

上記課題を解決するための第3の発明は、上記第1または第2の発明において、アクセス要求を受信した際、アクセス要求に含まれるユーザ識別情報に基づいて、このユーザ識別情報に対応付けられている記憶領域に関する情報を前記管理部から読み出し、読み出した記憶領域に関する情報に基づいて前記記憶部にアクセスするアクセス手段を有することを特徴とする。   According to a third aspect of the present invention for solving the above-described problem, when the access request is received in the first or second aspect, the user identification information is associated with the user identification information based on the user identification information included in the access request. It has an access means which reads the information regarding the storage area currently read from the said management part, and accesses the said memory | storage part based on the read information regarding the storage area.

上記課題を解決するための第4の発明は、新規ユーザに記憶領域を割り当てる割当装置であって、
データが記憶される複数の記憶部における空き領域の大きさ及びアクセス頻度を記憶部毎に管理する管理部と、
前記管理部が管理している情報に基づいて割り当てる領域を決定する決定手段と
を有することを特徴とする。
A fourth invention for solving the above problem is an allocating device for allocating a storage area to a new user,
A management unit that manages the size and access frequency of free areas in a plurality of storage units in which data is stored;
And determining means for determining an area to be allocated based on information managed by the management unit.

上記課題を解決するための第5の発明は、上記第4の発明において、
前記決定手段は、
新規ユーザに割り当てるべき記憶領域の大きさより前記記憶部の空き領域の大きさの方が大きい記憶部の中、アクセス頻度が一番少ない記憶部に記憶領域の割り当てを決定する手段であることを特徴とする。
A fifth invention for solving the above-mentioned problems is the above-mentioned fourth invention,
The determining means includes
It is a means for determining the allocation of a storage area to a storage unit having the least access frequency among the storage units having a larger free area size than the storage area to be allocated to a new user. And

上記課題を解決するための第6の発明は、新規ユーザに記憶領域を割り当てる割当方法であって、
複数の記憶部の空き領域の大きさ及び各記憶部へのアクセス頻度を測定する測定ステップと、
前記測定結果に基づいて、割り当てる記憶領域を決定する決定ステップと、
前記決定された記憶領域に関する情報と新規ユーザを一意に識別するユーザ識別情報とを対応付けて記憶させる記憶ステップと
を有することを特徴とする。
A sixth invention for solving the above problem is an allocation method for allocating a storage area to a new user,
A measuring step for measuring the size of the free area of the plurality of storage units and the frequency of access to each storage unit;
A determination step of determining a storage area to be allocated based on the measurement result;
And storing information relating to the determined storage area and user identification information for uniquely identifying a new user.

上記課題を解決するための第7の発明は、上記第6の発明において、
前記決定ステップは、
新規ユーザに割り当てるべき記憶領域の大きさと、前記測定した記憶部の空き領域の大きさとを比較して、空き領域の大きさの方が大きい記憶部を検索する検索ステップと、
前記検索した記憶部の中、アクセス頻度が一番少ない記憶部に割り当てる記憶領域を決定する決定ステップと
を有することを特徴とする。
The seventh invention for solving the above-mentioned problems is the above-mentioned sixth invention,
The determining step includes
A search step for comparing the size of the storage area to be allocated to the new user and the size of the measured free area of the storage section to search for a storage section having a larger free area size,
A determining step of determining a storage area to be allocated to the storage unit having the least access frequency among the searched storage units.

上記課題を解決するための第8の発明は、上記第6又は第7の発明において、
アクセス要求を受信する受信ステップと、
前記受信したアクセス要求に含まれるユーザ識別情報に基づいて、このユーザ識別情報に対応付けられている記憶領域に関する情報を読み出す読み出しステップと、
前記読み出した記憶領域に関する情報に基づいて前記記憶部にアクセスするアクセスステップと
を有することを特徴とする。
An eighth invention for solving the above-described problems is the above sixth or seventh invention,
A receiving step for receiving an access request;
Based on the user identification information included in the received access request, a reading step of reading out information related to the storage area associated with the user identification information;
And an access step for accessing the storage unit based on the read information relating to the storage area.

上記課題を解決するための第9の発明は、新規ユーザに記憶領域を割り当てる割当装置のプログラムであって、前記プログラムは、前記割当装置を、
データが記憶される複数の記憶部における空き領域の大きさ及びアクセス頻度を記憶部毎に管理する管理部と、
前記管理部が管理している情報に基づいて割り当てる領域を決定する決定手段と
して機能させることを特徴とする。
A ninth invention for solving the above-described problem is a program for an allocating device that allocates a storage area to a new user, and the program
A management unit that manages the size and access frequency of free areas in a plurality of storage units in which data is stored;
It is made to function as a determination means which determines the area | region to allocate based on the information which the said management part manages.

本発明は、新規ユーザに対するディスクの割り当て時に、空き領域と各ディスクのアクセス頻度とを確認し、新規ユーザに割り当てるべき領域があり、尚且つ一番アクセス頻度が少ないディスクに対して領域の割り当てを行なう。これにより、全てのディスクのI/O状況がほぼ同じである状態が維持できることになり、すべてのユーザに同等のレスポンス時間でサービスを提供することができる。また、サービスの実施時には性能チューニングのための処理を必要としないため、チューニングのためにシステムの性能が劣化するということがない。   The present invention checks the free space and the access frequency of each disk when allocating a disk to a new user, and allocates an area to a disk that has an area to be allocated to the new user and has the least access frequency. Do. As a result, a state in which the I / O statuses of all the disks are substantially the same can be maintained, and a service can be provided to all users with an equivalent response time. In addition, since performance tuning processing is not required at the time of service implementation, system performance does not deteriorate due to tuning.

本発明によると、ディスクへのアクセス量がそれぞれのディスクでほぼ均一になるので、ユーザ毎にI/O待ちによる処理の遅れがあったり、なかったりということがない状態でサービスを提供できる。   According to the present invention, since the access amount to the disk is almost uniform for each disk, it is possible to provide a service in a state where there is no delay in processing due to I / O waiting for each user.

また、本発明によると、ディスクごとに処理状況が異なるという状況にならないため、サービスの実施時に性能チューニングのための処理が不必要となり、チューニングのためにシステムの性能が劣化するということがない。   Further, according to the present invention, since the processing status does not differ for each disk, processing for performance tuning is not necessary at the time of service execution, and the performance of the system does not deteriorate due to tuning.

まず、本発明における構成について説明する。   First, the configuration of the present invention will be described.

図1は、本発明の割当システムのブロック図である。   FIG. 1 is a block diagram of the allocation system of the present invention.

本発明の割当システムは、振分装置100と、ディスクサーバ110と、ユーザ情報管理装置120と、ディスクアクセスクライアント装置130と、ユーザ追加指示装置140とを有する。   The assignment system of the present invention includes a distribution device 100, a disk server 110, a user information management device 120, a disk access client device 130, and a user addition instruction device 140.

振分装置100はディスク割当決定部101とディスク管理部102とから構成される。   The distribution apparatus 100 includes a disk allocation determination unit 101 and a disk management unit 102.

ディスク割当決定部101は、ユーザ追加指示装置140からのユーザ追加要求を受け取ると、ディスク管理部102からディスクサーバ110の各ディスクのI/O量(アクセス数)の実績及び空き領域の大きさを読み出す。更に、読み出したI/O量の実績及び空き容量に基づいて、ユーザ追加可能であるかを判断し、追加可能である場合は新規ユーザに対して割り当て先となるディスクを決定する。割当先ディスクが決定されると、ディスクサーバ110に対して、割当先として決定したディスクの情報と、割当領域に関する情報とを送信する。更に、割当先として決定したディスクの情報と、割当領域に関する情報と、ユーザ追加要求に含まれているユーザに関する情報とをユーザ情報管理装置120に送信する。尚、ユーザに関する情報として、本発明ではユーザを一意に識別するユーザIDを用いて説明するがこれに限るものではない。即ち、ユーザに関する情報は、ユーザID以外の情報を含んでも良い。また、ディスクの情報も同様に、本発明ではディスクを一意に識別するディスクIDを用いて説明するがこれに限るものではなく、ディスクID以外の情報を含んでも良い。   When the disk allocation determination unit 101 receives the user addition request from the user addition instruction device 140, the disk allocation determination unit 101 determines the actual I / O amount (number of accesses) and the size of the free area of each disk of the disk server 110 from the disk management unit 102. read out. Further, it is determined whether the user can be added based on the read actual I / O amount and the free space. If the user can be added, a disk to be assigned to the new user is determined. When the allocation destination disk is determined, information on the disk determined as the allocation destination and information on the allocation area are transmitted to the disk server 110. Further, the information on the disk determined as the allocation destination, the information on the allocation area, and the information on the user included in the user addition request are transmitted to the user information management apparatus 120. In addition, although it demonstrates using the user ID which identifies a user uniquely as information regarding a user in this invention, it is not restricted to this. That is, the information related to the user may include information other than the user ID. Similarly, in the present invention, the disk information is described using a disk ID that uniquely identifies the disk, but the present invention is not limited to this, and information other than the disk ID may be included.

ここで、ディスク割当決定部101における割当先ディスクの決定について説明する。   Here, determination of the allocation destination disk in the disk allocation determination unit 101 will be described.

まず、ディスク割当決定部101は、ユーザに対して割り当てるべき領域の大きさと、各ディスクの空き領域の大きさとを比較してユーザに対して割り当てるべき領域の大きさより空き領域の大きさの方が大きいディスクを検索する。この条件に合うディスクが検索された場合はユーザ追加可能であると判断し、検索されない場合はユーザ追加可能ではないと判断する。   First, the disk allocation determining unit 101 compares the size of the area to be allocated to the user with the size of the free area of each disk, and the size of the free area is larger than the size of the area to be allocated to the user. Search for large disks. If a disc meeting this condition is found, it is determined that the user can be added, and if not searched, it is determined that the user cannot be added.

そして、ユーザ追加可能であると判断した場合、検索したディスクの中、I/O量の実績が一番小さいディスクを新規ユーザの割当先として決定する。   If it is determined that the user can be added, the disk with the smallest I / O record is determined as the new user allocation destination.

ディスク管理部102には、ディスクサーバ110の各ディスクの空き領域の大きさ及びディスクサーバ110内の各ディスクのI/O量(アクセス数)の実績が記録されている。各ディスクの空き領域の大きさ及び各ディスクのI/O量(アクセス数)の実績は、ディスクサーバ110のディスクI/O測定部116が測定する。I/O量の実績は、1日の平均量、1週間の平均量など、システムのポリシーにより決定してよい。   The disk management unit 102 records the size of the free space of each disk in the disk server 110 and the actual I / O amount (access count) of each disk in the disk server 110. The disk I / O measuring unit 116 of the disk server 110 measures the size of the free area of each disk and the actual amount of I / O (number of accesses) of each disk. The actual I / O amount may be determined according to the system policy such as the average amount per day or the average amount per week.

ディスクサーバ110は、書込・削除・読出部111と、ユーザ領域作成部112と、ディスク113・114・115と、ディスクI/O測定部116とを有する。   The disk server 110 includes a writing / deleting / reading unit 111, a user area creation unit 112, disks 113, 114, and 115, and a disk I / O measurement unit 116.

書込・削除・読出部111は、ディスク113・114・115へのサービス実行要求をディスクアクセスクライアント装置130から受け取ると、サービス実行要求に含まれるユーザIDに対応付けられている割当領域に関する情報を得るために送信要求をユーザ情報管理装置120に送信する。更に、ユーザ情報管理装置120から得た割当領域に関する情報に基づいて、その領域にアクセスしてデータの書込、削除又は読出を行う。   When the write / delete / read unit 111 receives a service execution request for the disks 113, 114, and 115 from the disk access client device 130, the write / delete / read unit 111 obtains information on the allocation area associated with the user ID included in the service execution request. In order to obtain it, a transmission request is transmitted to the user information management apparatus 120. Further, based on the information regarding the allocation area obtained from the user information management device 120, the area is accessed to write, delete, or read data.

ユーザ領域作成部112は、ディスク割当決定部101から送信される、割当先として決定したディスクの情報と、割当領域に関する情報とに基づいて領域を確保する。   The user area creation unit 112 secures an area based on the information about the disk determined as the allocation destination and the information related to the allocation area transmitted from the disk allocation determination unit 101.

ディスク113・114・115は、ユーザの各種データが記憶される。尚、本発明では、ディスクが3つ設けられている構成を用いて説明するが、2つもしくは4つ以上ある場合でもよい。また、ディスクサーバが複数台存在し、それぞれが1つ以上のディスクを持っている構成でも良い。   The disks 113, 114, and 115 store various types of user data. In the present invention, a description will be given using a configuration in which three disks are provided, but there may be two or four or more disks. Further, there may be a configuration in which a plurality of disk servers exist, each having one or more disks.

ディスクI/O測定部116は、各ディスクの空き領域の大きさ及び各ディスクのI/O量の実績(アクセス数)を測定する。I/O量の実績は、1日の平均量、1週間の平均量など、システムのポリシーにより決定してよい。   The disk I / O measuring unit 116 measures the size of the free area of each disk and the actual result (number of accesses) of the I / O amount of each disk. The actual I / O amount may be determined according to the system policy such as the average amount per day or the average amount per week.

ユーザ情報管理装置120は、ディスク割当決定部101から送信されるユーザに関する情報とディスクに関する情報と割当領域に関する情報とを対応付けて記憶する。また、書込・削除・読出部111から送信要求を受信すると、送信要求に含まれるユーザIDに基づいて、このユーザIDに対応付けられているディスクに関する情報と割当領域に関する情報とを書込・削除・読出部111に送信する。   The user information management device 120 stores information relating to the user, information relating to the disk, and information relating to the allocation area transmitted from the disk allocation determining unit 101 in association with each other. Further, when a transmission request is received from the writing / deleting / reading unit 111, based on the user ID included in the transmission request, information on the disk associated with this user ID and information on the allocation area are written and The data is transmitted to the deletion / reading unit 111.

ディスクアクセスクライアント装置130は入出力装置を備えており、サービス利用ユーザによって操作される。ユーザの書き込み、削除又は読み出しのサービス利用操作に応じてディスクサーバ110に対してサービス実行要求を送る。   The disk access client device 130 includes an input / output device and is operated by a service user. A service execution request is sent to the disk server 110 in response to a user's write, delete or read service use operation.

ユーザ追加指示装置140はそれぞれ入出力装置を備えており、オペレータによって操作される。オペレータが新規ユーザを登録する際、ユーザに関する情報を含んだユーザ追加要求をディスク割当決定部101に送信する。更に、ディスク割当決定部101から割当の結果を受信し、受信した結果を表示し、オペレータに結果を伝える。   Each of the user addition instruction devices 140 includes an input / output device and is operated by an operator. When an operator registers a new user, a user addition request including information on the user is transmitted to the disk allocation determination unit 101. Furthermore, the allocation result is received from the disk allocation determining unit 101, the received result is displayed, and the result is transmitted to the operator.

続いて、動作について説明する。まず、新規ユーザのための領域を確保するための動作について説明する。   Subsequently, the operation will be described. First, an operation for securing an area for a new user will be described.

図2は、本発明における新規ユーザのための領域確保の動作を説明するためのフローチャートである。   FIG. 2 is a flowchart for explaining an operation of securing an area for a new user in the present invention.

ユーザ追加指示装置140は、オペレータの操作により、新規ユーザ追加処理を開始する。   The user addition instruction device 140 starts a new user addition process by an operator's operation.

ユーザ追加指示装置140は振分装置100に対して、追加するユーザの情報を含むユーザ追加要求を送信する(ステップS201)。   The user addition instruction device 140 transmits a user addition request including information on the user to be added to the distribution device 100 (step S201).

振分装置100のディスク割当決定部101はユーザ追加要求に基づいてユーザに対するディスク割り当て処理を開始する。   The disk allocation determination unit 101 of the distribution apparatus 100 starts disk allocation processing for the user based on the user addition request.

ディスク割当決定部101は、ディスク管理部102内の、ディスク113・114・115のI/O量の実績および空き容量を読み出す(ステップS201)。   The disk allocation determination unit 101 reads the actual I / O amount and free capacity of the disks 113, 114, and 115 in the disk management unit 102 (step S201).

ディスク割当決定部101は、ユーザに対して割り当てるべき領域の大きさと、各ディスクの空き領域の大きさとを比較してユーザに対して割り当てるべき領域の大きさより空き領域の大きさの方が大きいディスクを検索することにより、ユーザ追加可能であるか否かを判断する(ステップS202)。   The disk allocation determination unit 101 compares the size of the area to be allocated to the user with the size of the free area of each disk, and the disk whose free area is larger than the size of the area to be allocated to the user. Is searched to determine whether or not a user can be added (step S202).

ディスク割当決定部101がユーザ追加可能ではないと判断した場合、ユーザ追加指示装置140に対してユーザ追加不可能の通知をする(ステップS203)。   When the disk allocation determination unit 101 determines that the user cannot be added, the disk allocation determination unit 101 notifies the user addition instruction device 140 that the user cannot be added (step S203).

一方、ユーザ追加可能であると判断した場合、検索したディスクの中、I/O量の実績が一番少ないディスクを新規ユーザの割当先として決定し、割当先のディスクに関する情報とユーザに関する情報と割当領域に関する情報とをユーザ情報管理装置120に送信する(ステップS204)。   On the other hand, if it is determined that the user can be added, the disk with the smallest I / O record is determined as the allocation destination of the new user among the searched disks, and information regarding the allocation destination disk and information regarding the user Information on the allocation area is transmitted to the user information management apparatus 120 (step S204).

ユーザ情報管理装置120は新規ユーザに関する情報と割当先のディスクに関する情報と割当領域に関する情報とを対応付けて保存する(ステップS205)。   The user information management apparatus 120 stores information relating to the new user, information relating to the allocation destination disk, and information relating to the allocation area in association with each other (step S205).

ディスク割当決定部101は、ユーザ領域作成部112に割当先ディスクの情報と割当領域に関する情報とを送信する(ステップS206)。   The disk allocation determination unit 101 transmits information on the allocation destination disk and information on the allocation area to the user area creation unit 112 (step S206).

ユーザ領域作成部112は、送信された割当先ディスクの情報と割当領域に関する情報とに基づいて、追加先のディスクに新規ユーザ用の記憶領域を確保する(ステップS207)。   The user area creation unit 112 secures a storage area for a new user on the addition destination disk based on the transmitted information about the allocation destination disk and information on the allocation area (step S207).

続いて、割り当てられた領域にユーザがアクセスする際の動作について説明する。   Next, an operation when the user accesses the allocated area will be described.

図3は、ユーザがアクセスする際の動作を説明するためのフローチャートである。   FIG. 3 is a flowchart for explaining the operation when the user accesses.

ディスクサーバ110は、ディスクアクセスクライアント装置130がユーザのサービス利用操作に応じて送信したサービス実行要求を受信する(ステップS301)。   The disk server 110 receives the service execution request transmitted by the disk access client device 130 in response to the user's service use operation (step S301).

ディスクサーバ110内の書込・削除・読出部111はユーザIDに基づいて、ユーザ情報管理装置120からサービス実行対象のユーザの割当領域がどのディスクに確保されているかを示すディスクに関する情報及び割当領域に関する情報の送信要求を送信する(ステップS302)。   Based on the user ID, the writing / deleting / reading unit 111 in the disk server 110 provides information on the disk indicating the allocation area of the service execution target user from the user information management apparatus 120 and the allocation area. The information transmission request is transmitted (step S302).

ユーザ情報管理装置120は、送信要求に応じて、ユーザIDに対応付けられているディスクに関する情報と割当領域に関する情報とを返送する(ステップS303)。   In response to the transmission request, the user information management device 120 returns information regarding the disk associated with the user ID and information regarding the allocation area (step S303).

ユーザ情報管理装置120から送信された情報に基づいて、書込・削除・読出部111はサービス実行対象のユーザの割当領域があるディスクへアクセスし、書き込み、削除、又は読み出しを実施する(ステップS304)。   Based on the information transmitted from the user information management device 120, the writing / deleting / reading unit 111 accesses the disk on which the service execution target user allocation area is located, and performs writing, deleting, or reading (step S304). ).

上記したように、本発明によると、ディスクへのアクセス量がそれぞれのディスクでほぼ均一になるので、ユーザ毎にI/O待ちによる処理の遅れがあったり、なかったりということがない状態でサービスを提供できる。   As described above, according to the present invention, the amount of access to the disk is almost uniform for each disk, so that there is no delay in processing due to I / O waiting for each user. Can provide.

また、サービスの実施時には性能チューニングのための処理を必要としないため、チューニングのためにシステムの性能が劣化するということがない。   In addition, since performance tuning processing is not required at the time of service implementation, system performance does not deteriorate due to tuning.

メール送受信を行うメールサーバや、Web上にファイルの保管場所を提供するWebストレージサービスのサーバのようなディスクサーバを有するシステムに用いることが出来る。   The present invention can be used in a system having a disk server such as a mail server that performs mail transmission / reception and a Web storage service server that provides a file storage location on the Web.

図1は、本発明の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of the present invention. 図2は、本発明における新規ユーザのための領域確保の動作を説明するためのフローチャートである。FIG. 2 is a flowchart for explaining an operation of securing an area for a new user in the present invention. 図3は、ユーザがアクセスする際の動作を説明するためのフローチャートである。FIG. 3 is a flowchart for explaining the operation when the user accesses.

符号の説明Explanation of symbols

100 振分装置
101 ディスク割当決定部
102 ディスク管理部
110 ディスクサーバ
111 書込・削除・読出部
112 ユーザ領域作成部
113,114,115 ディスク
116 ディスクI/O測定部
120 ユーザ情報管理装置
130 ディスクアクセスクライアント装置
140 ユーザ追加指示装置
DESCRIPTION OF SYMBOLS 100 Distribution apparatus 101 Disk allocation determination part 102 Disk management part 110 Disk server 111 Writing / deleting / reading part 112 User area creation part 113,114,115 Disk 116 Disk I / O measurement part 120 User information management apparatus 130 Disk access Client device 140 User addition instruction device

Claims (9)

新規ユーザに記憶領域を割り当てる割当システムであって、
データが記憶される複数の記憶部と、
前記各記憶部の空き領域の大きさ及び前記各記憶部へのアクセス頻度を測定する測定手段と、
前記測定結果に基づいて、割り当てる記憶領域を決定する決定手段と、
前記決定された記憶領域に関する情報と新規ユーザを一意に識別するユーザ識別情報とが対応付けられて記憶される管理部と
を有することを特徴とする割当システム。
An allocation system for allocating storage space for new users,
A plurality of storage units for storing data;
Measuring means for measuring the size of the free area of each storage unit and the frequency of access to each storage unit;
Determining means for determining a storage area to be allocated based on the measurement result;
An allocation system comprising: a management unit that stores information relating to the determined storage area and user identification information that uniquely identifies a new user, and stores the associated information.
前記決定手段は、
新規ユーザに割り当てるべき記憶領域の大きさより、前記記憶部の空き領域の大きさの方が大きい記憶部の中、アクセス頻度が一番少ない記憶部に記憶領域の割り当てを決定する手段であることを特徴とする請求項1に記載の割当システム。
The determining means includes
It is means for determining the allocation of a storage area to a storage unit having the least access frequency among the storage units having a larger free area size than the storage area to be allocated to a new user. 2. The assignment system according to claim 1, wherein
アクセス要求を受信した際、アクセス要求に含まれるユーザ識別情報に基づいて、このユーザ識別情報に対応付けられている記憶領域に関する情報を前記管理部から読み出し、読み出した記憶領域に関する情報に基づいて前記記憶部にアクセスするアクセス手段を有することを特徴とする請求項1又は請求項2に記載の割当システム。   When the access request is received, based on the user identification information included in the access request, information related to the storage area associated with the user identification information is read from the management unit, and based on the read information related to the storage area The allocation system according to claim 1, further comprising an access unit that accesses the storage unit. 新規ユーザに記憶領域を割り当てる割当装置であって、
データが記憶される複数の記憶部における空き領域の大きさ及びアクセス頻度を記憶部毎に管理する管理部と、
前記管理部が管理している情報に基づいて割り当てる領域を決定する決定手段と
を有することを特徴とする割当装置。
An allocation device that allocates storage space to a new user,
A management unit that manages the size and access frequency of free areas in a plurality of storage units in which data is stored;
An allocating apparatus comprising: a determining unit that determines an area to be allocated based on information managed by the management unit.
前記決定手段は、
新規ユーザに割り当てるべき記憶領域の大きさより前記記憶部の空き領域の大きさの方が大きい記憶部の中、アクセス頻度が一番少ない記憶部に記憶領域の割り当てを決定する手段であることを特徴とする請求項4に記載の割当装置。
The determining means includes
It is a means for determining the allocation of a storage area to a storage unit having the least access frequency among the storage units having a larger free area size than the storage area to be allocated to a new user. The allocation apparatus according to claim 4.
新規ユーザに記憶領域を割り当てる割当方法であって、
複数の記憶部の空き領域の大きさ及び各記憶部へのアクセス頻度を測定する測定ステップと、
前記測定結果に基づいて、割り当てる記憶領域を決定する決定ステップと、
前記決定された記憶領域に関する情報と新規ユーザを一意に識別するユーザ識別情報とを対応付けて記憶させる記憶ステップと
を有することを特徴とする割当方法。
An allocation method for allocating storage space to new users,
A measuring step for measuring the size of the free area of the plurality of storage units and the frequency of access to each storage unit;
A determination step of determining a storage area to be allocated based on the measurement result;
And a storage step of storing information relating to the determined storage area and user identification information for uniquely identifying a new user in association with each other.
前記決定ステップは、
新規ユーザに割り当てるべき記憶領域の大きさと、前記測定した記憶部の空き領域の大きさとを比較して、空き領域の大きさの方が大きい記憶部を検索する検索ステップと、
前記検索した記憶部の中、アクセス頻度が一番少ない記憶部に割り当てる記憶領域を決定する決定ステップと
を有することを特徴とする請求項6に記載の割当方法。
The determining step includes
A search step for comparing a size of a storage area to be allocated to a new user and a size of a free area of the measured storage unit to search for a storage unit having a larger size of the free area;
The allocation method according to claim 6, further comprising: a determination step of determining a storage area to be allocated to a storage unit having the least access frequency among the searched storage units.
アクセス要求を受信する受信ステップと、
前記受信したアクセス要求に含まれるユーザ識別情報に基づいて、このユーザ識別情報に対応付けられている記憶領域に関する情報を読み出す読み出しステップと、
前記読み出した記憶領域に関する情報に基づいて前記記憶部にアクセスするアクセスステップと
を有することを特徴とする請求項6又は請求項7に記載の割当方法。
A receiving step for receiving an access request;
Based on the user identification information included in the received access request, a reading step of reading out information related to the storage area associated with the user identification information;
The allocation method according to claim 6, further comprising: an access step of accessing the storage unit based on the information related to the read storage area.
新規ユーザに記憶領域を割り当てる割当装置のプログラムであって、前記プログラムは、前記割当装置を、
データが記憶される複数の記憶部における空き領域の大きさ及びアクセス頻度を記憶部毎に管理する管理部と、
前記管理部が管理している情報に基づいて割り当てる領域を決定する決定手段と
して機能させることを特徴とするプログラム。
A program for an allocating device that allocates a storage area to a new user, the program comprising:
A management unit that manages the size and access frequency of free areas in a plurality of storage units in which data is stored;
A program that functions as a determination unit that determines an area to be allocated based on information managed by the management unit.
JP2005098098A 2005-03-30 2005-03-30 Allocation system, allocation apparatus, allocation method and program for the same Pending JP2006277530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005098098A JP2006277530A (en) 2005-03-30 2005-03-30 Allocation system, allocation apparatus, allocation method and program for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005098098A JP2006277530A (en) 2005-03-30 2005-03-30 Allocation system, allocation apparatus, allocation method and program for the same

Publications (1)

Publication Number Publication Date
JP2006277530A true JP2006277530A (en) 2006-10-12

Family

ID=37212204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005098098A Pending JP2006277530A (en) 2005-03-30 2005-03-30 Allocation system, allocation apparatus, allocation method and program for the same

Country Status (1)

Country Link
JP (1) JP2006277530A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009157452A (en) * 2007-12-25 2009-07-16 Hitachi Ltd Storage management method, its program, and system
JP2010224850A (en) * 2009-03-24 2010-10-07 Nec Corp Allocation system, allocation apparatus, allocation method, and program
JP2010250477A (en) * 2009-04-14 2010-11-04 Fujitsu Ltd Storage control program, storage system, storage control device, and storage control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009157452A (en) * 2007-12-25 2009-07-16 Hitachi Ltd Storage management method, its program, and system
US8447997B2 (en) 2007-12-25 2013-05-21 Hitachi, Ltd. Method for managing storage, program and system for the same
JP2010224850A (en) * 2009-03-24 2010-10-07 Nec Corp Allocation system, allocation apparatus, allocation method, and program
JP2010250477A (en) * 2009-04-14 2010-11-04 Fujitsu Ltd Storage control program, storage system, storage control device, and storage control method

Similar Documents

Publication Publication Date Title
US11461027B2 (en) Deduplication-aware load balancing in distributed storage systems
US8521986B2 (en) Allocating storage memory based on future file size or use estimates
US8307170B2 (en) Information processing method and system
US9639459B2 (en) I/O latency and IOPs performance in thin provisioned volumes
US9058212B2 (en) Combining memory pages having identical content
JP4801761B2 (en) Database management method and system, and processing program therefor
JP2007042034A (en) Computer system, management computer, and method for managing logic storage domain
CN109582600B (en) Data processing method and device
JP6172649B2 (en) Information processing apparatus, program, and information processing method
JP4748950B2 (en) Storage area management method and system
US20100211949A1 (en) Management computer and processing management method
US9152547B2 (en) Apparatus and method for scratch pad memory management
JP5104855B2 (en) Load distribution program, load distribution method, and storage management apparatus
JP2016162397A (en) Storage control device, control system and control program
JPWO2009066611A1 (en) Data storage system for virtual machine, data storage method, and data storage program
JP5556498B2 (en) Management device, file server system, processing method and management program
JP2006338201A (en) Logical volume management device, logical volume management method, and program
JP2006277530A (en) Allocation system, allocation apparatus, allocation method and program for the same
US20100153678A1 (en) Memory management apparatus and method
JP2021135538A (en) Storage control apparatus and storage control program
CN109783006B (en) Computing system and method of operating a computing system
JP4997858B2 (en) Data recording apparatus and data recording program
US20140058717A1 (en) Simulation system for simulating i/o performance of volume and simulation method
JP2010218235A (en) Archive device, distributed management device, and distributed management program
KR100818993B1 (en) Apparatus and method for file management using assignment of virtual blocks

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090318

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090518

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090812