WO2018189847A1 - Storage device and cache memory management method - Google Patents

Storage device and cache memory management method Download PDF

Info

Publication number
WO2018189847A1
WO2018189847A1 PCT/JP2017/015040 JP2017015040W WO2018189847A1 WO 2018189847 A1 WO2018189847 A1 WO 2018189847A1 JP 2017015040 W JP2017015040 W JP 2017015040W WO 2018189847 A1 WO2018189847 A1 WO 2018189847A1
Authority
WO
WIPO (PCT)
Prior art keywords
cache
capacity
value
area
partition area
Prior art date
Application number
PCT/JP2017/015040
Other languages
French (fr)
Japanese (ja)
Inventor
小百合 松井
純二 岩崎
恭平 神野
英美子 藤松
Original Assignee
株式会社日立製作所
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 株式会社日立製作所 filed Critical 株式会社日立製作所
Priority to PCT/JP2017/015040 priority Critical patent/WO2018189847A1/en
Publication of WO2018189847A1 publication Critical patent/WO2018189847A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems

Definitions

  • the present invention relates to a storage apparatus and a cache memory management method, and is suitable for application to, for example, a storage apparatus and a cache memory management method for controlling an influence range of a load of a cache memory.
  • the read / write data of the specific host device may occupy a large area of the cache memory. is there. Under such circumstances, the other host devices must wait for writing to the cache memory, and there is a possibility that the data writing speed of the other host devices may be reduced.
  • the cache memory built in the storage system is logically divided, and the available cache capacity is allocated to the host device in advance, so that a situation where a specific host device occupies a large area of the cache memory is avoided.
  • a technique for controlling the range of influence of load during use is disclosed (see Patent Document 1).
  • the cache memory of the storage system is logically divided using the above-mentioned technology, it is performed based on customer requirements, future usage plans, etc., but the logically divided cache is due to the fact that the usage status after the start of operation is different from the assumption.
  • a situation occurs in which the load for each memory (hereinafter referred to as a cache partition area) is uneven.
  • the cache partition area is used more than when planned for use and there is a concern about the impact of the system, it is necessary to take measures to add allocated capacity. Since preparations such as procurement of cache memory, design for additional work, and customer adjustment are made, there is a problem that it takes time to deal with it and measures are delayed.
  • the present invention has been made in consideration of the above points, and intends to propose a storage apparatus that can effectively use a cache memory.
  • a cache capacity that can be used in each of a plurality of cache division areas obtained by logically dividing the cache memory is allocated in advance to the host device, and the load on the cache memory due to the input / output request of the host device
  • Compare and redistribute cache capacity A relocation review unit that determines whether or not the configuration is possible, and a configuration change unit that rearranges the cache capacity of the plurality of cache division regions based on a result of the review of the relocation review unit I made it.
  • a cache capacity that can be used in each of a plurality of cache divided areas obtained by logically dividing the cache memory is allocated to the host device in advance, and the influence range of the load on the cache memory due to the input / output request of the host device is controlled.
  • the cache partition area cache is leveled so that the load of the cache partition area is leveled based on the cache write wait information monitored for each of the plurality of cache partition areas obtained by logically partitioning the cache memory. Capacity relocation is performed.
  • the cache memory can be used effectively.
  • reference numeral 1 denotes a computer system according to a first embodiment as a whole.
  • the computer system 1 includes a plurality of servers 2 (in this example, a server 2A, a server 2B, a server 2C,...) And a storage device 3, and the plurality of servers 2 and the storage device 3 have communication paths. Connected through.
  • the communication path may include a communication network such as a SAN (Storage Area Network).
  • SAN Storage Area Network
  • the server 2A includes a storage device such as a CPU (Central Processing Unit), RAM (Random Access Memory), ROM (Read Only Memory), HDD (Hard Disc Drive), one or more NICs (Network Interface Card), etc. It is a host device such as a personal computer, a workstation, or a mainframe.
  • the server 2A includes an FC (Fibre Channel) port 21A provided in a communication interface such as an HBA (Host Bus Adapter), and is communicably connected to the storage apparatus 3 via the FC port 21A.
  • the server 2A provides a service to each client terminal by, for example, reading / writing data from / to the storage apparatus 3 in response to a request from each client terminal (not shown).
  • the storage device 3 includes a storage device 30 and a controller 31 that controls input / output of data to / from the storage device 30.
  • the storage device 30 includes one or a plurality of disks such as a SCSI (Small Computer System Interface) disk, a SATA (Serial AT Attachment) disk, and an optical disk.
  • One or more logical volumes VOL are set on the physical storage area provided by the storage device 30. Data from the server 2 is stored in units of blocks of a predetermined size (hereinafter referred to as logical blocks) in the logical volume VOL.
  • a unique volume number is assigned to each logical volume VOL.
  • data input / output is performed by using the combination of this volume number and the block number (LBA: Logical Block ⁇ Address) of the logical block assigned to each logical block as the address. It is done by specifying.
  • LBA Logical Block ⁇ Address
  • the controller 31 includes one or a plurality of channel adapters 32, a microprocessor 33, a cache memory 34, and a disk I / F 35.
  • the controller 31 receives this I / O. Data is read from and written to the storage device 30 as requested.
  • the channel adapter 32 is a hardware device that performs protocol control during communication with the server 2A via the communication path, and includes a plurality of ports 36 (port 36A, port 36B, and port 36C in this example) connected to the communication path. , Communicate with the server 2 via the port 36.
  • the microprocessor 33 is a semiconductor chip having a memory, a CPU, and the like.
  • the memory holds control information and programs necessary for processing executed by the CPU.
  • the CPU specifies an access target device and processes the I / O request.
  • the CPU specifies a device to be accessed by a LUN (Logical Unit Unit Number) included in the I / O request.
  • various functions of the microprocessor 33 are executed by the CPU executing the program stored in the memory.
  • the cache memory 34 stores data in advance or temporarily stores data received from the server 2 in response to an I / O request from the server 2. This increases the processing speed of access requests.
  • the storage area (cache capacity) of the cache memory 34 is managed as a plurality of logically divided areas (cache divided areas).
  • FCport 21A is associated with port 36A
  • port 36A is associated with a predetermined logical volume VOL
  • the predetermined logical volume VOL is associated with one cache partition area.
  • an available cache capacity is allocated to the server 2 in advance to avoid a situation in which the specific server 2 occupies a large area of the cache memory 34, and the data in the storage device 30 is input. The range of influence of load during output is controlled.
  • the storage apparatus 3 acquires the configuration information and operation status of the cache memory 34, analyzes them, and based on threshold values for determining expansion and contraction of each cache partition area The allocation of cache partition areas is automatically reviewed periodically. As a result, the load on the cache division area is leveled. Details will be described below.
  • FIG. 2 shows an example of a configuration related to the microprocessor 33 of the storage apparatus 3.
  • the microprocessor 33 stores a threshold management program, a monitoring management program, a rearrangement review program, a configuration change program, and a cache memory management program.
  • the threshold management unit 201 that manages the configuration information (threshold, caution value, etc.) of the cache memory 34 is realized.
  • the threshold value is a predetermined value that is used when determining whether or not the cache capacity of each cache partition area is insufficient, when calculating the insufficient cache capacity or the removable cache capacity, and the like. is there.
  • the attention value is a value used in the same manner as the threshold value (threshold value in a broad sense), but is a value lower than the threshold value and defined in advance.
  • the monitoring management unit 202 that manages the operation status of the cache memory 34 is realized.
  • the monitoring management unit 202 acquires cache write wait information for each cache partition area as the operation status.
  • the monitoring management unit 202 monitors the cache memory 34 and acquires monitoring data obtained by monitoring the cache write waiting rate of each cache divided area at predetermined time intervals.
  • the relocation examination unit 203 that examines the allocation (relocation) of the cache capacity of the cache divided area based on the configuration information and the operation status of the cache memory 34 is realized.
  • the relocation examination unit 203 confirms whether or not there is a cache partition area exceeding the threshold (a cache partition area exceeding the threshold).
  • the reallocation review unit 203 calculates a cache capacity that is insufficient in the cache partition area that exceeds the threshold value, and determines a predetermined cache partition area (other than the cache partition area that exceeds the threshold value).
  • the cache capacity that can be deleted is calculated for one or more cache partition areas), and the cache capacity that can be deleted is compared with the cache capacity that can be deleted to determine whether the cache capacity can be relocated. To do.
  • the relocation examination unit 203 checks whether or not there is a cache partition area (a cache partition area exceeding the caution value) that does not exceed the threshold value but exceeds the caution value.
  • the relocation review unit 203 calculates a cache capacity that needs to be added in the cache partition area that exceeds the caution value, and performs cache writing of the cache partition area that exceeds the caution value.
  • the cache capacity that can be deleted is calculated for one or more cache partition areas that have a cache write waiting ratio that is smaller than the waiting ratio, and the cache capacity that needs to be added is compared with the cache capacity that can be deleted. It is determined whether or not rearrangement is possible.
  • the configuration change unit 204 that changes the configuration information of the cache partition area based on the examination result of the relocation examination unit 203 is realized.
  • the cache memory management unit 205 that logically divides and manages the storage area of the cache memory 34 based on the configuration information of the cache division area is realized.
  • the microprocessor 33 includes a management database 206, and various tables (such as the table shown in FIG. 3) are stored in the management database 206.
  • FIG. 3 shows an example of a table stored in the management database 206.
  • the management database 206 includes a threshold management table 301, a monitoring information table 302, a reference value table 303, a cache monitoring data table 304, a threshold exceeding target table 305, and an attention value exceeding target table 306.
  • the rearrangement information table 307 and the storage cache configuration information table 308 are stored. Each table will be described with reference to FIGS.
  • FIG. 4 shows an example of the threshold management table 301.
  • the threshold management table 301 stores information indicating the threshold value of the cache write wait rate and information indicating the attention value of the cache write wait rate.
  • the cache write waiting rate of the cache partition area exceeds the threshold, it indicates that the cache partition area is heavily loaded and the cache capacity is insufficient.
  • the cache write waiting rate of the cache partition area does not exceed the threshold value but exceeds the caution value, it indicates that the load of the cache partition area is appropriate.
  • the cache write waiting rate in the cache partition area is below the caution value, it indicates that the load on the cache partition area is low and the cache capacity is sufficient.
  • the cache performance wait rate “the highest performance limit value / performance attention value” (50% in this example) guided by the product is set.
  • the caution value “the lowest value of the performance caution value” (30% in this example) guided by the product is set. Note that the caution value may be a value exceeding the appropriate performance value guided by the product.
  • the threshold value and the caution value are not limited to the above-described values, and appropriate values can be used.
  • FIG. 5 shows an example of the monitoring information table 302.
  • the monitoring information table 302 stores information on a periodic check interval indicating an interval at which the load of the cache partition area is leveled (cache capacity rearrangement) according to the operation status of the cache partition area. Information on the periodic check interval can be changed by the administrator according to the service level.
  • FIG. 6 shows an example of the reference value table 303.
  • the time (time) when the MAX value of the cache write wait rate is monitored, the MAX value of the cache write wait rate, the number of times the write wait rate exceeds the warning value, and the cache write Information on the number of times the waiting rate threshold has been exceeded is stored in association with each other.
  • the MAX value of the cache write wait rate indicates the maximum value of the cache write wait rate of the cache divided area monitored at the regular check interval.
  • the number of times that the write wait rate caution value is exceeded indicates the number of times that the cache write wait rate of the cache divided area monitored in the regular check interval exceeds the caution value but falls below the threshold value.
  • the number of times the cache write wait rate exceeds the threshold indicates the number of times that the cache write wait rate of the cache divided area monitored in the regular check interval exceeds the threshold.
  • FIG. 7 shows an example of the cache monitoring data table 304.
  • the cache monitoring data table 304 is provided for each cache partition area.
  • FIG. 7 shows an example of the first cache partition area. Note that the configuration is not limited to the configuration in which the cache monitoring data table 304 is provided for each cache division area, and a configuration in which the management is collectively performed by one table may be employed.
  • the cache monitoring data table 304 information on the time (time) when the cache write wait rate of the cache divided area is monitored and the cache write wait rate at that time is stored in association with each other.
  • the monitoring interval is set every predetermined time (5 minutes in this example).
  • the predetermined time can be changed by the administrator.
  • FIG. 8 shows an example of the threshold value exceeding target table 305.
  • the threshold value exceeding target table 305 stores information on the threshold exceeding cache division region (target part cache), the MAX value of the cache write waiting rate, and the insufficient capacity in association with each other.
  • This insufficient capacity is a cache capacity that is insufficient in the cache division area that exceeds the threshold, and is a cache capacity that is necessary for the MAX value of the cache write wait rate to be a predetermined cache capacity that is at least the threshold value or less. .
  • the shortage capacity is a cache capacity necessary for the cache capacity of the cache write waiting rate to be equal to or less than the caution value.
  • FIG. 9 shows an example of the attention value excess target table 306.
  • the attention value excess target table 306 stores information on the attention value excess cache division region (target part cache), the MAX value of the cache write wait rate, and the insufficient capacity in association with each other.
  • This insufficient capacity is a cache capacity that needs to be added to the cache partition area that exceeds the caution value, and the cache capacity that is necessary for the MAX value of the cache write wait rate to be at least a predetermined cache capacity that is equal to or less than the cache write wait rate. It is.
  • the shortage capacity is a cache capacity necessary for the cache capacity of the cache write waiting rate to be equal to or less than the caution value.
  • FIG. 10 shows an example of the rearrangement information table 307.
  • the relocation information table 307 information on the difference between the MAX value of the cache write wait rate and the caution value, the deleteable cache capacity, and the delete capacity indicating the cache capacity to be deleted corresponds to each cache partition area. Attached and stored.
  • the relocation review unit 203 when the relocation review unit 203 is considering relocation for a cache partition area that exceeds the threshold, information on the case where the threshold is exceeded is stored.
  • the unit 203 is considering relocation of the cache partition area exceeding the caution value, information when the caution value is exceeded is stored.
  • the cache capacity that can be deleted is the cache capacity that can be deleted from the cache partition area where the cache capacity is sufficient.
  • a cache partition area with sufficient cache capacity is a cache partition area where the cache write wait rate is less than the threshold value (less than the caution value in this example) when the threshold value is exceeded.
  • the cache write waiting rate is at least a cache capacity that is less than the cache write wait rate (in this example, less than the caution value).
  • FIG. 11 shows an example of the storage cache configuration information table 308.
  • the storage cache configuration information table 308 stores information on the cache capacity (mounting capacity) of the entire cache memory 34.
  • the storage cache configuration information table 308 stores a cache capacity (allocated capacity) allocated for each cache partition area.
  • FIG. 12 shows an example of the processing contents (overall flow) related to leveling the load of the cache partition area.
  • the monitoring management unit 202 starts acquiring monitoring information (cache write waiting rate for each cache division area) at every monitoring interval (step S1), and moves the process to step S2. Note that the monitoring management unit 202 continues to acquire the monitoring information even after moving the process to step S2.
  • step S2 the monitoring management unit 202 acquires a reference value from each monitoring item. More specifically, when the regular check interval elapses, the monitoring management unit 202 acquires the time during which the cache write wait rate for the regular check interval is monitored and the cache write wait rate from the cache monitoring data table 304. Next, the monitoring management unit 202 specifies the MAX value of the cache write waiting rate for each cache division area, and counts the number of times that the threshold value has been exceeded and the number of times that the attention value has been exceeded. Then, the MAX value of the specified cache write wait rate and the counted number of times of exceeding the threshold and the number of times of exceeding the attention value are stored in the reference value table 303.
  • the threshold value management unit 201 compares the MAX value of each cache write waiting rate in the reference value table 303 with the threshold value in the threshold value management table 301, and exceeds the threshold value exceeded table 305 and the attention value value.
  • the target table 306 is updated (step S3). More specifically, the threshold value management unit 201 compares the cache write waiting rate MAX value of each cache divided area with the threshold value, and the cache write waiting rate MAX value of the cache divided area exceeding the threshold value. Is added to the threshold exceeded target table 305. The insufficient capacity is added (registered) in step S5 described later.
  • the threshold management unit 201 compares the MAX value of the cache write waiting rate of each cache partition area with the threshold value and the caution value, and the cache write of the cache partition area that exceeds the caution value but falls below the threshold value.
  • the MAX value of the waiting rate is added to the attention value excess target table 306.
  • the relocation examining unit 203 determines whether or not there is a cache partition area in which the MAX value of the cache write wait rate exceeds the threshold value (step S4). More specifically, the reallocation review unit 203 refers to the threshold value excess target table 305 and determines whether information (record) is stored.
  • the difference between the MAX value of the cache write wait rate and the threshold value is calculated, and the processing (steps S5 to S9) is sequentially performed from the cache division area where the difference is large.
  • a cache divided area having a large number of times of exceeding the threshold is preferentially processed.
  • the rearrangement of the cache divided area having a large difference between the MAX value of the cache write waiting rate and the threshold value is preferentially performed, so that a response to the corresponding server 2 is received due to the high load of the cache divided area. A situation such as waiting can be avoided.
  • the administrator may change the priority order of the difference between the MAX value of the cache write wait rate and the threshold value and the number of times the threshold value is exceeded. For example, when the priority of the number of times the threshold is exceeded is made higher than the difference between the MAX value of the cache write wait rate and the threshold, it is possible to avoid a situation where the response to the server 2 is frequently slowed down.
  • step S5 If the relocation examining unit 203 determines that there is a cache partition area in which the MAX value of the cache write wait rate exceeds the threshold, the process moves to step S5, and the MAX value of the cache write wait rate exceeds the threshold. If it is determined that there is no cache division area, the process proceeds to step S2.
  • step S5 the reallocation review unit 203 calculates an insufficient cache capacity (insufficient capacity). More specifically, the relocation review unit 203 calculates a cache capacity necessary for the MAX value of the cache write wait rate to be equal to or less than the caution value.
  • the reallocation review unit 203 refers to the storage cache configuration information table 308, acquires the current allocated capacity, and subtracts the allocated capacity from the necessary cache capacity, thereby calculating the insufficient cache capacity. Then, the reallocation review unit 203 stores the calculated insufficient cache capacity in the threshold value excess target table 305.
  • the MAX value of the cache write waiting rate of the first cache partition area is 55%
  • the allocated capacity of the first cache partition area is 100 GB as shown in FIG.
  • a case where the cache capacity necessary to be equal to or less than the indicated attention value (30%) is calculated will be described as an example.
  • the relocation examining unit 203 determines whether there is room in other cache division areas (step S6). More specifically, the reallocation review unit 203 compensates for the insufficient cache capacity with one or a plurality of other cache division areas that are cache division areas whose MAX value of the cache write wait rate is not more than a caution value. It is determined whether or not The details of this determination will be described with reference to FIG.
  • the relocation review unit 203 moves the process to step S8 if it determines that there is room in another cache partition area, and moves the process to step S7 if it determines that there is no room in another cache partition area.
  • step S7 the reallocation review unit 203 notifies an administrator (such as a management terminal (not shown) capable of communicating with the storage device 3) that the cache memory 34 has no room, and ends the process.
  • an administrator such as a management terminal (not shown) capable of communicating with the storage device 3) that the cache memory 34 has no room, and ends the process.
  • step S8 the configuration changing unit 204 rearranges the cache partition areas. More specifically, the configuration changing unit 204 deletes the cache capacity from the spare cache divided area and adds the cache capacity to the insufficient cache divided area. Details of this processing will be described with reference to FIG.
  • the reallocation review unit 203 determines whether there is a cache partition area in which the MAX value of the cache write wait rate exceeds a threshold value, that is, whether there is a cache partition area to be processed remaining (step) S9). If the relocation examining unit 203 determines that there is a cache partition area in which the MAX value of the cache write wait rate exceeds the threshold, the process moves to step S5, and the MAX value of the cache write wait rate exceeds the threshold. If it is determined that there is no cache division area, the process proceeds to step S10.
  • step S10 the relocation examining unit 203 determines whether or not there is a cache partition area in which the MAX value of the cache write wait rate exceeds the caution value but falls below the threshold value. More specifically, the rearrangement review unit 203 refers to the caution value excess target table 306 and determines whether information (record) is stored. At this time, when a plurality of records are stored, the difference between the MAX value of the cache write waiting rate and the caution value is calculated, and the cache division area with the largest difference is processed (steps S11 to S13). To do. In addition, when there are a plurality of cache divided areas having the same difference, the cache divided areas having a large number of times the warning value is exceeded are preferentially processed.
  • step S11 the MAX value of the cache write wait rate If it is determined that there is no cache partition area that exceeds the caution value but is below the threshold value, the process proceeds to step S2.
  • the load of the cache division area exceeding the caution value is further leveled compared to the case of relocation of only the cache division area where the difference between the MAX value of the cache write waiting rate and the caution value is the maximum.
  • the relocation review unit 203 determines whether there is room in another cache partition area (step S11). More specifically, the rearrangement review unit 203 is another cache partition area that is different from the cache partition area to be processed, and is a cache partition area in which the MAX value of the cache write wait rate is a caution value or less. It is determined whether or not a predetermined cache capacity can be supplemented by a plurality of cache division areas.
  • the relocation review unit 203 moves the process to step S13 if it determines that there is room in another cache partition area, and moves the process to step S12 if it determines that there is no room in another cache partition area. Note that the details of this determination are the same as the processing shown in FIG. 13, and the threshold value exceeded target table 305 is mainly replaced with the caution value exceeded target table 306, and thus description thereof is omitted.
  • step S12 the reallocation review unit 203 notifies an administrator (such as a management terminal (not shown) capable of communicating with the storage apparatus 3) that the cache memory 34 has no room, and the process proceeds to step S14. .
  • an administrator such as a management terminal (not shown) capable of communicating with the storage apparatus 3
  • step S13 the configuration changing unit 204 rearranges the cache partition areas. More specifically, the configuration changing unit 204 deletes the cache capacity from the spare cache divided area and adds the cache capacity to the processing target cache divided area. Details of this processing will be described with reference to FIG.
  • step S10 to step S13 it is confirmed whether there is a cache partition area (prevention target cache partition area) in which the cache write wait rate exceeds the caution value but is less than the threshold value. If there is a cache partition area to be prevented, the additional capacity (insufficient capacity) required in the cache partition area to be prevented is calculated, and it is determined whether there is room in other cache partition areas. Relocation of the cache partition area is performed. According to such processing, the load on the cache partition area is further leveled, and consequently, leveled proactively.
  • step S14 the rearrangement review unit 203 creates a report, outputs the report to an administrator (such as a management terminal (not shown) that can communicate with the storage device 3), and moves the processing to step S2.
  • the relocation examination unit 203 performs the processing result, information indicating the cache partition area to be noted (for example, information on the number of times the cache partition area exceeds the caution value), and information related to the cache partition area having a sufficient cache capacity ( Include cache capacity that can be deleted, information on deleted capacity, etc.) in the report.
  • FIG. 13 shows an example of the processing contents related to the determination as to whether or not there is room in other cache division areas.
  • the rearrangement review unit 203 calculates a deletable cache capacity (deletable capacity) for all cache divided areas in the reference value table 303 (step S21). More specifically, the reallocation review unit 203 calculates the difference between the MAX value of the cache write wait rate and the caution value for all the cache divided areas in the reference value table 303, and calculates the deleteable cache capacity.
  • the relocation information table 307 is updated.
  • the attention value is 30% as shown in FIG. 4
  • the MAX value of the cache write wait rate in the second cache partition area is 15% as shown in FIG. 6, and the second value as shown in FIG.
  • a method for calculating the removable cache capacity will be described by taking as an example a case where the allocated capacity of the cache divided area is 400 GB.
  • the relocation examining unit 203 determines whether or not the insufficient capacity is equal to or less than the total amount of removable capacity (step S22). If the relocation examining unit 203 determines that the shortage capacity is less than or equal to the total amount of deleteable capacity, it moves the process to step S23, and if it determines that the shortage capacity is not less than or equal to the total amount of deleteable capacity, It is determined that there is no room, and the process is moved to the entire flow.
  • the relocation examining unit 203 determines whether or not there is one cache partition area having a deleteable capacity (step S23). If the relocation examination unit 203 determines that there is one cache partition area having a deleteable capacity, it moves the process to step S24, and if it determines that there is not one cache partition area having a deleteable capacity, the step The processing is moved to S25.
  • step S24 the rearrangement review unit 203 updates the deleteable cache capacity and the deletion capacity of the rearrangement information table 307, determines that there is room in other cache division areas, and shifts the processing to the entire flow.
  • step S25 the reallocation review unit 203 refers to the reallocation information table 307 and selects a cache division area (cache division area A) having the largest difference between the MAX value of the cache write wait rate and the caution value as a processing target. To do.
  • the relocation examining unit 203 calculates a cache capacity for increasing the cache write wait rate by a predetermined amount (for example, 1%) and sets it as a deletion capacity (step S26).
  • the relocation examining unit 203 updates the difference between the MAX value of the cache write wait rate and the caution value and the deletion capacity in the relocation information table 307 (step S27).
  • the relocation examining unit 203 determines whether or not the shortage capacity is equal to or less than the total amount of deletion capacity (step S28). When the rearrangement examining unit 203 determines that the shortage capacity is equal to or less than the total amount of deletion capacity, the relocation examining unit 203 proceeds to step S29, and when it is determined that the shortage capacity is not equal to or less than the total amount of deletion capacity, the processing is shifted to step S30.
  • step S29 the reallocation review unit 203 updates the cache capacity that can be deleted from the reallocation information table 307, determines that there is room in another cache division area, and moves the processing to the entire flow.
  • step S30 the reallocation review unit 203 differs from the cache partition area having the next largest cache write wait rate after the cache partition area A even if the cache write wait ratio of the cache partition area A is increased by a predetermined amount (for example, 1%). It is determined whether or not there is. If the rearrangement examining unit 203 determines that there is a difference, it moves the process to step S26, and if it determines that there is no difference, it moves the process to step S31.
  • a predetermined amount for example, 1%
  • step S31 the reallocation review unit 203 sets the cache partition area A and the cache partition area having the next largest difference in the cache write wait rate after the cache partition area A as the cache partition area A, and moves the process to step S25. .
  • step S25 to step S30 will be described by taking the case of the above as an example.
  • step S ⁇ b> 30 the reallocation review unit 203 finds that the difference between the eighth cache divided area having the largest cache write wait rate MAX value next to the seventh cache divided area and the seventh cache divided area having the cache write wait rate of 11% is Since there is no cache write waiting ratio, the eighth cache partition area having a MAX value of 11% is set as a processing target (cache partition area A) (step S31).
  • the reallocation review unit 203 moves the process to step S30 because the shortage capacity 20 GB cannot be satisfied with the total amount of deletion capacity 9 GB.
  • the reallocation review unit 203 uses the seventh cache divided area and the eighth cache divided area, the ninth cache divided area having the largest MAX value of the cache write wait rate, and the seventh cache with the cache write wait rate set to 12%. Since there is no difference between the divided area and the eighth cache divided area, the seventh cache divided area with a cache write wait rate of 12%, the eighth cache divided area with a cache write wait rate of 12%, and the cache write wait
  • the ninth cache partition area whose rate MAX value is 12% is set as a processing target (cache partition area A) (step S31).
  • the process is repeated in this way, and the relocation examination unit 203 moves the process to step S29 when a deletion capacity sufficient to satisfy the shortage capacity 20 GB can be secured.
  • FIG. 14 shows an example of the processing contents related to the rearrangement of the cache division area.
  • the configuration changing unit 204 performs capacity change (capacity deletion) for a cache division area having a deletion capacity (step S41). More specifically, the configuration changing unit 204 refers to the relocation information table 307, identifies one cache partition area having a deleted capacity, and extracts the deleted capacity. Next, the configuration change unit 204 refers to the storage cache configuration information table 308, identifies the allocated capacity of the cache partition area, and sets a value obtained by subtracting the deleted capacity extracted above from the identified allocated capacity as a new allocated capacity. The storage cache configuration information table 308 is updated. Next, the configuration change unit 204 instructs the cache memory management unit 205 to rearrange the cache divided areas.
  • capacity change capacity deletion
  • the cache memory management unit 205 allocates the address of the storage area of the cache memory 34 corresponding to the cache divided area so as to reduce the cache divided area (delete the cache capacity) according to the allocated capacity of the storage cache configuration information table 308. To change. At this time, if there is data in the cache divided area, the cache memory management unit 205 changes the allocation of the address of the storage area after saving the data.
  • the configuration changing unit 204 determines whether or not there is an unprocessed cache divided area having a deleted capacity (step S42). If the configuration changing unit 204 determines that there is an unprocessed cache divided area having a deleted capacity, the process is shifted to step S41. If it is determined that there is no unprocessed cache divided area having a deleted capacity, the process is changed to step S43. Move processing.
  • the configuration changing unit 204 changes the capacity of the cache division area exceeding the threshold (adds capacity) (step S43), and shifts the processing to the entire flow. More specifically, the configuration changing unit 204 refers to the storage cache configuration information table 308, identifies the allocated capacity of the cache partition area that exceeds the threshold, and deletes the calculated allocated capacity from the relocation information table 307. The storage cache configuration information table 308 is updated with the sum of the capacities as a new allocated capacity. Next, the configuration change unit 204 instructs the cache memory management unit 205 to rearrange the cache divided areas.
  • the cache memory management unit 205 stores the cache memory 34 corresponding to the threshold-exceeded cache partition area so as to expand the cache partition area exceeding the threshold (add cache capacity) according to the allocated capacity of the storage cache configuration information table 308. Change the storage address assignment.
  • the configuration changing unit 204 updates the rearrangement information table 307 with the deletion capacity of the cache partition area set to “0” at an appropriate timing.
  • the allocation of the cache capacity of the cache partition area is revised so that the load of the cache partition area is leveled based on the operation status after the operation of the computer system 1. Therefore, the cache memory 34 can be used effectively.
  • the present invention is not limited to this, and when the relocation examining unit 203 determines that there is no cache division region where the MAX value of the cache write wait rate exceeds the threshold value, the processing may be shifted to step S10. . According to this configuration, the load on the cache memory 34 can be leveled proactively even when there is no cache division area in which the MAX value of the cache write wait rate exceeds the threshold value.
  • the difference between the MAX value of the cache write wait rate and the threshold value is calculated, and the processing is sequentially performed from the cache divided area having the large difference.
  • the cache divided area having a large number of times the threshold is exceeded is preferentially processed, but the present invention is not limited to this, and cache writing You may make it the object of a process sequentially from the thing with the short monitoring time (time) of the MAX value of a waiting rate, and may combine these suitably.
  • the reallocation review unit 203 determines whether or not there is one cache partition area having a erasable capacity has been described.
  • the arrangement review unit 203 may determine whether there is a cache partition area having a removable capacity larger than the shortage capacity.
  • the reallocation review unit 203 has insufficient cache capacity that needs to be added because the cache write wait information of the specified cache partition area is below a pre-defined caution value that is lower than the threshold value. It is calculated as the cache capacity.
  • the reallocation review unit 203 determines, based on the cache capacity that the cache write wait information of each cache partition area becomes a caution value among the cache partition areas other than the cache partition area identified as exceeding the threshold value.
  • the reallocation review unit 203 compares each of the insufficient cache capacity and each of the deleteable cache capacity, and determines whether or not the cache capacity can be rearranged. According to such a configuration, the insufficient cache capacity can be compensated with one cache division area.
  • the present invention is not limited to this, and the average cache for a certain period is described. Information such as a write wait rate and a ratio that can be calculated from a cache write wait rate for a certain period of time may be acquired.
  • the present invention is not limited to this, and may be a cache capacity necessary for an average value of a predetermined period such as a periodic check interval of the cache write wait rate to be a predetermined cache capacity that is at least a threshold value or less.
  • the cache capacity may be a cache capacity necessary for the average value of the plurality of cache write waiting ratios to be a predetermined cache capacity that is at least a threshold value or less.
  • the predetermined cache capacity may be a cache capacity in which the MAX value of the cache write wait rate is not more than a caution value, or may be a cache capacity in which the average value of the cache write wait rate for a predetermined period is not more than a threshold value.
  • other cache capacity may be used.
  • the predetermined cache capacity may be changed by the administrator.
  • the present invention is not limited to this, and may be a cache capacity necessary for an average value of a predetermined period such as a periodic check interval of the cache write wait rate to be at least a predetermined cache capacity equal to or less than the cache write wait rate.
  • the cache capacity required for the average value of the plurality of cache write waiting ratios to be a predetermined cache capacity at least equal to or less than the cache write waiting ratio may be used.
  • the predetermined cache capacity may be a cache capacity in which the MAX value of the cache write wait rate is equal to or less than the caution value, or may be a cache capacity in which the average value of the cache write wait rate for a predetermined period is equal to or less than the caution value. Other cache capacities may be used.
  • the predetermined cache capacity may be changed by the administrator.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

