CN112835509A - Method for reducing power consumption of solid state disk - Google Patents
Method for reducing power consumption of solid state disk Download PDFInfo
- Publication number
- CN112835509A CN112835509A CN201911162017.6A CN201911162017A CN112835509A CN 112835509 A CN112835509 A CN 112835509A CN 201911162017 A CN201911162017 A CN 201911162017A CN 112835509 A CN112835509 A CN 112835509A
- Authority
- CN
- China
- Prior art keywords
- raid
- data
- mode
- power consumption
- solid state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0625—Power saving in storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/065—Replication mechanisms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0689—Disk arrays, e.g. RAID, JBOD
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Dram (AREA)
Abstract
The invention provides a method for reducing power consumption of a solid state disk, which is characterized in that when the solid state disk is triggered to enter a low power consumption mode, the state of an RAID logic circuit is safely backed up, and when the solid state disk exits the low power consumption mode, the RAID logic circuit is recovered according to stored state data. The method is characterized in that effective RAID data are determined according to active RAID stripes, and unnecessary data movement is reduced when low-power-consumption commands respond. The method is characterized in that at least one RAID data backup area is distributed in the DRAM, and when the solid state disk is triggered to enter a low power consumption mode, effective intermediate state data generated by RAID exclusive OR operation in the SRAM is moved to the RAID data backup area.
Description
Technical Field
The invention relates to a solid state disk control technology, in particular to a method for reducing power consumption of a solid state disk.
Background
The RAID function enhances the reliability of data in a redundant data mode, compared with the RAID function in the solid state disk, the RAID function is applied, the intermediate state data generated by the RAID function can be read, XOR operation is carried out on the intermediate state data and the user data, and finally the intermediate state data after the operation is written back are added. From a performance perspective, the access time generated by the increased RAID data read and write back steps should be as short as possible, so the RAID data is localized in the fast SRAM rather than the relatively slow DRAM in the design.
In addition, in order to meet the power consumption requirement of the solid state disk, the solid state disk needs to enter a low power consumption state under the condition that the host does not have a task request, and the method is characterized in that the firmware system is in an idle state and related modules enter a low power consumption mode. The low power mode features of the common modules are: firstly, the DRAM enters a self-refresh mode, data stored in the DRAM cannot be lost, but the DRAM cannot be accessed at the moment; the SRAM enters a power-down mode, the data stored in the SRAM is lost, and the SRAM cannot be accessed; and thirdly, the logic circuit of the functional module is closed, and the current state is lost.
There is a trade-off in how to determine which modules go into low power consumption. In a low power consumption state, the power consumption is as low as possible, the hardware has multiple functions, the data which is not safely backed up is in risk of being lost, the hardware state of the functional module is in risk of being incapable of being accurately restored to the previous condition of low power consumption, in a RAID application scene, the former is related to a RAID data storage area SRAM, and the latter is related to a RAID logic circuit.
Under the condition that the solid state disk is designed with the RAID, when the solid state disk system enters low power consumption, although the firmware system is in an idle state at the moment, RAID data in an SRAM storage area cannot be discarded, and when the system exits the low power consumption, the RAID data is required to be continuously relied on to carry out XOR operation to generate RAIDParty data. In order to meet the availability of RAID data after a low power consumption state in the existing design, a common practice is to keep functional modules related to a RAID function in a normal state when the functional modules are in the low power consumption state, so as to avoid data loss caused by entering a power failure mode of an SRAM. The negative effect is to increase the power consumption of the RAID logic circuit and to maintain the SRAM in normal operation.
Disclosure of Invention
In view of the above drawbacks, the present invention is directed to further reducing power consumption in a low power consumption mode of a solid state disk.
The invention provides a method for reducing the power consumption of a solid state disk, which is characterized in that the solid state disk at least comprises a low power consumption mode and at least comprises a DRAM (dynamic random access memory), when the solid state disk is triggered to enter the low power consumption mode, data needing to be stored in the SRAM is firstly moved to the DRAM, the SRAM enters a power failure mode, and the DRAM enters a self-refresh mode; when the normal working mode is recovered, the SRAM and the DRAM are controlled to enter the normal mode, and the data in the DRAM are moved to the SRAM.
The method for reducing the power consumption of the solid state disk is characterized in that when the solid state disk is triggered to enter a low power consumption mode, the state of the RAID logic circuit is safely backed up, and when the solid state disk exits the low power consumption mode, the RAID logic circuit is recovered according to the stored state data.
The method for reducing the power consumption of the solid state disk is characterized in that effective RAID data are determined according to active RAID stripes, and unnecessary data movement is reduced when a low-power-consumption command responds.
The method for reducing the power consumption of the solid state disk is characterized in that at least one RAID data backup area is distributed in a DRAM, and when the solid state disk is triggered to enter a low power consumption mode, effective intermediate state data generated by RAID exclusive OR operation in an SRAM is moved to the RAID data backup area.
The method for reducing the power consumption of the solid state disk is characterized in that when a normal working mode is recovered, the SRAM and the DRAM are controlled to enter the normal mode, and effective intermediate state data in the RAID data backup area are moved to the position where the effective intermediate state data are stored in the SRAM in advance.
The invention has the beneficial effects that: the problems of low power consumption requirement and RAID data reliability can be effectively solved.
Drawings
FIG. 1 is a flow chart of a process for entering a low power mode;
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
And reserving a space for RAID data in the DRAM, wherein the space is equal to the RAID space in the SRAM and is special for backup of the RAID data in a low power consumption mode.
FIG. 1 is a flow chart of a process for entering a low power mode; when the system responds to a command of entering a low power consumption mode, the active RAID stripe is searched through RAID management information, whether the active RAID stripe is effective in the current system or not can be known, and the corresponding RAID data of the idle RAID stripe is invalid without backup. Wherein the lookup of the active RAID stripe is based on information provided by the RAID management architecture. The RAID management structure realizes the management of RAID stripe resources of the system, the RAID stripe resources and RAID data space form a corresponding relation, and the specific position of the RAID data space corresponding to the stripe can be indexed from the RAID stripe. And if so, performing RAID intermediate state data backup in the SRAM corresponding to the RAID strip, and synchronously performing backup of the logic circuit state of the RAID strip. The backup of the RAID stripe and the low power consumption mode can effectively ensure the reliability of the continuous operation of the RAID stripe after exiting the low power consumption mode. And after the effective RAID stripe information backup is finished, performing processing steps for reducing power consumption, wherein the processing steps are mainly processing of a storage area and processing of a hardware functional module. The SRAM can be put into a power down mode directly, and the necessary data backup in the self-refresh state DRAM, neither of which is accessible, where the data in the SRAM is lost. The hardware functional block enters a low power mode and the logic circuit can be turned off because the system in the low power mode does not perform any operation on Nand. The RAID management structure information occupies a relatively small space and is directly placed in the DTCM space, the DTCM space can be normally accessed in a low-power-consumption mode, and the reason that the DTCM space is placed in the DTCM space is that the access speed is high, so that the RAID management structure information is suitable for the RAID management structure needing high-frequency access in a RAID scene.
When the system is in a low power mode, only ITCM (code space) and DTCM (data space) which are not powered down are accessed, and the system is in an idle state without commands needing to respond.
Through the steps, the power consumption requirement of low power consumption is guaranteed, and meanwhile the requirement of reliability of RAID data is met.
While the invention has been described with reference to a particular embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A method for reducing the power consumption of a solid state disk, the solid state disk at least includes the low power consumption mode, characterized by including a DRAM at least, when the solid state disk is triggered to enter the low power consumption mode, move the data that need to be preserved in SRAM to DRAM first, SRAM enters the power down mode, DRAM enters the self-refresh mode; when the normal working mode is recovered, the SRAM and the DRAM are controlled to enter the normal mode, and the data in the DRAM are moved to the SRAM.
2. The method according to claim 1, wherein the solid state disk is triggered to enter the low power consumption mode, the state of the RAID logic circuit is backed up safely, and the RAID logic circuit is restored according to the stored state data when exiting the low power consumption mode.
3. The method according to claim 1, wherein effective RAID data is determined according to active RAID stripes, and unnecessary data movement in response to a low power consumption command is reduced.
4. The method according to claim 1, wherein at least one RAID data backup area is allocated in the DRAM, and when the solid state disk is triggered to enter the low power consumption mode, valid intermediate state data generated by an xor operation performed on the RAID in the SRAM is transferred to the RAID data backup area.
5. The method according to claim 2, wherein when the normal operation mode is recovered, the SRAM and the DRAM are controlled to enter the normal mode, and the valid intermediate state data in the RAID data backup area is moved to the location in the SRAM where the valid intermediate state data was stored.
6. A solid state disk is characterized by at least comprising a low power consumption mode and at least one DRAM (dynamic random access memory), wherein when the solid state disk is triggered to enter the low power consumption mode, data needing to be stored in an SRAM (static random access memory) is moved to the DRAM, the SRAM enters a power failure mode, and the DRAM enters a self-refresh mode; when the normal working mode is recovered, the SRAM and the DRAM are controlled to enter the normal mode, and the data in the DRAM are moved to the SRAM.
7. The solid state disk of claim 6, wherein the solid state disk is further configured to perform a secure backup of the state of the RAID logic when triggered to enter the low power mode, and to restore the RAID logic based on the stored state data when exiting the low power mode.
8. The solid state disk of claim 6, wherein valid RAID data is determined based on active RAID stripes, reducing unnecessary data movement in response to low power commands.
9. The solid state disk of claim 6, wherein at least one RAID data backup area is allocated in the DRAM, and when the solid state disk is triggered to enter the low power consumption mode, valid intermediate state data generated by the existence of RAID XOR operation in the SRAM is moved to the RAID data backup area.
10. The solid state disk of claim 6, wherein when the normal operation mode is restored, the SRAM and the DRAM are controlled to enter the normal mode first, and the valid intermediate state data in the RAID data backup area is moved to the original storage position in the SRAM.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911162017.6A CN112835509A (en) | 2019-11-25 | 2019-11-25 | Method for reducing power consumption of solid state disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911162017.6A CN112835509A (en) | 2019-11-25 | 2019-11-25 | Method for reducing power consumption of solid state disk |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112835509A true CN112835509A (en) | 2021-05-25 |
Family
ID=75922287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911162017.6A Pending CN112835509A (en) | 2019-11-25 | 2019-11-25 | Method for reducing power consumption of solid state disk |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112835509A (en) |
-
2019
- 2019-11-25 CN CN201911162017.6A patent/CN112835509A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255423B (en) | Method for reducing power consumption of RAID solid state disk and RAID solid state disk | |
US9348527B2 (en) | Storing data in persistent hybrid memory | |
US9032139B2 (en) | Memory allocation for fast platform hibernation and resumption of computing systems | |
US7596657B2 (en) | Increased storage capacity for solid state disks using data compression | |
US10346096B1 (en) | Shingled magnetic recording trim operation | |
CN101923499A (en) | Techniques to perform power fail-safe caching without atomic metadata | |
US9465426B2 (en) | Method for backing up data in a case of power failure of storage system, and storage system controller | |
CN104885034A (en) | Reducing power consumption of volatile memory via use of non-volatile memory | |
CN104461964A (en) | Memory device | |
EP3142015A1 (en) | Low-power memory-access method and associated apparatus | |
EP2845104A1 (en) | Preventing a hybrid memory module from being mapped | |
US20180341585A1 (en) | Write-back cache for storage controller using persistent system memory | |
US10725856B2 (en) | Error correction to reduce a failure in time rate | |
CN113711189B (en) | System and method for managing reduced power failure energy requirements on solid state drives | |
CN111104048B (en) | Data processing method and distributed storage system | |
JP3541349B2 (en) | Cache memory backup system | |
CN112835509A (en) | Method for reducing power consumption of solid state disk | |
US20090271648A1 (en) | Information processing device, data writing method, and program for the same | |
CN110134545B (en) | Method and system for providing virtual NVRAM based on trusted execution environment | |
CN108710507A (en) | A kind of method of SSD master dormants optimization | |
CN115599592A (en) | Memory mirroring method and computing device | |
US10496303B2 (en) | Method for reducing power consumption memory, and computer device | |
JPH09212424A (en) | Disk cache and disk caching method | |
US11556253B1 (en) | Reducing power consumption by selective memory chip hibernation | |
CN106815008B (en) | System pause method, system recovery method and computer system using same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |