Evict on write, a management strategy for a prefetch unit and/or first level cache in a multiprocessor system with speculative execution

Alan Gara · OSTI OAI (U.S. Department of Energy Office of Scientific and Technical Information) · 2023

In a multiprocessor system with at least two levels of cache, a speculative thread may run on a core processor in parallel with other threads. When the thread seeks to do a write to main memory, this access is to be written through the first level cache to the second level cache. After the write though, the corresponding line is deleted from the first level cache and/or prefetch unit, so that any further accesses to the same location in main memory have to be retrieved from the second level cache. The second level cache keeps track of multiple versions of data, where more than one speculative thread is running in parallel, while the first level cache does not have any of the versions during speculation. A switch allows choosing between modes of operation of a speculation blind first level cache.

Read the paper · More papers on PaperTik