This storage device is provided with a reallocation examination unit which: identifies, from among a plurality of divided cache regions, a divided cache region that exceeds a predetermined threshold, on the basis of monitored cache write wait information about each of the divided cache regions; calculates the amount by which the identified divided cache region falls short of the required cache capacity; calculates the amount of cache capacity that can be deallocated from each divided cache region other than the identified divided cache region; and compares the calculated amount by which the identified divided cache region falls short of the required cache capacity, with the calculated amount of cache capacity that can be deallocated from each divided cache region, and thereby determines whether or not it is possible to reallocate cache capacity to divided cache regions. This storage device is further provided with a configuration changing unit which reallocates cache capacity to the plurality of divided cache regions on the basis of determination results from the reallocation examination unit.

Description

ストレージ装置およびキャッシュメモリ管理方法Storage apparatus and cache memory management method
 本発明はストレージ装置およびキャッシュメモリ管理方法に関し、例えばキャッシュメモリの負荷の影響範囲を制御するストレージ装置およびキャッシュメモリ管理方法に適用して好適なものである。 The present invention relates to a storage apparatus and a cache memory management method, and is suitable for application to, for example, a storage apparatus and a cache memory management method for controlling an influence range of a load of a cache memory.
 従来、多数のホスト装置が1台のストレージシステムを共有し、特定のホスト装置が大量のデータを読み書きする場合、特定のホスト装置の読み書きデータがキャッシュメモリの多くの領域を占有してしまうことがある。このような状況のもと、他のホスト装置は、キャッシュメモリへの書き込みを待たなければならないため、他のホスト装置においてデータの書き込み速度が低下するおそれがある。 Conventionally, when a large number of host devices share a single storage system and a specific host device reads and writes a large amount of data, the read / write data of the specific host device may occupy a large area of the cache memory. is there. Under such circumstances, the other host devices must wait for writing to the cache memory, and there is a possibility that the data writing speed of the other host devices may be reduced.
 この点、ストレージシステムに内蔵されるキャッシュメモリを論理分割し、利用できるキャッシュ容量を予めホスト装置に割り当て、特定のホスト装置がキャッシュメモリの多くの領域を占有してしまうような状況を避け、ストレージ利用時の負荷の影響範囲を制御する技術が開示されている(特許文献1参照)。 In this regard, the cache memory built in the storage system is logically divided, and the available cache capacity is allocated to the host device in advance, so that a situation where a specific host device occupies a large area of the cache memory is avoided. A technique for controlling the range of influence of load during use is disclosed (see Patent Document 1).
