Storage device and its control method

The storage device and control method adjust CPU core activity based on utilization rates to balance power consumption and performance, addressing the limitations of existing frequency control methods by dynamically managing core operation.

JP2026185655APending Publication Date: 2026-11-27HITACHI VANTARA LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2025082920
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing storage systems face challenges in reducing CPU power consumption while maintaining performance, particularly in response times, as existing methods to control CPU frequency do not adequately consider I/O performance requirements.

Method used

A storage device and control method that dynamically adjust the number of active CPU cores based on utilization rates, stopping or restarting cores to maintain performance while minimizing power consumption by defining a maximum utilization rate and calculating the target number of cores needed to achieve this balance.

Benefits of technology

The solution allows for reduced power consumption while ensuring performance requirements are met, including response times, by dynamically managing CPU core usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026185655000001_ABST
    Figure 2026185655000001_ABST
Patent Text Reader

Abstract

We propose a storage device and its control method that meet performance requirements while also enabling a reduction in power consumption. [Solution] The maximum processor utilization rate that can satisfy the performance requirements for the storage device is defined as the upper limit utilization rate. Based on the ratio of the actual processor utilization rate to the upper limit utilization rate, the number of active cores that maximizes the reduction in power consumption of the processor while satisfying the performance requirements is calculated as the target number of cores. The system is then configured to periodically stop cores or restore stopped cores to an active state so that the calculated target number of cores equals the number of active cores.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a storage device and a control method thereof, and is suitably applied to, for example, a storage system.

Background Art

[0002] Improvement of computer hardware performance is essential to cope with the increase in the amount of data accompanying the development of computer systems and the increase in processing load accompanying the increasing complexity of applications. On the other hand, hardware such as a CPU (Central Processing Unit) constituting a computer has higher power consumption as its performance improves. Therefore, from the viewpoint of the operating cost of the computer system and consideration for the environment, reduction in power consumption of the computer system is required.

[0003] One piece of hardware that affects the processing capacity of a computer and consumes a large amount of power is a CPU. As one means for reducing the power consumption of the CPU, a method of controlling the operating frequency according to the load of the CPU is known. This method utilizes the fact that the performance and power consumption of a CPU are proportional to its operating frequency, and increases or decreases the operating frequency according to the usage rate of the CPU, and reduces the operating frequency when the CPU is under a low load. Thus, the power consumption is reduced while maintaining the required performance.

Prior Art Documents

Patent Documents

[0004]

Patent Document 1

Summary of Invention

Problem to be Solved by the Invention

[0005] In a storage system that receives requests from external hosts and performs data reading, writing, and storage, the CPU of the controller that executes processing in response to access requests from the host requires high performance because it affects the access performance from the host.

[0006] On the other hand, high-performance CPUs consume a lot of power, and in storage systems, the controller CPU is one of the most power-hungry pieces of hardware. Therefore, reducing the power consumption of the CPU is essential when trying to reduce the power consumption of a storage system.

[0007] Since CPU power consumption is reduced by limiting processing performance, in order to satisfy both the requirements for storage system access performance and the requirements for power consumption reduction, it is necessary to determine the CPU processing power required to achieve the access performance required by the storage system and reduce CPU power consumption in a way that suppresses excess processing performance.

[0008] One method used to reduce power consumption by limiting CPU performance is to control the operating frequency according to the processing load. However, when controlling the operating frequency of the CPU in a storage system controller, the instruction execution speed of the program that processes access requests decreases, increasing the response time to access requests. Therefore, when it is necessary to maintain a certain level of response performance to access requests, the CPU operating frequency cannot be sufficiently reduced because the response time increases due to the decrease in operating frequency, resulting in a problem where the reduction in power consumption is small.

[0009] For example, Patent Document 1 discloses a technology that achieves both reduced power consumption and performance maintenance in a storage system, which involves monitoring the processing load of each part of the storage system, such as the controller's CPU, and switching each part to a mode with lower power consumption within a range that does not affect I / O performance, or cutting off the power to some hardware.

[0010] However, Patent Document 1 does not include response time in the requirements for I / O (Input / Output) performance, and does not disclose any method for reducing power consumption by considering I / O performance including response time.

