r/ComputerEngineering • u/EngrToday Performance Architect • Oct 07 '19
[Hardware] Computer Architecture Highlights: Week 12
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 recent paper on composite-ISA architectures!
Title: Composite-ISA Cores: Enabling Multi-ISA Heterogeneity Using a Single ISA
Conference: HPCA 2019
Paper Link: Link
Background: When most think of a multi-core processor, they typically think about ones that are homogeneous/symmetric, where each core is of the same type. However, heterogeneous multi-core architecture (where we have multiple cores with different organizations and capabilities) have some advantages. We know that applications have phases, and migrating an applications to different core for a particular phase can have some nice benefits (e.g. moving to a smaller core during a light phase in the application instead of wasting energy in a larger core). In a similar fashion, heterogeneous-ISA architectures can have more advantages, as different phases in a program may have inherent ISA preferences as well. However, putting completely different ISAs on a chip can be difficult (e.g. moving a program from a core with one ISA, to a different core with another ISA can be complicated). So how do we get the best of both worlds?
Solution: This paper introduced the idea of composite-ISA cores. Instead of choosing ISAs that are completely different, what happens if we choose features from a single large super-set ISA? With a single super-set ISA, the problem with migrating cores become far more simple. This authors uses an expanded version of x86 for their study, and look at different register depths, register widths, support for predication, and support for vectorization. They then compare results for both speedup and power against a number of alternatives (typical homogeneous architecture, one with a single ISA but heterogeneous hardware, heterogeneous ISAs, etc.), and show that the composite-ISA architecture either outperforms, or is as good as the fully heterogeneous alternative.
Major Impact: This paper introduced a clever way to get both the benefits of having heterogeneous hardware and ISAs, without suffering the same difficulty of translating a program when it switches core (e.g. from x86 ISA to Alpha). Furthermore, the authors performed a HUGE design space exploration, performing more than 196k simulations to really narrow down different heterogeneous ISA and architecture combinations work best together. It further provides an interesting alternative to typical symmetric multi-core processors!
That's all for this week! Check out the paper linked above for more details on the design space exploration of the x86 super-set ISA, how such designs can beat a typical symmetric multi-core processor, and how program migration between different cores is supported. Have a nice start to the week on Monday!
--Nick
Last Week's: Link
My YouTube: Link
My GitHub: Link
5
u/computerarchitect CPU Architect Oct 07 '19
Interesting idea but I question whether the results are actually as good in practice. There are some issues I would have really liked to see be address (but of course you can't, because page limits).
Three things that really stick out to me:
I see in table III that their ROB size is consistently smaller than their number of GPRs in their physical register file. That's a very awkward design point because you built more GPRs than your machine can use at any given moment. It would have been nice to see them address why that is, because this should be a red flag to anyone who has built an OOO machine.
They don't discuss the impact of process migration when performing and upgrade or downgrade of a process, and their simulation methodology doesn't lend any insight into it. It would have been nice to see how results change when they don't have warmed up caches, branch prediction structures, and TLBs, particularly with respect to in order designs, where those things take a bigger hit than the out of order ones.
No mention of a frequency anywhere in the paper, no load to use latencies, no L2 hit latencies, etc. Would have been nice to see whether I actually believe those parameters are synthesizable in a real design.