特許第4548037号公報Japanese Patent No. 4548037
 上述の技術を用いてストレージシステムのキャッシュメモリを論理分割する場合、顧客要件、今後の利用計画等に基づいて行うが、運用開始後の利用状況が想定と異なることが原因により、論理分割したキャッシュメモリ(以下、キャッシュ分割領域と称する。)毎の負荷に偏りが生じる状況が発生する。 When the cache memory of the storage system is logically divided using the above-mentioned technology, it is performed based on customer requirements, future usage plans, etc., but the logically divided cache is due to the fact that the usage status after the start of operation is different from the assumption. A situation occurs in which the load for each memory (hereinafter referred to as a cache partition area) is uneven.
 利用計画時よりもキャッシュ分割領域が利用され過ぎてしまい、システム影響が懸念される場合、割当容量の追加を行う対策が必要になるが、容量追加が必要であると判明してから物理的なキャッシュメモリの調達、追加作業に向けた設計、顧客調整といった準備を行うことになるため、対応に時間を要し、対策が遅くなってしまうという問題がある。 If the cache partition area is used more than when planned for use and there is a concern about the impact of the system, it is necessary to take measures to add allocated capacity. Since preparations such as procurement of cache memory, design for additional work, and customer adjustment are made, there is a problem that it takes time to deal with it and measures are delayed.
 またこのとき、負荷が高いキャッシュ分割領域がある一方で、利用計画時よりも利用されずに負荷が低いキャッシュ分割領域が同じストレージシステム内で存在することもある。この点、ストレージ利用時の負荷の影響範囲を制御するためにキャッシュメモリを分割しているため、負荷の低いキャッシュ分割領域で負荷の高いキャッシュ分割領域の処理を一時的に肩代わりするといった動きをさせることは、制御不能になり得ることから好ましくない。 At this time, while there is a cache partition area with a high load, there may be a cache partition area with a lower load that is not used than when planned for use in the same storage system. In this regard, since the cache memory is divided to control the range of influence of the load when using the storage, the cache divided area with low load is temporarily replaced with the processing of the cache divided area with high load. This is undesirable because it can be out of control.
 本発明は以上の点を考慮してなされたもので、キャッシュメモリを有効活用することができるストレージ装置を提案しようとするものである。 The present invention has been made in consideration of the above points, and intends to propose a storage apparatus that can effectively use a cache memory.
 かかる課題を解決するため本発明においては、キャッシュメモリを論理分割した複数のキャッシュ分割領域の各々において利用可能なキャッシュ容量を予めホスト装置に割り当て、前記ホスト装置の入出力要求による前記キャッシュメモリの負荷の影響範囲を制御するストレージ装置であって、前記複数のキャッシュ分割領域の各々についてモニタリングされたキャッシュ書き込み待ち情報に基づいて、予め規定されたしきい値を超えているキャッシュ分割領域を特定し、特定したキャッシュ分割領域で不足しているキャッシュ容量を算出し、特定したキャッシュ分割領域以外のキャッシュ分割領域について削除可能なキャッシュ容量を算出し、不足しているキャッシュ容量と削除可能なキャッシュ容量とを比較し、キャッシュ容量の再配置が可能であるか否かを判定する再配置検討部と、前記再配置検討部の検討結果に基づいて、前記複数のキャッシュ分割領域のキャッシュ容量の再配置を行う構成変更部と、を設けるようにした。 In order to solve such a problem, in the present invention, a cache capacity that can be used in each of a plurality of cache division areas obtained by logically dividing the cache memory is allocated in advance to the host device, and the load on the cache memory due to the input / output request of the host device A cache device that controls a cache write area that exceeds a predetermined threshold based on the cache write wait information monitored for each of the plurality of cache partition areas, Calculate the cache capacity that is insufficient in the specified cache partition area, calculate the cache capacity that can be deleted for cache partition areas other than the specified cache partition area, and calculate the cache capacity that is insufficient and the cache capacity that can be deleted Compare and redistribute cache capacity A relocation review unit that determines whether or not the configuration is possible, and a configuration change unit that rearranges the cache capacity of the plurality of cache division regions based on a result of the review of the relocation review unit I made it.
 また本発明においては、キャッシュメモリを論理分割した複数のキャッシュ分割領域の各々において利用可能なキャッシュ容量を予めホスト装置に割り当て、前記ホスト装置の入出力要求による前記キャッシュメモリの負荷の影響範囲を制御するキャッシュメモリ管理方法であって、再配置検討部が、前記複数のキャッシュ分割領域の各々についてモニタリングされたキャッシュ書き込み待ち情報に基づいて、予め規定されたしきい値を超えているキャッシュ分割領域を特定し、特定したキャッシュ分割領域で不足しているキャッシュ容量を算出し、特定したキャッシュ分割領域以外のキャッシュ分割領域について削除可能なキャッシュ容量を算出し、不足しているキャッシュ容量と削除可能なキャッシュ容量とを比較し、キャッシュ容量の再配置が可能であるか否かを判定する第1のステップと、構成変更部が、前記再配置検討部の検討結果に基づいて、前記複数のキャッシュ分割領域のキャッシュ容量の再配置を行う第2のステップと、を設けるようにした。 In the present invention, a cache capacity that can be used in each of a plurality of cache divided areas obtained by logically dividing the cache memory is allocated to the host device in advance, and the influence range of the load on the cache memory due to the input / output request of the host device is controlled. A cache memory management method, wherein the reallocation review unit selects a cache partition area that exceeds a predetermined threshold based on cache write wait information monitored for each of the plurality of cache partition areas. Identify and calculate the cache capacity that is insufficient in the specified cache partition area, calculate the cache capacity that can be deleted for cache partition areas other than the specified cache partition area, and then delete the cache capacity that is insufficient and the cache that can be deleted Compare with capacity and cache capacity A first step of determining whether or not relocation is possible; and a configuration changing unit that relocates cache capacities of the plurality of cache division regions based on the examination result of the relocation examining unit. 2 steps are provided.
 本発明によれば、キャッシュメモリを論理分割した複数のキャッシュ分割領域の各々についてモニタリングされたキャッシュ書き込み待ち情報に基づいて、キャッシュ分割領域の負荷の平準化が行われるように、キャッシュ分割領域のキャッシュ容量の再配置が行われる。 According to the present invention, the cache partition area cache is leveled so that the load of the cache partition area is leveled based on the cache write wait information monitored for each of the plurality of cache partition areas obtained by logically partitioning the cache memory. Capacity relocation is performed.
 本発明によれば、キャッシュメモリを有効活用することができる。 According to the present invention, the cache memory can be used effectively.
第1の実施の形態による計算機システムの構成の一例を示す図である。It is a figure which shows an example of a structure of the computer system by 1st Embodiment. ストレージ装置のマイクロプロセッサに係る構成の一例を示す図である。It is a figure which shows an example of a structure concerning the microprocessor of a storage apparatus. 管理データベースに格納されるテーブルの一例を示す図である。It is a figure which shows an example of the table stored in a management database. しきい値管理テーブルの一例を示す図である。It is a figure which shows an example of a threshold value management table. モニタリング情報テーブルの一例を示す図である。It is a figure which shows an example of a monitoring information table. 基準値テーブルの一例を示す図である。It is a figure which shows an example of a reference value table. キャッシュモニタリングデータテーブルの一例を示す図である。It is a figure which shows an example of a cache monitoring data table. しきい値超え対象テーブルの一例を示す図である。It is a figure which shows an example of a threshold value exceeding object table. 注意値超え対象テーブルの一例を示す図である。It is a figure which shows an example of an attention value exceeding target table. 再配置情報テーブルの一例を示す図である。It is a figure which shows an example of a rearrangement information table. ストレージキャッシュ構成情報テーブルの一例を示す図である。It is a figure which shows an example of a storage cache structure information table. キャッシュ分割領域の負荷の平準化に係るフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart which concerns on the load equalization of a cache division | segmentation area | region. 他のキャッシュ分割領域に余裕があるか否かの判定に係るフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart which concerns on determination whether other cache division | segmentation areas have room. キャッシュ分割領域の再配置に係るフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart which concerns on rearrangement of a cache division | segmentation area | region.
 以下図面について、本発明の一実施の形態を詳述する。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
(1)第1の実施の形態
 図1において、1は全体として第1の実施の形態による計算機システムを示す。この計算機システム1は、複数のサーバ2(本例では、サーバ2A、サーバ2B、サーバ2C、・・・)と、ストレージ装置3とを備え、複数のサーバ2とストレージ装置3とは通信経路を介して接続されている。通信経路には、SAN(Storage Area Network)等の通信ネットワークが含まれていてもよい。なお、複数のサーバ2は、同様の構成を有するので、以下では、サーバ2Aを例に挙げて説明し、その他のサーバ2B、サーバ2C、・・・については、その説明を省略する。
