r/ComputerEngineering • u/EngrToday Performance Architect • Jul 20 '19
Computer Architecture Highlights: Week 1
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!
Title: Automatically Characterizing Large Scale Program Behavior
Conference: ASPLOS
Paper Link: Link
Problem: Understanding the fine-grained details of program behavior helps programmers and architects find new opportunities for software and hardware. Doing this manually is difficult/impossible in many cases (applications are often large and complex!), so any such method should be automatic, and it should also not be tied to a particular architecture.
Solution: Summarize execution by finding patterns in the what code is being executed over time. Basic Block Vectors (BBVs) can be used to summarize what code was executed in a particular range of instructions. Comparing BBVs using a simple (Manhattan or Euclidean) distance calculation can be used to understand how similar the code is being executed over time. Similar phases of execution can be grouped together automatically using a clustering algorithm (K-Means in this case).
Major Impact: This idea was revolutionary in terms of improving simulation time. For those people unfamiliar with micro-architecture simulators, simulation time is orders of magnitude slower that real execution time (milliseconds in hardware could take days in a simulator). They showed that you could limit detailed simulation to a subset of total execution chosen from the clusters found, with minimal loss in accuracy compared to full simulation, and far greater accuracy than previously introduced techniques. And better yet, SimPoint (the tool for finding places to simulate) is still used in research to this day!
That's all for this week! Check out their paper linked above for more details into how they handled the different problems of clustering and scoring their results! Until next time,
--Nick
Next Week's: Link -->
My YouTube channel with similar teaching content.
My GitHub where I post all my teaching code.