r/ComputerEngineering • Performance Architect • Sep 15 '19

Computer Architecture Highlights: Week 9

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 controversial one from 2010 about the performance of CPUs vs. GPUs!

Title: Debunking the 100X GPU vs. CPU Myth: An Evaluation of Throughput Computing on CPU and GPU

Conference: ISCA 2010

Paper Link: Link

 

Background: In the late 2000s and early 2010s, support for general purpose computing on GPUs began to mature. This lead to many throughput applications being ported to GPUs to take advantage of the massive amount of parallelism. Many papers were published during this period claiming 10-1000x speedups over CPUs for the same applications. Intel, not liking the role of a punching bag, decided to optimize these applications as far as they could on both CPUs and GPUs to expose suspect methodologies that had been making them look bad, and to proclaim that CPUs are still a viable platform for throughput applications.

 

The Story: The authors provide a fairly detailed overview of both the platforms and the kernels under comparison. The kernels represent the best implementations of the day of 14 throughput applications (either coming from published works, implementations in highly optimized libraries like MKL, or modified implementations with additional performance enhancements). The authors found that the performance increase over CPUs was not nearly as drastic as previously reported. They showed that the GPU only provides an average 2.5x speedup across the 14 applications over the CPU. Furthermore they showed that some applications were even faster on the CPU (Solv. and Sort). The authors also detail why these differences in reported values occur, citing unfair platforms (mobile CPU vs GPU), and optimized GPU applications vs unoptimized CPU ones. The authors also provide insights into the advantages of the respective platforms that also contribute to the performance numbers.

 

Major Impact: This paper has almost 1000 citations, and called into question many questionable methodologies in research papers. Furthermore, it showed that in many cases, this 2.5x performance difference can be attributed to the ~3-4x more memory bandwidth that the GPU has over the CPU. However, there are some important things to think about. How hard is it to achieve this performance on the CPU? Other papers around that time showed that while CPU implementations could be highly optimized, the performance gained from moderate tuning on a GPU was often easier, and still better performance. Furthermore, the GPU is still better at almost all applications studied! So another key takeaway is really understanding both the application, and the platform it is running on.

 

That's all for this week! Check out the paper linked above for more details on how the applications were optimized, how these performance numbers were obtained, and get a better sense of the pros and cons of different hardware platforms! As a fun fact, the conference in which this paper appeared (ISCA 2010), was the same conference where William Dally (chief scientist for NVIDIA) was awarded the highest award in computer architecture.

 

--Nick

Last Week's: Link -->

My YouTube channel with similar teaching content.

My GitHub where I post all my teaching code.

32 Upvotes

6 comments sorted by

3

u/Talin-Rex Sep 15 '19

uhh, need to read this tomorrow when i have time :D
Now I hope I remember.

3

u/Kara-Abdelaziz Sep 15 '19

Seems good papier, thanks.

3

u/Zalambura Sep 15 '19

Could you please increase the percentage of papers within the last few years? I'd be very interested in that.

Thank you very much for all your efforts.

2

u/CupOfSpaghetti Sep 16 '19

Your efforts are appreciated. Thank you.