WO2014047239A1 - Bandwidth management - Google Patents
Bandwidth management Download PDFInfo
- Publication number
- WO2014047239A1 WO2014047239A1 PCT/US2013/060528 US2013060528W WO2014047239A1 WO 2014047239 A1 WO2014047239 A1 WO 2014047239A1 US 2013060528 W US2013060528 W US 2013060528W WO 2014047239 A1 WO2014047239 A1 WO 2014047239A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- threshold
- limiters
- recited
- memory
- bandwidth
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1605—Handling requests for interconnection or transfer for access to memory bus based on arbitration
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- This invention is related to electronic systems, and particularly portable electronic systems and providing bandwidth from a resource in such systems.
- Portable electronic devices include various devices that are designed to run for long periods of time (e.g. hours) on battery power. Examples of portable electronic devices include smart phones, personal digital assistants, tablet computing devices such as the iPad ® , laptops and net-tops, etc.
- the demanding components may include, e.g., graphics processing units (GPUs), other processors such as central processing units (CPUs) and various microcontrollers and other embedded processors, display controllers displaying high definition images on the display screen of the devices, etc.
- graphics processing units GPUs
- CPUs central processing units
- microcontrollers and other embedded processors display controllers displaying high definition images on the display screen of the devices, etc.
- a high bandwidth memory system is desired.
- the power consumed in a heavily utilized, high bandwidth memory system often generates significant thermal and battery life challenges.
- even performance can be impacted in a high bandwidth system. For example, average memory latency may increase as multiple high bandwidth components compete for memory access. High bandwidth components can also dominate memory bandwidth, preventing lower bandwidth components from obtaining sufficient access.
- a system includes a shared, high bandwidth resource (e.g. a memory system), multiple agents configured to communicate with the shared resource, and a communication fabric coupling the multiple agents to the shared resource.
- the communication fabric may be equipped with limiters configured to limit bandwidth from the various agents based on one or more performance metrics measured with respect to the shared, high bandwidth resource.
- the performance metrics may include one or more of latency, number of outstanding transactions, resource utilization, etc.
- the limiters may dynamically modify their limit configurations based on the performance metrics, permitting flexibility in access to the shared, high bandwidth resource while mitigating performance and/or power impacts.
- the configuration may permit transient peaks in bandwidth followed by periods of reduced bandwidth, allowing a temporary high bandwidth need to be served while limiting the thermal/power impact as well as the performance impact to other agents.
- the system may include multiple thresholds for the performance metrics, and exceeding a given threshold may cause the dynamic modification of the limiters in the communication fabric. There may be hysteresis implemented in the system as well in some embodiments, to reduce the frequency of transitioas between configurations.
- Fig. 1 is a block diagram of one embodiment of an integrated circuit and an external memory.
- FIG. 2 is a flowchart illustrating operation of one embodiment of a bandwidth management controller shown in Fig. 1.
- FIG. 3 is a flowchart illustrating operation of one embodiment of the limiters shown in Fig. 1.
- Fig. 4 is a flowchart illustrating operation of another embodiment of the bandwidth management controller shown in Fig. 1.
- Fig. 5 is a table illustrating an example of bandwidth management for an embodiment.
- Fig. 6 is a block diagram of one embodiment of a system including the integrated circuit and the memory shown in Fig. 1.
- the circuitry that forms the structure corresponding to "configured to” may include hardware circuits and/or memory storing program instructions executable to implement the operation.
- the memory can include volatile memory such as static or dynamic random access memory and/or nonvolatile memory such as optical or magnetic disk storage, flash memory, programmable read-only memories, etc.
- various units/circuits/components may be described as performing a task or tasks, for convenience in the description. Such descriptions should be interpreted as including the phrase "configured to.” Reciting a unit/circuit/component that is configured to perform one or more tasks is expressly intended not to invoke 35 U.S.C. ⁇ 112, paragraph six interpretation for that
- the IC 10 may include a memory controller 14 coupled to the memory 12.
- the memory controller 14 may include one or more transaction queues and/or other buffers 16, a bandwidth management controller 18, and a set of threshold registers 20.
- the bandwidth management controller 18 is coupled to the threshold registers 20 and the memory transaction queues 16.
- the memory transaction queues 16 may be coupled to receive memory transactions from a communication fabric 22 (or, more briefly, the fabric 22), and to transmit memory transactions to the memory 12.
- the bandwidth management controller 18 may also be coupled to the fabric 22 to communicate indications of threshold levels, as discussed in more detail below.
- the fabric 22 includes various limiter circuits (or, more briefly, limiters) such as limiters 24A-24D in Fig. 1. Each limiter 24A- 24D may be coupled to/include a limiter configuration table (LC) 26A-26D.
- the fabric 22 is coupled to various agents such as agents 28A-28E in Fig. 1.
- the agent 28A may be a CPU agent including one or more processors 30, and the agent 28B may be a GPU agent including one or more GPUs 32.
- the bandwidth management controller 18 may be configured to monitor the memory traffic (e.g. the memory transactions) and accumulate one or more performance metrics for the memory system. Based on the performance metrics, the bandwidth management controller 18 may be configured to communicate information to the fabric 22, which may be configured to dynamically adjust one or more fabric characteristics. The adjusted characteristics may improve performance and/or reduce power consumption in the memory system in view of the
- the performance metrics may be accumulated by the bandwidth management controller 18 in various registers 34 (or other clocked storage devices, in various embodiments).
- the accumulated performance metrics in the registers 34 may be compared to thresholds programmed in the registers 20 to determine which of the thresholds have been exceeded by the metrics, if any.
- the bandwidth management controller 18 may be configured to broadcast indications of the thresholds that have been exceeded (e.g. a threshold level for each metric, where the level indicates which thresholds have been exceeded). Accordingly, there may be thresholds in the registers 20 for each metric that is implemented by the bandwidth management controller 18. There may be at least one threshold per metric, and there may be more than one threshold per metric, in various embodiments.
- the bandwidth management controller 18 may implement hysteresis in the threshold measurements (illustrated as a "Hyst" value in each of the registers 20 in Fig. 1 ).
- the hysteresis may reduce the frequency of threshold level changes, slowing the rate at which the IC 10 reacts to changes in the performance metrics. Such slowing may be desired, in some cases, because the disruption of changing the fabric characteristics may be less frequent, for example.
- the hysteresis may permit the memory system to operate at high bandwidth levels for relatively short periods of time, while limiting the longer-term operation to lower bandwidth levels to provide more manageable thermal properties and or power consumption.
- the hysteresis may be measured in any desired fashion.
- the hysteresis may be an offset from the corresponding threshold, and the metric may need to drop below the threshold by the offset amount after then threshold has been exceeded before the bandwidth management controller 18 transitions back to the lower threshold level.
- the hysteresis may be a percentage of the threshold value or may be programmed as a second threshold value below the threshold value.
- the hysteresis may also be measured as an amount of time that the corresponding metric is required to exceed the threshold before the bandwidth management controller 18 determines that the threshold has been exceeded and/or an amount of time that the metric is required to be below the threshold before the bandwidth management controller 18 determines that the threshold is no longer exceeded.
- the performance metrics accumulated by the bandwidth management controller 18 may be any metrics that quantify aspects of the memory traffic over a period of time.
- performance metrics may include one or more of: average memory latency of memory transactions, utilization of the memory bandwidth, fullness of queues (or "queue depth") in the memory system such as the memory transaction queues 16, transaction counts, data/statistics provided by requesting agents and/or firmware executable on an embedded
- processor/microcontroller (not shown) that indicates performance, etc.
- the memory latency may be the amount of time elapsing between two defined points in the progress of the memory transaction.
- the memory latency may be defined as the time elapsing between issuance of the memory transaction by an agent 28A-28E to the return of data for the transaction to the agent 28A-28E (for a read) or the committal of data to the memory 12 (for a write).
- other points may be used (e.g. the arrival of the memory transaction in the memory controller 14 and the transmission of data from the memory controller 14 for a read or the committal of data to the memory 12 for a write).
- the average memory latency may then be the average of the latencies of memory transactions over a period of time.
- the memory bandwidth utilization may be the percentage of available bandwidth to the memory 12 (over a period of time) that is utilized to exchange data. The higher the utilization, the more power is being consumed in the memory 12. Similarly, other performance impacts may be occurring with higher utilization. For example, a high bandwidth agent 28A-28E may be dominating the memory traffic, preventing other agents 28A-28E from achieving sufficient amounts of bandwidth. Additionally, higher bandwidth utilization may be associated with adverse affects on latency-sensitive agents. Accordingly, modifying the fabric
- queue depth and transaction counts may be measures that are indicative of memory system performance and may be used to modify fabric characteristics.
- the fabric characteristics may generally be any configurable parameters of the fabric 22 that affect the transmission of transactions through the fabric 22, and thus affect the bandwidth demands made on the memory system.
- fabric characteristics may include the clock frequency of the fabric, the width of the fabric (e.g. the number of data bits/bytes transmitted in parallel), the effective depth of various queues/buffers in the fabric (not shown in Fig. 1), transaction count limits, transaction rate limits, distribution of bandwidth among the agents, the mean maximum latency experienced by agents, etc.
- the fabric characteristics may be directly modifiable as parameters, or may be indirectly controlled by changing other parameters in the fabric.
- various limiters 24A-24D may be the mechanism for modifying the characteristics of the fabric 22. Other embodiments may implement other mechanisms (e.g. modifying the clock frequency of clocks used in the fabric 22, modifying the width of data transfers, reducing the rate of data transfers, etc.).
- the limiters 24A-24D may be circuits included at various points within the fabric 22 and may be configured to limit the memory transactions flowing through the fabric 22 at that point. For example, in the embodiment of Fig. 1 , the limiter 24B may limit transactions issued by the agent 28A, the limiter 24C may limit transactions issued by the agent 28B, and the limiter 24D may limit transactions issued by the agents 28C, 28D, and 28E (in aggregate).
- the limiters may also be hierarchical (e.g. the limiter 24A may further limit transactions from the limiters 24B-24C). In the hierarchical case, the limiters in the hierarchy may apply different limits (e.g. transaction limits followed by rate limits). Alternatively, the levels in the hierarchy may apply the same limits.
- a limiter is coupled to receive transactions from more than one source (e.g. the limiter 24D receiving transactions from the agents 28C-28E)
- the limits may be enforced across the agents as a whole (e.g. there may be one limit that applies to the aggregate of transactions issued from the agents 28C-28E).
- each agent may be assured of a portion of the limit and the remainder of the limit may be shared.
- Transactions from each agent 28A-28E may thus flow through at least one limiter 24A-24D and may flow through multiple limiters.
- Various embodiments may employ any number of limiters, and any configuration of the limiters.
- transaction limiting may limit the number of transactions that are permitted to be outstanding at a given point in time. Once the transaction limit is reached, another transaction is not issued until one of the outstanding transactions completes.
- Another type of limit may be rate limiting. With rate limiting, the number of transactions issued over a period of time may be limited to a maximum. For example, a minimum delay between transactions may be inserted by a rate limiter.
- the rate limiter may have a number of credits to issue over a given window of time, and the rate limiter may prevent additional transaction issuance in the window once the credits have been exhausted. At the end of the window, the credits may be refilled for the next window.
- the limiters may include buffers for transactions, and may modify the depth of the buffers to limit transaction flow. Any set of limiters may be implemented in various embodiments. The limiters may have hierarchical, non-hierarchical, or partially hierarchical arrangements.
- the limiters 24A-24D may by implemented on a transaction type, transaction attribute, or virtual channel basis as well. That is, the limiters may implement different limits for different transaction types, different transaction attributes, or different virtual channels.
- a quality of service (QoS) attribute may be assigned to each transaction and limiters may operate on a QoS basis.
- each limiter 24A-24D may have an associated limit configuration table 26A-26D.
- the LC tables 26A-26D may be programmable with the limits to enforce when the bandwidth management controller 18 indicates that a corresponding threshold has been exceeded.
- the LC table 26D is shown in exploded view in Fig. 1, and have an entry corresponding to each threshold level (e.g. limit 1 to limit N corresponding to thresholdl to thresholdN in the registers 20, respectively).
- the LC tables 26A-26D may be formed from any storage circuitry (e.g. flops, registers, memory array, etc.).
- the fabric 22 may be any communication fabric.
- a communication fabric may include the interconnect (e.g. transmission media) over which transactions are transmitted and the protocol defining how the transactions are transmitted.
- the communication fabric may also include circuitry between the source of a transaction and the destination, in some cases.
- Various forms of communication fabric may include shared buses, point-to-point interconnect, packet-based communication, hierarchical interconnect, etc.
- a memory transaction may generally be any communication that causes a movement of data to or from memory.
- Read memory transactions may cause a movement of data from memory to the source agent of the transaction, and write memory transactions may cause a movement of data from the source agent to memory.
- An agent may generally include any circuitry configured to communicate on the fabric 22.
- the agent 28A includes processors 30, which may generate memory transactions to fetch instructions for execution and/or to read and write data manipulated by the processors 30 in response to instruction execution.
- the agent 28A may also include other circuitry (e.g. one or more levels of cache below the processor's caches, an interface unit for the fabric 22, etc.).
- the agent 28B may include the GPUs 32, which may generate memory transactions to fetch instructions for execution and/or to read and write data representing graphical objects.
- the agent 28B may also include other circuitry, such as the caches and interface unit mentioned above for the agent 28A.
- the agents 28C-28E may be various other types of agents (e.g. peripheral components, peripheral interface controllers, direct memory access (DMA) controllers, etc.).
- the bandwidth management controller 18 is included in the memory controller 14. In other embodiments, the bandwidth management controller 18 may be located elsewhere. Additionally, in some embodiments, the circuitry forming the bandwidth controller may be distributed over the IC 10. It is also noted that, while registers 20 are programmed with the threshold and hysteresis values in this embodiment, other embodiments may use other storage for the tables of thresholds and/or hysteresis. For example, other clocked storage devices (latches, flops, etc.) or a memory array may be used.
- a shared resource may be any resource that is used by two or more agents 28A-28E concurrently.
- a resource in this context, may be any circuitry configured to provide data or receive data.
- a resource may be a memory, any other volatile or non-volatile storage device, a peripheral interface controller configured to
- Fig. 2 a flowchart is shown illustrating operation of one embodiment of the bandwidth management controller 18. While the blocks are shown in a particular order for ease of understanding, other orders may be used. Blocks may be performed in parallel by combinatorial logic in the bandwidth management controller 18. Blocks, combinations of blocks, and/or the flowchart as a whole may be pipelined over multiple clock cycles.
- the bandwidth management controller 18 may be configured to implement the operation shown in Fig. 2.
- the bandwidth management controller 18 may be configured to record one or more performance metrics (block 40). Each performance metric may be associated with a current threshold level, which may be the most recent threshold level communicated to the limiters 24A- 24D. That is, the limiters 24A-24D may currently be enforcing limits corresponding to the current threshold level. The current threshold level may be less than the lowest of the thresholds, between any two thresholds, or above the highest threshold. If at least one of the performance metrics exceeds the next higher threshold level (as compared to the current threshold level) (decision block 42, "yes" leg), the bandwidth management controller 18 may be configured to select the next higher threshold and communicate the selected threshold level to the limiters (block 44). The communication may be performed in any fashion.
- the bandwidth management controller 18 may be configured to directly signal the limiters, or may be configured to transmit a communication over the fabric 22. On the other hand, if the performance metric has fallen below the next lower threshold, including taking into account the hysteresis (decision block 46, "yes" leg), the bandwidth management controller 18 may be configured to select the next lower threshold level and communicate the selected level to the limiters (block 48).
- Fig. 3 a flowchart is shown illustrating operation of one embodiment of the limiters 24A-24D in response to a new threshold level. While the blocks are shown in a particular order for ease of understanding, other orders may be used. Blocks may be performed in parallel by combinatorial logic in the limiters 24A-24D. Blocks, combinations of blocks, and/or the flowchart as a whole may be pipelined over multiple clock cycles.
- the limiters 24A- 24D may be configured to implement the operation shown in Fig. 3. Each limiter 24A-24D may independently implement the operation.
- the limiter 24A-24D may be configured to receive an indication of the new threshold level from the bandwidth management controller 18, and may be configured to read a corresponding limiter setting from the corresponding limiter configuration table 26A-26D (block SO). The indication may be an index into the corresponding limiter configuration table.
- the limiter 24A-24D may be configured to dynamically update the current limit to the limit read from the limit configuration table 26A-26D. In some embodiments, if the new limit is a reduction from the current limit and the current state of the transactions is over the new limit (decision block 52, "yes" leg), the limiter 24A-24D may be configured to slowly reduce the limit to the new limit (block 54).
- the limiter 24A-24D may permit some transaction issuance as the limiter 24A-24D transitions to the new limit. If the new limit is not a reduction or the current state is not over the new limit (decision block 52, "no" leg), the limiter 24A-24D may transition to the new limit (block 56). In other embodiments, the limiter may transition directly to the new limit even in the case that the new limit is a reduction and the current transaction state is over the limit.
- Fig. 4 a flowchart is shown illustrating operation of another embodiment of the bandwidth management controller 18. While the blocks are shown in a particular order for ease of understanding, other orders may be used. Blocks may be performed in parallel by combinatorial logic in the bandwidth management controller 18. Blocks, combinations of blocks, and/or the flowchart as a whole may be pipelined over multiple clock cycles.
- the bandwidth management controller 18 may be configured to implement the operation shown in Fig. 4.
- the embodiment of Fig. 4 may be implemented in addition to the embodiment of Fig. 2 in cases that the bandwidth management controller 18 is configured to accept communications from one or more designated agents 28A-28E indicating whether or not the designated agents are receiving sufficient bandwidth.
- the designated agents may include real time agents, and the real time agents may be configured to transmit QoS indications with transactions.
- the real-time QoS indications may include levels of green, yellow, and red indicating increasing levels of urgency. If the QoS indications are yellow or red, the bandwidth management controller 18 may be configured to interpret the indications as indicating that the bandwidth is insufficient. Similarly, if the QoS indications are green, the bandwidth management controller 18 may be configured to interpret the indications as indicating that the bandwidth is sufficient.
- Out of band signalling may be provided as well, and other agents may be configured to indicate that insufficient bandwidth is being received. Additionally, in some embodiments, the fabric 22 may include circuitry to monitor the bandwidth provided to various agents and, in cases in which the bandwidth is determined to be insufficient for the needs of a given agent, the fabric 22 may adjust the limiters to provide more bandwidth to the given agent.
- the bandwidth management controller 18 may be configured to receive an indication from a designated agent (block 60). If the indication indicates a requested increase in bandwidth for the designated agent (decision block 62, "yes" leg), the bandwidth management unit 18 may be configured to select the next higher threshold level (compared to the current threshold level) and may be configured to communicate that next higher threshold level to the limiters 24A-24D except for the limiters that act on the transactions sourced by the designated agent (block 64). If the indication indicates that the bandwidth is sufficient or indicates a decrease, and the hysteresis requirement for the indication is met (e.g.
- the bandwidth management controller 18 may be configured to select the next lower threshold level and communicate the level to the limiters (block 68). Again, the communication may be to those limiters other than the limiters that affect the designated agent's transactions.
- Fig. 5 is a table illustrating some examples of bandwidth limits that may be imposed at example threshold levels, for an embodiment.
- the LC tables 26A-26D may be programmed with limits based on the bandwidths in the table of Fig. 5, for example.
- the bandwidth limits for transactions from a GPU agent are shown, along with processor (CPU) limits and a limit for real time agent. All entries are expressed in Gigabytes/sec.
- the GPU bulk transactions (the lowest QoS attribute assigned to GPU transactions) may be 16 GB/s at the lowest threshold level (level 1), but may rapidly decrease at higher levels.
- the GPU low latency transactions may have the same bandwidth limits throughout (although the expected bandwidth is significantly lower).
- the first two entries in the table of Fig. 5 illustrate an example of using both a transaction source and a transaction attribute to control limits.
- Processor bandwidth is not restricted until level 3 is reached, which may reflect the importance of processor memory access to performance. Thus, processor bandwidth is limited differently from the GPU bulk bandwidth, for example. Similarly, real time memory bandwidth is only restricted at the highest level in this example, to avoid erroneous operation that may occur if the real time device does not receive sufficient bandwidth.
- the system ISO includes at least one instance of the integrated circuit 10 (from Fig. 1) coupled to one or more peripherals 154 and the external memory 12 (also from Fig. 1).
- a power supply 156 is provided which supplies the supply voltages to the integrated circuit 10 as well as one or more supply voltages to the memory 12 and/or the peripherals 154.
- more than one instance of the integrated circuit 10 may be included (and more than one external memory 12 may be included as well).
- the peripherals 154 may include any desired circuitry, depending on the type of system 150.
- the system 150 may be a mobile device (e.g. personal digital assistant (PDA), smart phone, etc.) and the peripherals 154 may include devices for various types of wireless communication, such as wifi, Bluetooth, cellular, global positioning system, etc.
- the peripherals 154 may also include additional storage, including RAM storage, solid state storage, or disk storage.
- the peripherals 154 may include user interface devices such as a display screen, including touch display screens or multitouch display screens, keyboard or other input devices, microphones, speakers, etc.
- the system 150 may be any type of computing system (e.g. desktop personal computer, laptop, workstation, net top etc.).
- the external memory 12 may include any type of memory.
- the external memory 12 may be SRAM, dynamic RAM (DRAM) such as synchronous DRAM (SDRAM), double data rate (DDR, DDR2, DDR3, etc.) SDRAM, RAMBUS DRAM, etc.
- DRAM dynamic RAM
- the external memory 12 may include one or more memory modules to which the memory devices are mounted, such as single inline memory modules (SIMMs), dual inline memory modules (DIMMs), etc.
- SIMMs single inline memory modules
- DIMMs dual inline memory modules
- the external memory 12 may include one or more memory devices that are mounted on the integrated circuit 10 in a chip-on-chip or package-on-package implementation.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Description
BANDWIDTH MANAGEMENT BACKGROUND Field of the Invention
[0001] This invention is related to electronic systems, and particularly portable electronic systems and providing bandwidth from a resource in such systems.
Description of the Related Art
[0002] Tie computing power and advanced functionality of portable electronic devices continues to increase, enabling tremendous user experiences not previously associated with such devices. Features becoming common in portable electronic devices include streaming high resolution video (e.g. high definition (HD) video), advanced graphics rendering in both 2 dimensional (2D) and 3D spaces, high speed wireless networking for Internet browsing and other online communication, advanced gaming and productivity applications, photo and video editing and capture, multiprocessing, etc. Portable electronic devices include various devices that are designed to run for long periods of time (e.g. hours) on battery power. Examples of portable electronic devices include smart phones, personal digital assistants, tablet computing devices such as the iPad®, laptops and net-tops, etc.
[0003] As the features of portable electronic devices become more advanced, a complex tradeoff between performance and power consumption is required. Power consumption both affects battery life and also presents thermal challenges related to removing heat from relatively small devices. Particularly, the tradeoffs related to access by a number of demanding components to a shared resource such as a main memory system become problematic. The demanding components may include, e.g., graphics processing units (GPUs), other processors such as central processing units (CPUs) and various microcontrollers and other embedded processors, display controllers displaying high definition images on the display screen of the devices, etc. In order to support high performance, a high bandwidth memory system is desired. However, the power consumed in a heavily utilized, high bandwidth memory system often generates significant thermal and battery life challenges. Additionally, even performance can be impacted in a high bandwidth system. For example, average memory latency may increase as multiple high bandwidth components compete for memory access. High bandwidth components
can also dominate memory bandwidth, preventing lower bandwidth components from obtaining sufficient access.
SUMMARY
[0004] In some embodiments, a system includes a shared, high bandwidth resource (e.g. a memory system), multiple agents configured to communicate with the shared resource, and a communication fabric coupling the multiple agents to the shared resource. The communication fabric may be equipped with limiters configured to limit bandwidth from the various agents based on one or more performance metrics measured with respect to the shared, high bandwidth resource. For example, the performance metrics may include one or more of latency, number of outstanding transactions, resource utilization, etc. The limiters may dynamically modify their limit configurations based on the performance metrics, permitting flexibility in access to the shared, high bandwidth resource while mitigating performance and/or power impacts. For example, the configuration may permit transient peaks in bandwidth followed by periods of reduced bandwidth, allowing a temporary high bandwidth need to be served while limiting the thermal/power impact as well as the performance impact to other agents.
[0005] In an embodiment, the system may include multiple thresholds for the performance metrics, and exceeding a given threshold may cause the dynamic modification of the limiters in the communication fabric. There may be hysteresis implemented in the system as well in some embodiments, to reduce the frequency of transitioas between configurations.
BRIEF DESCRIPTION OF THE DRAWINGS
[0006] The following detailed description makes reference to the accompanying drawings, which are now briefly described.
[0007] Fig. 1 is a block diagram of one embodiment of an integrated circuit and an external memory.
[0008] Fig. 2 is a flowchart illustrating operation of one embodiment of a bandwidth management controller shown in Fig. 1.
[0009] Fig. 3 is a flowchart illustrating operation of one embodiment of the limiters shown in Fig. 1.
[0010] Fig. 4 is a flowchart illustrating operation of another embodiment of the bandwidth management controller shown in Fig. 1.
[0011] Fig. 5 is a table illustrating an example of bandwidth management for an embodiment.
[0012] Fig. 6 is a block diagram of one embodiment of a system including the integrated circuit and the memory shown in Fig. 1.
[0013] While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims. The headings used herein are for organizational purposes only and are not meant to be used to limit the scope of the description. As used throughout this application, the word "may" is used in a permissive sense (i.e., meaning having the potential to), rather than the mandatory sense (i.e., meaning must). Similarly, the words "include", "including", and "includes" mean including, but not limited to.
[0014] Various units, circuits, or other components may be described as "configured to" perform a task or tasks. In such contexts, "configured to" is a broad recitation of structure generally meaning "having circuitry that" performs the task or tasks during operation. As such, the unit/circuit/component can be configured to perform the task even when the
unit/circuit/component is not currently on. In general, the circuitry that forms the structure corresponding to "configured to" may include hardware circuits and/or memory storing program instructions executable to implement the operation. The memory can include volatile memory such as static or dynamic random access memory and/or nonvolatile memory such as optical or magnetic disk storage, flash memory, programmable read-only memories, etc. Similarly, various units/circuits/components may be described as performing a task or tasks, for convenience in the description. Such descriptions should be interpreted as including the phrase "configured to." Reciting a unit/circuit/component that is configured to perform one or more tasks is expressly intended not to invoke 35 U.S.C. § 112, paragraph six interpretation for that
unit/circuit/component.
DETAILED DESCRIPTION OF EMBODIMENTS
[0015] Turning now to Fig. 1 , a block diagram of one embodiment of an integrated circuit (IC) 10 and a memory 12 coupled to the IC 10 is shown. More particularly, the IC 10 may include a memory controller 14 coupled to the memory 12. The memory controller 14 may include one or more transaction queues and/or other buffers 16, a bandwidth management controller 18, and a set of threshold registers 20. The bandwidth management controller 18 is
coupled to the threshold registers 20 and the memory transaction queues 16. The memory transaction queues 16 may be coupled to receive memory transactions from a communication fabric 22 (or, more briefly, the fabric 22), and to transmit memory transactions to the memory 12. The bandwidth management controller 18 may also be coupled to the fabric 22 to communicate indications of threshold levels, as discussed in more detail below. The fabric 22 includes various limiter circuits (or, more briefly, limiters) such as limiters 24A-24D in Fig. 1. Each limiter 24A- 24D may be coupled to/include a limiter configuration table (LC) 26A-26D. The fabric 22 is coupled to various agents such as agents 28A-28E in Fig. 1. In the illustrated embodiment, the agent 28A may be a CPU agent including one or more processors 30, and the agent 28B may be a GPU agent including one or more GPUs 32.
[0016] The bandwidth management controller 18 may be configured to monitor the memory traffic (e.g. the memory transactions) and accumulate one or more performance metrics for the memory system. Based on the performance metrics, the bandwidth management controller 18 may be configured to communicate information to the fabric 22, which may be configured to dynamically adjust one or more fabric characteristics. The adjusted characteristics may improve performance and/or reduce power consumption in the memory system in view of the
performance metrics detected by the bandwidth management controller 18.
[0017] The performance metrics may be accumulated by the bandwidth management controller 18 in various registers 34 (or other clocked storage devices, in various embodiments). The accumulated performance metrics in the registers 34 may be compared to thresholds programmed in the registers 20 to determine which of the thresholds have been exceeded by the metrics, if any. The bandwidth management controller 18 may be configured to broadcast indications of the thresholds that have been exceeded (e.g. a threshold level for each metric, where the level indicates which thresholds have been exceeded). Accordingly, there may be thresholds in the registers 20 for each metric that is implemented by the bandwidth management controller 18. There may be at least one threshold per metric, and there may be more than one threshold per metric, in various embodiments.
[0018] In some embodiments, the bandwidth management controller 18 may implement hysteresis in the threshold measurements (illustrated as a "Hyst" value in each of the registers 20 in Fig. 1 ). The hysteresis may reduce the frequency of threshold level changes, slowing the rate at which the IC 10 reacts to changes in the performance metrics. Such slowing may be desired, in some cases, because the disruption of changing the fabric characteristics may be less frequent, for example. Additionally, the hysteresis may permit the memory system to operate at high
bandwidth levels for relatively short periods of time, while limiting the longer-term operation to lower bandwidth levels to provide more manageable thermal properties and or power consumption.
[0019] The hysteresis may be measured in any desired fashion. For example, the hysteresis may be an offset from the corresponding threshold, and the metric may need to drop below the threshold by the offset amount after then threshold has been exceeded before the bandwidth management controller 18 transitions back to the lower threshold level. Alternatively, the hysteresis may be a percentage of the threshold value or may be programmed as a second threshold value below the threshold value. The hysteresis may also be measured as an amount of time that the corresponding metric is required to exceed the threshold before the bandwidth management controller 18 determines that the threshold has been exceeded and/or an amount of time that the metric is required to be below the threshold before the bandwidth management controller 18 determines that the threshold is no longer exceeded.
[0020] The performance metrics accumulated by the bandwidth management controller 18 may be any metrics that quantify aspects of the memory traffic over a period of time. For example, performance metrics may include one or more of: average memory latency of memory transactions, utilization of the memory bandwidth, fullness of queues (or "queue depth") in the memory system such as the memory transaction queues 16, transaction counts, data/statistics provided by requesting agents and/or firmware executable on an embedded
processor/microcontroller (not shown) that indicates performance, etc.
[0021] The memory latency may be the amount of time elapsing between two defined points in the progress of the memory transaction. For example, the memory latency may be defined as the time elapsing between issuance of the memory transaction by an agent 28A-28E to the return of data for the transaction to the agent 28A-28E (for a read) or the committal of data to the memory 12 (for a write). Alternatively, other points may be used (e.g. the arrival of the memory transaction in the memory controller 14 and the transmission of data from the memory controller 14 for a read or the committal of data to the memory 12 for a write). The average memory latency may then be the average of the latencies of memory transactions over a period of time.
[0022] The memory bandwidth utilization may be the percentage of available bandwidth to the memory 12 (over a period of time) that is utilized to exchange data. The higher the utilization, the more power is being consumed in the memory 12. Similarly, other performance impacts may be occurring with higher utilization. For example, a high bandwidth agent 28A-28E may be dominating the memory traffic, preventing other agents 28A-28E from achieving
sufficient amounts of bandwidth. Additionally, higher bandwidth utilization may be associated with adverse affects on latency-sensitive agents. Accordingly, modifying the fabric
characteristics based on the utilization may be desirable. Similarly, queue depth and transaction counts may be measures that are indicative of memory system performance and may be used to modify fabric characteristics.
[0023] The fabric characteristics may generally be any configurable parameters of the fabric 22 that affect the transmission of transactions through the fabric 22, and thus affect the bandwidth demands made on the memory system. For example, fabric characteristics may include the clock frequency of the fabric, the width of the fabric (e.g. the number of data bits/bytes transmitted in parallel), the effective depth of various queues/buffers in the fabric (not shown in Fig. 1), transaction count limits, transaction rate limits, distribution of bandwidth among the agents, the mean maximum latency experienced by agents, etc. The fabric characteristics may be directly modifiable as parameters, or may be indirectly controlled by changing other parameters in the fabric.
[0024] In the illustrated embodiment, various limiters 24A-24D may be the mechanism for modifying the characteristics of the fabric 22. Other embodiments may implement other mechanisms (e.g. modifying the clock frequency of clocks used in the fabric 22, modifying the width of data transfers, reducing the rate of data transfers, etc.). The limiters 24A-24D may be circuits included at various points within the fabric 22 and may be configured to limit the memory transactions flowing through the fabric 22 at that point. For example, in the embodiment of Fig. 1 , the limiter 24B may limit transactions issued by the agent 28A, the limiter 24C may limit transactions issued by the agent 28B, and the limiter 24D may limit transactions issued by the agents 28C, 28D, and 28E (in aggregate). The limiters may also be hierarchical (e.g. the limiter 24A may further limit transactions from the limiters 24B-24C). In the hierarchical case, the limiters in the hierarchy may apply different limits (e.g. transaction limits followed by rate limits). Alternatively, the levels in the hierarchy may apply the same limits. When a limiter is coupled to receive transactions from more than one source (e.g. the limiter 24D receiving transactions from the agents 28C-28E), the limits may be enforced across the agents as a whole (e.g. there may be one limit that applies to the aggregate of transactions issued from the agents 28C-28E). Alternatively, each agent may be assured of a portion of the limit and the remainder of the limit may be shared. Transactions from each agent 28A-28E may thus flow through at least one limiter 24A-24D and may flow through multiple limiters. Various embodiments may employ any number of limiters, and any configuration of the limiters.
[0025] There may be a variety of limiters. For example, transaction limiting may limit the number of transactions that are permitted to be outstanding at a given point in time. Once the transaction limit is reached, another transaction is not issued until one of the outstanding transactions completes. Another type of limit may be rate limiting. With rate limiting, the number of transactions issued over a period of time may be limited to a maximum. For example, a minimum delay between transactions may be inserted by a rate limiter. Alternatively, the rate limiter may have a number of credits to issue over a given window of time, and the rate limiter may prevent additional transaction issuance in the window once the credits have been exhausted. At the end of the window, the credits may be refilled for the next window. In another example, the limiters may include buffers for transactions, and may modify the depth of the buffers to limit transaction flow. Any set of limiters may be implemented in various embodiments. The limiters may have hierarchical, non-hierarchical, or partially hierarchical arrangements.
[0026] In some embodiments, the limiters 24A-24D may by implemented on a transaction type, transaction attribute, or virtual channel basis as well. That is, the limiters may implement different limits for different transaction types, different transaction attributes, or different virtual channels. In one implementation, a quality of service (QoS) attribute may be assigned to each transaction and limiters may operate on a QoS basis.
[0027] As mentioned previously, each limiter 24A-24D may have an associated limit configuration table 26A-26D. The LC tables 26A-26D may be programmable with the limits to enforce when the bandwidth management controller 18 indicates that a corresponding threshold has been exceeded. The LC table 26D is shown in exploded view in Fig. 1, and have an entry corresponding to each threshold level (e.g. limit 1 to limit N corresponding to thresholdl to thresholdN in the registers 20, respectively). The LC tables 26A-26D may be formed from any storage circuitry (e.g. flops, registers, memory array, etc.).
[0028] The fabric 22 may be any communication fabric. Generally, a communication fabric may include the interconnect (e.g. transmission media) over which transactions are transmitted and the protocol defining how the transactions are transmitted. The communication fabric may also include circuitry between the source of a transaction and the destination, in some cases. Various forms of communication fabric may include shared buses, point-to-point interconnect, packet-based communication, hierarchical interconnect, etc.
[0029] A memory transaction may generally be any communication that causes a movement of data to or from memory. Read memory transactions may cause a movement of data from
memory to the source agent of the transaction, and write memory transactions may cause a movement of data from the source agent to memory.
[0030] An agent may generally include any circuitry configured to communicate on the fabric 22. For example, the agent 28A includes processors 30, which may generate memory transactions to fetch instructions for execution and/or to read and write data manipulated by the processors 30 in response to instruction execution. The agent 28A may also include other circuitry (e.g. one or more levels of cache below the processor's caches, an interface unit for the fabric 22, etc.). Similarly, the agent 28B may include the GPUs 32, which may generate memory transactions to fetch instructions for execution and/or to read and write data representing graphical objects. The agent 28B may also include other circuitry, such as the caches and interface unit mentioned above for the agent 28A. The agents 28C-28E may be various other types of agents (e.g. peripheral components, peripheral interface controllers, direct memory access (DMA) controllers, etc.).
[0031] In the embodiment of Fig. 1 , the bandwidth management controller 18 is included in the memory controller 14. In other embodiments, the bandwidth management controller 18 may be located elsewhere. Additionally, in some embodiments, the circuitry forming the bandwidth controller may be distributed over the IC 10. It is also noted that, while registers 20 are programmed with the threshold and hysteresis values in this embodiment, other embodiments may use other storage for the tables of thresholds and/or hysteresis. For example, other clocked storage devices (latches, flops, etc.) or a memory array may be used.
[0032] While the embodiment of Fig. 1 manages the memory bandwidth in the memory system (e.g. the memory controller 14 and the memory 12), other embodiments may manage the bandwidth of any shared resource. Generally, a shared resource may be any resource that is used by two or more agents 28A-28E concurrently. A resource, in this context, may be any circuitry configured to provide data or receive data. For example, a resource may be a memory, any other volatile or non-volatile storage device, a peripheral interface controller configured to
communicate on a peripheral interface, a peripheral component, etc.
[0033] Turning now to Fig. 2, a flowchart is shown illustrating operation of one embodiment of the bandwidth management controller 18. While the blocks are shown in a particular order for ease of understanding, other orders may be used. Blocks may be performed in parallel by combinatorial logic in the bandwidth management controller 18. Blocks, combinations of blocks, and/or the flowchart as a whole may be pipelined over multiple clock cycles. The
bandwidth management controller 18 may be configured to implement the operation shown in Fig. 2.
[0034] The bandwidth management controller 18 may be configured to record one or more performance metrics (block 40). Each performance metric may be associated with a current threshold level, which may be the most recent threshold level communicated to the limiters 24A- 24D. That is, the limiters 24A-24D may currently be enforcing limits corresponding to the current threshold level. The current threshold level may be less than the lowest of the thresholds, between any two thresholds, or above the highest threshold. If at least one of the performance metrics exceeds the next higher threshold level (as compared to the current threshold level) (decision block 42, "yes" leg), the bandwidth management controller 18 may be configured to select the next higher threshold and communicate the selected threshold level to the limiters (block 44). The communication may be performed in any fashion. For example, the bandwidth management controller 18 may be configured to directly signal the limiters, or may be configured to transmit a communication over the fabric 22. On the other hand, if the performance metric has fallen below the next lower threshold, including taking into account the hysteresis (decision block 46, "yes" leg), the bandwidth management controller 18 may be configured to select the next lower threshold level and communicate the selected level to the limiters (block 48).
[0035] Turning next to Fig. 3, a flowchart is shown illustrating operation of one embodiment of the limiters 24A-24D in response to a new threshold level. While the blocks are shown in a particular order for ease of understanding, other orders may be used. Blocks may be performed in parallel by combinatorial logic in the limiters 24A-24D. Blocks, combinations of blocks, and/or the flowchart as a whole may be pipelined over multiple clock cycles. The limiters 24A- 24D may be configured to implement the operation shown in Fig. 3. Each limiter 24A-24D may independently implement the operation.
[0036] The limiter 24A-24D may be configured to receive an indication of the new threshold level from the bandwidth management controller 18, and may be configured to read a corresponding limiter setting from the corresponding limiter configuration table 26A-26D (block SO). The indication may be an index into the corresponding limiter configuration table. The limiter 24A-24D may be configured to dynamically update the current limit to the limit read from the limit configuration table 26A-26D. In some embodiments, if the new limit is a reduction from the current limit and the current state of the transactions is over the new limit (decision block 52, "yes" leg), the limiter 24A-24D may be configured to slowly reduce the limit to the new limit (block 54). That is, rather than immediately adjusting to the new limit (and potentially
causing a discontinuity in the transmission of transactions while the outstanding transactions wait to fall below the new limit), the limiter 24A-24D may permit some transaction issuance as the limiter 24A-24D transitions to the new limit. If the new limit is not a reduction or the current state is not over the new limit (decision block 52, "no" leg), the limiter 24A-24D may transition to the new limit (block 56). In other embodiments, the limiter may transition directly to the new limit even in the case that the new limit is a reduction and the current transaction state is over the limit.
[0037] Turning now to Fig. 4, a flowchart is shown illustrating operation of another embodiment of the bandwidth management controller 18. While the blocks are shown in a particular order for ease of understanding, other orders may be used. Blocks may be performed in parallel by combinatorial logic in the bandwidth management controller 18. Blocks, combinations of blocks, and/or the flowchart as a whole may be pipelined over multiple clock cycles. The bandwidth management controller 18 may be configured to implement the operation shown in Fig. 4.
[0038] The embodiment of Fig. 4 may be implemented in addition to the embodiment of Fig. 2 in cases that the bandwidth management controller 18 is configured to accept communications from one or more designated agents 28A-28E indicating whether or not the designated agents are receiving sufficient bandwidth. For example, the designated agents may include real time agents, and the real time agents may be configured to transmit QoS indications with transactions. The real-time QoS indications may include levels of green, yellow, and red indicating increasing levels of urgency. If the QoS indications are yellow or red, the bandwidth management controller 18 may be configured to interpret the indications as indicating that the bandwidth is insufficient. Similarly, if the QoS indications are green, the bandwidth management controller 18 may be configured to interpret the indications as indicating that the bandwidth is sufficient. Out of band signalling may be provided as well, and other agents may be configured to indicate that insufficient bandwidth is being received. Additionally, in some embodiments, the fabric 22 may include circuitry to monitor the bandwidth provided to various agents and, in cases in which the bandwidth is determined to be insufficient for the needs of a given agent, the fabric 22 may adjust the limiters to provide more bandwidth to the given agent.
[0039] The bandwidth management controller 18 may be configured to receive an indication from a designated agent (block 60). If the indication indicates a requested increase in bandwidth for the designated agent (decision block 62, "yes" leg), the bandwidth management unit 18 may be configured to select the next higher threshold level (compared to the current threshold level)
and may be configured to communicate that next higher threshold level to the limiters 24A-24D except for the limiters that act on the transactions sourced by the designated agent (block 64). If the indication indicates that the bandwidth is sufficient or indicates a decrease, and the hysteresis requirement for the indication is met (e.g. level, or amount of time that the decrease is requested) (decision block 66, "yes" leg), the bandwidth management controller 18 may be configured to select the next lower threshold level and communicate the level to the limiters (block 68). Again, the communication may be to those limiters other than the limiters that affect the designated agent's transactions.
[0040] Fig. 5 is a table illustrating some examples of bandwidth limits that may be imposed at example threshold levels, for an embodiment. The LC tables 26A-26D may be programmed with limits based on the bandwidths in the table of Fig. 5, for example. The bandwidth limits for transactions from a GPU agent are shown, along with processor (CPU) limits and a limit for real time agent. All entries are expressed in Gigabytes/sec.
[0041] The GPU bulk transactions (the lowest QoS attribute assigned to GPU transactions) may be 16 GB/s at the lowest threshold level (level 1), but may rapidly decrease at higher levels.
On the other hand, the GPU low latency transactions (a higher QoS attribute) may have the same bandwidth limits throughout (although the expected bandwidth is significantly lower).
Accordingly, the first two entries in the table of Fig. 5 illustrate an example of using both a transaction source and a transaction attribute to control limits.
[0042] Processor bandwidth is not restricted until level 3 is reached, which may reflect the importance of processor memory access to performance. Thus, processor bandwidth is limited differently from the GPU bulk bandwidth, for example. Similarly, real time memory bandwidth is only restricted at the highest level in this example, to avoid erroneous operation that may occur if the real time device does not receive sufficient bandwidth.
[0043] It is noted that the table of Fig. 5 is merely a partial example of how bandwidth might be limited for an exemplary embodiment. The number of threshold levels and the relative and absolute bandwidth limits may be varied in other embodiments.
[0044] Turning now to Fig. 6, a block diagram of one embodiment of a system 150 is shown. In the illustrated embodiment, the system ISO includes at least one instance of the integrated circuit 10 (from Fig. 1) coupled to one or more peripherals 154 and the external memory 12 (also from Fig. 1). A power supply 156 is provided which supplies the supply voltages to the integrated circuit 10 as well as one or more supply voltages to the memory 12 and/or the
peripherals 154. In some embodiments, more than one instance of the integrated circuit 10 may be included (and more than one external memory 12 may be included as well).
[0045] The peripherals 154 may include any desired circuitry, depending on the type of system 150. For example, in one embodiment, the system 150 may be a mobile device (e.g. personal digital assistant (PDA), smart phone, etc.) and the peripherals 154 may include devices for various types of wireless communication, such as wifi, Bluetooth, cellular, global positioning system, etc. The peripherals 154 may also include additional storage, including RAM storage, solid state storage, or disk storage. The peripherals 154 may include user interface devices such as a display screen, including touch display screens or multitouch display screens, keyboard or other input devices, microphones, speakers, etc. In other embodiments, the system 150 may be any type of computing system (e.g. desktop personal computer, laptop, workstation, net top etc.).
[0046] The external memory 12 may include any type of memory. For example, the external memory 12 may be SRAM, dynamic RAM (DRAM) such as synchronous DRAM (SDRAM), double data rate (DDR, DDR2, DDR3, etc.) SDRAM, RAMBUS DRAM, etc. The external memory 12 may include one or more memory modules to which the memory devices are mounted, such as single inline memory modules (SIMMs), dual inline memory modules (DIMMs), etc. Alternatively, the external memory 12 may include one or more memory devices that are mounted on the integrated circuit 10 in a chip-on-chip or package-on-package implementation.
[0047] Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications.
Claims
1. A system comprising:
a bandwidth management controller configured to monitor a resource within the system and accumulate one or more metrics responsive to the monitoring, and wherein the bandwidth management controller is configured to indicate that a first metric of the one or more metrics exceeds a first threshold of one or more thresholds corresponding to the first metric;
a plurality of agents configured to transmit transactions to the resource; and
a communication fabric coupled between the plurality of agents and the resource, wherein the communication fabric comprises a plurality of limiters configured to limit communication on the fabric, and wherein the plurality of limiters are configured to dynamically modify one or more limits on the communication fabric responsive to the indication that the first metric exceeds the first threshold.
2. The system as recited in claim 1 wherein each of the plurality of limiters is coupled to a table having an entry for each of the one or more thresholds, and wherein the plurality of limiters are configured to dynamically modify the one or more limits to limits read from a first entry of the table that corresponds to the first threshold.
3. The system as recited in claim 2 wherein the bandwidth management controller is configured to detect that the first metric exceeds a second threshold of the one or more thresholds, and wherein the plurality of limiters are configured to dynamically modify the one or more limits to limits read from a second entry of the table that corresponds to the second threshold.
4. The system as recited in any of claims 1 to 3 wherein the bandwidth management controller is configured to implement hysteresis between indicating that the first metric has exceeded the first threshold and indicating that the first metric has returned below the first threshold.
5. The system as recited in any of claims 1 to 4 wherein the resource is a main memory system.
6. The system as recited in claim 5 wherein the bandwidth management controller is part of a memory controller that is configured to control access to the main memory system.
7. The system as recited in claim 5 or 6 wherein the main memory system comprises one or more dynamic random access memory devices.
8. The system as recited in any of claims 1 to 7 wherein the plurality of metrics comprise a utilization of the resource.
9. The system as recited in claim 8 wherein the plurality of metrics comprise an average memory latency.
10. The system as recited in any of claims 1 to 9 wherein the bandwidth management controller is further coupled to receive an indication from a first agent of the plurality of agents that the first agent is receiving insufficient memory bandwidth, and wherein the bandwidth management controller is configured to communicate to selected limiters of the plurality of limiters corresponding to other agents of the plurality of agents to modify the limits in the selected limiters responsive to the indication from the first agent.
1 1. A method comprising:
monitoring transactions from a plurality of agents to a resource to determine at least a first performance metric for the resource;
determining that the first performance metric exceeds a first threshold of a plurality of thresholds; and
dynamically reconfiguring a plurality of limiters that limit the transactions from the
plurality of agents responsive to the first performance metric exceeding the first threshold.
12. The method as recited in claim 11 further comprising:
determining that the first performance metric exceeds a second threshold of the plurality of thresholds; and
dynamically reconfiguring the plurality of limiters responsive to the first performance metric exceeding the second threshold.
13. The method as recited in claim 11 or 12 further comprising:
determining that the first performance metric no longer exceeds the first threshold; and dynamically reconfiguring the plurality of limiters responsive to the first performance metric no longer exceeding the first threshold.
14. The method as recited in claim 13 wherein the determining that the first performance metric no longer exceeds the first threshold is performed using hysteresis.
15. The method as recited in any of claims 11-14 wherein the resource is a main memory system.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US13/625,416 | 2012-09-24 | ||
| US13/625,416 US8848577B2 (en) | 2012-09-24 | 2012-09-24 | Bandwidth management |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014047239A1 true WO2014047239A1 (en) | 2014-03-27 |
Family
ID=49305141
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2013/060528 Ceased WO2014047239A1 (en) | 2012-09-24 | 2013-09-19 | Bandwidth management |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US8848577B2 (en) |
| TW (1) | TWI512474B (en) |
| WO (1) | WO2014047239A1 (en) |
Families Citing this family (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8848577B2 (en) * | 2012-09-24 | 2014-09-30 | Apple Inc. | Bandwidth management |
| US9588570B2 (en) * | 2013-04-30 | 2017-03-07 | Samsung Electronics Co., Ltd. | Apparatus and method for adjusting bandwidth |
| US20150042641A1 (en) * | 2013-08-12 | 2015-02-12 | Travis T. Schluessler | Techniques to automatically adjust 3d graphics application settings |
| US9971711B2 (en) * | 2014-12-25 | 2018-05-15 | Intel Corporation | Tightly-coupled distributed uncore coherent fabric |
| US10156999B2 (en) | 2016-03-28 | 2018-12-18 | Seagate Technology Llc | Dynamic bandwidth reporting for solid-state drives |
| JP6720824B2 (en) * | 2016-10-17 | 2020-07-08 | コニカミノルタ株式会社 | Image processing device, image processing device control method, and program |
| US9684461B1 (en) | 2016-10-31 | 2017-06-20 | International Business Machines Corporation | Dynamically adjusting read data return sizes based on memory interface bus utilization |
| US9892066B1 (en) | 2016-10-31 | 2018-02-13 | International Business Machines Corporation | Dynamically adjusting read data return sizes based on interconnect bus utilization |
| TWI681362B (en) * | 2018-03-01 | 2020-01-01 | 瑞昱半導體股份有限公司 | bandwidth-limited system and method for dynamically limiting memory bandwidth for GPU under bandwidth-limited system |
| CN110248238B (en) * | 2018-03-07 | 2021-12-28 | 瑞昱半导体股份有限公司 | Limited memory bandwidth system and method for dynamically limiting memory bandwidth |
| US20190324658A1 (en) * | 2018-04-19 | 2019-10-24 | Western Digital Technologies, Inc. | Dynamic maximization of drive throughput while maintaining latency qos |
| US11209989B2 (en) | 2019-09-25 | 2021-12-28 | Western Digital Technologies, Inc. | Zoned namespaces in solid-state drives |
| US11960341B2 (en) | 2021-08-31 | 2024-04-16 | Apple Inc. | Power delivery reduction scheme for SoC |
| US12436586B2 (en) * | 2023-08-04 | 2025-10-07 | Apple Inc. | Quality-of-service-based fabric power management |
| US12277074B1 (en) | 2023-09-25 | 2025-04-15 | Apple Inc. | Mechanisms to utilize communication fabric via multi-port architecture |
| US20260072489A1 (en) * | 2024-09-12 | 2026-03-12 | Apple Inc. | Fabric Data Rate Limiting Proportional to Electrical Current Threshold Violations |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1403773A2 (en) * | 2002-09-30 | 2004-03-31 | Matsushita Electric Industrial Co., Ltd. | Resource management device |
| WO2006035344A1 (en) * | 2004-09-28 | 2006-04-06 | Koninklijke Philips Electronics N.V. | Data processing system and method for memory arbitration |
| US20070140030A1 (en) * | 2005-12-16 | 2007-06-21 | Intel Corporation | Apparatus and method for thermal management of a memory device |
| GB2447688A (en) * | 2007-03-22 | 2008-09-24 | Advanced Risc Mach Ltd | Apparatus and method for arbitrating between messages routed over a communication channel |
| US20100169585A1 (en) * | 2008-12-31 | 2010-07-01 | Robin Steinbrecher | Dynamic updating of thresholds in accordance with operating conditons |
| EP2477119A1 (en) * | 2011-01-18 | 2012-07-18 | Apple Inc. | Quality of service(QOS)-related fabric control |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6871161B2 (en) | 2003-04-04 | 2005-03-22 | Avid Technology, Inc. | Predicting performance of a set of video processing devices |
| US7483390B2 (en) * | 2003-06-30 | 2009-01-27 | Intel Corporation | System and method for dynamically configuring and transitioning wired and wireless networks |
| US7243041B2 (en) | 2004-09-30 | 2007-07-10 | Intel Corporation | GUID, PnPID, isochronous bandwidth based mechanism for achieving memory controller thermal throttling |
| TWI316665B (en) * | 2006-07-12 | 2009-11-01 | Via Tech Inc | Method for link bandwidth management |
| JP5074820B2 (en) | 2007-05-22 | 2012-11-14 | ルネサスエレクトロニクス株式会社 | Image processing apparatus and image processing method |
| US8510518B2 (en) | 2010-06-22 | 2013-08-13 | Advanced Micro Devices, Inc. | Bandwidth adaptive memory compression |
| US9588888B2 (en) | 2010-07-30 | 2017-03-07 | Hewlett Packard Enterprise Development Lp | Memory device and method for altering performance characteristic based on bandwidth demand |
| US8744602B2 (en) * | 2011-01-18 | 2014-06-03 | Apple Inc. | Fabric limiter circuits |
| US8861386B2 (en) * | 2011-01-18 | 2014-10-14 | Apple Inc. | Write traffic shaper circuits |
| US8493863B2 (en) * | 2011-01-18 | 2013-07-23 | Apple Inc. | Hierarchical fabric control circuits |
| US8848577B2 (en) * | 2012-09-24 | 2014-09-30 | Apple Inc. | Bandwidth management |
-
2012
- 2012-09-24 US US13/625,416 patent/US8848577B2/en active Active
-
2013
- 2013-09-19 WO PCT/US2013/060528 patent/WO2014047239A1/en not_active Ceased
- 2013-09-24 TW TW102134358A patent/TWI512474B/en active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1403773A2 (en) * | 2002-09-30 | 2004-03-31 | Matsushita Electric Industrial Co., Ltd. | Resource management device |
| WO2006035344A1 (en) * | 2004-09-28 | 2006-04-06 | Koninklijke Philips Electronics N.V. | Data processing system and method for memory arbitration |
| US20070140030A1 (en) * | 2005-12-16 | 2007-06-21 | Intel Corporation | Apparatus and method for thermal management of a memory device |
| GB2447688A (en) * | 2007-03-22 | 2008-09-24 | Advanced Risc Mach Ltd | Apparatus and method for arbitrating between messages routed over a communication channel |
| US20100169585A1 (en) * | 2008-12-31 | 2010-07-01 | Robin Steinbrecher | Dynamic updating of thresholds in accordance with operating conditons |
| EP2477119A1 (en) * | 2011-01-18 | 2012-07-18 | Apple Inc. | Quality of service(QOS)-related fabric control |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201416864A (en) | 2014-05-01 |
| US8848577B2 (en) | 2014-09-30 |
| TWI512474B (en) | 2015-12-11 |
| US20140086070A1 (en) | 2014-03-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8848577B2 (en) | Bandwidth management | |
| EP3155521B1 (en) | Systems and methods of managing processor device power consumption | |
| US8656196B2 (en) | Hardware automatic performance state transitions in system on processor sleep and wake events | |
| US9298620B2 (en) | Selective victimization in a multi-level cache hierarchy | |
| CN109074331B (en) | Power-reduced memory subsystem with system cache and local resource management | |
| CN107408018B (en) | Mechanism for adapting garbage collection resource allocation in solid state drives | |
| CN107646106B (en) | Power management circuit with per-activity weighting and multiple throttle down thresholds | |
| EP2585893B1 (en) | Method and apparatus for reducing power consumption for memories | |
| US8649286B2 (en) | Quality of service (QoS)-related fabric control | |
| MX2013001941A (en) | Combining write buffer with dynamically adjustable flush metrics. | |
| US9524261B2 (en) | Credit lookahead mechanism | |
| US20140082378A1 (en) | Distributing Power To Heterogeneous Compute Elements Of A Processor | |
| US9990287B2 (en) | Apparatus and method for memory-hierarchy aware producer-consumer instruction | |
| CN108885587B (en) | Power reduced memory subsystem with system cache and local resource management | |
| US20200257796A1 (en) | Mechanism for throttling untrusted interconnect agents | |
| US8493863B2 (en) | Hierarchical fabric control circuits | |
| US8744602B2 (en) | Fabric limiter circuits | |
| US8719506B2 (en) | Push mechanism for quality of service (QoS) support in coherency port | |
| CN105243026B (en) | The memory access control method and device of terminal device | |
| US20090254710A1 (en) | Device and method for controlling cache memory | |
| WO2013095464A1 (en) | Apparatus and method for memory-hierarchy aware producer-consumer instruction | |
| US8861386B2 (en) | Write traffic shaper circuits | |
| US11169585B2 (en) | Dashboard with push model for receiving sensor data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13773959 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 13773959 Country of ref document: EP Kind code of ref document: A1 |