(1) First Embodiment In FIG. 1, reference numeral 1 denotes a computer system according to a first embodiment as a whole. The computer system 1 includes a plurality of servers 2 (in this example, a server 2A, a server 2B, a server 2C,...) And a storage device 3, and the plurality of servers 2 and the storage device 3 have communication paths. Connected through. The communication path may include a communication network such as a SAN (Storage Area Network). In addition, since the several server 2 has the same structure, below, it demonstrates taking the server 2A as an example, The description is abbreviate | omitted about the other server 2B, server 2C, ....
 サーバ2Aは、CPU(Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)、HDD(Hard Disc Drive)などの記憶装置、1または複数のNIC(Network Interface Card)などを備える、パーソナルコンピュータ、ワークステーション、メインフレームなどのホスト装置である。かかるサーバ2Aは、HBA(Host Bus Adapter)等の通信インタフェースに設けられるFC(Fibre Channel)port21Aを備え、FCport21Aを介してストレージ装置3と通信可能に接続される。サーバ2Aは、例えば、各クライアント端末(図示せず。)からの要求に応じて、ストレージ装置3にデータの読み書きを行うことにより、各クライアント端末にサービスを提供する。 The server 2A includes a storage device such as a CPU (Central Processing Unit), RAM (Random Access Memory), ROM (Read Only Memory), HDD (Hard Disc Drive), one or more NICs (Network Interface Card), etc. It is a host device such as a personal computer, a workstation, or a mainframe. The server 2A includes an FC (Fibre Channel) port 21A provided in a communication interface such as an HBA (Host Bus Adapter), and is communicably connected to the storage apparatus 3 via the FC port 21A. The server 2A provides a service to each client terminal by, for example, reading / writing data from / to the storage apparatus 3 in response to a request from each client terminal (not shown).
 ストレージ装置3は、記憶装置30と、記憶装置30に対するデータの入出力を制御するコントローラ31とを備える。 The storage device 3 includes a storage device 30 and a controller 31 that controls input / output of data to / from the storage device 30.
 記憶装置30は、SCSI(Small Computer System Interface)ディスク、SATA(Serial AT Attachment)ディスク、光ディスクなど、1または複数のディスクから構成される。また、記憶装置30が提供する物理的な記憶領域上には、1または複数の論理ボリュームVOLが設定される。そしてサーバ2からのデータは、この論理ボリュームVOL内に所定大きさのブロック(以下、論理ブロックと称する。)を単位として記憶される。 The storage device 30 includes one or a plurality of disks such as a SCSI (Small Computer System Interface) disk, a SATA (Serial AT Attachment) disk, and an optical disk. One or more logical volumes VOL are set on the physical storage area provided by the storage device 30. Data from the server 2 is stored in units of blocks of a predetermined size (hereinafter referred to as logical blocks) in the logical volume VOL.
 各論理ボリュームVOLには、それぞれ固有のボリューム番号が付与される。本実施の形態の場合、データの入出力は、このボリューム番号と、各論理ブロックにそれぞれ付与されるその論理ブロックのブロック番号(LBA:Logical Block Address)とを組み合わせたものをアドレスとして、当該アドレスを指定して行われる。 A unique volume number is assigned to each logical volume VOL. In the case of the present embodiment, data input / output is performed by using the combination of this volume number and the block number (LBA: Logical Block の Address) of the logical block assigned to each logical block as the address. It is done by specifying.
 コントローラ31は、1又は複数のチャネルアダプタ32、マイクロプロセッサ33、キャッシュメモリ34、およびディスクI/F35を備え、サーバ2から与えられるI/O要求(入出力要求)を受信すると、このI/O要求に応じて、記憶装置30にデータを読み書きする。 The controller 31 includes one or a plurality of channel adapters 32, a microprocessor 33, a cache memory 34, and a disk I / F 35. When receiving an I / O request (input / output request) given from the server 2, the controller 31 receives this I / O. Data is read from and written to the storage device 30 as requested.
 チャネルアダプタ32は、通信経路を介したサーバ2Aとの通信時におけるプロトコル制御を行うハードウェアデバイスであり、通信経路に接続される複数のport36(本例では、port36A、port36B、およびport36C)を備え、port36を介してサーバ2と通信を行う。 The channel adapter 32 is a hardware device that performs protocol control during communication with the server 2A via the communication path, and includes a plurality of ports 36 (port 36A, port 36B, and port 36C in this example) connected to the communication path. , Communicate with the server 2 via the port 36.
 マイクロプロセッサ33は、メモリ、CPU等を有する半導体チップである。メモリは、CPUで実行される処理に必要な制御情報、プログラムなどを保持する。CPUは、チャネルアダプタ32を経由して受信したI/O要求について、アクセス対象のデバイスを特定し、I/O要求を処理する。この際、CPUは、I/O要求に含まれるLUN(Logical Unit Number)によって、アクセス対象のデバイスを特定する。また、CPUがメモリに格納されたプログラムを実行することにより、マイクロプロセッサ33の各種の機能(例えば、図2に示すしきい値管理部201、モニタリング管理部202、再配置検討部203、構成変更部204、キャッシュメモリ管理部205など)が実現される。 The microprocessor 33 is a semiconductor chip having a memory, a CPU, and the like. The memory holds control information and programs necessary for processing executed by the CPU. For the I / O request received via the channel adapter 32, the CPU specifies an access target device and processes the I / O request. At this time, the CPU specifies a device to be accessed by a LUN (Logical Unit Unit Number) included in the I / O request. In addition, various functions of the microprocessor 33 (for example, the threshold management unit 201, the monitoring management unit 202, the rearrangement examination unit 203, the configuration change shown in FIG. 2) are executed by the CPU executing the program stored in the memory. Unit 204, cache memory management unit 205, and the like.
 キャッシュメモリ34は、サーバ2からのI/O要求に対して、予めデータを格納したり、サーバ2から受信したデータを一時的に格納したりする。これによってアクセス要求の処理速度を高める。かかるキャッシュメモリ34の記憶領域(キャッシュ容量)は、論理分割された複数の領域(キャッシュ分割領域)として管理される。 The cache memory 34 stores data in advance or temporarily stores data received from the server 2 in response to an I / O request from the server 2. This increases the processing speed of access requests. The storage area (cache capacity) of the cache memory 34 is managed as a plurality of logically divided areas (cache divided areas).
 ここで、本計算機システム1では、FCport21Aは、port36Aに対応付けられ、port36Aは、所定の論理ボリュームVOLに対応付けられ、所定の論理ボリュームVOLは、1つのキャッシュ分割領域に対応付けられる。つまり、本計算機システム1では、利用可能なキャッシュ容量を予めサーバ2に割り当て、特定のサーバ2がキャッシュメモリ34の多くの領域を占有してしまうような状況を避け、記憶装置30のデータの入出力時の負荷の影響範囲が制御されている。 Here, in this computer system 1, FCport 21A is associated with port 36A, port 36A is associated with a predetermined logical volume VOL, and the predetermined logical volume VOL is associated with one cache partition area. In other words, in this computer system 1, an available cache capacity is allocated to the server 2 in advance to avoid a situation in which the specific server 2 occupies a large area of the cache memory 34, and the data in the storage device 30 is input. The range of influence of load during output is controlled.
 かかる計算機システム1においても、運用開始後の利用状況が想定と異なることが原因により、キャッシュ分割領域毎の負荷に偏りが生じる状況が発生し得る。しかしながら、本計算機システム1では、ストレージ装置3は、キャッシュメモリ34の構成情報および稼働状況を取得し、これらを分析し、各キャッシュ分割領域の拡張および縮小を判断するためのしきい値に基づいて周期的に自動でキャッシュ分割領域の割当ての見直しを行う。これにより、キャッシュ分割領域の負荷の平準化が行われる。以下、詳細について説明する。 In such a computer system 1 as well, there may occur a situation in which the load for each cache partition area is uneven due to the fact that the usage situation after the start of operation differs from the assumption. However, in this computer system 1, the storage apparatus 3 acquires the configuration information and operation status of the cache memory 34, analyzes them, and based on threshold values for determining expansion and contraction of each cache partition area The allocation of cache partition areas is automatically reviewed periodically. As a result, the load on the cache division area is leveled. Details will be described below.
 図2は、ストレージ装置3のマイクロプロセッサ33に係る構成の一例を示す。図2に示すように、マイクロプロセッサ33は、しきい値管理プログラム、モニタリング管理プログラム、再配置検討プログラム、構成変更プログラム、およびキャッシュメモリ管理プログラムを記憶する。 FIG. 2 shows an example of a configuration related to the microprocessor 33 of the storage apparatus 3. As shown in FIG. 2, the microprocessor 33 stores a threshold management program, a monitoring management program, a rearrangement review program, a configuration change program, and a cache memory management program.
 マイクロプロセッサ33がしきい値管理プログラムを実行することにより、キャッシュメモリ34の構成情報(しきい値、注意値など)を管理するしきい値管理部201が実現される。しきい値は、各キャッシュ分割領域のキャッシュ容量が不足しているか否かを判断するとき、不足しているキャッシュ容量または削除可能なキャッシュ容量を算出するとき等に使用する予め規定された値である。注意値は、しきい値と同様に使用される値(広義にはしきい値)であるが、しきい値よりも低い値であって、予め規定された値である。 When the microprocessor 33 executes the threshold management program, the threshold management unit 201 that manages the configuration information (threshold, caution value, etc.) of the cache memory 34 is realized. The threshold value is a predetermined value that is used when determining whether or not the cache capacity of each cache partition area is insufficient, when calculating the insufficient cache capacity or the removable cache capacity, and the like. is there. The attention value is a value used in the same manner as the threshold value (threshold value in a broad sense), but is a value lower than the threshold value and defined in advance.
 マイクロプロセッサ33がモニタリング管理プログラムを実行することにより、キャッシュメモリ34の稼働状況を管理するモニタリング管理部202が実現される。モニタリング管理部202は、稼働状況として、各キャッシュ分割領域のキャッシュ書き込み待ち情報を取得する。本実施の形態では、モニタリング管理部202がキャッシュメモリ34を監視して、各キャッシュ分割領域のキャッシュ書き込み待ち率を所定時間ごとにモニタリングしたモニタリングデータを取得する場合を例に挙げて説明する。 When the microprocessor 33 executes the monitoring management program, the monitoring management unit 202 that manages the operation status of the cache memory 34 is realized. The monitoring management unit 202 acquires cache write wait information for each cache partition area as the operation status. In the present embodiment, a case will be described as an example where the monitoring management unit 202 monitors the cache memory 34 and acquires monitoring data obtained by monitoring the cache write waiting rate of each cache divided area at predetermined time intervals.
 マイクロプロセッサ33が再配置検討プログラムを実行することにより、キャッシュメモリ34の構成情報および稼働状況に基づいて、キャッシュ分割領域のキャッシュ容量の割当て(再配置)を検討する再配置検討部203が実現される。 When the microprocessor 33 executes the relocation examination program, the relocation examination unit 203 that examines the allocation (relocation) of the cache capacity of the cache divided area based on the configuration information and the operation status of the cache memory 34 is realized. The
 例えば、再配置検討部203は、しきい値超えをしているキャッシュ分割領域(しきい値超えキャッシュ分割領域)の有無を確認する。再配置検討部203は、しきい値超えキャッシュ分割領域がある場合、しきい値超えキャッシュ分割領域で不足しているキャッシュ容量を算出し、所定のキャッシュ分割領域(しきい値超えキャッシュ分割領域以外の一または複数のキャッシュ分割領域)について削除可能なキャッシュ容量を算出し、不足しているキャッシュ容量と削除可能なキャッシュ容量とを比較し、キャッシュ容量の再配置が可能であるか否かを判定する。 For example, the relocation examination unit 203 confirms whether or not there is a cache partition area exceeding the threshold (a cache partition area exceeding the threshold). When there is a cache partition area that exceeds the threshold value, the reallocation review unit 203 calculates a cache capacity that is insufficient in the cache partition area that exceeds the threshold value, and determines a predetermined cache partition area (other than the cache partition area that exceeds the threshold value). The cache capacity that can be deleted is calculated for one or more cache partition areas), and the cache capacity that can be deleted is compared with the cache capacity that can be deleted to determine whether the cache capacity can be relocated. To do.
 また例えば、再配置検討部203は、しきい値は超えていないが注意値を超えているキャッシュ分割領域(注意値超えキャッシュ分割領域)の有無を確認する。再配置検討部203は、注意値超えキャッシュ分割領域がある場合、注意値超えキャッシュ分割領域で追加が必要となるキャッシュ容量を算出し、所定のキャッシュ分割領域(注意値超えキャッシュ分割領域のキャッシュ書き込み待ち率より小さいキャッシュ書き込み待ち率となっている一または複数のキャッシュ分割領域)について削除可能なキャッシュ容量を算出し、追加が必要となるキャッシュ容量と削除可能なキャッシュ容量とを比較し、キャッシュ容量の再配置が可能であるか否かを判定する。 Also, for example, the relocation examination unit 203 checks whether or not there is a cache partition area (a cache partition area exceeding the caution value) that does not exceed the threshold value but exceeds the caution value. When there is a cache partition area that exceeds the caution value, the relocation review unit 203 calculates a cache capacity that needs to be added in the cache partition area that exceeds the caution value, and performs cache writing of the cache partition area that exceeds the caution value. The cache capacity that can be deleted is calculated for one or more cache partition areas that have a cache write waiting ratio that is smaller than the waiting ratio, and the cache capacity that needs to be added is compared with the cache capacity that can be deleted. It is determined whether or not rearrangement is possible.
 マイクロプロセッサ33が構成変更プログラムを実行することにより、再配置検討部203の検討結果に基づいてキャッシュ分割領域の構成情報を変更する構成変更部204が実現される。 When the microprocessor 33 executes the configuration change program, the configuration change unit 204 that changes the configuration information of the cache partition area based on the examination result of the relocation examination unit 203 is realized.
 マイクロプロセッサ33がキャッシュメモリ管理プログラムを実行することにより、キャッシュ分割領域の構成情報に基づいてキャッシュメモリ34の記憶領域を論理分割して管理するキャッシュメモリ管理部205が実現される。 When the microprocessor 33 executes the cache memory management program, the cache memory management unit 205 that logically divides and manages the storage area of the cache memory 34 based on the configuration information of the cache division area is realized.
 また、マイクロプロセッサ33は、管理データベース206を備え、管理データベース206には各種のテーブル(図3に示すテーブル等)が記憶される。 Further, the microprocessor 33 includes a management database 206, and various tables (such as the table shown in FIG. 3) are stored in the management database 206.
 図3は、管理データベース206に格納されるテーブルの一例を示す。図3に示すように、管理データベース206には、しきい値管理テーブル301、モニタリング情報テーブル302、基準値テーブル303、キャッシュモニタリングデータテーブル304、しきい値超え対象テーブル305、注意値超え対象テーブル306、再配置情報テーブル307、およびストレージキャッシュ構成情報テーブル308が格納される。図4~図11を用いて各テーブルについて説明する。 FIG. 3 shows an example of a table stored in the management database 206. As shown in FIG. 3, the management database 206 includes a threshold management table 301, a monitoring information table 302, a reference value table 303, a cache monitoring data table 304, a threshold exceeding target table 305, and an attention value exceeding target table 306. The rearrangement information table 307 and the storage cache configuration information table 308 are stored. Each table will be described with reference to FIGS.
 図4は、しきい値管理テーブル301の一例を示す。しきい値管理テーブル301は、キャッシュ書き込み待ち率のしきい値を示す情報とキャッシュ書き込み待ち率の注意値を示す情報とが格納される。 FIG. 4 shows an example of the threshold management table 301. The threshold management table 301 stores information indicating the threshold value of the cache write wait rate and information indicating the attention value of the cache write wait rate.
 キャッシュ分割領域のキャッシュ書き込み待ち率がしきい値を超えている場合、キャッシュ分割領域の負荷が高くキャッシュ容量が不足していることを示す。キャッシュ分割領域のキャッシュ書き込み待ち率がしきい値を超えていないが注意値を超えている場合、キャッシュ分割領域の負荷が適切であることを示す。キャッシュ分割領域のキャッシュ書き込み待ち率が注意値以下である場合、キャッシュ分割領域の負荷が低くキャッシュ容量に余裕があることを示す。 When the cache write waiting rate of the cache partition area exceeds the threshold, it indicates that the cache partition area is heavily loaded and the cache capacity is insufficient. When the cache write waiting rate of the cache partition area does not exceed the threshold value but exceeds the caution value, it indicates that the load of the cache partition area is appropriate. When the cache write waiting rate in the cache partition area is below the caution value, it indicates that the load on the cache partition area is low and the cache capacity is sufficient.
 本実施の形態では、しきい値としては、製品でガイドされているキャッシュ書き込み待ち率の「性能限界値/性能注意値の最も高い値」(本例では、50%)が設定されている。また注意値としては、製品でガイドされている「性能注意値の最も低い値」(本例では、30%)が設定されている。なお、注意値は、製品でガイドされている性能適正値を超える値としてもよい。付言するならば、しきい値および注意値は、上述の値に限られるものではなく、適宜の値を用いることができる。 In the present embodiment, as the threshold value, the cache performance wait rate “the highest performance limit value / performance attention value” (50% in this example) guided by the product is set. As the caution value, “the lowest value of the performance caution value” (30% in this example) guided by the product is set. Note that the caution value may be a value exceeding the appropriate performance value guided by the product. In other words, the threshold value and the caution value are not limited to the above-described values, and appropriate values can be used.
 図5は、モニタリング情報テーブル302の一例を示す。モニタリング情報テーブル302には、キャッシュ分割領域の稼働状況に応じてキャッシュ分割領域の負荷の平準化(キャッシュ容量の再配置)を行う間隔を示す定期チェック間隔の情報が格納される。定期チェック間隔の情報は、サービスレベルに応じて管理者により変更可能である。 FIG. 5 shows an example of the monitoring information table 302. The monitoring information table 302 stores information on a periodic check interval indicating an interval at which the load of the cache partition area is leveled (cache capacity rearrangement) according to the operation status of the cache partition area. Information on the periodic check interval can be changed by the administrator according to the service level.
 図6は、基準値テーブル303の一例を示す。基準値テーブル303には、キャッシュ分割領域ごとに、キャッシュ書き込み待ち率のMAX値がモニタリングされた時間(time)と、キャッシュ書き込み待ち率のMAX値と、書き込み待ち率注意値超え回数と、キャッシュ書き込み待ち率しきい値超え回数との情報が対応付けられて格納される。 FIG. 6 shows an example of the reference value table 303. In the reference value table 303, for each cache divided region, the time (time) when the MAX value of the cache write wait rate is monitored, the MAX value of the cache write wait rate, the number of times the write wait rate exceeds the warning value, and the cache write Information on the number of times the waiting rate threshold has been exceeded is stored in association with each other.
 キャッシュ書き込み待ち率のMAX値は、定期チェック間隔においてモニタリングされたキャッシュ分割領域のキャッシュ書き込み待ち率の最大値を示す。書き込み待ち率注意値超え回数は、定期チェック間隔においてモニタリングされたキャッシュ分割領域のキャッシュ書き込み待ち率が、注意値を超えたがしきい値以下となった回数を示す。キャッシュ書き込み待ち率しきい値超え回数は、定期チェック間隔においてモニタリングされたキャッシュ分割領域のキャッシュ書き込み待ち率が、しきい値を超えた回数を示す。 The MAX value of the cache write wait rate indicates the maximum value of the cache write wait rate of the cache divided area monitored at the regular check interval. The number of times that the write wait rate caution value is exceeded indicates the number of times that the cache write wait rate of the cache divided area monitored in the regular check interval exceeds the caution value but falls below the threshold value. The number of times the cache write wait rate exceeds the threshold indicates the number of times that the cache write wait rate of the cache divided area monitored in the regular check interval exceeds the threshold.
 図7は、キャッシュモニタリングデータテーブル304の一例を示す。キャッシュモニタリングデータテーブル304は、キャッシュ分割領域ごとに設けられるが、図7では、第1キャッシュ分割領域についての例を示している。なお、キャッシュ分割領域ごとにキャッシュモニタリングデータテーブル304が設けられる構成に限られるものではなく、1つのテーブルでまとめて管理する構成であってもよい。 FIG. 7 shows an example of the cache monitoring data table 304. The cache monitoring data table 304 is provided for each cache partition area. FIG. 7 shows an example of the first cache partition area. Note that the configuration is not limited to the configuration in which the cache monitoring data table 304 is provided for each cache division area, and a configuration in which the management is collectively performed by one table may be employed.
 キャッシュモニタリングデータテーブル304には、キャッシュ分割領域のキャッシュ書き込み待ち率がモニタリングされた時間(time)と、そのときのキャッシュ書き込み待ち率との情報が対応付けられて格納される。 In the cache monitoring data table 304, information on the time (time) when the cache write wait rate of the cache divided area is monitored and the cache write wait rate at that time is stored in association with each other.
 モニタリング間隔は、所定の時間(本例では5分)ごとに設定される。所定の時間は、管理者により変更可能である。 The monitoring interval is set every predetermined time (5 minutes in this example). The predetermined time can be changed by the administrator.
 図8は、しきい値超え対象テーブル305の一例を示す。しきい値超え対象テーブル305は、しきい値超えキャッシュ分割領域(対象部位キャッシュ)と、キャッシュ書き込み待ち率のMAX値と、不足容量との情報が対応付けられて格納される。 FIG. 8 shows an example of the threshold value exceeding target table 305. The threshold value exceeding target table 305 stores information on the threshold exceeding cache division region (target part cache), the MAX value of the cache write waiting rate, and the insufficient capacity in association with each other.
 この不足容量は、しきい値超えキャッシュ分割領域に不足しているキャッシュ容量であり、キャッシュ書き込み待ち率のMAX値が少なくともしきい値以下の所定のキャッシュ容量となるために必要なキャッシュ容量である。 This insufficient capacity is a cache capacity that is insufficient in the cache division area that exceeds the threshold, and is a cache capacity that is necessary for the MAX value of the cache write wait rate to be a predetermined cache capacity that is at least the threshold value or less. .
 本実施の形態では、不足容量が、キャッシュ書き込み待ち率のMAX値が注意値以下のキャッシュ容量となるために必要なキャッシュ容量である場合を例に挙げて説明する。 In the present embodiment, the case where the shortage capacity is a cache capacity necessary for the cache capacity of the cache write waiting rate to be equal to or less than the caution value will be described as an example.
 図9は、注意値超え対象テーブル306の一例を示す。注意値超え対象テーブル306は、注意値超えキャッシュ分割領域(対象部位キャッシュ)と、キャッシュ書き込み待ち率のMAX値と、不足容量との情報が対応付けられて格納される。 FIG. 9 shows an example of the attention value excess target table 306. The attention value excess target table 306 stores information on the attention value excess cache division region (target part cache), the MAX value of the cache write wait rate, and the insufficient capacity in association with each other.
 この不足容量は、注意値超えキャッシュ分割領域に追加が必要となるキャッシュ容量であり、キャッシュ書き込み待ち率のMAX値が少なくとも当該キャッシュ書き込み待ち率以下の所定のキャッシュ容量となるために必要なキャッシュ容量である。 This insufficient capacity is a cache capacity that needs to be added to the cache partition area that exceeds the caution value, and the cache capacity that is necessary for the MAX value of the cache write wait rate to be at least a predetermined cache capacity that is equal to or less than the cache write wait rate. It is.
 本実施の形態では、不足容量が、キャッシュ書き込み待ち率のMAX値が注意値以下のキャッシュ容量となるために必要なキャッシュ容量である場合を例に挙げて説明する。 In the present embodiment, the case where the shortage capacity is a cache capacity necessary for the cache capacity of the cache write waiting rate to be equal to or less than the caution value will be described as an example.
 図10は、再配置情報テーブル307の一例を示す。再配置情報テーブル307には、キャッシュ分割領域ごとに、キャッシュ書き込み待ち率のMAX値と注意値との差と、削除可能なキャッシュ容量と、削除予定のキャッシュ容量を示す削除容量との情報が対応付けられて格納される。なお、再配置情報テーブル307には、再配置検討部203がしきい値超えキャッシュ分割領域についての再配置を検討している際は、しきい値超えの場合の情報が格納され、再配置検討部203が注意値超えキャッシュ分割領域についての再配置を検討している際は、注意値超えの場合の情報が格納される。 FIG. 10 shows an example of the rearrangement information table 307. In the relocation information table 307, information on the difference between the MAX value of the cache write wait rate and the caution value, the deleteable cache capacity, and the delete capacity indicating the cache capacity to be deleted corresponds to each cache partition area. Attached and stored. In the relocation information table 307, when the relocation review unit 203 is considering relocation for a cache partition area that exceeds the threshold, information on the case where the threshold is exceeded is stored. When the unit 203 is considering relocation of the cache partition area exceeding the caution value, information when the caution value is exceeded is stored.
 削除可能なキャッシュ容量は、キャッシュ容量に余裕があるキャッシュ分割領域から削除可能なキャッシュ容量である。キャッシュ容量に余裕があるキャッシュ分割領域は、しきい値超えの場合、キャッシュ書き込み待ち率が少なくともしきい値未満(本例では、注意値未満)のキャッシュ容量となるキャッシュ分割領域であり、注意値超えの場合、キャッシュ書き込み待ち率が少なくとも当該キャッシュ書き込み待ち率未満(本例では、注意値未満)のキャッシュ容量となるキャッシュ分割領域である。 The cache capacity that can be deleted is the cache capacity that can be deleted from the cache partition area where the cache capacity is sufficient. A cache partition area with sufficient cache capacity is a cache partition area where the cache write wait rate is less than the threshold value (less than the caution value in this example) when the threshold value is exceeded. In the case of exceeding the cache write area, the cache write waiting rate is at least a cache capacity that is less than the cache write wait rate (in this example, less than the caution value).
 図11は、ストレージキャッシュ構成情報テーブル308の一例を示す。ストレージキャッシュ構成情報テーブル308には、キャッシュメモリ34全体のキャッシュ容量(搭載容量)の情報が格納される。また、ストレージキャッシュ構成情報テーブル308には、キャッシュ分割領域ごとに割り当てられるキャッシュ容量(割当容量)が格納される。 FIG. 11 shows an example of the storage cache configuration information table 308. The storage cache configuration information table 308 stores information on the cache capacity (mounting capacity) of the entire cache memory 34. The storage cache configuration information table 308 stores a cache capacity (allocated capacity) allocated for each cache partition area.
 図12は、キャッシュ分割領域の負荷の平準化に係る処理内容(全体フロー)の一例を示す。 FIG. 12 shows an example of the processing contents (overall flow) related to leveling the load of the cache partition area.
 まず、モニタリング管理部202は、モニタリング間隔ごとにモニタリング情報(キャッシュ分割領域ごとにキャッシュ書き込み待ち率)の取得を開始し(ステップS1)、ステップS2に処理を移す。なお、モニタリング管理部202は、ステップS2に処理を移した後も、モニタリング情報の取得は継続する。 First, the monitoring management unit 202 starts acquiring monitoring information (cache write waiting rate for each cache division area) at every monitoring interval (step S1), and moves the process to step S2. Note that the monitoring management unit 202 continues to acquire the monitoring information even after moving the process to step S2.
 ステップS2では、モニタリング管理部202は、各モニタリング項目から基準値を取得する。より具体的には、モニタリング管理部202は、定期チェック間隔が経過すると、キャッシュモニタリングデータテーブル304から、定期チェック間隔分のキャッシュ書き込み待ち率がモニタリングされた時間およびキャッシュ書き込み待ち率を取得する。次いで、モニタリング管理部202は、キャッシュ分割領域ごとに、キャッシュ書き込み待ち率のMAX値を特定すると共に、しきい値越え回数および注意値超え回数を計数する。そして、特定したキャッシュ書き込み待ち率のMAX値と計数したしきい値超え回数および注意値超え回数とを基準値テーブル303に格納する。 In step S2, the monitoring management unit 202 acquires a reference value from each monitoring item. More specifically, when the regular check interval elapses, the monitoring management unit 202 acquires the time during which the cache write wait rate for the regular check interval is monitored and the cache write wait rate from the cache monitoring data table 304. Next, the monitoring management unit 202 specifies the MAX value of the cache write waiting rate for each cache division area, and counts the number of times that the threshold value has been exceeded and the number of times that the attention value has been exceeded. Then, the MAX value of the specified cache write wait rate and the counted number of times of exceeding the threshold and the number of times of exceeding the attention value are stored in the reference value table 303.
 続いて、しきい値管理部201は、基準値テーブル303の各キャッシュ書き込み待ち率のMAX値としきい値管理テーブル301のしきい値とを比較し、しきい値超え対象テーブル305および注意値超え対象テーブル306を更新する(ステップS3)。より具体的には、しきい値管理部201は、各キャッシュ分割領域のキャッシュ書き込み待ち率のMAX値としきい値とを比較し、しきい値を超えるキャッシュ分割領域のキャッシュ書き込み待ち率のMAX値をしきい値超え対象テーブル305に追加する。なお、不足容量については、後述のステップS5で追加(登録)される。また、しきい値管理部201は、各キャッシュ分割領域のキャッシュ書き込み待ち率のMAX値としきい値および注意値とを比較し、注意値を超えるがしきい値以下となるキャッシュ分割領域のキャッシュ書き込み待ち率のMAX値を注意値超え対象テーブル306に追加する。 Subsequently, the threshold value management unit 201 compares the MAX value of each cache write waiting rate in the reference value table 303 with the threshold value in the threshold value management table 301, and exceeds the threshold value exceeded table 305 and the attention value value. The target table 306 is updated (step S3). More specifically, the threshold value management unit 201 compares the cache write waiting rate MAX value of each cache divided area with the threshold value, and the cache write waiting rate MAX value of the cache divided area exceeding the threshold value. Is added to the threshold exceeded target table 305. The insufficient capacity is added (registered) in step S5 described later. Further, the threshold management unit 201 compares the MAX value of the cache write waiting rate of each cache partition area with the threshold value and the caution value, and the cache write of the cache partition area that exceeds the caution value but falls below the threshold value. The MAX value of the waiting rate is added to the attention value excess target table 306.
 続いて、再配置検討部203は、キャッシュ書き込み待ち率のMAX値がしきい値を超えるキャッシュ分割領域があるか否かを判定する(ステップS4)。より具体的には、再配置検討部203は、しきい値超え対象テーブル305を参照し、情報(レコード)が格納されているか否かを判定する。 Subsequently, the relocation examining unit 203 determines whether or not there is a cache partition area in which the MAX value of the cache write wait rate exceeds the threshold value (step S4). More specifically, the reallocation review unit 203 refers to the threshold value excess target table 305 and determines whether information (record) is stored.
 この際、複数のレコードが格納されている場合、キャッシュ書き込み待ち率のMAX値としきい値との差を算出し、その差が大きいキャッシュ分割領域から順次に処理(ステップS5~ステップS9)の対象とする。また、その差が同じ値のキャッシュ分割領域が複数ある場合、しきい値超え回数が多いキャッシュ分割領域を優先して処理の対象とする。このように、キャッシュ書き込み待ち率のMAX値としきい値との差が大きいキャッシュ分割領域の再配置が優先して行われることで、キャッシュ分割領域の高負荷により、対応するサーバ2へのレスポンスが待機などするような事態を回避することができる。なお、キャッシュ書き込み待ち率のMAX値としきい値との差としきい値超え回数との優先順序を管理者が変更するように構成してもよい。例えば、キャッシュ書き込み待ち率のMAX値としきい値との差よりも、しきい値超え回数の優先度を高くした場合、サーバ2へのレスポンスが頻繁に低速になる事態を回避することができる。 At this time, if a plurality of records are stored, the difference between the MAX value of the cache write wait rate and the threshold value is calculated, and the processing (steps S5 to S9) is sequentially performed from the cache division area where the difference is large. And In addition, when there are a plurality of cache divided areas having the same difference, a cache divided area having a large number of times of exceeding the threshold is preferentially processed. As described above, the rearrangement of the cache divided area having a large difference between the MAX value of the cache write waiting rate and the threshold value is preferentially performed, so that a response to the corresponding server 2 is received due to the high load of the cache divided area. A situation such as waiting can be avoided. The administrator may change the priority order of the difference between the MAX value of the cache write wait rate and the threshold value and the number of times the threshold value is exceeded. For example, when the priority of the number of times the threshold is exceeded is made higher than the difference between the MAX value of the cache write wait rate and the threshold, it is possible to avoid a situation where the response to the server 2 is frequently slowed down.
 再配置検討部203は、キャッシュ書き込み待ち率のMAX値がしきい値を超えるキャッシュ分割領域があると判定した場合、ステップS5に処理を移し、キャッシュ書き込み待ち率のMAX値がしきい値を超えるキャッシュ分割領域がないと判定した場合、ステップS2に処理を移す。 If the relocation examining unit 203 determines that there is a cache partition area in which the MAX value of the cache write wait rate exceeds the threshold, the process moves to step S5, and the MAX value of the cache write wait rate exceeds the threshold. If it is determined that there is no cache division area, the process proceeds to step S2.
 ステップS5では、再配置検討部203は、不足しているキャッシュ容量(不足容量)を算出する。より具体的には、再配置検討部203は、キャッシュ書き込み待ち率のMAX値が注意値以下となるために必要なキャッシュ容量を算出する。次いで、再配置検討部203は、ストレージキャッシュ構成情報テーブル308を参照し、現在の割当容量を取得し、必要なキャッシュ容量から割当容量を減算することで、不足しているキャッシュ容量を算出する。そして、再配置検討部203は、算出した不足しているキャッシュ容量をしきい値超え対象テーブル305に格納する。 In step S5, the reallocation review unit 203 calculates an insufficient cache capacity (insufficient capacity). More specifically, the relocation review unit 203 calculates a cache capacity necessary for the MAX value of the cache write wait rate to be equal to or less than the caution value. Next, the reallocation review unit 203 refers to the storage cache configuration information table 308, acquires the current allocated capacity, and subtracts the allocated capacity from the necessary cache capacity, thereby calculating the insufficient cache capacity. Then, the reallocation review unit 203 stores the calculated insufficient cache capacity in the threshold value excess target table 305.
 ここで、図8に示すように第1キャッシュ分割領域のキャッシュ書き込み待ち率のMAX値が55%であり、図11に示すように第1キャッシュ分割領域の割当容量が100GBであり、図4に示す注意値(30%)以下となるために必要なキャッシュ容量を算出する場合を例に挙げて説明する。 Here, as shown in FIG. 8, the MAX value of the cache write waiting rate of the first cache partition area is 55%, and the allocated capacity of the first cache partition area is 100 GB as shown in FIG. A case where the cache capacity necessary to be equal to or less than the indicated attention value (30%) is calculated will be described as an example.
 この例では、キャッシュ書き込み待ち率のMAX値が55%であるので、100GBのうち55GBが書き込み待ちデータ用に使用されている状態である。よって、55GB分が書き込み待ちデータ用に使用されている状態で、書き込み待ち率が注意値30%以下となるキャッシュ容量は、55GB/30%=183.3333GB≒184GBとなる。すなわち、第1キャッシュ分割領域の割当容量が100GBであるので、あと84GB分のキャッシュ容量を追加すれば、第1キャッシュ分割領域の書き込み待ち率が注意値30%以下となる。したがって、第1キャッシュ分割領域において不足しているキャッシュ容量は、84GBとなる。 In this example, since the MAX value of the cache write wait rate is 55%, 55 GB out of 100 GB is used for write wait data. Therefore, in a state where 55 GB is used for write-waiting data, the cache capacity at which the write-waiting rate is 30% or less of the caution value is 55 GB / 30% = 1833.3333 GB≈184 GB. That is, since the allocated capacity of the first cache divided area is 100 GB, if a cache capacity of 84 GB is further added, the write waiting rate of the first cache divided area becomes 30% or less of the caution value. Therefore, the cache capacity that is insufficient in the first cache division area is 84 GB.
 続いて、再配置検討部203は、他のキャッシュ分割領域に余裕があるか否かを判定する(ステップS6)。より具体的には、再配置検討部203は、キャッシュ書き込み待ち率のMAX値が注意値以下のキャッシュ分割領域である一または複数の他のキャッシュ分割領域により、不足しているキャッシュ容量を補うことができるか否かを判定する。なお、この判定の詳細については、図13を参照して説明する。再配置検討部203は、他のキャッシュ分割領域に余裕があると判定した場合、ステップS8に処理を移し、他のキャッシュ分割領域に余裕がないと判定した場合、ステップS7に処理を移す。 Subsequently, the relocation examining unit 203 determines whether there is room in other cache division areas (step S6). More specifically, the reallocation review unit 203 compensates for the insufficient cache capacity with one or a plurality of other cache division areas that are cache division areas whose MAX value of the cache write wait rate is not more than a caution value. It is determined whether or not The details of this determination will be described with reference to FIG. The relocation review unit 203 moves the process to step S8 if it determines that there is room in another cache partition area, and moves the process to step S7 if it determines that there is no room in another cache partition area.
 ステップS7では、再配置検討部203は、キャッシュメモリ34に余裕がないことを管理者(ストレージ装置3と通信可能な管理端末(図示せず。)など)に通知し、処理を終了する。 In step S7, the reallocation review unit 203 notifies an administrator (such as a management terminal (not shown) capable of communicating with the storage device 3) that the cache memory 34 has no room, and ends the process.
 ステップS8では、構成変更部204は、キャッシュ分割領域の再配置を行う。より具体的には、構成変更部204は、余裕のあるキャッシュ分割領域からキャッシュ容量を削除し、不足しているキャッシュ分割領域にキャッシュ容量を追加する。この処理の詳細については、図14を参照して説明する。 In step S8, the configuration changing unit 204 rearranges the cache partition areas. More specifically, the configuration changing unit 204 deletes the cache capacity from the spare cache divided area and adds the cache capacity to the insufficient cache divided area. Details of this processing will be described with reference to FIG.
 続いて、再配置検討部203は、キャッシュ書き込み待ち率のMAX値がしきい値を超えるキャッシュ分割領域があるか否か、すなわち処理対象のキャッシュ分割領域が残っているか否かを判定する(ステップS9)。再配置検討部203は、キャッシュ書き込み待ち率のMAX値がしきい値を超えるキャッシュ分割領域があると判定した場合、ステップS5に処理を移し、キャッシュ書き込み待ち率のMAX値がしきい値を超えるキャッシュ分割領域がないと判定した場合、ステップS10に処理を移す。 Subsequently, the reallocation review unit 203 determines whether there is a cache partition area in which the MAX value of the cache write wait rate exceeds a threshold value, that is, whether there is a cache partition area to be processed remaining (step) S9). If the relocation examining unit 203 determines that there is a cache partition area in which the MAX value of the cache write wait rate exceeds the threshold, the process moves to step S5, and the MAX value of the cache write wait rate exceeds the threshold. If it is determined that there is no cache division area, the process proceeds to step S10.
 ステップS10では、再配置検討部203は、キャッシュ書き込み待ち率のMAX値が注意値を超えるがしきい値以下となるキャッシュ分割領域があるか否かを判定する。より具体的には、再配置検討部203は、注意値超え対象テーブル306を参照し、情報(レコード)が格納されているか否かを判定する。この際、複数のレコードが格納されている場合、キャッシュ書き込み待ち率のMAX値と注意値との差を算出し、その差が最大のキャッシュ分割領域を処理(ステップS11~ステップS13)の対象とする。また、その差が同じ値のキャッシュ分割領域が複数ある場合、注意値超え回数が多いキャッシュ分割領域を優先して処理の対象とする。再配置検討部203は、キャッシュ書き込み待ち率のMAX値が注意値を超えるがしきい値以下となるキャッシュ分割領域があると判定した場合、ステップS11に処理を移し、キャッシュ書き込み待ち率のMAX値が注意値を超えるがしきい値以下となるキャッシュ分割領域がないと判定した場合、ステップS2に処理を移す。 In step S10, the relocation examining unit 203 determines whether or not there is a cache partition area in which the MAX value of the cache write wait rate exceeds the caution value but falls below the threshold value. More specifically, the rearrangement review unit 203 refers to the caution value excess target table 306 and determines whether information (record) is stored. At this time, when a plurality of records are stored, the difference between the MAX value of the cache write waiting rate and the caution value is calculated, and the cache division area with the largest difference is processed (steps S11 to S13). To do. In addition, when there are a plurality of cache divided areas having the same difference, the cache divided areas having a large number of times the warning value is exceeded are preferentially processed. If the relocation examining unit 203 determines that there is a cache partition area in which the MAX value of the cache write wait rate exceeds the caution value but is equal to or less than the threshold value, the process moves to step S11, and the MAX value of the cache write wait rate If it is determined that there is no cache partition area that exceeds the caution value but is below the threshold value, the process proceeds to step S2.
 付言するならば、しきい値超えキャッシュ分割領域の場合と同様に、全ての注意値超えキャッシュ分割領域について再配置を行うように構成してもよい。この構成によれば、注意値超えキャッシュ分割領域の負荷が、キャッシュ書き込み待ち率のMAX値と注意値との差が最大のキャッシュ分割領域のみの再配置の場合と比べてさらに平準化される。 If it adds, you may comprise so that it may rearrange about all the cache division area | regions exceeding a warning value similarly to the case of the cache division | segmentation area | region exceeding a threshold value. According to this configuration, the load of the cache division area exceeding the caution value is further leveled compared to the case of relocation of only the cache division area where the difference between the MAX value of the cache write waiting rate and the caution value is the maximum.
 続いて、再配置検討部203は、他のキャッシュ分割領域に余裕があるか否かを判定する(ステップS11)。より具体的には、再配置検討部203は、処理対象のキャッシュ分割領域とは異なる他のキャッシュ分割領域であって、キャッシュ書き込み待ち率のMAX値が注意値以下のキャッシュ分割領域である一または複数のキャッシュ分割領域により、所定のキャッシュ容量を補うことができるか否かを判定する。再配置検討部203は、他のキャッシュ分割領域に余裕があると判定した場合、ステップS13に処理を移し、他のキャッシュ分割領域に余裕がないと判定した場合、ステップS12に処理を移す。なお、この判定の詳細については、図13に示す処理と同様であり、主に、しきい値超え対象テーブル305を注意値超え対象テーブル306に読み替えるものとなるので、その説明を省略する。 Subsequently, the relocation review unit 203 determines whether there is room in another cache partition area (step S11). More specifically, the rearrangement review unit 203 is another cache partition area that is different from the cache partition area to be processed, and is a cache partition area in which the MAX value of the cache write wait rate is a caution value or less. It is determined whether or not a predetermined cache capacity can be supplemented by a plurality of cache division areas. The relocation review unit 203 moves the process to step S13 if it determines that there is room in another cache partition area, and moves the process to step S12 if it determines that there is no room in another cache partition area. Note that the details of this determination are the same as the processing shown in FIG. 13, and the threshold value exceeded target table 305 is mainly replaced with the caution value exceeded target table 306, and thus description thereof is omitted.
 ステップS12では、再配置検討部203は、キャッシュメモリ34に余裕がないことを管理者(ストレージ装置3と通信可能な管理端末(図示せず。)など)に通知し、処理をステップS14に移す。 In step S12, the reallocation review unit 203 notifies an administrator (such as a management terminal (not shown) capable of communicating with the storage apparatus 3) that the cache memory 34 has no room, and the process proceeds to step S14. .
 ステップS13では、構成変更部204は、キャッシュ分割領域の再配置を行う。より具体的には、構成変更部204は、余裕のあるキャッシュ分割領域からキャッシュ容量を削除し、処理対象のキャッシュ分割領域にキャッシュ容量を追加する。この処理の詳細については、図14を参照して説明する。 In step S13, the configuration changing unit 204 rearranges the cache partition areas. More specifically, the configuration changing unit 204 deletes the cache capacity from the spare cache divided area and adds the cache capacity to the processing target cache divided area. Details of this processing will be described with reference to FIG.
 上述したステップS10~ステップS13の処理によれば、キャッシュ書き込み待ち率が注意値を超えるがしきい値未満となるキャッシュ分割領域(予防対象のキャッシュ分割領域)の有無が確認される。また、予防対象のキャッシュ分割領域がある場合、予防対象のキャッシュ分割領域で必要な追加容量(不足容量)が算出され、他のキャッシュ分割領域に余裕があるかが判定され、判定結果に基づいてキャッシュ分割領域の再配置が行われる。かかる処理によれば、キャッシュ分割領域の負荷がさらに平準化され、ひいては予防的に平準化される。 According to the processing of step S10 to step S13 described above, it is confirmed whether there is a cache partition area (prevention target cache partition area) in which the cache write wait rate exceeds the caution value but is less than the threshold value. If there is a cache partition area to be prevented, the additional capacity (insufficient capacity) required in the cache partition area to be prevented is calculated, and it is determined whether there is room in other cache partition areas. Relocation of the cache partition area is performed. According to such processing, the load on the cache partition area is further leveled, and consequently, leveled proactively.
 ステップS14では、再配置検討部203は、レポートを作成し、管理者(ストレージ装置3と通信可能な管理端末(図示せず。)など)にレポートを出力し、処理をステップS2に移す。再配置検討部203は、実施した処理結果、注意すべきキャッシュ分割領域を示す情報(例えば、各キャッシュ分割領域の注意値超え回数の情報)、キャッシュ容量に余裕があるキャッシュ分割領域に係る情報(削除可能なキャッシュ容量、削除容量の情報)などをレポートに含める。 In step S14, the rearrangement review unit 203 creates a report, outputs the report to an administrator (such as a management terminal (not shown) that can communicate with the storage device 3), and moves the processing to step S2. The relocation examination unit 203 performs the processing result, information indicating the cache partition area to be noted (for example, information on the number of times the cache partition area exceeds the caution value), and information related to the cache partition area having a sufficient cache capacity ( Include cache capacity that can be deleted, information on deleted capacity, etc.) in the report.
 図13は、他のキャッシュ分割領域に余裕があるか否かの判定に係る処理内容の一例を示す。 FIG. 13 shows an example of the processing contents related to the determination as to whether or not there is room in other cache division areas.
 まず、再配置検討部203は、基準値テーブル303の全てのキャッシュ分割領域について、削除可能なキャッシュ容量(削除可能容量)を算出する(ステップS21)。より具体的には、再配置検討部203は、基準値テーブル303の全てのキャッシュ分割領域について、キャッシュ書き込み待ち率のMAX値と注意値との差を算出し、削除可能なキャッシュ容量を算出し、再配置情報テーブル307を更新する。 First, the rearrangement review unit 203 calculates a deletable cache capacity (deletable capacity) for all cache divided areas in the reference value table 303 (step S21). More specifically, the reallocation review unit 203 calculates the difference between the MAX value of the cache write wait rate and the caution value for all the cache divided areas in the reference value table 303, and calculates the deleteable cache capacity. The relocation information table 307 is updated.
 ここで、図4に示すように注意値が30%であり、図6に示すように第2キャッシュ分割領域のキャッシュ書き込み待ち率のMAX値が15%であり、図11に示すように第2キャッシュ分割領域の割当容量が400GBである場合を例に挙げて削除可能なキャッシュ容量を算出する方法を説明する。 Here, the attention value is 30% as shown in FIG. 4, the MAX value of the cache write wait rate in the second cache partition area is 15% as shown in FIG. 6, and the second value as shown in FIG. A method for calculating the removable cache capacity will be described by taking as an example a case where the allocated capacity of the cache divided area is 400 GB.
 この例では、キャッシュ書き込み待ち率のMAX値15%と注意値30%との差は、15%-30%=-15%となる。また、第2キャッシュ分割領域の割当容量400GBのうち、キャッシュ書き込み待ち率のMAX値は15%であるので、60GB分が書き込み待ちデータ用に使用されている状態である。すなわち、60GB分が書き込み待ちデータ用に使用されている状態で、キャッシュ書き込み待ち率が注意値30%となるキャッシュ容量は、60GB/30%=200GBとなる。故に、第2キャッシュ分割領域の割当容量は、400GBであるので、199GB分キャッシュ容量を減らしても、書き込み待ち率は、注意値30%未満を維持することが可能である。したがって、第2キャッシュ分割領域については、削除可能なキャッシュ容量は、199GBとなる。なお、キャッシュ容量を200GB減らすと、書き込み待ち率が30%になるため、未満となるように、200GBより小さい値(本例では199GB)としている。 In this example, the difference between the cache write waiting rate MAX value of 15% and the attention value of 30% is 15% -30% =-15%. Further, in the allocated capacity 400 GB of the second cache divided area, the MAX value of the cache write wait rate is 15%, so that 60 GB is used for write wait data. That is, in a state in which 60 GB is used for write-waiting data, the cache capacity at which the cache write wait rate is the caution value 30% is 60 GB / 30% = 200 GB. Therefore, since the allocated capacity of the second cache divided area is 400 GB, even if the cache capacity is reduced by 199 GB, it is possible to maintain the write wait rate below the caution value of 30%. Therefore, for the second cache divided area, the removable cache capacity is 199 GB. Note that when the cache capacity is reduced by 200 GB, the write wait rate becomes 30%, so that the value is smaller than 200 GB (in this example, 199 GB) so as to be less.
 続いて、再配置検討部203は、不足容量が削除可能容量の総量以下であるか否かを判定する(ステップS22)。再配置検討部203は、不足容量が削除可能容量の総量以下であると判定した場合、ステップS23に処理を移し、不足容量が削除可能容量の総量以下でないと判定した場合、他のキャッシュ分割領域に余裕がないと判定し、全体フローに処理を移す。 Subsequently, the relocation examining unit 203 determines whether or not the insufficient capacity is equal to or less than the total amount of removable capacity (step S22). If the relocation examining unit 203 determines that the shortage capacity is less than or equal to the total amount of deleteable capacity, it moves the process to step S23, and if it determines that the shortage capacity is not less than or equal to the total amount of deleteable capacity, It is determined that there is no room, and the process is moved to the entire flow.
 続いて、再配置検討部203は、削除可能容量を持つキャッシュ分割領域が1つであるか否かを判定する(ステップS23)。再配置検討部203は、削除可能容量を持つキャッシュ分割領域が1つであると判定した場合、ステップS24に処理を移し、削除可能容量を持つキャッシュ分割領域が1つでないと判定した場合、ステップS25に処理を移す。 Subsequently, the relocation examining unit 203 determines whether or not there is one cache partition area having a deleteable capacity (step S23). If the relocation examination unit 203 determines that there is one cache partition area having a deleteable capacity, it moves the process to step S24, and if it determines that there is not one cache partition area having a deleteable capacity, the step The processing is moved to S25.
 ステップS24では、再配置検討部203は、再配置情報テーブル307の削除可能なキャッシュ容量と削除容量とを更新し、他のキャッシュ分割領域に余裕があると判定し、全体フローに処理を移す。 In step S24, the rearrangement review unit 203 updates the deleteable cache capacity and the deletion capacity of the rearrangement information table 307, determines that there is room in other cache division areas, and shifts the processing to the entire flow.
 ステップS25では、再配置検討部203は、再配置情報テーブル307を参照し、キャッシュ書き込み待ち率のMAX値と注意値との差が最も大きいキャッシュ分割領域(キャッシュ分割領域A)を処理の対象とする。 In step S25, the reallocation review unit 203 refers to the reallocation information table 307 and selects a cache division area (cache division area A) having the largest difference between the MAX value of the cache write wait rate and the caution value as a processing target. To do.
 続いて、再配置検討部203は、キャッシュ書き込み待ち率を所定量(例えば1%)増やすためのキャッシュ容量を算出し、削除容量とする(ステップS26)。 Subsequently, the relocation examining unit 203 calculates a cache capacity for increasing the cache write wait rate by a predetermined amount (for example, 1%) and sets it as a deletion capacity (step S26).
 続いて、再配置検討部203は、再配置情報テーブル307のキャッシュ書き込み待ち率のMAX値と注意値との差と削除容量とを更新する(ステップS27)。 Subsequently, the relocation examining unit 203 updates the difference between the MAX value of the cache write wait rate and the caution value and the deletion capacity in the relocation information table 307 (step S27).
 続いて、再配置検討部203は、不足容量が削除容量の総量以下となるか否かを判定する(ステップS28)。再配置検討部203は、不足容量が削除容量の総量以下となると判定した場合、ステップS29に処理を移し、不足容量が削除容量の総量以下とならないと判定した場合、ステップS30に処理を移す。 Subsequently, the relocation examining unit 203 determines whether or not the shortage capacity is equal to or less than the total amount of deletion capacity (step S28). When the rearrangement examining unit 203 determines that the shortage capacity is equal to or less than the total amount of deletion capacity, the relocation examining unit 203 proceeds to step S29, and when it is determined that the shortage capacity is not equal to or less than the total amount of deletion capacity, the processing is shifted to step S30.
 ステップS29では、再配置検討部203は、再配置情報テーブル307の削除可能なキャッシュ容量を更新し、他のキャッシュ分割領域に余裕があると判定し、全体フローに処理を移す。 In step S29, the reallocation review unit 203 updates the cache capacity that can be deleted from the reallocation information table 307, determines that there is room in another cache division area, and moves the processing to the entire flow.
 ステップS30では、再配置検討部203は、キャッシュ分割領域Aのキャッシュ書き込み待ち率を所定量(例えば1%)増やしても、キャッシュ分割領域Aの次にキャッシュ書き込み待ち率が大きいキャッシュ分割領域と差があるか否かを判定する。再配置検討部203は、差があると判定した場合、ステップS26に処理を移し、差がないと判定した場合、ステップS31に処理を移す。 In step S30, the reallocation review unit 203 differs from the cache partition area having the next largest cache write wait rate after the cache partition area A even if the cache write wait ratio of the cache partition area A is increased by a predetermined amount (for example, 1%). It is determined whether or not there is. If the rearrangement examining unit 203 determines that there is a difference, it moves the process to step S26, and if it determines that there is no difference, it moves the process to step S31.
 ステップS31では、再配置検討部203は、キャッシュ分割領域Aと、キャッシュ分割領域Aの次にキャッシュ書き込み待ち率との差が大きいキャッシュ分割領域とをキャッシュ分割領域Aとし、ステップS25に処理を移す。 In step S31, the reallocation review unit 203 sets the cache partition area A and the cache partition area having the next largest difference in the cache write wait rate after the cache partition area A as the cache partition area A, and moves the process to step S25. .
 ここで、
