9 - CPU vs. GPU
9 - CPU vs. GPU
vs.
Graphical Processing Units (GPUs)
Edited by Xuan Ly NGUYEN THE
1
Money – root of all innovation
2
CPUs
• chip size (amount of circuitry) continues to doubles every 18-24 months (Moore’s
Law)
• similar growth in other hardware aspects, but memory bandwidth struggles to
keep up
• safe to assume that this will continue for at least the next 10 years, driven by:
• multimedia applications (streaming video, HD)
• image / video processing
• “intelligent” software
• internet applications (Google, Bing, Facebook)
3
CPU Innovation
• CPU clock stuck at about 3GHz since 2006 due to high power consumption
(up to 130W per chip)
• chip circuitry still doubling every 18-24 months
⇒ more on-chip memory and MMU (memory management units)
⇒ specialized hardware (e.g. multimedia, encryption)
⇒ multi-core (multiple CPU’s on one chip)
4
Intel’s Tick – Tock Model
5
Intel’s Sandy Bridge Micro-architecture
6
Memory Hierarchy
7
Technical Challenges
8
GPUs – the big development
9
GPUs Vendors
• 4 major vendors:
• NVIDIA:
• Gaming (Geforce)
• Design and Creation (Quadro)
• High Performance Computing – HPC (Tesla)
• AMD
• Gaming (Radeon)
• Design and Creation, HPC (FirePro)
• IBM
• co-developed Cell processor with Sony and Toshiba for Sony PlayStation, but now dropped
it for HPC
• Intel
• Integrated graphics (e.g. HD4000)
10
GPU and CPU Communication
11
Intel Core i7 vs. NVIDIA GTX
CPU: Intel “Sandy Bridge” Core i7 GPU: NVIDIA GTX 580
4 MIMD cores 512 cores, arranged as 16 units each with 32 SIMD cores
few registers, multilevel caches lots of registers, almost no cache
30 GB/s bandwidth to main memory 5 GB/s bandwidth to host processor (PCIe x16 gen 2)
190 GB/s bandwidth to graphics memory
12
Intel Core i7 vs. AMD R9
13
CPUs and GPUs Performance
14