[0011] This invention has been made in consideration of the above points, and aims to propose a storage device and a control method thereof that can reduce power consumption while satisfying performance requirements. [Means for solving the problem]

[0012] To solve these problems, the present invention provides a storage device that provides a storage area for reading and writing data to a higher-level device, comprising a storage device that provides the storage area for reading and writing data from the higher-level device, and a controller that reads and writes data to the storage area of ​​the storage device in response to a request from the higher-level device, wherein the controller has a processor, and the processor has a plurality of cores that read and write data to the storage area of ​​the storage device in response to a request from the higher-level device, the maximum utilization rate of the processor that can satisfy the performance requirements for the storage device is defined as the upper limit utilization rate, and the number of cores in the operational state that maximizes the power consumption reduction effect of the processor while satisfying the performance requirements is calculated as the target number of cores based on the ratio of the actual utilization rate of the processor to the upper limit utilization rate, and the operation of the cores is stopped or the stopped cores are restored to the operational state so that the calculated target number of cores is equal to the number of cores in the operational state, wherein the operation of the cores is stopped or the stopped cores are restored to the operational state.

[0013] Furthermore, in the present invention, in a control method for a storage device that provides a storage area for reading and writing data to a higher-level device, the storage device comprises a memory device that provides the storage area for reading and writing data from the higher-level device, and a controller that reads and writes data to the storage area of ​​the memory device in response to a request from the higher-level device, the controller is provided with a processor having a plurality of cores that reads and writes data to the storage area of ​​the memory device in response to a request from the higher-level device, the maximum utilization rate of the processor that can satisfy the performance requirements for the storage device is defined as the upper limit utilization rate, and the storage device comprises a first step of calculating the number of operating cores that maximizes the power consumption reduction effect of the processor while satisfying the performance requirements, based on the ratio of the actual utilization rate of the processor to the upper limit utilization rate, as the target number of cores, and a second step of stopping the operation of the cores or restoring the stopped cores to an operating state so that the calculated target number of cores is equal to the number of operating cores.

[0014] According to the storage device and control method of the present invention, the number of operating cores of the processor is controlled to always be equal to the target number of cores. [Effects of the Invention]

[0015] According to the present invention, it is possible to realize a storage device and a control method thereof that can reduce power consumption while also meeting performance requirements. [Brief explanation of the drawing]

[0016] [Figure 1] This block diagram shows the schematic configuration of the storage system according to the first and second embodiments. [Figure 2] This block diagram shows the schematic configuration of the controller according to the first embodiment. [Figure 3] This is the CPU configuration. [Figure 4]FIG. 1 is a block diagram illustrating a logical configuration of a memory according to a first embodiment. [Figure 5] FIG. 2 is a block diagram illustrating a logical configuration of a core stop processing metadata area according to the first embodiment. [Figure 6] FIG. 3 is a flowchart illustrating a processing procedure of core stop / resumption control processing. [Figure 7] FIG. 4 is a block diagram illustrating a schematic configuration of a controller according to a second embodiment. [Figure 8] FIG. 5 is a block diagram illustrating a logical configuration of a memory according to the second embodiment. [Figure 9] FIG. 6 is a block diagram illustrating a logical configuration of a core stop processing metadata area according to the second embodiment. [Figure 10] FIG. 7 is a flowchart illustrating a processing procedure of upper limit usage rate update processing. [Description of Embodiments]

[0017] An embodiment of the present invention will be described in detail below with reference to the drawings.

[0018] (1) First Embodiment In the present embodiment, an example will be described in which, in a controller of a storage apparatus, a core of a CPU is stopped or restarted according to a load of the CPU, thereby reducing power consumption of the CPU while satisfying a demand for performance including a response time to the storage apparatus.

[0019] (1-1) Configuration of Storage System According to Present Embodiment In FIG. 1, reference numeral 1 denotes a storage system as a whole. This storage system 1 includes one or more hosts 2 and a storage apparatus 3.

[0020] Host 2 is composed of, for example, a general-purpose computer device and is connected to storage device 3 via front-end network 4. Host 2 sends access requests to storage device 3 via front-end network 4 in response to user operations or requests from implemented programs.

[0021] Each storage device 3 is comprised of one or more storage devices 5 and a controller 6.

