Memory devices provide storage of data that may be accessed by a system through a memory controller. Typical systems may include a memory controller communicating with multiple memory devices through a memory bus. The memory controller can send access requests to each memory device to either read data from a particular address of a particular memory device or write data to the memory device.
For a more complete understanding of various examples, reference is now made to the following descriptions taken in connection with the accompanying drawings in which:
Various examples described herein provide for a memory device with the ability to throttle operation of the memory device under certain circumstances. The memory device may include a throttling portion with a controller that can monitor certain parameters and, upon determining that at least one threshold has been exceeded, reduce the rate of processing of memory access requests from a memory controller. The functionality or circuitry to determine the need to throttle and the control of the throttling is embedded within the memory device.
With emerging memory technologies, a particular system may include a memory controller communicating with different types of memory devices. Such systems may give rise to issues related to compatibility and complexity of operation of the memory controller. For example, the memory controller may be required to control various types of devices. Alternatively, the memory devices may be required to be constrained to a protocol which allows a memory controller to fully control operation of the memory device.
In accordance with examples described herein, example memory devices are provided which contain certain functionality within the memory device itself. This allows the memory devices to function with a memory controller with a non-deterministic protocol. Further, the load from the memory bus is significantly reduced by eliminating certain communications between the memory device and the memory controller.
Referring first to
The example memory device 100 further includes a controller 120 embedded in the memory device 100. In this regard, the embedded controller 120 may be integrally formed or otherwise positioned within the memory device 100. As described with reference to the various examples below, the controller 120 may include hardware, software or firmware to allow the controller 120 to control various operations of the memory device 100, including throttling the operation of the memory device 100. As used herein, “throttling” may refer to reducing the rate of operation of the memory device 100. For example, throttling may include slowing the processing of commands from a memory controller that is external to the memory device. The commands may include requests for access to the memory regions 110, for example, to read data from or write data to the memory regions 110.
Referring now to
Various commands executed by the CPU 210 may require access to data or other information stored in the memory of the example system 200. In this regard, the example system 200 is provided with various memory systems. The example system 200 of
The controller 120 of the example memory device 100 may schedule processing of the access requests in the read or write signals from the memory controller 220. In this regard, the example memory device 100 may have a default processing speed that may be a function of the hardware, firmware or software forming the example memory device 100. For example, the default processing speed may be limited by the processing speed of the controller 120. In addition, the controller 120 may limit the speed at which the access requests are processed based. on one or more factors. For example, the controller 120 of the example memory device 100 may throttle processing of the access requests upon determining that a throttling threshold has been exceeded. In this regard, the throttling portion 250 of the example memory device 100 includes various portions 260, 270, 280 to facilitate throttling of the example memory device 100. The example portions 260, 270 and 280 are described in greater detail below with reference to
Referring now to
In accordance with the example process 400, the controller 120 determines if a throttling threshold has been exceeded (block 420). The throttling threshold may be a value of any of a variety of parameters, an excess of which warrants throttling the operation of the example memory device 100. The throttling threshold may be a value of a parameter such as a temperature within the example memory device 100, a quality-of-service parameter or a level of power being drawn by the example memory device 100. for example. The controller 120 of the example memory device 100 may determine that a throttling threshold has been exceeded by regularly or continuously monitoring the associated parameter.
If the controller determines that no throttling threshold has been exceeded, the process 400 returns to block 410 and continues processing memory requests at the current speed, for example. The current speed may be the default processing rate or the maximum processing rate of the sample memory device 100.
On the other hand, if the controller 120 determines that at least one throttling threshold has been exceeded, the controller 120 throttles processing of memory access requests from the memory controller 220 (block 430). As noted above, the controller 120 may reduce the rate at which it responds to read or write signals from the memory controller 220. In one example, the controller 120 may hold the read or write signals in a buffer of the memory device 100 in order to reduce the rate of processing of the access requests in the read or write signals.
Referring now to
The controller 120 may regularly or continuously obtain a temperature value of the example memory device 100 (block 510). In this regard, the controller 120 may communicate with a thermal portion 260 of the throttling portion 250. The thermal portion 260 may include circuitry to measure a temperature value or may simply include a trigger to indicate the temperature value has exceeded a predetermined value. Thus, the controller 120 may determine, based on an indication from the thermal portion 260, whether or not a temperature threshold has been exceeded (block 520).
If the temperature threshold has not been exceeded, the process 500 returns to block 510, and the controller 120 continues to obtain temperature values. In this regard, the controller 120 may continue to process access requests at a current rate.
On the other hand, if an indication from the thermal portion 260 indicates that the temperature threshold has been exceeded, the controller 120 may throttle operation of the memory device (block 530), As noted above, throttling operation of the memory device may include reducing the rate of processing of the access requests. In this regard, the memory controller may access the clock 240 of the example memory device 100 to control the rate at which the access requests are processed. The reduced rate may be a single predetermined rate that is lower than the maximum speed of the memory device. In other examples, the reduced rate may be dependent on the determined temperature of the memory device. For example, the controller 120 may reduce the rate a larger amount for a higher temperature value.
Referring now to
The example process 600 of
Upon receiving a memory request for a memory region, the controller 120 may determine whether the requested memory region is subject to a QoS restriction (block 620), In this regard, the controller 120 may access the QoS portion 270 and obtain any restriction applicable to the requested memory region, If the requested memory region is not subject to any QoS restriction, the process may continue to block 650, and the controller may process the access request. On the other hand, at block 620, if the controller 120 determines that the requested memory region is subject to a QoS restriction, the controller determines whether a delay in processing the access request is needed (block 630).
A QoS restriction may indicate that a delay is needed by imposing a limit on the frequency of access requests processed for a memory region. For example, a memory region may include a QoS restriction indicating that an access request for that memory region may be processed once every n clock cycles. In this regard, the controller 120 may reset a counter for the particular memory region at n each time the memory region is accessed. The counter is decremented by one for each cycle of the clock 240 until it reaches zero. The controller 120 may not allow access to the memory region until the counter has reached zero. The value of n may be different for each memory region, and the controller 120 may update counters for each memory region at each clock cycle.
Thus, at block 630, the controller 120 may determine that a delay in processing the access request is needed if the counter for the requested is greater than zero. If, at block 630, the controller 120 determines that no delay is needed (e.g., the counter is at zero), the process proceeds to block 650, and the controller processes the access request. On the other hand, if the controller 120 determines that a delay is needed in processing the access request (e.g., the counter is greater than zero), the controller 120 throttles operation of the example memory device 100 (block 640). In this regard, throttling of the example memory device 100 may include delaying of access requests for a particular memory region. In one example, the delaying of access requests for one memory region may nevertheless allow processing of requests for other memory regions, thus allowing out-of-order processing of access requests. For example, an access request for a throttled memory region may be buffered, and a subsequent access request for another memory region may be processed.
Referring now to
The controller 120 may regularly or continuously obtain a power draw value of the example memory device 100 (block 710). In this regard, the controller 120 may communicate with a power portion 280 of the throttling portion 250, The power portion 280 may include circuitry to measure the amount of power being drawn by the example memory device 100. In some examples, the power portion 280 may not measure the precise amount of power being drawn buy may instead include a trigger to indicate that the level of power being drawn by the example memory device 100 has exceeded a predetermined value. Thus, the controller 120 may determine, based on an indication from the power portion 280, whether or not a power draw threshold has been exceeded (block 720).
If the power draw threshold has not been exceeded, the process 700 returns to block 710, and the controller 120 continues to obtain an indication of the power draw level. In this regard, the controller 12.0 may continue to process access requests at a current rate.
On the other hand, if an indication from the power portion 280 indicates that a power draw threshold has been exceeded, the controller 120 may throttle operation of the memory device (block 730). As noted above, throttling operation of the memory device may include reducing the rate of processing of the access requests. In this regard, the memory controller may access the clock 240 of the example memory device 100 to control the rate at which the access requests are processed. Again, the reduced rate may be either a single reduced rate or a function of the power draw level. In this regard, a larger power draw may result is a lower rate of processing of access requests.
The example instructions include receiving memory access requests instructions 821. The instructions 821 cause the processor 810 to receive read or write signals from an external memory controller, such as the memory controller 220 of
The example instructions 822 cause the processor 810 to determine a throttling threshold has been exceeded. As described above, in various examples the throttling threshold may be associated with a temperature value of the memory device, a quality-of-service restriction or a power draw level of the memory device. Further, example instructions 823 cause the processor 810 to throttle processing of the memory access requests.
Thus, providing throttling functionality within the memory device may reduce the communication between the memory device and the memory controller to read or write signals. In this regard, issues related to compatibility between the memory controller and the memory device, as well as between the memory device and other memory devices on the same memory bus, may be reduced or eliminated.
The various examples set forth herein are described in terms of example block diagrams, flow charts and other illustrations. Those skilled in the art will appreciate that the illustrated examples and their various alternatives can be implemented without confinement to the illustrated examples. For example, block diagrams and their accompanying description should not be construed as mandating a particular architecture or configuration.
Number | Date | Country | |
---|---|---|---|
Parent | 16064050 | Jun 2018 | US |
Child | 17249392 | US |