r/ComputerEngineering • u/EngrToday Performance Architect • Aug 02 '19
Computer Architecture Highlights: Week 3
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 one that lead to an Eckert and Mauchly award (highest award in architecture) for Susan Eggers!
Title: Simultaneous Multithreading: Maximizing On-Chip Parallelism
Conference: ISCA 1995
Paper Link: Link
Problem: Superscalar execution allowed processors to issue multiple instructions on the same cycle. However, many issue slots are can't be filled because of hazards, cache misses, tlb misses, memory conflicts etc.. This means that we're not actually always getting a benefit from having superscalar hardware. Furthermore, the problems causing issue slot waste and their solutions can vary significantly!
Solution: Fine-grained multithreading (FGMT) is a start, as it switches between different threads that can make use of the issue slots each cycle. Unfortunately, it also sacrifices the performance of other threads, because only one is making forward progress at a time. Furthermore, even though you may now have instructions being issued each cycle, that doesn't mean that you are using all the issue slots (There's some great diagrams of vertical and horizontal waste you should take a look at in the paper).
Simultaneous multi-threading (SMT) takes a different approach. If multiple threads can make use of the issue slots at the same time, let them! The authors show that SMT can outperform FGMT even with fewer active threads. Furthermore, they explore the design space into how many instructions each thread is allowed to issue each cycle to see where the design trade-offs are (e.g. full SMT seems to perform about the same as 4-issue SMT, where each thread can only issue a max of 4 instructions per cycle).
Major Impact: This is likely the first paper I've summarized where you're already familiar with the term. SMT has been implemented in a wide range of processors, starting from the Intel Pentium 4 in the early 2000s. Like the register file cache paper last week, any paper that makes it into hardware had a big impact. Furthermore, any paper/line of work that gets you to an Eckert and Mauchly award has probably been revolutionary.
That's all for this week! Check out their paper linked above for more details into how they characterize issue slot waste, and the design trade-offs for different implementations of SMT.
--Nick
Last Week's: Link -->
Next Week's: Link -->
My YouTube channel with similar teaching content.
My GitHub where I post all my teaching code.
2
u/_arsk Aug 03 '19 edited Aug 03 '19
Great! I was looking for something like this for a long time. Keep up the good work.
One small request: can you post a link to previous week’s paper in the current week so we can easily click through them ?