不足容量:20GB
注意値:30%
第7キャッシュ分割領域:割当容量40GB、キャッシュ書き込み待ち率のMAX値10%
第8キャッシュ分割領域:割当容量40GB、キャッシュ書き込み待ち率のMAX値11%
第9キャッシュ分割領域:割当容量40GB、キャッシュ書き込み待ち率のMAX値12%
である場合を例に挙げて、ステップS25~ステップS30の詳細について説明する。
here,
Insufficient capacity: 20 GB
Caution value: 30%
Seventh cache partition area: allocated capacity 40 GB, cache write wait rate MAX value 10%
Eighth cache partition area: allocated capacity 40 GB, cache write wait rate MAX value 11%
Ninth cache partition area: allocated capacity 40 GB, cache write waiting rate MAX value 12%
The details of step S25 to step S30 will be described by taking the case of the above as an example.
 この例では、まずステップS25において、再配置検討部203は、キャッシュ書き込み待ち率のMAX値と注意との差が最も大きい第7キャッシュ分割領域を処理対象(キャッシュ分割領域A)として決定する。そして、再配置検討部203は、第7キャッシュ分割領域キャッシュ書き込み待ち率を1%増やして11%にするためのキャッシュ容量(40-40×0.1/0.11=3.6・・・≒3)を算出し、削除容量とし(ステップS26)、キャッシュ書き込み待ち率のMAX値と注意値との差を-19%とし、削除容量を3GBとして再配置情報テーブル307に格納する(ステップS27)。再配置検討部203は、3GB分では、不足容量の20GBを満たせないので、ステップS30に処理を移す。そして、再配置検討部203は、第7キャッシュ分割領域の次にキャッシュ書き込み待ち率のMAX値が大きい第8キャッシュ分割領域とキャッシュ書き込み待ち率を11%にした第7キャッシュ分割領域との差はないので、キャッシュ書き込み待ち率のMAX値が11%である第8キャッシュ分割領域とを処理対象(キャッシュ分割領域A)とする(ステップS31)。 In this example, first, in step S25, the relocation examining unit 203 determines the seventh cache divided area having the largest difference between the MAX value of the cache write wait rate and the attention as the processing target (cache divided area A). Then, the rearrangement review unit 203 increases the cache capacity (40-40 × 0.1 / 0.11 = 3.6...) For increasing the seventh cache partition area cache write wait rate by 1% to 11%. ≈3) is calculated and set as the deletion capacity (step S26), the difference between the MAX value of the cache write wait rate and the caution value is set to −19%, and the deletion capacity is stored as 3 GB in the relocation information table 307 (step S27). ). Since the rearrangement review unit 203 cannot satisfy the insufficient capacity of 20 GB for 3 GB, the process proceeds to step S <b> 30. Then, the reallocation review unit 203 finds that the difference between the eighth cache divided area having the largest cache write wait rate MAX value next to the seventh cache divided area and the seventh cache divided area having the cache write wait rate of 11% is Since there is no cache write waiting ratio, the eighth cache partition area having a MAX value of 11% is set as a processing target (cache partition area A) (step S31).
 続いて、再配置検討部203は、第7キャッシュ分割領域のキャッシュ書き込み待ち率を1%増やして12%にするためのキャッシュ容量((40-3)-40×0.1/0.12=3.6・・・≒3)と、第8キャッシュ分割領域のキャッシュ書き込み待ち率を1%増やして12%にするためのキャッシュ容量(40-40×0.11/0.12=3.3・・・≒3)とを算出し、各々の削除容量とし(ステップS26)、再配置情報テーブル307のキャッシュ書き込み待ち率のMAX値と注意値との差と削除容量とを更新する(ステップS27)。再配置検討部203は、削除容量の総量9GB分では、不足容量20GBを満たせないので、ステップS30に処理を移す。そして、再配置検討部203は、第7キャッシュ分割領域および第8キャッシュ分割領域の次にキャッシュ書き込み待ち率のMAX値が大きい第9キャッシュ分割領域とキャッシュ書き込み待ち率を12%にした第7キャッシュ分割領域および第8キャッシュ分割領域との差はないので、キャッシュ書き込み待ち率を12%にした第7キャッシュ分割領域と、キャッシュ書き込み待ち率を12%にした第8キャッシュ分割領域と、キャッシュ書き込み待ち率のMAX値が12%である第9キャッシュ分割領域とを処理対象(キャッシュ分割領域A)とする(ステップS31)。 Subsequently, the reallocation review unit 203 increases the cache write waiting rate of the seventh cache divided area by 1% to 12% ((40-3) −40 × 0.1 / 0.12 = 3.6... ≈3) and the cache capacity (40-40 × 0.11 / 0.12 = 3.3) for increasing the cache write wait rate in the eighth cache divided area by 1% to 12% ... ≈3) are calculated as the respective deletion capacities (step S26), and the difference between the MAX value of the cache write wait rate and the caution value in the relocation information table 307 and the deletion capacity are updated (step S27). ). The reallocation review unit 203 moves the process to step S30 because the shortage capacity 20 GB cannot be satisfied with the total amount of deletion capacity 9 GB. Then, the reallocation review unit 203 uses the seventh cache divided area and the eighth cache divided area, the ninth cache divided area having the largest MAX value of the cache write wait rate, and the seventh cache with the cache write wait rate set to 12%. Since there is no difference between the divided area and the eighth cache divided area, the seventh cache divided area with a cache write wait rate of 12%, the eighth cache divided area with a cache write wait rate of 12%, and the cache write wait The ninth cache partition area whose rate MAX value is 12% is set as a processing target (cache partition area A) (step S31).
 このように処理を繰り返し、再配置検討部203は、不足容量20GBを満たせる分の削除容量を確保できると、ステップS29に処理を移す。 The process is repeated in this way, and the relocation examination unit 203 moves the process to step S29 when a deletion capacity sufficient to satisfy the shortage capacity 20 GB can be secured.
 上述の処理によれば、不足容量が大きく、一のキャッシュ分割領域では再配置できない場合でも、複数のキャッシュ分割領域により再配置ができるようになる。また、上述の処理によれば、削減容量について、削除可能容量を持つキャッシュ分割領域のキャッシュ書き込み待ち率が平準化されるように決定(按分)されるので、キャッシュ分割領域の負荷がさらに平準化される。 According to the above-described processing, even when the insufficient capacity is large and relocation cannot be performed in one cache divided region, relocation can be performed by a plurality of cache divided regions. Further, according to the above-described processing, since the cache write waiting rate of the cache partition area having the erasable capacity is determined (apportioned) for the reduced capacity, the load of the cache partition area is further leveled. Is done.
 図14は、キャッシュ分割領域の再配置に係る処理内容の一例を示す。 FIG. 14 shows an example of the processing contents related to the rearrangement of the cache division area.
 まず、構成変更部204は、削除容量があるキャッシュ分割領域を対象に容量変更(容量削除)を行う(ステップS41)。より具体的には、構成変更部204は、再配置情報テーブル307を参照し、削除容量がある一のキャッシュ分割領域を特定して削除容量を抽出する。次いで、構成変更部204は、ストレージキャッシュ構成情報テーブル308を参照して当該キャッシュ分割領域の割当容量を特定し、特定した割当容量から上記で抽出した削除容量を減算した値を新たな割当容量としてストレージキャッシュ構成情報テーブル308を更新する。次いで、構成変更部204は、キャッシュメモリ管理部205に対してキャッシュ分割領域の再配置を指示する。 First, the configuration changing unit 204 performs capacity change (capacity deletion) for a cache division area having a deletion capacity (step S41). More specifically, the configuration changing unit 204 refers to the relocation information table 307, identifies one cache partition area having a deleted capacity, and extracts the deleted capacity. Next, the configuration change unit 204 refers to the storage cache configuration information table 308, identifies the allocated capacity of the cache partition area, and sets a value obtained by subtracting the deleted capacity extracted above from the identified allocated capacity as a new allocated capacity. The storage cache configuration information table 308 is updated. Next, the configuration change unit 204 instructs the cache memory management unit 205 to rearrange the cache divided areas.
 キャッシュメモリ管理部205は、ストレージキャッシュ構成情報テーブル308の割当容量に従って当該キャッシュ分割領域を縮小(キャッシュ容量を削除)するように、当該キャッシュ分割領域に対応するキャッシュメモリ34の記憶領域のアドレスの割当てを変更する。この際、当該キャッシュ分割領域にデータがある場合、キャッシュメモリ管理部205は、データを退避させてから記憶領域のアドレスの割当てを変更する。 The cache memory management unit 205 allocates the address of the storage area of the cache memory 34 corresponding to the cache divided area so as to reduce the cache divided area (delete the cache capacity) according to the allocated capacity of the storage cache configuration information table 308. To change. At this time, if there is data in the cache divided area, the cache memory management unit 205 changes the allocation of the address of the storage area after saving the data.
 続いて、構成変更部204は、削除容量がある未処理のキャッシュ分割領域があるか否かを判定する(ステップS42)。構成変更部204は、削除容量を持つ未処理のキャッシュ分割領域があると判定した場合、ステップS41に処理を移し、削除容量を持つ未処理のキャッシュ分割領域がないと判定した場合、ステップS43に処理を移す。 Subsequently, the configuration changing unit 204 determines whether or not there is an unprocessed cache divided area having a deleted capacity (step S42). If the configuration changing unit 204 determines that there is an unprocessed cache divided area having a deleted capacity, the process is shifted to step S41. If it is determined that there is no unprocessed cache divided area having a deleted capacity, the process is changed to step S43. Move processing.
 続いて、構成変更部204は、しきい値超えキャッシュ分割領域の容量変更(容量追加)を行い(ステップS43)、全体フローに処理を移す。より具体的には、構成変更部204は、ストレージキャッシュ構成情報テーブル308を参照してしきい値超えキャッシュ分割領域の割当容量を特定し、特定した割当容量に再配置情報テーブル307から算出した削除容量の総和を加算した値を新たな割当容量としてストレージキャッシュ構成情報テーブル308を更新する。次いで、構成変更部204は、キャッシュメモリ管理部205に対してキャッシュ分割領域の再配置を指示する。 Subsequently, the configuration changing unit 204 changes the capacity of the cache division area exceeding the threshold (adds capacity) (step S43), and shifts the processing to the entire flow. More specifically, the configuration changing unit 204 refers to the storage cache configuration information table 308, identifies the allocated capacity of the cache partition area that exceeds the threshold, and deletes the calculated allocated capacity from the relocation information table 307. The storage cache configuration information table 308 is updated with the sum of the capacities as a new allocated capacity. Next, the configuration change unit 204 instructs the cache memory management unit 205 to rearrange the cache divided areas.
 キャッシュメモリ管理部205は、ストレージキャッシュ構成情報テーブル308の割当容量に従ってしきい値超えキャッシュ分割領域を拡大(キャッシュ容量を追加)するように、しきい値超えキャッシュ分割領域に対応するキャッシュメモリ34の記憶領域のアドレスの割当てを変更する。 The cache memory management unit 205 stores the cache memory 34 corresponding to the threshold-exceeded cache partition area so as to expand the cache partition area exceeding the threshold (add cache capacity) according to the allocated capacity of the storage cache configuration information table 308. Change the storage address assignment.
 なお、構成変更部204は、適宜のタイミングでキャッシュ分割領域の削除容量を「0」として再配置情報テーブル307を更新する。 The configuration changing unit 204 updates the rearrangement information table 307 with the deletion capacity of the cache partition area set to “0” at an appropriate timing.
 上述したように、本実施の形態によれば、計算機システム1の運用後の稼働状況に基づいて、キャッシュ分割領域の負荷の平準化が行われるように、キャッシュ分割領域のキャッシュ容量の割当てが見直されるので、キャッシュメモリ34を有効活用できるようになる。 As described above, according to the present embodiment, the allocation of the cache capacity of the cache partition area is revised so that the load of the cache partition area is leveled based on the operation status after the operation of the computer system 1. Therefore, the cache memory 34 can be used effectively.
