r/ComputerEngineering • u/EngrToday Performance Architect • Oct 26 '19
[Hardware] Computer Architecture Highlights: Week 14
Hi all! I'm an architecture PhD student, and I wanted to start posting a brief summary of an influential research paper (either old or new) every week! Here's an interesting paper from 2003 on value locality in register files!
Title: Exploiting Value Locality in Physical Register Files
Conference: MICRO 2003
Paper Link: Link
Background: Normally when we are talking about locality, we are talking about memory, and how we access addresses that are close to each other in space (spatial locality), or access the same addresses in a short period of time (temporal locality). However, locality exists beyond memory addresses. The actual values calculated by an instruction may have locality (i.e. we are repeatedly calculating the same values). The obvious next question from this is, can we do something to exploit value locality?
Solution: Following an analysis of the locality of values for a range of applications, the authors provide some interesting proposed modifications to the register file to eliminate redundant values with simple micro-architectural extensions. Their first scheme follows a many-to-one mapping, where instructions producing the same value have their outputs remapped to the same physical register. The authors further explore limiting the scope of these modifications to only the most commonly duplicated values (namely 0 and 1). In the second scheme, specially named registers, whose name implies a value, are used to avoid access to the actual storage. A final scheme is then proposed to solve an issue with both previous schemes (that when a register is remapped, there needs to be a broadcast).
Major Impact: This paper was an early work that looked into exploiting new kinds of locality, and helped influence some later works on data compression for caches. Personally, I enjoy reading papers like this that show how a small, but deliberate modifications lead to significant benefits (in this case, a 7.5% and 17.6% average decrease in reads and writes to the register file respectively).
That's all for this week! Check out the paper linked above for more details on value locality, and how the authors remapped instruction output registers to common ones to decrease duplicate values.
--Nick
Last Week's: Link
My YouTube: Link
My GitHub: Link
1
u/[deleted] Oct 28 '19
Thanks for this series of posts. It's a good way to know what's happening. What tools do you use to keep track of what research literature you read?