Quality of service dirty line tracking
Abstract
Systems, apparatuses, and methods for generating a measurement of write memory bandwidth are disclosed. A control unit monitors writes to a cache hierarchy. If a write to a cache line is a first time that the cache line is being modified since entering the cache hierarchy, then the control unit increments a write memory bandwidth counter. Otherwise, if the write is to a cache line that has already been modified since entering the cache hierarchy, then the write memory bandwidth counter is not incremented. The first write to a cache line is a proxy for write memory bandwidth since this will eventually cause a write to memory. The control unit uses the value of the write memory bandwidth counter to generate a measurement of the write memory bandwidth. Also, the control unit can maintain multiple counters for different thread classes to calculate the write memory bandwidth per thread class.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 1.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A processor comprising: a cache hierarchy; and a control unit configured to: increment a counter only when a cache line is modified for a first time since the cache line entered the cache hierarchy; generate a measurement of write memory bandwidth based on a value of the counter; and cause a number of write operations that are conveyed to a memory subsystem to be reduced responsive to the measurement of write memory bandwidth exceeding a given threshold.
- Claim 2Depends on #1
The processor as recited in claim 1 , wherein the control unit is further configured to: detect a write operation targeting a first cache line; and increment the counter responsive to determining that the write operation to the first cache line is a first modification of the first cache line since the first cache line entered the cache hierarchy.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,669,457 B2 | Quality of service dirty line tracking | 2023 | 0 |
References Cited — Backward Prior Art (16)
Non-Patent Literature (4)
- International Search Report and Written Opinion from PCT/US2013/046048, dated Sep. 26, 2013, Advanced Micro Devices, pp. 1-10.
- International Search Report and Written Opinion from PCT/US2020/049215, dated Jan. 12, 2021, Advanced Micro Devices, 1-12 pages.
- RAFIA INAM ; MIKAEL SJODIN ; MARCUS JAGEMAR: "Bandwidth measurement using performance counters for predictable multicore software", PROCEEDINGS OF 2012 IEEE 17TH INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES & FACTORY AUTOMATION (ETFA 2012) : KRAKOW, POLAND, 17 - 21 SEPTEMBER 2012, IEEE, PISCATA
- Rafier et al., “Bandwidth Measurement using Performance Counters for Predictable Multicore Software”, Proceedings of 2012 IEEE 17th International Conference on Emerging Technologies & Factory Automation (ETFA 2012), Krakow, Poland, Sep. 17-21, 2012, IEEE, Piscataway, New Jersey, Sep. 17, 2012, pp. 1