(2)他の実施の形態
 なお上述の実施の形態においては、本発明を計算機システム1に適用するようにした場合について述べたが、本発明はこれに限らず、この他種々の計算機システムに広く適用することができる。
(2) Other Embodiments In the above-described embodiment, the case where the present invention is applied to the computer system 1 has been described. However, the present invention is not limited to this, and other various computer systems are also used. Can be widely applied.
 また上述の実施の形態においては、再配置検討部203は、キャッシュ書き込み待ち率のMAX値がしきい値を超えるキャッシュ分割領域がないと判定した場合、ステップS2に処理を移す場合について述べたが、本発明はこれに限らず、再配置検討部203は、キャッシュ書き込み待ち率のMAX値がしきい値を超えるキャッシュ分割領域がないと判定した場合、ステップS10に処理を移すようにしてもよい。この構成によれば、キャッシュ書き込み待ち率のMAX値がしきい値を超えるキャッシュ分割領域がない場合であっても、キャッシュメモリ34の負荷を予防的に平準化することができる。 Further, in the above-described embodiment, the case where the relocation examining unit 203 determines that there is no cache divided region in which the MAX value of the cache write waiting rate exceeds the threshold value has been described, the case where the processing is shifted to step S2. However, the present invention is not limited to this, and when the relocation examining unit 203 determines that there is no cache division region where the MAX value of the cache write wait rate exceeds the threshold value, the processing may be shifted to step S10. . According to this configuration, the load on the cache memory 34 can be leveled proactively even when there is no cache division area in which the MAX value of the cache write wait rate exceeds the threshold value.
 また上述の実施の形態においては、複数のレコードが格納されている場合、キャッシュ書き込み待ち率のMAX値としきい値との差を算出し、その差が大きいキャッシュ分割領域から順次に処理の対象とし、その差が同じ値のキャッシュ分割領域が複数ある場合、しきい値超え回数が多いキャッシュ分割領域を優先して処理の対象とする場合について述べたが、本発明はこれに限らず、キャッシュ書き込み待ち率のMAX値のモニタリング時間(time)が近いものから順次に処理の対象とするようにしてもよいし、これらを適宜に組み合わせてもよい。 In the above-described embodiment, when a plurality of records are stored, the difference between the MAX value of the cache write wait rate and the threshold value is calculated, and the processing is sequentially performed from the cache divided area having the large difference. In the case where there are a plurality of cache divided areas having the same difference, the case has been described where the cache divided area having a large number of times the threshold is exceeded is preferentially processed, but the present invention is not limited to this, and cache writing You may make it the object of a process sequentially from the thing with the short monitoring time (time) of the MAX value of a waiting rate, and may combine these suitably.
 また上述の実施の形態においては、再配置検討部203は、削除可能容量を持つキャッシュ分割領域が1つであるか否かを判定する場合について述べたが、本発明はこれに限らず、再配置検討部203は、不足容量より大きい削除可能容量を持つキャッシュ分割領域があるか否かを判定するようにしてもよい。この場合、再配置検討部203は、特定したキャッシュ分割領域のキャッシュ書き込み待ち情報がしきい値よりも低い値である予め規定された注意値以下となるために追加が必要となるキャッシュ容量を不足しているキャッシュ容量として算出する。続いて、再配置検討部203は、しきい値を超えていると特定したキャッシュ分割領域以外のキャッシュ分割領域のうち、各キャッシュ分割領域のキャッシュ書き込み待ち情報が注意値となるキャッシュ容量に基づいて削除可能なキャッシュ容量を算出する。そして、再配置検討部203は、不足しているキャッシュ容量と各削除可能なキャッシュ容量との各々を比較し、キャッシュ容量の再配置が可能であるか否かを判定する。かかる構成によれば、不足しているキャッシュ容量を1つのキャッシュ分割領域にて補うことができるようになる。 Further, in the above-described embodiment, the case where the reallocation review unit 203 determines whether or not there is one cache partition area having a erasable capacity has been described. The arrangement review unit 203 may determine whether there is a cache partition area having a removable capacity larger than the shortage capacity. In this case, the reallocation review unit 203 has insufficient cache capacity that needs to be added because the cache write wait information of the specified cache partition area is below a pre-defined caution value that is lower than the threshold value. It is calculated as the cache capacity. Subsequently, the reallocation review unit 203 determines, based on the cache capacity that the cache write wait information of each cache partition area becomes a caution value among the cache partition areas other than the cache partition area identified as exceeding the threshold value. Calculate the cache capacity that can be deleted. Then, the reallocation review unit 203 compares each of the insufficient cache capacity and each of the deleteable cache capacity, and determines whether or not the cache capacity can be rearranged. According to such a configuration, the insufficient cache capacity can be compensated with one cache division area.
 また上述の実施の形態においては、各キャッシュ分割領域のキャッシュ書き込み待ち率を所定時間ごとにモニタリングしたモニタリングデータを取得する場合について述べたが、本発明はこれに限らず、ある期間の平均のキャッシュ書き込み待ち率、ある時間のキャッシュ書き込み待ち率から算出可能な割合などの情報を取得するようにしてもよい。 Further, in the above-described embodiment, the case where monitoring data obtained by monitoring the cache write waiting rate of each cache divided area every predetermined time has been described. However, the present invention is not limited to this, and the average cache for a certain period is described. Information such as a write wait rate and a ratio that can be calculated from a cache write wait rate for a certain period of time may be acquired.
 また上述の実施の形態においては、しきい値超えキャッシュ分割領域における不足容量が、キャッシュ書き込み待ち率のMAX値が注意値以下の所定のキャッシュ容量となるために必要なキャッシュ容量である場合について述べたが、本発明はこれに限らず、キャッシュ書き込み待ち率の定期チェック間隔など所定期間の平均値が少なくともしきい値以下の所定のキャッシュ容量となるために必要なキャッシュ容量であってもよいし、キャッシュ書き込み待ち率の上位複数個の平均値が少なくともしきい値以下の所定のキャッシュ容量となるために必要なキャッシュ容量であってもよい。例えば、所定のキャッシュ容量は、キャッシュ書き込み待ち率のMAX値が注意値以下となるキャッシュ容量としてもよいし、キャッシュ書き込み待ち率の所定期間の平均値がしきい値以下となるキャッシュ容量としてもよいし、その他のキャッシュ容量としてもよい。なお、所定のキャッシュ容量については、管理者により変更可能としてもよい。 In the above-described embodiment, the case where the shortage capacity in the cache division area exceeding the threshold is the cache capacity necessary for the cache write waiting rate MAX value to become a predetermined cache capacity equal to or less than the caution value is described. However, the present invention is not limited to this, and may be a cache capacity necessary for an average value of a predetermined period such as a periodic check interval of the cache write wait rate to be a predetermined cache capacity that is at least a threshold value or less. The cache capacity may be a cache capacity necessary for the average value of the plurality of cache write waiting ratios to be a predetermined cache capacity that is at least a threshold value or less. For example, the predetermined cache capacity may be a cache capacity in which the MAX value of the cache write wait rate is not more than a caution value, or may be a cache capacity in which the average value of the cache write wait rate for a predetermined period is not more than a threshold value. However, other cache capacity may be used. The predetermined cache capacity may be changed by the administrator.
 また上述の実施の形態においては、注意値超えキャッシュ分割領域における不足容量が、キャッシュ書き込み待ち率のMAX値が注意値以下の所定のキャッシュ容量となるために必要なキャッシュ容量である場合について述べたが、本発明はこれに限らず、キャッシュ書き込み待ち率の定期チェック間隔など所定期間の平均値が少なくとも当該キャッシュ書き込み待ち率以下の所定のキャッシュ容量となるために必要なキャッシュ容量であってもよいし、キャッシュ書き込み待ち率の上位複数個の平均値が少なくとも少なくとも当該キャッシュ書き込み待ち率以下の所定のキャッシュ容量となるために必要なキャッシュ容量であってもよい。例えば、所定のキャッシュ容量は、キャッシュ書き込み待ち率のMAX値が注意値以下となるキャッシュ容量としてもよいし、キャッシュ書き込み待ち率の所定期間の平均値が注意値以下となるキャッシュ容量としてもよいし、その他のキャッシュ容量としてもよい。なお、所定のキャッシュ容量については、管理者により変更可能としてもよい。 Further, in the above-described embodiment, the case where the shortage capacity in the cache division area exceeding the caution value is the cache capacity necessary for the cache write waiting rate MAX value to become the predetermined cache capacity equal to or less than the caution value has been described. However, the present invention is not limited to this, and may be a cache capacity necessary for an average value of a predetermined period such as a periodic check interval of the cache write wait rate to be at least a predetermined cache capacity equal to or less than the cache write wait rate. However, the cache capacity required for the average value of the plurality of cache write waiting ratios to be a predetermined cache capacity at least equal to or less than the cache write waiting ratio may be used. For example, the predetermined cache capacity may be a cache capacity in which the MAX value of the cache write wait rate is equal to or less than the caution value, or may be a cache capacity in which the average value of the cache write wait rate for a predetermined period is equal to or less than the caution value. Other cache capacities may be used. The predetermined cache capacity may be changed by the administrator.
 1……計算機システム、2……サーバ、3……ストレージ装置、30……記憶装置、31……コントローラ、32……チャネルアダプタ、33……マイクロプロセッサ、34……キャッシュメモリ 1 ... Computer system 2 ... Server 3 ... Storage device 30 ... Storage device 31 ... Controller 32 ... Channel adapter 33 ... Microprocessor 34 ... Cache memory

Claims (7)

  1.  キャッシュメモリを論理分割した複数のキャッシュ分割領域の各々において利用可能なキャッシュ容量を予めホスト装置に割り当て、前記ホスト装置の入出力要求による前記キャッシュメモリの負荷の影響範囲を制御するストレージ装置であって、
     前記複数のキャッシュ分割領域の各々についてモニタリングされたキャッシュ書き込み待ち情報に基づいて、予め規定されたしきい値を超えているキャッシュ分割領域を特定し、特定したキャッシュ分割領域で不足しているキャッシュ容量を算出し、特定したキャッシュ分割領域以外のキャッシュ分割領域について削除可能なキャッシュ容量を算出し、不足しているキャッシュ容量と削除可能なキャッシュ容量とを比較し、キャッシュ容量の再配置が可能であるか否かを判定する再配置検討部と、
     前記再配置検討部の検討結果に基づいて、前記複数のキャッシュ分割領域のキャッシュ容量の再配置を行う構成変更部と、
     を備えることを特徴とするストレージ装置。
    A storage apparatus that pre-allocates a cache capacity that can be used in each of a plurality of cache partition areas obtained by logically partitioning a cache memory to a host apparatus and controls an influence range of a load on the cache memory due to an input / output request of the host apparatus ,
    Based on the cache write waiting information monitored for each of the plurality of cache divided areas, a cache divided area that exceeds a predetermined threshold is specified, and the cache capacity that is insufficient in the specified cache divided area The cache capacity that can be deleted is calculated for the cache partition areas other than the specified cache partition area, the cache capacity that can be deleted is compared with the cache capacity that can be deleted, and the cache capacity can be rearranged. A relocation examination unit that determines whether or not
    A configuration changing unit for rearranging the cache capacity of the plurality of cache division regions based on the examination result of the relocation examining unit;
    A storage apparatus comprising:
  2.  前記再配置検討部は、特定したキャッシュ分割領域のキャッシュ書き込み待ち情報が前記しきい値よりも低い値である予め規定された注意値以下となるために追加が必要となるキャッシュ容量を不足しているキャッシュ容量として算出し、前記しきい値を超えていると特定したキャッシュ分割領域以外のキャッシュ分割領域のうち、前記注意値よりキャッシュ書き込み待ち情報が低い値のキャッシュ分割領域について、各キャッシュ分割領域のキャッシュ書き込み待ち情報が前記注意値となるキャッシュ容量に基づいて削除可能なキャッシュ容量を算出し、不足しているキャッシュ容量と削除可能なキャッシュ容量の総量とを比較し、キャッシュ容量の再配置が可能であるか否かを判定する、
     ことを特徴とする請求項1に記載のストレージ装置。
    The relocation examination unit has insufficient cache capacity that needs to be added because the cache write wait information of the specified cache partition area is below a predetermined caution value that is lower than the threshold value. Each cache partition area is a cache partition area whose cache write wait information is lower than the caution value among the cache partition areas other than the cache partition area identified as exceeding the threshold value. The cache capacity that can be deleted is calculated based on the cache capacity for which the cache write waiting information of the above becomes the above caution value, and the cache capacity that is insufficient is compared with the total amount of cache capacity that can be deleted, Determine whether it is possible,
    The storage apparatus according to claim 1.
  3.  前記再配置検討部は、キャッシュ書き込み待ち情報が前記注意値より低い値のキャッシュ分割領域が複数ある場合、各キャッシュ分割領域のキャッシュ書き込み待ち情報に基づいて、各キャッシュ分割領域のキャッシュ書き込み待ち情報が平準化されるように削除するキャッシュ容量を算出する、
     ことを特徴とする請求項2に記載のストレージ装置。
    When there are a plurality of cache partition areas whose cache write wait information is lower than the caution value, the relocation review unit determines that the cache write wait information of each cache partition area is based on the cache write wait information of each cache partition area. Calculate the cache capacity to be deleted so that it is leveled,
    The storage apparatus according to claim 2.
  4.  前記再配置検討部は、特定したキャッシュ分割領域のキャッシュ書き込み待ち情報が前記しきい値よりも低い値である予め規定された注意値以下となるために追加が必要となるキャッシュ容量を不足しているキャッシュ容量として算出し、前記しきい値を超えていると特定したキャッシュ分割領域以外のキャッシュ分割領域のうち、各キャッシュ分割領域のキャッシュ書き込み待ち情報が前記注意値となるキャッシュ容量に基づいて削除可能なキャッシュ容量を算出し、不足しているキャッシュ容量と各削除可能なキャッシュ容量との各々を比較し、キャッシュ容量の再配置が可能であるか否かを判定する、
     ことを特徴とする請求項1に記載のストレージ装置。
    The relocation examination unit has insufficient cache capacity that needs to be added because the cache write wait information of the specified cache partition area is below a predetermined caution value that is lower than the threshold value. The cache write wait information of each cache partition area is deleted based on the cache capacity that is the caution value among the cache partition areas other than the cache partition area that is identified as exceeding the threshold value. Calculate possible cache capacity, compare each of the missing cache capacity and each removable cache capacity, and determine whether the cache capacity can be relocated;
    The storage apparatus according to claim 1.
  5.  前記再配置検討部は、キャッシュ書き込み待ち情報が前記しきい値よりも低い値である予め規定された注意値以上かつ前記しきい値未満となるキャッシュ分割領域の有無を確認し、該当するキャッシュ分割領域がある場合、該当するキャッシュ分割領域のキャッシュ書き込み待ち情報が前記注意値以下となるために追加が必要となるキャッシュ容量を算出し、前記注意値未満のキャッシュ分割領域のキャッシュ書き込み待ち情報が前記注意値となるキャッシュ容量に基づいて削除可能なキャッシュ容量を算出し、追加が必要となるキャッシュ容量と削除可能なキャッシュ容量とを比較し、キャッシュ容量の再配置が可能であるか否かを判定する、
     ことを特徴とする請求項1に記載のストレージ装置。
    The relocation review unit confirms whether there is a cache partition area in which the cache write wait information is not less than a predetermined caution value that is lower than the threshold value and less than the threshold value. If there is an area, calculate the cache capacity that needs to be added because the cache write wait information of the corresponding cache partition area is less than or equal to the caution value, and the cache write wait information of the cache partition area less than the caution value Calculate the cache capacity that can be deleted based on the noticeable cache capacity, compare the cache capacity that needs to be added with the cache capacity that can be deleted, and determine whether the cache capacity can be relocated. To
    The storage apparatus according to claim 1.
  6.  前記再配置検討部は、前記複数のキャッシュ分割領域の各々について、所定の期間にモニタリングされたキャッシュ書き込み待ち情報のうちから最大のキャッシュ書き込み待ち情報を特定し、最大のキャッシュ書き込み待ち情報が前記しきい値を超えているキャッシュ分割領域を特定し、特定したキャッシュ分割領域が複数ある場合、前記しきい値と最大のキャッシュ書き込み待ち情報との差が大きいキャッシュ分割領域から順次に処理対象とする、
     ことを特徴とする請求項1に記載のストレージ装置。
    The relocation examination unit specifies, for each of the plurality of cache divided areas, the maximum cache write wait information from among the cache write wait information monitored during a predetermined period, and the maximum cache write wait information is When the cache partition area exceeding the threshold is specified and there are a plurality of specified cache partition areas, the processing targets are sequentially processed from the cache partition area where the difference between the threshold value and the maximum cache write wait information is large.
    The storage apparatus according to claim 1.
  7.  キャッシュメモリを論理分割した複数のキャッシュ分割領域の各々において利用可能なキャッシュ容量を予めホスト装置に割り当て、前記ホスト装置の入出力要求による前記キャッシュメモリの負荷の影響範囲を制御するキャッシュメモリ管理方法であって、
     再配置検討部が、前記複数のキャッシュ分割領域の各々についてモニタリングされたキャッシュ書き込み待ち情報に基づいて、予め規定されたしきい値を超えているキャッシュ分割領域を特定し、特定したキャッシュ分割領域で不足しているキャッシュ容量を算出し、特定したキャッシュ分割領域以外のキャッシュ分割領域について削除可能なキャッシュ容量を算出し、不足しているキャッシュ容量と削除可能なキャッシュ容量とを比較し、キャッシュ容量の再配置が可能であるか否かを判定する第1のステップと、
     構成変更部が、前記再配置検討部の検討結果に基づいて、前記複数のキャッシュ分割領域のキャッシュ容量の再配置を行う第2のステップと、
     を備えることを特徴とするキャッシュメモリ管理方法。
    A cache memory management method for preallocating a cache capacity that can be used in each of a plurality of cache partition areas obtained by logically partitioning a cache memory to a host device and controlling an influence range of a load on the cache memory by an input / output request of the host device There,
    Based on the cache write wait information monitored for each of the plurality of cache partition areas, the relocation examination unit identifies a cache partition area that exceeds a predetermined threshold, and Calculate the cache capacity that is insufficient, calculate the cache capacity that can be deleted for cache areas other than the specified cache area, compare the cache capacity that is insufficient and the cache capacity that can be deleted, and A first step of determining whether relocation is possible;
    A second step in which the configuration changing unit rearranges the cache capacity of the plurality of cache division regions based on the examination result of the rearrangement examination unit;
    A cache memory management method comprising:
