![]()
专利摘要:
Techniques are generally described for the allocation and deallocation of resources that facilitate the management of food. A device comprising one or more processors and a memory may be configured to implement these techniques. The processor may be configured to determine the utilization rate of a first non-zero subset of a plurality of resources, the plurality of resources being allocated and released in accordance with a thermometer data structure. The processors may further be configured to compare the utilization rate of the first non-zero subset of the plurality of resources with a threshold separating the first nonzero subset from the plurality of resources of a second non-null subset. none of the plurality of resources, and powering the second non-zero subset of the plurality of resources based at least on the comparison. The memory can be configured to store the threshold. 公开号:FR3028656A1 申请号:FR1560938 申请日:2015-11-16 公开日:2016-05-20 发明作者:Dillip K Dash;James V Henson;Bhasker R Jakka 申请人:HGST Netherlands BV; IPC主号:
专利说明:
[0001] TECHNICAL FIELD [1] The present invention relates to the allocation of resources, and more particularly, the allocation of resources for the management of the power supply. BACKGROUND OF THE INVENTION [2] Devices can allocate and deallocate resources for various purposes in support of the overall operation of a device. For example, a storage device such as Solid State Drive (SSD) can allocate and deallocate resources to support access to a data buffer, verification and error correction coding. errors (ECC, Error Checking and Correction) when storing data in non-volatile memory (for example, a flash memory), accessing flash channels when extracting data from non-volatile memory, and ECC decoding when extracting data from the nonvolatile memory. In cases where the number of resources is less than the number of units (which may be referred to as requesting units), the storage device may implement an arbitration technique (such as a so-called each in turn) to attempt to provide reasonably balanced access to resources in a manner that avoids undue delays. [3] In some cases, the number of resources is artificially limited to achieve more efficient operation of the storage device ( for example, from the point of view of energy consumption.) More specifically, some of the available resources may be de-energized to reduce the energy consumption and the corresponding costs associated with the operation of the storage devices. artificially limiting the number of resources in certain contexts, storage device manufacturers try to balance performance with operating efficiency. By way of example, various manufacturers have attempted to dynamically power-on resources that were initially de-energized to improve performance when demand for resources is high and to dynamically power off these same resources to improve performance. operating performance when the demand for resources is low. [0002] Dynamic allocation and deallocation of resources can therefore enable various resources to be powered up when necessary and power down when this is not necessary. The algorithms developed to facilitate this energy-saving allocation / deallocation may, however, be subject to limitations on the allocation data structures. First-in-first-out (FIFO) data structures or last-in-first-out (LIFO) data structures used for allocation Resource deallocation can lead to random distributions for which de-allocated resources are intertwined with allocated resources, making it difficult to know when a particular resource will be required with sufficient time to make these resources available in a timely manner to process requests. . Complex hardware can be used or versatile processors (such as a Central Processing Unit (CPU) or CPU) can be deployed to facilitate the dynamic allocation / deallocation of resources to adequately balance the performance of the hardware. operation while also providing adequate performance. However, this dedicated hardware or these reused CPUs can consume significant energy, reducing many if not all of the energy savings achieved through dynamic allocation / deallocation algorithms. [0003] SUMMARY [5] In one example, a method includes determining, by a control unit of a device, the utilization rate of a first non-zero subset of a plurality of resources of the device, the plurality with resources being allocated and released according to a thermometer data structure, comparing, by the control unit, the utilization rate of the first non-zero subset of the plurality of resources to a threshold separating the first sub-set of non-zero set of the plurality of resources of a second non-zero subset of the plurality of resources, and powering the second non-zero subset of the plurality of resources based at least on the comparison. [6] In another example, a device includes one or more processors configured to determine the utilization rate of a first non-zero subset of a plurality of resources, the plurality of resources being allocated and released in accordance with a thermometer data structure, comparing the utilization rate of the first non-zero subset of the plurality of resources to a threshold separating the first non-zero subset from the plurality of resources of a second non-subset none of the plurality of resources, and energizing the second non-zero subset of the plurality of resources based at least on the comparison, and a memory configured to store the threshold. [7] In another example, a nonvolatile computer-readable storage medium includes instructions stored thereon which, when executed, cause one or more processors to determine the utilization rate of a first slot. the non-zero set of a plurality of resources, the plurality of resources being allocated and released in accordance with a thermometer data structure, comparing the utilization rate of the non-zero first subset of the plurality of resources with a threshold separating the first non-zero subset of the plurality of resources from a second non-zero subset of the plurality of resources, and powering the second non-zero subset of the plurality of resources based on at least one of the plurality of resources; the comparison. [8] The details of said one or more examples mentioned above are presented in the accompanying drawings and the description which follows. Other features, objects and advantages will be apparent from the description and drawings, as well as the claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a conceptual and block diagram illustrating an example of a storage environment in which a storage device can act as a storage device for a host device, in accordance with one or more techniques of the The present invention [10] Fig. 2 is a conceptual and block diagram illustrating an exemplary control unit in accordance with one or more techniques of the present invention. [11] Fig. 3 is a diagram illustrating a general resource allocation module shown in more detail in the example of Fig. 2. [12] Fig. 4 is a block diagram illustrating in more detail an ECC decoder of Fig. 2. FIGS. 5A and 5B are a flowchart illustrating an example of operation of a storage device in the implementation of resource allocation and deallocation techniques described in this specification. [14] Fig. 6 is a diagram illustrating in more detail the thermometer data structure of Fig. 3. DETAILED DESCRIPTION [15] In accordance with one or more techniques of the present invention, a control unit of a device (such as an SSD, in which these control units may be referred to as a flash control unit ) can perform dynamic resource allocation and deallocation using a thermometer-like data structure that allocates resources in a manner that facilitates allocation and deallocation in a fixed succession. Rather than basing the allocation and deallocation on data structures that lead to a random allocation of resource allocations and deallocations, the thermometer-like data structure can maintain a fixed order of identified resources by increasing significantly. incremental resource IDs. The allocation mechanism may then act in accordance with a rule that available resources with the lowest resource identifier are allocated before allocating available resources having a relatively higher resource identifier. As a result, the thermometer data structure can exhibit "hot spots" representative of frequent use and "cold spots" representative of infrequent use through statistical analysis of the resources represented. by components of the thermometer data structure. By identifying these hot and cold spots, the control unit can dynamically set a threshold. Specifically, the flash control unit can identify a threshold through a statistical analysis of the resource utilization rate over time. The threshold defines a boundary between those resources that must remain energized and those resources that can be de-energized. [16] The flash controller may adjust this threshold and dynamically update the threshold over time to take into account a number of different scenarios that may occur in a SSD. For example, the flash controller may increase the threshold while the memory resource utilization rate is increased during the peak usage, so increasing the performance when the usage rate requires more memory resources. The flash control unit can also reduce the threshold during relatively small use of memory resources during off-peak use, thereby improving the operating efficiency by powering off more of the resources. As another example, the flash control unit can, over time, observe that the use rate of ECC decoders has increased due to the increase in faults of a flash memory as and when flash memory experiences wear. The flash controller may, in response to detecting this increase in the ECC decoder utilization rate, dynamically increase the threshold to power up a greater number of ECC decoders. In this regard, the techniques can help improve the operational efficiency at the beginning of the SSD deployment and reduce the operating efficiency by increasing the threshold to maintain the same performance during the subsequent deployment of the SSD. [17] Fig. 1 is a conceptual and block diagram illustrating an exemplary storage environment 2 in which the storage device 6 can act as a storage device for the host device 4, in accordance with one or more storage techniques. the present invention. For example, the host device 4 may use nonvolatile memory devices contained in the storage device 6 to store and retrieve data. In some examples, the storage environment 2 may include a plurality of storage devices, such as the storage device 6, that can function as a storage array. For example, the storage environment 2 may comprise a plurality of storage devices 6 configured as a redundant array of inexpensive / independent disks (RAIDs, Redundant Array of Inexpensive / Independent Disks) which collectively play the role of mass storage device for the host device 4. [18] The storage environment 2 may comprise the host device 4 which can store and / or retrieve data in and / or from one or more storage devices, such as the storage device-6. As illustrated in FIG. 1, the host device 4 can communicate with the storage device 6 via an interface 14. The host device 4 may comprise any of a wide range of devices, including computer servers, network attached storage (NAS) devices, desktops, notebooks ( that is, laptops), tablet computers, adapters, telephone handsets such as so-called "smart" phones, "smart" notebooks, television sets, cameras, display devices, digital media players, video game consoles, streaming video devices, etc. [19] As illustrated in FIG. 1, the storage device 6 may comprise a control unit 8, a nonvolatile memory array (NVMA 10), a power supply 11, a volatile memory 12 , and an interface 14. In some examples, the storage device 6 may comprise additional components not shown in Figure 1 for clarity. By way of example, the storage device 6 may comprise a printed board (PB) to which components of the storage device 6 are mechanically fixed and which comprises electrically conductive tracks which electrically interconnect components of the device. storage 6; etc. In some examples, the physical dimensions and configurations of the connectors of the storage device 6 may meet one or more standard form factors. Some examples of standardized form factors include, without limitation, a 3.5-inch hard disk drive (HDD), a 2.5-inch HDD, a 1.8-inch HDD, an interconnect Peripheral Component Interconnect (PCI), Extended PCI (PCI-X), PCI Express (PCIe) (for example, PCIe x1, x4, x8, x16, PCIe Mini Card, MiniPCI, etc.). ). In some examples, the storage device 6 may be directly connected (for example, directly soldered) to a motherboard of the host device 4. [20] The storage device 6 may include an interface 14 for interfacing with the host device 4. The interface 14 may comprise one or both of a data bus for exchanging data with the host device 4 and a control bus for exchanging commands with the host device 4. The interface 14 may operate in accordance with any suitable protocol. For example, the interface 14 may operate in accordance with one or more of the following protocols: advanced technology attachment (ATA) (such as serial-ATA (SATA), and parallel-ATA (PATA) ), Fiber Channel System, Small Computer Systems Interface (SCSI), Serial Attached SCSI (SAS), Peripheral Component Interconnect (PCI), and PCI-Express. The electrical connection of the interface 14 (e.g., the data bus, the control bus, or both) is electrically connected to the control unit 8, establishing an electrical connection between the host device 4 and the control unit 8, which makes it possible to exchange data between the host device 4 and the control unit 8. In some examples, the electrical connection of the interface 14 may also allow the storage device 6 to receive power from the host device 4. As illustrated in FIG. 1, a power supply 11 can receive power supply from the host device 4 via the interface 14. [21] The storage device 6 may include an NVMA 10 which may include a plurality of memory devices 16Aa-16Nn (collectively referred to as "memory devices 16") which may each be configured to store and / or retrieve data. By way of example, a memory device among the memory devices 16 may receive data and a message from the control unit 8 which instructs the memory device to store data. Similarly, the memory device among the memory devices 16 may receive a message from the control unit 8 which instructs the memory device to retrieve data. In some examples, each of the memory devices 6 may be referred to as a die. In some examples, a single physical chip may include a plurality of dice (i.e., a plurality of memory devices 16). In some examples, each of the memory devices 16 may be configured to store relatively large amounts of data (e.g., 128 MB, 256 MB, 512 MB, 1 GB, 2 GB, 4 GB, 8 GB, 16 GB, 32 GB, 64 GB, 128 GB, 256 GB, 512 GB, 1 TB, etc. ). [22] In some examples, the memory devices 16 may comprise any type of nonvolatile memory devices. Some examples of memory devices 16 include, without limitation, flash memory devices, phase change memory (PCM) devices, resistive random access memory (ReRAM) devices, Magnetoresistive Random Access Memory (MRAM) devices, ferroelectric random access memory (F-RAM), holographic memory devices, and any other type of nonvolatile memory devices. [23] The flash memory devices may include NAND or NAND (NOR) flash memory devices, and may store data based on a charge contained in a floating gate. a transistor for each flash memory cell. In NAND flash memory devices, the flash memory device can be divided into a plurality of blocks that can be divided into a plurality of pages. Each block of the plurality of blocks within a particular memory device may comprise a plurality of NAND cells. NAND cell lines may be electrically connected using a word line to define a page of a plurality of pages. The respective cells of each of the plurality of pages may be electrically connected to respective bit lines. The controller 6 can write data and read data into and from page-level NAND flash memory devices and erase data from NAND flash memory devices at the block level. [24] In some instances, it may not be practical to separately connect the control unit 8 to each memory device among the memory devices 16. As a result, the connections between the memory devices 16 and the control unit 8 can be multiplexed. By way of example, memory devices 16 may be grouped into channels 18A-18N (collectively referred to as "channels 18"). By way of example, as illustrated in FIG. 1, the memory devices 16Aa-16Nn can be grouped into a first channel 18A, and the memory devices 16Na-16Nn can be grouped into a Nth channel 18N. The memory devices 16 grouped in each of the channels 18 can share one or more connections to the control unit 8. For example, the memory devices 16 grouped into a first channel 18A can be connected to a common bus 1/0 and to a common control bus. The storage device 6 may comprise a common I / O bus and a common control bus 20 for each of the respective channels 18. In some examples, each of the channels 18 may include a set of Chip Enable (CE) lines that may be used to multiplex the memory devices on each channel. By way of example, each line CE can be connected to a respective memory device among the memory devices 18. Thus, the number of separate connections between the control unit 8 and the memory devices 18 can be reduced. In addition, since each channel has an independent set of connections to the control unit 8, the reduction of the connections may not significantly affect the data rate since the control unit 8 can simultaneously issue different commands to each channel. [25] In some examples, the storage device 6 may include a number of memory devices 16 selected to provide a total capacity that is greater than the capacity accessible to the host device 4. This is referred to as oversizing. For example, if the storage device 6 is advertised as having 240 GB of user accessible storage capacity, the storage device 6 may include a sufficient number of memory devices 16 to obtain a storage capacity of 6 GB. total storage of 256 GB. The 16 GB storage devices 16 may not be accessible to the host device 4 or to a user of the host device 4. Instead, additional storage devices 16 can provide additional blocks for ease of writing, salvage, wear repair, and the like. On the other hand, the additional storage devices 16 may have additional blocks that may be used if some blocks become worn, become unusable, and are disabled. The presence of the additional blocks 10 makes it possible to deactivate the used blocks without causing a modification of the available storage capacity to the host device 4. In some examples, the degree of oversizing can be defined by p = (TD) / D, where p is the oversizing ratio, T is the total storage capacity of the storage device 2, and D is the storage capacity of the device storage 2 that is accessible to the host device 4. [26] The storage device 6 may comprise a power supply 11, which can supply power to one or more of the components of the storage device 6. When operating in a standard mode, a power supply 11 can power the one or more components using the power supplied by an external device, such as the host device 4. By way of example, the power supply 11 can supply power to the one or more components by using the power supply received from the host device 4 via the interface 14. In some examples, the power supply 11 may comprise one or more energy storage components configured to supply power to the one or more components during operation in a shutdown mode, such as in cases where the power supply ceases to be received from the external device. The power supply 11 can thus play the role of embedded emergency power source. Some examples of said one or more energy storage components include, without limitation, capacitors, supercapacitors, batteries, etc. In some examples, the amount of energy that can be stored by said one or more energy storage components may be a function of the cost and / or size (e.g., area / volume) of said one or more 30 energy storage components. In other words, as the amount of energy stored by said one or more energy storage components increases, the cost and / or size of said one or more energy storage components also increases. [27] The controller 8 may perform a form of dynamic resource allocation and deallocation in support of one or more of the read operations and the write operations. The control unit 8 can, as described in more detail with reference to FIG. 2, allocate and deallocate resources in support of access to a data buffer, verification coding and error correction (ECC ) when storing data in nonvolatile memory (for example, a flash memory), accessing flash channels when extracting data from nonvolatile memory, and decoding ECC when extracting data. 10 non-volatile memory data. In cases where the number of resources is less than the number of requesting units (which may be referred to as requesting units "), the control unit 8 may implement one or more arbitration techniques to attempt to allow reasonably balanced access to resources in a manner that avoids undue delay. [28] In some cases, the number of resources is artificially limited to achieve more efficient operation of the storage device (for example, from the point of view of power consumption). Specifically, the control unit 8 may de-energize a portion of the available resources to reduce the power consumption and associated costs associated with the operation of the storage device. By artificially limiting the number of resources in certain contexts, the control unit 8 may attempt to balance the performance with the operating efficiency. For example, the control unit 8 can dynamically energize the resources that are initially de-energized to improve performance when the resource demand is high and dynamically power off these same resources to improve the operating efficiency when the demand for resources is low. [29] Dynamic allocation and deallocation of resources can therefore power various resources when necessary and power off when this is not necessary. The algorithms developed to facilitate this energy-saving allocation / deallocation may, however, be subject to limitations on the allocation / deallocation of data structures. By way of illustration, an allocation algorithm may use a first-in-first-out type data structure, such as a queue. In this allocation technique, a resource identifier is assigned to each of the resources. The arbiter of this allocation technique may push each of the resource identifiers into the queue, the weakest resource identifier being for example the first allocated (or, in the terminology of the queues, "ejected" from the queue). The arbitrator may allocate the resource associated with the resource identifier ejected from the queue. Ejecting the resource ID has the effect of removing this resource so that it is not allocated to two or more requesting units. [30] However, the resource utilization times per requesting unit may vary, which means that the arbitrator may randomly return the resource identifier in the queue. As a result of this variable resource allocation time, the resource identifiers quickly become randomly distributed in the queue. This random allocation of resource identifiers can reduce the ability to identify the number of resources that are required for each given frame of time, thereby impeding the dynamic power supply of resources to balance performance with performance. . Allocation techniques that use the last-in-first-out (LIFO) data structures for allocation / deallocation of resources can likewise lead to random distributions of resource identifiers. To overcome these limitations on allocation techniques, the control units may incorporate complex hardware or versatile processors (such as a central processing unit or CPU) to facilitate the dynamic allocation / deallocation of resources enabling to adequately balance the operating efficiency while also providing adequate performance. However, this dedicated hardware or these reused CPUs can consume significant energy, reducing many if not all of the energy savings achieved by dynamic allocation / deallocation algorithms. [31] In accordance with one or more techniques of the present invention, the control unit 8 of a storage device 6 can perform dynamic resource allocation and deallocation using a thermometer data structure that allocates resources in a way that facilitates allocation and deallocation according to a fixed succession. Rather than basing the allocation and deallocation on data structures that lead to a random allocation of resource allocations and deallocations, the thermometer-like data structure can maintain a fixed order of identified resources by increasing the number of resources. 3028656 incrementally, and potentially monotonically, resource identifiers. The allocation mechanism can then operate in accordance with a rule that available resources with the lowest resource identifier are allocated before allocating available resources with a relatively higher resource identifier. As a result, the thermometer data structure can exhibit "hot spots" representative of frequent use and "cold spots" representative of infrequent use through statistical analysis of resources represented by components of the thermometer data structure. By identifying these hot and cold spots, the control unit 8 can dynamically define a threshold. More specifically, the flash controller 10 can identify a threshold by means of a statistical analysis of the rate of resource utilization over time. The threshold defines a boundary between those resources that must remain energized and those resources that can be de-energized. [32] The control unit 8 can adjust this threshold and dynamically update the threshold over time to take into account a number of cases. For example, the controller 8 may increase the threshold during increased use of memory resources during the peak usage, thereby increasing performance when the utilization rate requires more memory resources. The control unit 8 may also reduce the threshold during relatively small use of memory resources during off-peak use, thereby potentially improving the electrical operating efficiency by powering off more resources. As another example, the control unit 8 can identify, over time, the cases where the utilization rate of ECC decoders has increased due to the increase of the nonvolatile memory defects as the non-volatile memory 10 undergoes wear. The control unit 8 may, in response to detecting this increase in the ECC decoder utilization rate, dynamically increase the threshold to power up a larger number of ECC decoders. In this regard, the techniques can help improve the operational efficiency at the beginning of the SSD deployment and reduce the operating efficiency by increasing the threshold to maintain the same performance during the subsequent deployment of the SSD. [33] In this regard, the control unit 8 can determine the utilization rate of a first non-zero subset (or, in other words, a part) of a plurality of resources. the plurality of resources being allocated and released in accordance with a thermometer-like data structure, which may also be referred to as a thermometer data structure. The control unit 8 can then compare the utilization rate of the first non-zero subset of the plurality of resources to a threshold separating the first non-zero subset from the plurality of resources of a second non-subset. no resources. [34] The control unit 8 may, in some instances, translate the utilization rate into a number of resources before making this comparison. For example, the utilization rate can be defined as a number of requests for a certain time frame. The control unit 8 can then determine or otherwise obtain a number of requests for said time frame that each of the resources is capable of handling. The control unit 8 can then divide the number of requests for said time frame by the number of requests for the same time frame that the resource is able to manage in order to determine the expected number of resources that are required. [35] The control unit 8 can then compare the expected number of resources that may be required (which actually represents the utilization rate) to the threshold. The controller 8 may power up the second non-zero subset of resources based at least on the comparison of the expected number of resources that may be required for that threshold. Likewise, the control unit 8 can continue to determine or otherwise obtain the utilization rate over time and can compare this utilization rate to the threshold after powering on or, in addition, In other words, activate the second non-zero subset of resources. When the utilization rate is less than that allowed by the threshold, the control unit 8 may power down the second non-zero subset of resources. [36] Fig. 2 is a conceptual and block diagram illustrating examples of details of the control unit 8. In some examples, the control unit 8 may comprise an address translation module 22, a writing module 24, a maintenance module 26, a reading module 28, a planning module 30, and a plurality 32A-32N channel control units (collectively referred to as "channel control units 32"). In other examples, the control unit 8 may comprise additional modules or hardware units, or may comprise fewer modules or hardware units. The control unit 8 may comprise a microprocessor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a programmable gate array (FPGA, Field Programmable 13 3028656 Gate Array), or other digital logic circuits. In some examples, the control unit 8 may be a system-on-chip (SoC). [37] The control unit 8 can interface with the host device 4 via the interface 14 and manage the data storage and data extraction in and from the memory devices 16. By way of example, the write module 24 of the control unit 8 can handle the writes in the memory devices 1b. By way of example, the write module 24 can receive a message from the host device 4 via the interface 14 instructing the storage device 6 to store data associated with a logical address and the data. The write module 24 can manage the writing of the data in the memory devices 16. By way of example, the write module 24 can communicate with the address translation module 22, which manages the translation between logical addresses used by the host device 4 in order to manage the storage locations of the host. data and physical block addresses used by the write module 24 to direct the writing of data to the memory devices. The address translation module 22 of the control unit 8 may use a flash translation layer or table which translates logical addresses (or logical block addresses) of data stored by the memory devices 16 into the data. addresses of physical blocks of data stored by memory devices 16. By way of example, the host device 4 can use the logical block addresses of the data stored by the memory devices 16 in instructions or messages in the storage device 6, while the write module 24 uses the data block addresses. physical block addresses of the data for controlling the writing of data in the memory devices 16. (Similarly, the read module 28 can use the physical block addresses to control the reading of data in and from the memory devices 16). The physical block addresses correspond to real physical blocks of the memory devices 16. In some examples, the address translation module 22 can store the flash translation layer or table in a volatile memory 12, for example in cached information 13. [39] The host device 4 may thus be allowed to use a static logical block address for a certain data set, while the physical block address at which the data is actually stored may change. The address translation module 22 may retain the flash translation layer or table to map the logical block addresses to the physical block addresses to allow the use of the static logical block address by the 14 3028656 host device 4 while the physical block address of the data may change, for example, because of wear repair, salvage, or other. [40] As mentioned above, the write module 24 of the control unit 8 can perform one or more operations to manage the writing of data in the memory devices 16. For example, the writing module. 24 can manage the writing of data in the memory devices 16 by selecting one or more blocks within memory devices 16 to store the data and bring the memory devices among the memory devices 16 which include the selected blocks to store actually the data. As mentioned above, the write module 24 can cause the address translation module 22 to update the flash translation layer or table based on the selected blocks. For example, the write module 24 may receive a message from the host device 4 that includes a data unit and a logical block address, select a block within a particular memory device from the devices 16 to store the data, to cause the particular memory device among the memory devices 16 to effectively store the data (for example, via a channel control unit among the channel control units 32 which corresponds to the particular memory), and cause the address translation module 22 to update the flash translation layer or table to indicate that the logical block address corresponds to the selected block within the particular memory device. [41] In some examples, after receiving the data unit from the host device 4, the write module 24 may use a volatile memory 12 to temporarily store the data unit before bringing one or several of the memory devices 16 to effectively store the data. In some examples, the write module 24 may be configured to send to the host device 4 a message indicating whether the data could have been stored. However, in some examples, the write module 24 may send the message to the host device 4 to confirm successful storage of the data before the data is actually stored. For example, the write module 24 may send the message to the host device 4 to confirm the successful storage of the data when the data is stored in a volatile memory 12. [42] In some examples, in addition to bringing the data to be stored by the memory devices 16, the write module 24 can cause the memory devices 16 to store information that can be used to retrieve the data. the unit of data if one or more of the blocks become defective or become corrupted. Parity information can be used to retrieve data stored by other blocks. In some examples, the parity information may be an OU-EX of the data stored by said other blocks. [43] In order to write a bit having a logical value of 0 (loaded) on a bit having an earlier logical value of 1 (not loaded), a high current is used. This current may be high enough to cause unintended changes in the charge of adjacent flash memory cells. For protection against inadvertent changes, an entire block of flash memory cells may be erased to a logic value of 1 (not loaded) before writing any data into cells of the block. Because of this, flash memory cells can be erased at the block level and written at the page level. [44] Therefore, to write even a quantity of data that would consume less than one page, the control unit 8 can cause the erasure of an entire block. This can lead to write amplification, which refers to the ratio between the amount of data received from the host device 4 to be written to the memory devices 16 and the amount of data actually written in the memory devices 16. Write amplification contributes to faster wear of the flash memory cells than would occur in the absence of write amplification. Wear of the flash memory cells may occur when flash memory cells are erased due to the relatively high voltages used to erase the flash memory cells. Over a plurality of erase cycles, relatively high voltages can lead to changes in the flash memory cells. The flash memory cells may finally become unusable due to this wear in which the flash memory cells may be unable to store data with sufficient accuracy to allow the extraction of the data. [45] One technique that the control unit 8 can implement to reduce the write amplification and wear of the flash memory cells is to write the received data from the host device 4 into unused blocks. or partially used blocks. For example, if the host device 4 sends data to the storage device 6 which includes only a small variation with respect to data already stored by the storage device 6. The control unit may then mark the old data as out of date or no longer valid. Over time, this can reduce the number of erasure operations to which the blocks are exposed, as compared to erasing the block that contains the old data and writing the updated data to that block. [46] In response to receiving a write command from the host device 4, the write module 24 can determine the physical locations (e.g., blocks) of the memory devices 16 to which the data must be written. For example, the write module 24 may request the address translation module 22 or the maintenance module 26 one or more addresses of physical blocks that are empty (for example, not storing data), partially empty (for example, only certain pages of the block store data), or store at least some invalid (or outdated) data. Upon receipt of said one or more physical block addresses, the write module 24 may select one or more blocks as mentioned above, and transmit a message which brings the 32A-32N channel control units (collectively "channel control units 32") to write the data into the selected blocks. [47] The read module 28 can likewise control the reading of data to and from the memory devices 16. For example, the read module 28 may receive a message from the host device 4 requesting data having an associated logical block address. The address translation module 22 may convert the logical block address to a physical block address using the flash translation layer or table. The read module 28 can then control one or more of the channel control units 32 to extract the data from the physical block addresses. As for the write module 24, the read module 28 can select one or more blocks and transmit a message that causes the channel control units 32 to read the data from the selected blocks. [48] Each channel control unit among the channel control units 32 may be connected to a respective one of the channels 18. In some examples, the control unit 8 may comprise the same number of channel control units 32 as the number of channels 18 of the storage device 2. The channel control units 32 can perform the intimate control of the addressing, programming, erasing, and reading of the memory devices 16 connected to respective channels, for example, under the control of the module. 24, the read module 28, and / or the maintenance module 26. [49] The maintenance module 26 may be configured to perform operations related to maintaining the performance and extending the useful life of the storage device 6 (for example, the memory devices 16). By way of example, the maintenance module 26 can implement at least one of the wear repair or the space recovery. [50] As described above, the erasure of the flash memory cells may use relatively high voltages which, in a plurality of erase operations, may cause changes in the flash memory cells. After a number of erasure operations, the flash memory cells may degrade to the point that the data can no longer be written to the flash memory cells and a block comprising these cells may be decommissioned (not no longer be used by the control unit 8 to store data). To increase the amount of data that can be written into the memory devices 16 before the blocks are used and taken out of service, the maintenance module 26 can implement a wear repair. [51] In the wear repair, the maintenance module 26 can follow a certain number of erasures or writes in a block or a group of blocks, for each block or group of blocks. The maintenance module 26 can cause incoming data from the host device 4 to be written to a block or group of blocks that has been subjected to relatively fewer writes or erasures, in an attempt to maintain approximately equal to the number of writes or erasures for each block or group of blocks. This can cause each block of the memory devices 16 to wear at approximately the same speed, and can increase the useful life of the storage device 6. [52] Although this may reduce write amplification and wear of flash memory cells by reducing the number of erasures and writes of data in different blocks, this can also lead to blocks including some valid data (recent) and some invalid data (out of date). To remedy this state of recent data / outdated data, the maintenance module 26 can implement the recovery of space. In a garbage collection operation, the maintenance module 26 may analyze the contents of the memory device blocks 16 to determine a block that contains a high percentage of invalid (out-of-date) data. The maintenance module 26 can then rewrite the valid data from said block to a different block, then erase the block. This makes it possible to reduce an amount of invalid (stale) data stored by the memory devices 16 and to increase the number of free blocks, but can also increase the write amplification and the wear of the memory devices 16. [53] The scheduling module 30 of the control unit 8 may perform one or more operations to plan the activities to be performed by the memory devices 16. For example, the scheduling module 30 may schedule requests received from other components of the control unit 8 to instruct one or more of the memory devices 16 to perform one or more activities during the period of execution. In some examples, the scheduling module 30 can schedule the requests to be made in the order in which they were received (eg, first-in, first-out, or FIFO). In some examples, the scheduling module 30 may schedule the requests based on one or more factors which may include, without limitation, the type of request (for example a read request, a write request, a request for deletion, a request for retrieval of space, etc. ), the time elapsed since the request was received, the amount of energy that would be consumed by the implementation of the request, bandwidth considerations, etc. [54] In some examples, for example to meet energy consumption budget, the scheduling module 30 can schedule the activities to be performed so that performance is regulated. For example, when the power consumption budget allocates memory devices 16 a quantity of energy that is less than a quantity of energy that would be consumed if all the memory devices 16 were simultaneously active, the module The scheduler 30 can schedule the activities to be performed so that the amount of energy consumed by the memory devices 16 does not exceed the amount of energy allocated to the memory devices 16. [55] For example, when the storage device 6 has a power consumption target of 25W, the power consumption budget can allocate a portion of the power consumption target (e.g., 16W ) usable by the memory devices 16. If the amount of energy that would be consumed if all the memory devices 16 were simultaneously active is greater than the allocated portion of the power consumption target (e.g., 16W), the scheduling module 30 can determine a quantity of energy. memory devices 16 can be simultaneously active without consuming more energy than the allocated portion. For example, when the memory devices 16 are allocated X units of a power consumption budget and each memory device among the memory devices 16 has consumed a unit of energy when it is When active, the scheduling module 30 can determine that X memory devices among the memory devices 16 can be simultaneously active. [56] In some examples, the scheduling module 30 may be configured to selectively enable a performance control. By way of example, the scheduling module 30 can activate the regulation when operating in a first mode and disable the regulation when operating in a second mode. In some examples, such as in cases where a control reduces the amount of memory devices 16 that can be simultaneously active, the speed at which the scheduling module 30 can cause the data to be written into the memory devices 16 may be lower. when the regulation is activated by comparison in the case where the regulation is deactivated. [57] As indicated in more detail in the example of FIG. 2, the control unit 8 may comprise a number of buffers 34. Buffers 34 may be referred to as "raw data buffers 34" in some examples. The raw data buffers 34 may be buffers used to store data to be admitted to and / or received from channel control units 32. The raw data buffers 34 may be one of the resources mentioned above that may be requested by one of the so-called requesting units, such as the write module 24 and the read module 28. [58] On the other hand, although this is illustrated only with respect to the channel control unit 32A for simplifying the illustration, each of the channel control units 32 may comprise a number of resources that can for example be in the form of ECC encoders 36, read buffers 38 and ECC decoders 40 similar to those shown about the channel control unit 32A. The ECC encoders 36 may be a unit or module configured to perform ECC encoding on data waiting to be written to the nonvolatile memory area 10. The read buffers 38 are a unit or a module configured to store data read from the nonvolatile memory area 10. The read buffers 38 may be configured to store read code words. ECC decoders 40 may be a unit or module configured to perform ECC decoding on data stored in read buffers 38. [59] In accordance with one or more techniques of the present invention, the channel control unit 32A may comprise a resource allocation module 42 which performs the allocation and deallocation of one or more of the encoders. ECC 36, read buffers 38 and ECC decoders 40 using, at least in part, a thermometer data structure that allows resource allocation and deallocation, for example, in a fixed succession, as described hereinafter in more detail. Although shown as comprising a single resource allocation module 42, the channel control unit 32A may comprise multiple different resource allocation modules 42, each of which may be responsible for the allocation of resources. one, distinct, resources 36-40. Although not illustrated in the example of FIG. 2 for purposes of illustration simplification, each of the channel control units 32 or, in some cases, one or more of the channel control units 32 may include one or more resource allocation modules 42 similar to the resource allocation module 42 of the channel control unit 32A. In addition, the control unit 8 may, although it is not shown in the example of FIG. 2, again for purposes of simplification of the illustration, include another instance of the resource allocation module. 42 as a separate module of the 15 channel control units 32 which can implement the techniques described in this specification to allocate / deallocate buffers 34 to balance the performance of operation with the performance. [60] In any case, the resource allocation module 42 may analyze the thermometer data structure to identify the use of one or more of the previously identified resources 34-40 to determine a threshold. This threshold may initially be predefined and configured in the control unit 8 based on prior statistical analysis or other criteria. The resource allocation module 42 may, as mentioned above, when it is initially powered up, power up only a first non-zero subset of one or more of the resources 34-40 and, over time, determine the utilization rate of these 25 resources, comparing this utilization rate to the threshold. The resource allocation module 42 can then, on the basis of this comparison, switch on a second non-zero subset of one or more of the resources 34-40, this second non-zero subset possibly not including any resources 34-40 of the first non-zero subset of corresponding resources 34-40. [61] Fig. 3 is a diagram illustrating a general resource allocation module 42 shown in more detail in the example of Fig. 2. As shown in FIG. 3, the resource allocation module 42 may comprise a referee module 50 (which may also be referred to as a "resource arbiter 50") and a module. allocator and power control 52 (which can also be referred to as a 52 "resource allocator). The resource allocation module 42 may interface with resources 54A-54M ("resources 54"), which may be any one or more of the resources described above, for example, buffers 34, encoders ECC 36, read buffers 38 and ECC decoders 40, as well as any other current resource in storage devices or more generally, computing devices. [62] Resource allocation module 42 may also interface with requesting units 56A-56N ("requesting units 56") to arbitrate access to resources 54 while also allocating resources 54 different non-zero subsets of resources 54 to facilitate power control according to the techniques described in this specification. The resources 56 may be different execution units executed by a multipurpose processor (such as a central processing unit or CPU), dedicated processors, dedicated hardware, different cores, or any other type of requesting unit. software or hardware. [63] In general, the techniques of the present invention facilitate access to resources 54 when the number of requesting units 56 exceeds the number of resources 54 (for example, when N is greater than M). In these cases, the resource allocation module 42 may provide several interfaces: 1) A set of N concurrent request ports designed to be connected to one of a set of M resources where M <N; 2) A set of power control outputs that connect to each instance of the resource; 3) A set of power supply status indicator inputs to the apparatus, which indicate the current power state of the associated resource; and 4) an interface based on CPU memory or input / output (IO). [64] The referee module 50 may be a unit configured to implement an arbitration technique. An example of an arbitrage technique is an arbitration technique in turn. In the arbitration technique in turn, one of the requesting units 56 to which access to one of the resources 54 has been granted has the lowest relative priority among the requesting units 56 from the point of view of receiving the next acceptance, and otherwise the next requesting units 56 in numerical order receives the following acceptance. Specifically, each requesting unit 56 is assigned a requesting unit identifier (ID), which can define the numerical order of the requesting units 56. A resource ID can also be assigned to each of the resources 54. In some examples , multiple resource IDs can be assigned to each of the resources 54 depending on the capabilities of that particular resource among the resources 54. In these examples where multiple resource IDs can be assigned to only one of the resources 54, the resource IDs can referred to as "resource item IDs" or allocation IDs. "Even in cases where a unique resource ID is assigned to only one resource 54, the resource IDs can be referred to as "Resource Item ID" or "Allocation ID." These terms may be used interchangeably and need not indicate whether or not multiple Resource IDs have been assigned to one or more of the resources 54. [0004] 1651 The arbitration technique in turn implemented by the referee module 50 may result in the referee module 50 assigning a requesting unit ID to each of the requesting units 56 and one or more resource IDs to Each of the resources 54. The referee module 50 can then cyclically browse the pending requests for accessing resources 54 in the numerical order of the requesting unit ID associated with each of the requests in ascending numerical order. The referee module 50 may downgrade some of the requests depending on whether a particular request from the same unit among the requesting units 56 was or was not the last accepted request, thereby effectively downgrading the requests from the requesting units 56 which were the more recently processed to balance access to resources 54 between requesting units 56. Requests from requesting units 56 are indicated by the arrows and may be referred to as "requests 58A-58N" 25 or collectively under the name of "requests 58". [66] In the example of FIG. 3, the allocator and power control module 52 comprises an allocator module 60 and a power control module 62. When arbitrating between the requests 58 from the requesting units 56, the allocator module 60 may transmit or otherwise share data with the referee module 50 to facilitate the acceptance of the requests 58. For example, when the allocator module 60 indicates that all the resources 54 are allocated to the module Referee 50, the referee module 50 can not accept one of the pending requests 58. As another example, when the allocator module 60 indicates that all available resources (which may be a subset non-zero resources 54 which are energized) are allocated to the referee module 50, the referee module 50 can not accept one of the pending requests 58. As another example, when the allocator module 60 indicates that all resources 5 4 are turned off at the referee module 50, the referee module 50 can not accept one of the pending requests 58. In some examples, one or more of the resources 54 may be activated for acceptance by an external CPU. or another controller (which, in some instances, may occur through a register interface). The allocator module 60 may likewise communicate to the referee module 50 only those that are commanded resources 54 are available to be allocated when the CPU or other control device activates said resources 54 for acceptance. [67] First, when the storage device 6 is first powered on, the storage device 6 may operate in a low power state in which some or all of the resources 54 are de-energized (or are not powered on). The requesting units 56 may begin transmitting one or more of the requests 58, and the CPU or other control logic may then allow the allocator module 60 to interface with the power control module 62 to power on Some non-zero subset of resources 54. Specifically, the allocator module 60 may interface with the power control module 62 to power up only this non-zero subset of resources 54 without putting into subscribers. Those non-zero subset of resources 54 may also be referred to as part of resources 54 or resource base 54. In addition, this non-zero subset of resources 54 may comprise one or two of the resources 54 or more but not all the resources 54. [68] In response to powering on this non-zero subset of resources 54, the allocator module 60 can then initialize the thermometer data structure 61 ("thermometer data structure 61"), assigning increasing resource IDs in sequential order to the non-zero subset of energized resources 54 and updating the thermometer data structure 61 to reveal the allocation of resource IDs to particular ones of the non-zero subset of energized resources 54. This thermometer data structure 61 may include a node for each of the non-zero subset of resources. energized 54, each node storing one of the growing resource IDs sequentially and potentially monotonically and an indication as to whether said corresponding resource of the non-zero set of resources is available or in use. The allocator module 60 may then admit to passing the resource IDs to the referee module 50 in order to use them in the acceptance of one or more of the requests 58. As shown in the example of FIG. the allocator module 60 may admit to passing the resource IDs by providing the thermometer data structure 61 to the referee module 50. Although they are shown as each having a copy of the thermometer data structure 61, the module Referee 50 and allocator module 60 can each access the same thermometer data structure 61, which can be stored at a single location accessible to both the referee module 50 and the allocator module 60. [0005] 1691 Referee module 50 can then proceed to accept requests 58 in accordance with the arbitration technique, thereby allowing requesting units 56 to access the resources identified by the resource IDs. The referee module 50 can update the thermometer data structure 61 to indicate those of the non-zero subset of resources 54 that are allocated as being used by one of the requesting units 56. As time passes, the units Applicants 56 may issue an increasing number of requests 58, which may lead to the requesting units 56 waiting on average longer for access to one of the resources 54 to be accepted. The allocator module 60 can identify this delay (for example, in the form of the average time of the issuance of one of the requests 58 to the acceptance of one of the requests 58) and convert this delay into an expected number of resources. which will be required to reduce the delay. This expected number of resources may be predictive in nature in that the conversion may seek to predict rates of use based on past utilization rates in order to power resources before one expects. resources are needed. This utilization rate prediction may enable the allocator module 60 to interface with the power supply module 62 to power up the resources 54 so that these resources 54 are available when the actual utilization rate information is available. (and not the predicted utilization rate information) indicate that these additional resources, among the resources 54, are requested. [70] Upon initialization of the thermometer data structure 61, the allocator module 60 may determine a threshold separating the non-hul subset of resources 54 that are to be energized from those remaining resources 54. which should not be turned on. This threshold may be defined by said CPU or other control logic system, preprogrammed or preconfigured in the allocator module 60, obtained by learning (via computer learning algorithms) in accordance with the prior operation of the storage device 6 or a any combination of these. Although they have been described with respect to a single threshold in this specification, these techniques can be extended to multiple thresholds, each of which defines another point of separation between non-zero subsets of energized resources and off. [71] In any case, when the expected number of resources 54 is equal to or greater (or, in some examples, only greater than) the threshold, the allocator module 60 can interface with the power control module 62 In some examples, the allocator module 60 may first interface with the CPU or other control logic system to confirm that those remaining resources 54 must be connected. while energized before energizing said resources 54. Once energized, as indicated by the power control module 62, the allocator module 60 can update the thermometer data structure 61 to The referee module 50 can then, after the thermometer data structure 61 has been updated, start to affect the newly energized resources. r that the newly energized resources 54 to requesting units 56 so as to accept requests 58 from the requesting units 56. Using the thermometer data structure 61, the allocator module 60 can turn on resources 54 in a fixed succession or in a specific progression. [72] In other words, the allocator module 60 operates according to an algorithm for concentrating the resource IDs to the lowest values that are associated with those of the resources 54 that have the lowest numbering. When a first request 58 is received by the referee module 50, the referee module 50 can be configured to allocate the one of the lowest numbered stored resource IDs to the thermometer data structure 61 and update the thermometer data structure 61 26 3028656 to indicate that the corresponding resource 54 is occupied (or, in other words, in use or unavailable). When one second of the requests 58 is received by the referee module 50 before the first request has been fully processed by the corresponding resource 54, the referee module 50 can assign the second lowest resource ID. available resource IDs stored at the thermometer data structure 61. After assigning this second resource ID the lowest available resource IDs, the referee module 50 can update the thermometer data structure 61 to indicate that this corresponding resource is busy. Once the first of the requests 58 has been processed, the referee module 50 can update the thermometer data structure 61 to indicate that that of the resources 54 that processes said first of the requests 58 is available. Given that one of the resources 54 has the lowest available resource ID (of all available resource IDs), the referee module 50 can once again assign this resource ID in response to additional requests. any of the requests 58, thereby potentially avoiding having to power up those remaining resources 54. [73] As time goes on, the allocator module 60 can determine that the number of requests per given time interval decreased. This decrease may have the effect of causing some of the available resources 54 to be inactive for certain periods of time. The allocator module 60 can detect this inactivity by converting the number of requests per given time slot into an expected number of resources. The allocator module 60 can compare this expected number of resources with the threshold mentioned above and, on the basis of this comparison (for example, when the expected number of resources is less than or equal to or just below the threshold), switch off the remaining non-zero subset of previously energized resources 54. [74] The allocator module 60 may over time increase the number of thresholds to provide more refined power control or otherwise adjust the existing thresholds to turn on or off only a certain incremental amount of resources 54. In other words, although they have been described above as having a static threshold, the techniques can be implemented with a dynamic threshold that varies over time based on the expected number of resources, the time of day or any other condition, such as heat, the cycles of treatment consumed, the rate of use of memory, etc. In the dynamic threshold adjustment, the allocator module 60 may turn on or off additional resources on the initial non-zero subset of resources 54, by increasing or decreasing the number of resources present in this subset. non-zero set of resources 54. Dynamic threshold adjustment may be yet another way of balancing performance with energy consumption. [75] Fig. 4 is a block diagram illustrating in more detail an ECC decoder 40 of Fig. 2. In the example of Fig. 4, an ECC decoder 40 comprises an integrated resource allocation module 42 (no shown) in the form of the referee module 50 and the allocator and power control module 52 (each of which may be similar or identical to the referee module 50 and / or the allocator power control module 52 shown in FIG. example of Figure 3). The ECC decoder 40 may further comprise one or more resource request modules which may in fact be requesting units 56 and read data multiplexer 72 ("read data mux 72"). The requesting units 56 may be an interface configured for interfacing with the CPU 70 and generating requests 58. The read data mux 72 may be a unit configured to multiplex between, or otherwise select data from one of the memory banks designated as resources 54. [76] In the example of FIG. 4, the requesting units 56 may be a device, a unit or a module that requests a memory buffer in which data must be stored. to be copied. The resources 54 may be memory buffers located in the memory banks 0-3 (which may for example each include a type of memory referred to as SRAM). Assuming that each memory bank can provide four buffers and the average time of inter-arrival requests is such that a maximum of four requesting units 56 are active during the lifetime of the buffers, then only one of the memory banks 54 may be energized to meet the demand. However, when the request inter-arrival time decreases, or when the average buffer life increases, the power allocation and control module 52 can power up an additional one of the banks. memory 54 (for example, memory bank 1 in addition to memory bank 0), thus to provide four other resource IDs. The power allocation and control module 52 can then increase the available buffer locations reserve from four to eight, but only after the memory bank 1 has indicated that it is in a state under 3028656 voltage via the control channel PWR IS _ON (or what is referred to as the power status control line). [77] Figs. 5A and 5B are a flowchart illustrating an exemplary operation of a storage device in the implementation of resource allocation and deallocation techniques described in this specification. Referring first to FIG. 5A, when a storage device, such as the storage device 6 shown in the example of FIG. 1, is first powered up, the storage device 6 can operate in a low power state in which some or all of the resources 54 (shown in the example of Figures 3 and 4) are de-energized (or not energized) (90). The requesting units 56 may begin transmitting one or more of the requests 58, and the CPU or other control logic may then allow the allocator module 60 to interface with the power control module 62 to turn on the power. some non-zero subset of resources 54 (94). [78] In response to power-up of this non-zero subset of resources 54, the allocator module 60 can then initialize the thermometer data structure 61 ("temp data structure 61"), assigning IDs. increasing resources in sequential order to the non-zero subset of energized resources 54 and updating the thermometer data structure 61 to show the allocation of resource IDs to particular ones of the non-zero subset of energized resources 54 (96). The referee module 50 can then proceed to accept requests 58 in accordance with the refereeing technique (98), thereby allowing the requesting units 56 to access the resources identified by the resource IDs. The referee module 50 can update the thermometer data structure 61 to indicate those of the non-zero subset of resources 54 that are allocated as being used by one of the requesting units 56 (100). [79] As time passes, requesting units 56 may issue an increasing number of requests 58, which may lead to requesting units 56 waiting on average longer than access to one of the resources 54. accepted. The allocator module 60 can determine the delay between request and acceptance (for example, in the form of the average time of the issuance of one of the requests 58 to the acceptance of one of the requests 58) and compare this delay ( as an expected number of resources) at a threshold (102, 104) as described above. When the expected number of resources 54 (which actually represents the delay 30) is less than or equal to the threshold ("NO" 106), the allocator module 60 can continue to monitor or otherwise determine the delay between request and acceptance and compare this. threshold delay (102, 104). When the expected number of resources 54 exceeds the threshold ("YES" 106), the allocator module 60 may interface with the power control module 62 to power up those remaining resources 54 (108). [80] As mentioned above, although they have been described with respect to a non-zero subset of the plurality of resources and those that remain of the plurality of resources, the techniques can be extended to any number of subsets of resources, a corresponding threshold being defined to separate each contiguous non-zero subset of 10 resources. In this regard, the plurality of resources can be considered as a subset of a larger plurality of resources. As a result, those remaining of the plurality of resources may represent a second non-zero subset of the plurality of resources in the largest plurality of resources. [81] In any case, once it has been powered up as reported by the power control module 62, the allocator module 60 can update the thermometer data structure 61 to reveal those newly energized resources 54 (110). Referring to the example of FIG. 5B, the referee module 50 can then, after the thermometer data structure 61 has been updated, begin to assign the newly energized resource 54 to units Applicants 56 to accept requests 58 from requesting units 56 while updating the thermometer data structure 61 to reveal allocation and release of these resources 56 (112, 114). [82] As time passes, the allocator module 60 can determine that the number of requests per given time slot has decreased. This decrease may result in some of the available resources being inactive for certain periods of time. The allocator module 60 can again determine the delay between request and acceptance (116) by potentially converting the number of requests per given time slot to an expected number of resources. The allocator module 60 may compare this expected number of resources with the threshold mentioned above (118) and, based on this comparison (for example, when the expected number of resources is less than or equal to or just below the threshold ), power off the remaining non-zero subset of previously energized resources 54. [83] For example, when the delay is greater than the threshold ("YES" 120), the allocator module 60 can continue to determine the delay between request and acceptance and compare this delay to the threshold (116, 118). When the delay is less than or equal to the threshold ("NO" 120), the allocator module 60 may interface with the power control module 62 to power off the remaining subset of resources 54 (122). The allocator module 60 can update the thermometer data structure 61 to show the de-energizing of said resources 54 (124). The storage device 6 may continue to operate in this manner, by continuously determining the delay between demand and acceptance 102 in what may now be referred to as the cost-of-operation mode (102-106, 122, 124) until the delay between request and acceptance exceeds the threshold, at which the storage device 6 operates in a high performance mode (108-120). [84] Fig. 6 is a diagram illustrating in more detail the thermometer data structure 61 of Fig. 3. The thermometer data structure 61 comprises nodes 130A-130I ("nodes 130"), each node storing a resource ID (RID) and an available bit (A). In the example of FIG. 6, resources 54 associated with the nodes 130A, 130C-130F and 130H are unavailable, as indicated by A = 0 (and in the diagram, by the diagonal filling). At each node 130 is assigned a resource ID increasing successively from left to right (e.g., 0 to 8). For the allocation of free resources (where the nodes 130B, 130G and 1301 are associated with free resources or, in other words, available), the referee module 50 always starts the search by a free resource starting from one side (for example, the left side). As a result, the referee module 50 can assign, in response to the one following requests 58, one of resources 54 associated with a resource ID equal to one (as identified by node 130B). Instead of a typical allocation, this bar / thermometer type allocation allows unused resources to be shut down as described above. Indeed, one side of the thermometer data structure 61 can remain occupied while the other side can remain virtually free. [85] The techniques described in this specification may be implemented, at least in part, in the form of hardware, software, firmware, or any combination thereof. By way of example, various aspects of the techniques described can be implemented in one or more processors, among which one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), programmable gate arrays (FPGAs), or any other equivalent integrated or discrete logic circuits, as well as any combinations of these components. The term "processor" or "processing circuits" may generally refer to any of the aforementioned logic circuits, alone or in combination with other logic circuits, or any other equivalent circuits. A control unit including hardware may also implement one or more of the techniques of the present invention. [0006] These hardware, software, and firmware may be implemented in a single device or in separate devices to support the various techniques described in this specification. In addition, any of the described units, modules or components may be implemented together or separately in the form of discrete but interoperable logic devices. The illustration of the different features in the form of modules or units is intended to bring out different functional aspects and does not necessarily imply that these modules or units must be in the form of hardware, firmware, or components. separate software. Indeed, the functionality associated with one or more modules or units may be implemented as separate hardware, firmware, or software components, or integrated with common or separate hardware, firmware, or software components. . [87] The techniques described in this specification may also be implemented or encoded in an article of manufacture comprising a computer readable storage medium on which its coded instructions. Instructions embedded or encoded in an article of manufacture comprising a coded computer-readable storage medium may cause one or more programmable processors, or other processors, to carry out one or more of the techniques described herein, for example when instructions contained or encoded in the computer readable storage medium are executed by said one or more processors. Computer readable storage media may include random access memory (RAM), read only memory (ROM), programmable read only memory (PROM), erasable programmable read only memory (EPROM), electronically erasable programmable read only memory (EEPROM) , a flash memory, a hard disk, a CD-ROM, a floppy disk, a cassette, magnetic media, optical media, or other computer readable media. In some examples, an article of manufacture may include one or more computer readable storage media. [88] In some examples, a computer readable storage medium may include a nonvolatile medium. The term "nonvolatile" may indicate that the storage medium is not implemented in a carrier wave or a propagating signal. In some examples, a nonvolatile storage medium may store data that may vary over time (for example, in a RAM or cache memory). [89] Various examples have been described. These and other examples fall within the scope of the following claims. 33
权利要求:
Claims (21) [0001] REVENDICATIONS1. A method of determining, by a control unit (8) of a device (6), the utilization rate of a first non-zero subset of a plurality of resources (54) of the device, the plurality resources being allocated and released in accordance with a thermometer data structure (61); compare, by the control unit (8), the utilization rate of the first non-zero subset of the plurality of resources (54) to a threshold separating the first non-zero subset of the plurality of resources (54). ) a second non-zero subset of the plurality of resources (54); and energizing the second non-zero subset of the plurality of resources (54) based at least on the comparison. [0002] The method of claim 1, wherein the device (6) comprises an electronic disk (SSD), and wherein the plurality of resources (54) support one or more of the writing given in and reading data. from a non-volatile memory of the SSD. [0003] The method of claim 1, further comprising determining, by the control unit (8), the utilization rate of the first non-zero subset of the plurality of resources (54) based on minus an analysis of the thermometer data structure (61). [0004] The method of claim 1, wherein the thermometer data structure (61) comprises a respective bit for each of the plurality of resources (54), each respective bit indicating whether the corresponding one of the plurality of resources (54). 54) is allocated to a requesting unit (56) or is available for allocation to a requesting unit. [0005] The method of claim 4, further comprising determining the utilization rate of the first non-zero subset of the plurality of resources (54) based on at least one statistical analysis of the respective bits of the thermometer data (61). 3028656 34 [0006] The method of claim 1, further comprising translating the utilization rate of the non-zero first subset of the plurality of resources (54) into a predicted utilization rate indicative of an expected number of the plurality of resources (54) to be requested, wherein the comparison of the utilization rate of the first non-zero subset of the plurality of resources (54) is to compare the expected number of the plurality of resources (54) that will be requested threshold. [0007] The method of claim 1, wherein each of the plurality of resources (54) comprises a respective memory location, each of the respective memory locations comprising the same number of bytes. [0008] The method of claim 1, wherein each of the plurality of resources (54) comprises a respective error checking and error correction (ECC) decoder (40) used to perform ECC decoding on ECC encoded data. written in a non-volatile memory of an electronic disk. [0009] The method of claim 1, wherein turning on the non-zero second subset of the plurality of resources (54) comprises energizing the second non-zero subset of the plurality of resources (54). when the utilization rate is equal to or greater than the threshold, and wherein the method further includes powering down the second non-zero subset of the plurality of resources when the utilization rate is below the threshold. 25 [0010] The method of claim 1, further comprising dynamically adjusting the threshold at different values over time to control the power consumption. [0011] Apparatus (6) comprising: one or more processors configured to determine the utilization rate of a first non-zero subset of a plurality of resources (54), the plurality of resources being allocated and released in accordance with a thermometer data structure (61), comparing the utilization rate of the first non-zero subset of the plurality of resources (54) to a threshold separating the first non-zero subset of the plurality of resources (54). ) a second non-zero subset of the plurality of resources (54), and powering the second non-zero subset of the plurality of resources (54) based at least on the comparison; and a memory configured to store the threshold. [0012] The apparatus (6) of claim 11, wherein the device comprises an electronic disk (SSD), and wherein the plurality of resources (54) support one or more of the write 10 given in and reading data from non-volatile memory of the SSD. [0013] The apparatus (6) of claim 11, wherein said one or more processors are further configured to determine the utilization rate of the non-zero first subset of the plurality of resources (54) based on minus an analysis of the thermometer data structure (61). [0014] The apparatus (6) of claim 11, wherein the thermometer data structure (61) comprises a respective bit for each of the plurality of resources (54), each respective bit indicating whether the corresponding one of the plurality resource (54) is allocated to a requesting unit (56) or is available for allocation to a requesting unit. [0015] The apparatus (6) of claim 14, wherein said one or more processors are further configured to determine the utilization rate of the non-zero first subset of the plurality of resources (54) based on at least one statistical analysis of the respective bits of the thermometer data structure (61). [0016] The apparatus (6) according to claim 11, wherein said one or more processors are further configured to translate the utilization rate of the first non-zero subset of the plurality of resources (54) into a rate of 3028656. predicted use indicative of an expected number of the plurality of resources (54) that will be requested, and wherein said one or more processors are configured to compare the expected number of the plurality of resources (54) that will be requested at the threshold . 5 [0017] The apparatus (6) of claim 11, wherein each of the plurality of resources (54) comprises a respective memory location, each of the respective memory locations comprising the same number of bytes. 10 [0018] The apparatus (6) of claim 11, wherein each of the plurality of resources (54) comprises a respective error checking and error correction (ECC) decoder (40) used to perform ECC decoding on encoded data. by ECC written in nonvolatile memory of an electronic disk. 15 [0019] The apparatus (6) of claim 11, wherein said one or more processors are configured to power on the second non-zero subset of the plurality of resources (54) when the utilization rate is equal to or greater than threshold, and wherein said one or more processors are further configured to turn off the second non-zero subset of the plurality of resources (54) when the utilization rate is below the threshold. [0020] 20. The apparatus (6) of claim 11, wherein said one or more processors are further configured to dynamically adjust the threshold at different values over time to control the power consumption. [0021] 21. Non-volatile computer-readable storage medium on which are stored instructions which, when executed, cause one or more processors to: determine the utilization rate of a first non-zero subset of a plurality resource (54), the plurality of resources (54) being allocated and released in accordance with a thermometer data structure (61); Comparing the utilization rate of the first non-zero subset of the plurality of resources (54) to a threshold separating the first non-zero subset of the plurality of resources (54) from a second non-zero subset none of the plurality of resources; and powering on the second non-zero subset of the plurality of resources (54) based on at least the comparison.
类似技术:
公开号 | 公开日 | 专利标题 FR3028656A1|2016-05-20| FR3026545A1|2016-04-01| US9940261B2|2018-04-10|Zoning of logical to physical data address translation tables with parallelized log list replay KR101861924B1|2018-05-28|Storing parity data separate from protected data US20160210060A1|2016-07-21|Dynamic resource allocation within storage devices KR101908581B1|2018-10-17|Wear leveling in storage devices KR101580454B1|2015-12-28|Selecting between non-volatile memory units having different minimum addressable data unit sizes US9645769B2|2017-05-09|Performance acceleration during shutdown of a data storage device US9582192B2|2017-02-28|Geometry aware block reclamation US9971515B2|2018-05-15|Incremental background media scan CN108958907B|2022-01-04|Context-aware dynamic command scheduling for data storage systems KR101933763B1|2018-12-28|Correlating physical page addresses for soft decision decoding US10379747B2|2019-08-13|Automated latency monitoring FR3026513A1|2016-04-01| US10235069B2|2019-03-19|Load balancing by dynamically transferring memory range assignments US20160342412A1|2016-11-24|Managing wear of system areas of storage devices US11256443B2|2022-02-22|Resource allocation in memory systems based on operation modes US20160291871A1|2016-10-06|Data storage device and operating method thereof US9911494B1|2018-03-06|Overlapping write schemes for cross-point non-volatile memory devices US9785361B1|2017-10-10|Processing data access requests from multiple interfaces for data storage devices
同族专利:
公开号 | 公开日 DE102015014851B4|2020-07-09| IE20150399A1|2016-06-29| GB201519886D0|2015-12-23| GB2533688B|2019-07-03| CN105607721A|2016-05-25| KR101876001B1|2018-07-06| GB2533688A|2016-06-29| JP2016105273A|2016-06-09| KR20160059430A|2016-05-26| AU2015258208B2|2017-10-19| AU2015258208A1|2016-06-02| CA2911982A1|2016-05-18| JP6250613B2|2017-12-20| DE102015014851A1|2016-05-19| US9417961B2|2016-08-16| CN105607721B|2018-10-09| US20160139639A1|2016-05-19|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题 US6742097B2|2001-07-30|2004-05-25|Rambus Inc.|Consolidation of allocated memory to reduce power consumption| US20030196126A1|2002-04-11|2003-10-16|Fung Henry T.|System, method, and architecture for dynamic server power management and dynamic workload management for multi-server environment| US7219249B1|2002-12-03|2007-05-15|The Research Foundation Of State University Of New York|System and method for reducing power requirements of microprocessors through dynamic allocation of datapath resources| US7007183B2|2002-12-09|2006-02-28|International Business Machines Corporation|Power conservation by turning off power supply to unallocated resources in partitioned data processing systems| US7185215B2|2003-02-24|2007-02-27|International Business Machines Corporation|Machine code builder derived power consumption reduction| US20040215912A1|2003-04-24|2004-10-28|George Vergis|Method and apparatus to establish, report and adjust system memory usage| US20060117160A1|2004-12-01|2006-06-01|Intel Corporation|Method to consolidate memory usage to reduce power consumption| US8041967B2|2005-02-15|2011-10-18|Hewlett-Packard Development Company, L.P.|System and method for controlling power to resources based on historical utilization data| US7631162B2|2005-10-27|2009-12-08|Sandisck Corporation|Non-volatile memory with adaptive handling of data writes| JP2007293442A|2006-04-21|2007-11-08|Hitachi Ltd|Storage system and its control method| JP5057792B2|2007-01-29|2012-10-24|株式会社日立製作所|Storage system with a function to alleviate performance bottlenecks| US7971074B2|2007-06-28|2011-06-28|Intel Corporation|Method, system, and apparatus for a core activity detector to facilitate dynamic power management in a distributed system| JP4461170B2|2007-12-28|2010-05-12|株式会社東芝|Memory system| US20090228697A1|2008-03-07|2009-09-10|Kabushiki Kaisha Toshiba|Information processing apparatus, storage drive and firmware update method| US8291245B2|2008-04-17|2012-10-16|International Business Machines Corporation|Method, apparatus and system for reducing power consumption based on storage device data migration| US8271818B2|2009-04-30|2012-09-18|Hewlett-Packard Development Company, L.P.|Managing under-utilized resources in a computer| JP5091912B2|2009-05-21|2012-12-05|株式会社東芝|Multi-core processor system| US8429436B2|2009-09-09|2013-04-23|Fusion-Io, Inc.|Apparatus, system, and method for power reduction in a storage device| CN102141943A|2010-01-28|2011-08-03|建兴电子科技股份有限公司|Flash memory device and data protection method thereof| US8213255B2|2010-02-19|2012-07-03|Sandisk Technologies Inc.|Non-volatile storage with temperature compensation based on neighbor state information| US9098521B2|2010-09-15|2015-08-04|Qualcomm Incorporated|System and method for managing resources and threshsold events of a multicore portable computing device| JP5633440B2|2011-03-17|2014-12-03|富士通株式会社|Information processing apparatus, power control method, and power control program| JP5576827B2|2011-06-03|2014-08-20|日本電信電話株式会社|Server management system, server management apparatus, server management method, and server management program| JP2013149065A|2012-01-19|2013-08-01|Nec Corp|Server, power consumption reduction method for server and computer program| JP5554358B2|2012-03-23|2014-07-23|株式会社東芝|Multiprocessor system and power control method| JP5857849B2|2012-03-30|2016-02-10|富士通株式会社|Storage device, activation device determination method, and program| US9766678B2|2013-02-04|2017-09-19|Intel Corporation|Multiple voltage identification power architecture, a digital synthesizable low dropout regulator, and apparatus for improving reliability of power gates|CN104348764B|2013-07-31|2017-09-19|国际商业机器公司|The method and apparatus that computing unit is distributed in data receiver link| US9910465B2|2014-11-11|2018-03-06|Microsoft Technology Licensing, Llc|Covered radius hinge| US9625954B2|2014-11-26|2017-04-18|Microsoft Technology Licensing, Llc|Multi-pivot hinge| US9851759B2|2014-12-31|2017-12-26|Microsoft Technology Licensing, Llc|Multi-pivot hinge cover| US10174534B2|2015-01-27|2019-01-08|Microsoft Technology Licensing, Llc|Multi-pivot hinge| US20160246715A1|2015-02-23|2016-08-25|Advanced Micro Devices, Inc.|Memory module with volatile and non-volatile storage arrays| US9720604B2|2015-08-06|2017-08-01|Sandisk Technologies Llc|Block storage protocol to RAM bypass| US10162389B2|2015-09-25|2018-12-25|Microsoft Technology Licensing, Llc|Covered multi-axis hinge| US10453502B2|2016-04-04|2019-10-22|Micron Technology, Inc.|Memory bank power coordination including concurrently performing a memory operation in a selected number of memory regions| CN107733552B|2016-08-12|2020-04-03|华为技术有限公司|Data transmission method and device| US10437293B2|2016-09-23|2019-10-08|Microsoft Technology Licensing, Llc|Multi-axis hinge| US10705885B2|2018-01-31|2020-07-07|Palo Alto Networks, Inc.|Autoscaling of data processing computing systems based on predictive queue length| US11237617B2|2018-12-31|2022-02-01|Micron Technology, Inc.|Arbitration techniques for managed memory| US11194511B2|2018-12-31|2021-12-07|Micron Technology, Inc.|Arbitration techniques for managed memory| US11249657B2|2019-07-10|2022-02-15|Arm Limited|Non-volatile storage circuitry accessible as primary storage for processing circuitry| CN111951866B|2020-10-19|2021-01-15|深圳市芯天下技术有限公司|Nonvolatile flash memory deep sleep low static power consumption circuit|
法律状态:
2016-11-18| PLFP| Fee payment|Year of fee payment: 2 | 2017-10-12| PLFP| Fee payment|Year of fee payment: 3 | 2018-10-11| PLFP| Fee payment|Year of fee payment: 4 | 2019-09-30| PLFP| Fee payment|Year of fee payment: 5 | 2019-11-22| PLSC| Search report ready|Effective date: 20191122 | 2020-04-24| TP| Transmission of property|Owner name: WESTERN DIGITAL TECHNOLOGIES, INC., US Effective date: 20200319 | 2021-08-06| ST| Notification of lapse|Effective date: 20210705 |
优先权:
[返回顶部]
申请号 | 申请日 | 专利标题 US14/546,914|US9417961B2|2014-11-18|2014-11-18|Resource allocation and deallocation for power management in devices| 相关专利
Sulfonates, polymers, resist compositions and patterning process
Washing machine
Washing machine
Device for fixture finishing and tension adjusting of membrane
Structure for Equipping Band in a Plane Cathode Ray Tube
Process for preparation of 7 alpha-carboxyl 9, 11-epoxy steroids and intermediates useful therein an
国家/地区
|