[0022] The storage device 5 consists of one or more high-capacity non-volatile storage media that provide storage space for reading and writing data from the host 2. Such storage media include high-capacity, non-volatile storage media such as SSDs (Solid State Drives) connected via SAS (Serial Attached SCSI (Small Computer System Interface)), NVMe (Non-Volatile Memory Express), or SATA (Serial ATA (Advanced Technology Attachment)). The storage device 5 may also consist of a RAID (Redundant Array of Inexpensive Disks) configuration combining these storage media.

[0023] Controller 6 is a functional unit that reads and writes data to the storage device 5 in response to access requests from the host 2. Controller 6 receives and interprets access requests sent from the host 2 via the front-end network 4. Based on the interpretation of the access request, Controller 6 reads data from the corresponding storage area of ​​the storage device 5 or writes data to that storage area, and responds to the host 2 with the result.

[0024] In Figure 1, the storage device 3 may be configured such that the storage device 5 and the controller 6 are connected via the front-end network 4.

[0025] Figure 2 shows an example of the configuration of the controller 6 in this embodiment. The controller 6 is configured to include a front-end interface 10, a back-end interface 11, a CPU 12, and memory 13.

[0026] The front-end interface 10 is an interface used for communication with host 2 via the front-end network 4, and for example, it sends and receives data related to access requests from host 2.

[0027] The backend interface 11 is the interface used by the controller 6 to communicate with the storage device 5. It notifies the controller 6 of access requests to the storage device 5 and transmits and receives data to be read or written between the controller 6 and the storage device 5.

[0028] The CPU 12 is the processor that controls the operation of the entire controller 6, and processes access requests from the host 2 to the storage device 5 based on the program stored in the memory 13. The memory 13 also stores various programs executed by the CPU 12. The RAM area is used as working memory to temporarily store data.

[0029] The communication standards and protocols used in the front-end interface 10 and the back-end interface 11 are not particularly limited, as long as they are capable of functioning as interfaces. Furthermore, while Figure 2 shows a configuration where the front-end interface 10 and the back-end interface 11 are separate, if the connection between the controller 6 and the storage device 5 is included in the front-end network 4, the controller 6 may have only the front-end interface 10 without providing the back-end interface 11.

[0030] Figure 3 shows an example of the configuration of the CPU 12 described above. The CPU 12 is configured to include one or more cores 20, a memory interface 21, a core stop function unit 22, and a stopped core recovery function unit 23.

[0031] Each core 20 interprets access requests from the host 2 and reads and executes a program from memory 13 via the memory interface 21 to perform access processing according to the request. The memory interface 21 is an interface that provides the core 20 with the ability to access memory 13.

[0032] The core stop function unit 22 is a function unit that stops the operation of a core 20 specified by the core stop / recovery program 33 (Figure 4), which will be described later, and switches it to a state where it does not consume power. The stopped core recovery function unit 23 is a function unit that has the function of restoring the state of the core 20 specified by the core stop / recovery program 33 from a stopped state to an operational state in which a program can be executed. The configuration of the core stop function unit 22 and the stopped core recovery function unit 23 may be either a software configuration or a hardware configuration.

[0033] Figure 4 shows the logical configuration of the memory 13 of the controller 6. As shown in Figure 4, the memory 13 stores a storage program 30, a CPU load monitoring program 31, a target core count calculation program 32, and a core stop / recovery program 33, and also includes an access processing buffer area 34, an access processing metadata area 35, and a core stop processing metadata area 36.

[0034] The storage program 30 is a program that has the function of performing access processing in response to access requests from the host 2. Each core 20 that makes up the CPU 12 performs the necessary access processing, such as read and write operations, based on this storage program 30.

[0035] The CPU load monitoring program 31 is a program that monitors the instruction execution status of each core 20 and has the function of calculating the CPU usage rate (hereinafter referred to as CPU usage rate) for each CPU 12 using an existing method. The cores 20 of CPU 12 calculate their CPU usage rate based on this CPU load monitoring program 31.

[0036] The target core count calculation program 32 is a program that has the function of calculating the number of cores 20 that should be in operation at that time (hereinafter referred to as the target core count) based on the CPU usage rate calculated by the CPU load monitoring program 31. The CPU 12's cores 20 periodically calculate the target core count that maximizes the reduction in power consumption while satisfying the performance required of the storage device 3 for the current load, based on this target core count calculation program 32.

[0037] The core stop / recovery program 33 compares the target number of cores calculated by the target number of cores calculation program 32 with the number of cores 20 currently in operation. If the number of cores 20 in operation exceeds the target number of cores, it instructs the core stop function unit 22 to stop the operation of the cores 20 equal to the difference between the two. If the number of cores 20 in operation falls below the target number of cores, it instructs the stopped core recovery function unit to restore the stopped cores 20 equal to the difference between the two to an operational state. Based on this core stop / recovery program 33, the cores 20 of the CPU 12 control the core stop function unit 22 and the stopped core recovery function unit 23 so that the number of cores 20 in operation becomes equal to the target number of cores.

[0038] On the other hand, the access processing buffer area 34 is a buffer area where data to be read from or written to the storage device 5 (Figure 1) during access processing is temporarily stored. The access processing metadata area 35 stores metadata used to manage and control access requests from the host 2 in access processing executed based on the storage program 30.

[0039] Furthermore, the core shutdown process metadata area 36 stores metadata used to shut down the remaining cores 20 while keeping a number of cores 20 running according to the CPU usage rate. As shown in Figure 5, this metadata includes data for the total number of cores 40, the number of active cores 41, and the upper limit usage rate 42.

[0040] The total number of cores, 40, is the total number of cores 20 that make up the CPU 12 mounted on the controller 6, and is stored in the core stop processing metadata area 36 beforehand. The number of active cores, 41, is the total number of cores 20 that are not in a stopped state and can process access requests from the host 2 (i.e., active cores 20), and is updated as needed, for example, by the core stop / recovery program 33. Note that the number of active cores may also be in the form of a flag, for example, provided for each core 20 of the CPU 12, indicating whether the corresponding core 20 is active or not.

[0041] The upper limit utilization rate 42 represents the maximum utilization rate that can satisfy the response time and other performance requirements of the storage device 3 when all cores 20 constituting the CPU 12 are operational. The upper limit utilization rate 42 is stored in the core shutdown processing metadata area 36 with a predefined value. If the CPU utilization rate exceeds the upper limit utilization rate, the processing load for access requests from the host 2 becomes excessive, making it difficult to meet the performance requirements of the storage device 3.

[0042] (1-2) Core shutdown and recovery control process Figure 6 shows the flow of a series of processes (hereinafter referred to as core stop / recovery control processes) that are periodically executed in the controller 6 of the storage device 3 in relation to the above-mentioned function of stopping the core 20 or restoring the stopped core 20 to an operational state in accordance with the load of the CPU 12.

[0043] In the following, the processing entity for each process will be described as a "program," but in practice, it goes without saying that the CPU 12's core 20 with the lowest load at that time, or a predetermined specific core 20, will execute the process based on that program.

[0044] When the storage device 3 is powered on and the controller 6 starts operating, this core stop / recovery control process begins. First, the target core count calculation program 32 (Figure 4) obtains the CPU usage rate of the controller 6 at that time (CPU utilization rate) (S1). Specifically, the target core count calculation program 32 starts the CPU load monitoring program 31 (Figure 4) to calculate the CPU utilization rate at that time, and obtains the calculated CPU utilization rate from the CPU load monitoring program 31.

[0045] However, if the CPU load monitoring program 31 is running continuously and calculating the CPU usage rate as needed, the target core count calculation program 32 only needs to obtain the CPU usage rate calculated by the CPU load monitoring program 31 at the end of the program.

[0046] Next, the target core count calculation program 32 obtains the total number of cores 40 (Figure 5) and the upper limit usage rate 42 (Figure 5) data stored in the core stop processing metadata area 36 (Figure 4) of the memory 13 by reading them (S2).

[0047] Next, the target core count calculation program 32 calculates the target core count based on the CPU usage rate obtained in step S1 and the total core count 40 and upper limit usage rate 42 obtained in step S2 (S3). The target core count is, for example, calculated using the following formula

number

[0048] In this case, if the calculated target number of cores is a non-integer value, the target number of cores is rounded up to the nearest integer. If the calculated target number of cores exceeds the total number of cores of 40, the target number of cores is set to the value of the total number of cores of 40.

[0049] Next, the core stop / recovery program 33 receives the target number of cores calculated by the target number of cores calculation program 32 in step S3. The core stop / recovery program 33 also reads the number of active cores 41 (Figure 5) from the core stop processing metadata area 36 in memory 13. The core stop / recovery program 33 then calculates the difference between the target number of cores and the number of active cores 41 by subtracting the number of active cores 41 from the target number of cores (S4), and determines whether the calculated difference is less than "0" (S5).

[0050] Obtaining a positive result in this judgment means that the number of operational cores, 41, is greater than the target number of cores, and that there are surplus cores 20 in operation that are in excess of the performance requirements of the storage device 3. In this case, the core stop / recovery program 33 selects a number of cores 20 from among the currently operational cores 20 that corresponds to the absolute value of the value calculated in step S4, and instructs the core stop function unit 22 (Figure 3) to stop the operation of each selected core 20 (S6). As a result, the operation of each of the selected cores 20 is stopped by the core stop function unit 22.

[0051] In contrast, obtaining a negative result in the judgment of step S5 means that the number of operational cores 41 is insufficient for the target number of cores, and there is a risk that the performance requirements for the storage device 3 cannot be met. In this case, the core stop / recovery program 33 selects a number of cores 20 calculated in step S4 from the stopped cores 20 and instructs the stopped core recovery function unit 23 (Figure 3) to restore each selected core 20 to an operational state (S7). As a result, each of the selected cores 20 is restored to an operational state by the stopped core recovery function unit 23. Note that if the difference calculated in the judgment of step S5 is exactly "0", that is, if the target number of cores and the number of operational cores are the same, the process of giving the above instruction to the stopped core recovery function unit 23 (Figure 3) to "restart 0 cores" or giving an instruction to the stopped core recovery function unit 23 (Figure 3) is skipped.

[0052] Next, the core stop / recovery program 33 updates the number of active cores 41 stored in the core stop processing metadata area 36 of the memory 13 to the target number of cores calculated in step S3 (S8), and then terminates this core stop / recovery control process.

[0053] (1-3) Effects of this embodiment As described above, the storage device 3 of this embodiment periodically calculates a target number of cores that maximizes the reduction in power consumption while satisfying the performance required for itself under the current load. It compares the calculated target number of cores with the number of operating cores 20. If the number of operating cores 20 exceeds the target number of cores, it stops the operation of the difference number of cores 20. If the number of operating cores 20 falls below the target number of cores, it restarts the difference number of stopped cores 20.

[0054] Therefore, with this storage device 3, the number of operating cores 20 is controlled to always match the target number of cores, thus it is possible to always meet the required performance, satisfy performance requirements, and reduce power consumption.

[0055] (2) Second embodiment In Figure 1, 50 represents a storage system according to the second embodiment. This storage system 50 is similar to the storage system 1 of the first embodiment in that the controller 52 of the storage device 51 stops the cores 20 of the CPU 12 or restores the stopped cores 20 to an operational state depending on the load.

[0056] However, the storage device 51 of this embodiment differs from the first embodiment in that the number of operating cores can be changed depending on whether the performance of the storage device 51 is prioritized or the reduction in power consumption of the CPU 12 is prioritized. Otherwise, it is configured the same as the storage system 1 of the first embodiment.

[0057] Figure 7, which uses the same reference numerals as Figure 2 to indicate corresponding parts, shows an example of the configuration of the controller 52 of the storage device 51 according to the second embodiment. In this embodiment, the controller 52 is provided with a management interface execution unit 53, and this management interface execution unit 53 is connected to the memory 54. An external management terminal 55 is also connected to the management interface execution unit 53.

[0058] The management terminal 55 is a computer device used by the administrator to manage the storage device 51. The management interface execution unit 53 is a functional unit that has the function of displaying the power consumption reduction policy selection screen, which will be described later, on the management terminal 55.

[0059] Figure 8, which uses the same reference numerals as Figure 4 for corresponding parts, shows the logical configuration of the memory 54 provided in the controller 52 of the storage device 51 of this embodiment. As shown in Figure 8, the memory 54 of the storage device 51 of this embodiment stores, as programs, the storage program 30, CPU load monitoring program 31, target core count calculation program 32, and core stop / recovery program 33 described above, as well as a power consumption reduction policy selection program 56.

[0060] The power consumption reduction policy selection program 56 is a program that has the function of displaying a user interface screen (hereinafter referred to as the power consumption reduction policy selection screen) on the management terminal 55 for selecting whether to prioritize the performance of the storage device 51 or the amount of power consumption reduction of the CPU 12 as the power consumption reduction policy for the storage device 51.

[0061] The management interface execution unit 53 displays the power consumption reduction policy selection screen on the management terminal 55 based on the power consumption reduction policy selection program 56. The administrator then uses this power consumption reduction policy selection screen displayed on the management terminal 55 to select whether to prioritize the performance of the storage device 51 or the amount of power consumption reduction of the CPU 12.

[0062] In this embodiment, three power consumption reduction policies are available: "Performance Priority," which prioritizes the performance of the storage device 51; "Power Consumption Reduction Priority," which prioritizes the amount of power consumption reduction of the CPU 12; and "Standard," which prioritizes both the performance of the storage device 51 and the amount of power consumption reduction of the CPU 12. In this embodiment, the power consumption reduction policy is realized by changing the upper limit usage rate of the CPU 12 to a value corresponding to the selected power consumption reduction policy.

[0063] Specifically, the maximum usage of CPU12 will be lower when "Standard" is selected as the power consumption reduction policy than when "Prioritize power consumption reduction" is selected, and further lower when "Prioritize performance" is selected than when "Standard" is selected.

[0064] As is clear from equation (1), the target number of cores calculated in step S3 of Figure 6 can be increased when "Standard" is selected as the power consumption reduction policy compared to when "Power Consumption Reduction Priority" is selected, and when "Performance Priority" is selected compared to when "Standard" is selected. This allows more cores 20 to be operated, thereby improving the performance of the storage device 51.

[0065] The power consumption reduction policy selection program 56 may be stored in a separate memory connected to the management interface execution unit 53 instead of memory 54. Alternatively, the management interface execution unit 53 may not be connected to memory 54 but to the CPU 12. In this case, the management interface execution unit 53 will access memory 54 via the CPU 12 to read the power consumption reduction policy selection program 56. Furthermore, the management interface execution unit 53 may not be located within the controller 52, and the CPU 12 core 20 may execute the power consumption reduction policy selection program 56 to display the power consumption reduction policy selection screen on the management terminal 55.

[0066] Furthermore, the power consumption reduction policy selection program 56 may be implemented on the management terminal 55, and the management terminal 55 may be connected to the front-end network 4. The power consumption reduction policy selected by the administrator using the power consumption reduction policy selection screen may then be transmitted from the management terminal 55 to the controller 52 of the storage device 51 via the front-end network 4.

[0067] Figure 9, which uses the same reference numerals as Figure 5 to indicate corresponding parts, shows the configuration of the core shutdown processing metadata area 57 provided in the memory 54 of the controller 52 in this embodiment. In this embodiment, the core shutdown processing metadata area 57 stores the total number of cores 40, the number of active cores 41, and the upper limit usage rate 42 mentioned above, as well as a policy-specific upper limit usage rate management table 58.

[0068] The policy-specific upper limit usage management table 58 is a table that stores the optimal upper limit usage value for each policy regarding the priority of the performance of the storage device 51 or the amount of power consumption reduction of the CPU 12 in calculating the target number of cores. As described above, in this embodiment, three power consumption reduction policies are available: "performance priority," "standard," and "power consumption reduction priority," and the optimal upper limit usage value for each of these power consumption reduction policies is stored in the policy-specific upper limit usage management table 58. Note that the upper limit usage value for each power consumption reduction policy is set lower the more performance-oriented the power consumption reduction policy is, as described above.

[0069] Figure 10 shows the flow of a series of processes (hereinafter referred to as the upper limit usage rate update process) that are performed in connection with updating the upper limit usage rate in accordance with the power consumption reduction policy. In the following, the processing entity for each process will be described as the power consumption reduction policy selection program 56, but in practice, it goes without saying that the management interface execution unit 53 executes the process based on this power consumption reduction policy selection program 56.

[0070] When the power consumption reduction policy selection program 56 receives a request from the management terminal 55 to display the power consumption reduction policy selection screen when the administrator performs a predetermined operation on the management terminal 55, it starts the upper limit usage rate update process. First, the power consumption reduction policy selection program 56 displays the power consumption reduction policy selection screen on the management terminal 55 (S10).

[0071] Next, the power consumption reduction policy selection program 56 waits for the power consumption reduction policy selected by the administrator on the power consumption reduction policy selection screen to be sent from the management terminal 55 (S11). If the management terminal 55 is connected to the front-end network 4, the power consumption reduction policy selection program 56 may receive such power consumption reduction policies via the front-end network 4 or from another program in the storage device 51.

[0072] Then, when the power consumption reduction policy selected by the administrator on the power consumption reduction policy selection screen is transmitted from the management terminal 55, the power consumption reduction policy selection program 56 refers to the policy-specific upper limit usage rate management table 58 stored in the core shutdown processing metadata area 57 (Figure 9) of the memory 54. The power consumption reduction policy selection program 56 then reads the optimal value of the upper limit usage rate corresponding to the power consumption reduction policy selected by the administrator from the policy-specific upper limit usage rate management table 58, and updates the value of the upper limit usage rate stored in the core shutdown processing metadata area 57 to the value read from the policy-specific upper limit usage rate management table 58 at that time (S12). After this, the power consumption reduction policy selection program 56 terminates this upper limit usage rate update process.

[0073] According to the storage device 51 of this embodiment having the above configuration, similar to the storage device 3 of the first embodiment, it is possible to reduce power consumption while satisfying performance requirements, and to perform control that takes into account the priority between the performance of the storage device 51 and the amount of power consumption reduction of the CPU 12.

[0074] (3) Other embodiments It should be noted that the first and second embodiments described above do not limit the scope of the claims of the present invention, and not all elements described in the embodiments are necessarily necessary for solving the problems of the present invention. Furthermore, the configurations of the first and second embodiments can be freely modified without changing the gist of the invention.

[0075] For example, the first and second embodiments described above describe the case where there is only one CPU 12 in the controller 6, but the present invention is not limited to this and can also be applied when there are multiple CPUs 12 in the controller 6. In this case, the average utilization rate of the CPUs 12 in the controller 6 can be obtained in step S1 of Figure 6, and the target number of cores for the entire controller 6 can be calculated in step S3.

[0076] Furthermore, if there are multiple CPUs 12, when stopping the surplus cores 20 in step S6 or restoring the stopped cores 20 to an operational state in step S7, it is desirable to adjust the number of operational cores 20 in each CPU 12 so that they are equal.

[0077] Therefore, if there are multiple CPUs 12, the number of cores 20 to be stopped or restarted should be distributed equally among the CPUs 12 in the controller 6 based on the difference between the target number of cores calculated in step S4 and the number of active cores 41, so that the number of active cores 20 among the CPUs 12 is equal. Then, each CPU 12 should be notified to stop or restart the number of cores 20 that have been distributed. The communication of the number of cores 20 to be stopped or restarted among the CPUs 12 can be done via the memory 13 shared by each CPU 12.

[0078] Furthermore, in the first and second embodiments described above, the case in Figure 6 was described as being when the core stop / recovery control process described above is performed periodically. However, the present invention is not limited to this, and such core stop / recovery control process may be performed irregularly or in response to instructions from an administrator. However, performing the core stop / recovery control process periodically has the advantage of being able to reduce power consumption while always meeting the required performance and performance requirements.

[0079] Furthermore, in the second embodiment described above, we described a case where there are three power consumption reduction policies: "performance priority," "standard," and "prioritization of power consumption reduction amount." However, the present invention is not limited to this, and there may be only two power consumption reduction policies (for example, "performance priority" and "prioritization of power consumption reduction amount") or four or more power consumption reduction policies. [Industrial applicability]

[0080] This invention can be applied to storage devices. [Explanation of Symbols]

[0081] 1. 50...Storage system, 2...Host, 3. 51...Storage device, 5...Storage device, 6. 52...Controller, 12...CPU, 13. 54...Memory, 20...Core, 21...Memory interface, 22...Core stop function unit, 23...Stopped core recovery function unit, 31...CPU load monitoring program, 32...Target core count calculation program, 33...Core stop / recovery program, 36. 57...Core stop processing metadata area, 40...Total number of cores, 41...Number of active cores, 42...Upper limit utilization rate, 53...Management interface execution unit, 55...Management terminal, 56...Power consumption reduction policy selection program, 58...Upper limit utilization rate management table per policy.

Claims

1. In a storage device that provides a memory area for reading and writing data to a higher-level device, A storage device that provides the storage area for reading and writing data from the aforementioned higher-level device, A controller that reads and writes data to the storage area of ​​the storage device in response to a request from the above-level device. Equipped with, The controller has a processor, The processor has a plurality of cores that read and write data to the storage area of ​​the storage device in response to a request from the higher-level device. The maximum utilization rate of the processor that can satisfy the performance requirements for the storage device is defined as the upper limit utilization rate. Based on the ratio of the actual processor utilization rate to the upper limit utilization rate, the number of operating cores that maximizes the reduction in power consumption of the processor while satisfying the performance requirements is calculated as the target number of cores, and the operation of the cores is stopped or the stopped cores are restored to an operating state so that the calculated target number of cores is equal to the number of operating cores. A storage device characterized by the following features.

2. The aforementioned performance requirement is a response time requirement. The storage device according to feature 1.

3. The target number of cores is calculated periodically, and the operation of cores is stopped or stopped cores are restored to an operational state so that the calculated target number of cores is equal to the number of cores in operation. The storage device according to feature 1.

4. A core stop function unit that stops the operation of the aforementioned core, A stopped core recovery function unit that restores the stopped core to an operating state, Furthermore, One core constituting the processor calculates the target number of cores and controls the core stop function unit or the stopped core recovery function unit so that the calculated target number of cores is equal to the number of cores in operation. The storage device according to feature 1.

5. The optimal value for the upper limit usage rate of the processor for each of the multiple power consumption reduction policies is predetermined. When one of the power consumption reduction policies is specified by an external operation, the upper limit utilization rate of the processor is updated to the optimal value corresponding to the specified power consumption reduction policy. The storage device according to feature 1.

6. In a control method for a storage device that provides a memory area for reading and writing data to a higher-level device, The aforementioned storage device is A storage device that provides the storage area for reading and writing data from the aforementioned higher-level device, A controller that reads and writes data to the storage area of ​​the storage device in response to a request from the above-level device. It has, The aforementioned controller includes: A processor having multiple cores is provided that reads and writes data to the storage area of ​​the storage device in response to a request from the above-level device. The maximum utilization rate of the processor that can satisfy the performance requirements for the storage device is defined as the upper limit utilization rate. The first step is for the storage device to calculate, based on the ratio of the actual processor utilization rate to the upper limit utilization rate, the number of cores in the operating state that maximizes the reduction in power consumption of the processor while satisfying the performance requirements, as the target number of cores; The storage device performs a second step of stopping the operation of the cores or restoring the stopped cores to an operational state so that the calculated target number of cores is equal to the number of cores in operation. A method for controlling a storage device, characterized by comprising the following features.

7. The aforementioned performance requirement is a response time requirement. A method for controlling a storage device according to feature 6.

8. The storage device further comprises a third step of periodically performing the first and second steps. A method for controlling a storage device according to feature 6.

9. The aforementioned storage device is A core stop function unit that stops the operation of the aforementioned core, A stopped core recovery function unit that restores the stopped core to an operating state, It further possesses, In the second step described above, any of the cores is One core constituting the processor calculates the target number of cores and controls the core stop function unit or the stopped core recovery function unit so that the calculated target number of cores is equal to the number of cores in operation. A method for controlling a storage device according to feature 6.

10. The optimal value for the upper limit usage rate of the processor for each of the multiple power consumption reduction policies is predetermined. In the second step described above, any of the cores is When one of the power consumption reduction policies is specified by an external operation, the upper limit utilization rate of the processor is updated to the optimal value corresponding to the specified power consumption reduction policy. A method for controlling a storage device according to feature 6.

Citation Information

Patent Citations

  • Storage system and a method of controlling energy consumption therein

    US12204775B1