PCT/JP2017/015040 2017-04-12 2017-04-12 Storage device and cache memory management method WO2018189847A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/015040 WO2018189847A1 (en) 2017-04-12 2017-04-12 Storage device and cache memory management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/015040 WO2018189847A1 (en) 2017-04-12 2017-04-12 Storage device and cache memory management method

Publications (1)

Publication Number Publication Date
WO2018189847A1 true WO2018189847A1 (en) 2018-10-18

Family

ID=63792950

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/015040 WO2018189847A1 (en) 2017-04-12 2017-04-12 Storage device and cache memory management method

Country Status (1)

Country Link
WO (1) WO2018189847A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115952110A (en) * 2023-03-09 2023-04-11 浪潮电子信息产业股份有限公司 Data caching method, device, equipment and computer readable storage medium
US11687255B2 (en) 2021-01-08 2023-06-27 Fujitsu Limited Information processing system and information processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013510360A (en) * 2010-03-19 2013-03-21 株式会社日立製作所 Storage system and cache configuration changing method in storage system
WO2014178104A1 (en) * 2013-04-30 2014-11-06 株式会社日立製作所 Computer system and method for assisting analysis of asynchronous remote replication
US20140359226A1 (en) * 2013-05-30 2014-12-04 Hewlett-Packard Development Company, L.P. Allocation of cache to storage volumes
JP2015060376A (en) * 2013-09-18 2015-03-30 富士通株式会社 Cache memory control program, processor including cache memory, and cache memory control method
WO2015045046A1 (en) * 2013-09-26 2015-04-02 株式会社日立製作所 Computer system and memory allocation adjustment method for computer system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013510360A (en) * 2010-03-19 2013-03-21 株式会社日立製作所 Storage system and cache configuration changing method in storage system
WO2014178104A1 (en) * 2013-04-30 2014-11-06 株式会社日立製作所 Computer system and method for assisting analysis of asynchronous remote replication
US20140359226A1 (en) * 2013-05-30 2014-12-04 Hewlett-Packard Development Company, L.P. Allocation of cache to storage volumes
JP2015060376A (en) * 2013-09-18 2015-03-30 富士通株式会社 Cache memory control program, processor including cache memory, and cache memory control method
WO2015045046A1 (en) * 2013-09-26 2015-04-02 株式会社日立製作所 Computer system and memory allocation adjustment method for computer system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11687255B2 (en) 2021-01-08 2023-06-27 Fujitsu Limited Information processing system and information processing method
CN115952110A (en) * 2023-03-09 2023-04-11 浪潮电子信息产业股份有限公司 Data caching method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US11372544B2 (en) Write type based crediting for block level write throttling to control impact to read input/output operations
JP4684864B2 (en) Storage device system and storage control method
US11150829B2 (en) Storage system and data control method
JP5439581B2 (en) Storage system, storage apparatus, and storage system optimization method for storage system
US20080229048A1 (en) Method and apparatus for chunk allocation in a thin provisioning storage system
US7975123B2 (en) Computer system, management computer and storage system, and storage area allocation amount controlling method
US8688932B2 (en) Virtual computer system and method of controlling the same
US8924681B1 (en) Systems, methods, and computer readable media for an adaptative block allocation mechanism
US8612704B2 (en) Storage system with virtual areas and method for managing storage system
US9823875B2 (en) Transparent hybrid data storage
JP6340439B2 (en) Storage system
JP5228988B2 (en) Allocation control program and allocation control device
US20070079103A1 (en) Method for resource management in a logically partitioned storage system
US9513837B2 (en) Performance assist storage volumes
JP2012533781A (en) Computer system and load equalization control method thereof
US10372372B2 (en) Storage system
US7337283B2 (en) Method and system for managing storage reservation
US9734048B2 (en) Storage management device, performance adjustment method, and computer-readable recording medium
WO2018189847A1 (en) Storage device and cache memory management method
US20190332261A1 (en) Storage system, method of controlling storage system, and management node
US8984235B2 (en) Storage apparatus and control method for storage apparatus
US9547443B2 (en) Method and apparatus to pin page based on server state
WO2010119478A1 (en) Storage system and control method therefor
CN117389485B (en) Storage performance optimization method, storage performance optimization device, storage system, electronic equipment and medium
WO2018116392A1 (en) Information processing system and information processing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17905168

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17905168

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP