Mosaic: c: A GPU Memory Manager wit with Applic lication ion-Tr - - PowerPoint PPT Presentation
Mosaic: c: A GPU Memory Manager wit with Applic lication ion-Tr - - PowerPoint PPT Presentation
Mosaic: c: A GPU Memory Manager wit with Applic lication ion-Tr Transparent Support fo for Multiple Page Sizes Rachata Ausavarungnirun , Joshua Landgraf, Vance Miller Saugata Ghose, Jayneel Gandhi, Christopher J. Rossbach, Onur Mutlu
SLIDE 1
SLIDE 2
GPU Core
Private TLB
GPU Core GPU Core GPU Core Shared TLB
Private TLB
Page Table Walkers Page Table (Main memory)
Private TLB Private TLB
Data (Main Memory) CPU Memory
Private Shared CPU-side memory GPU-side memory
Bottlenecks of GPU Virtual Memory
2
SLIDE 3
GPU Core
Private TLB
GPU Core GPU Core GPU Core Shared TLB
Private TLB
Page Table Walkers Page Table (Main memory)
Private TLB Private TLB
Limited TLB reach
High latency page walks
Data (Main Memory) CPU Memory
High latency I/O
Private Shared CPU-side memory GPU-side memory
Bottlenecks of GPU Virtual Memory
3
SLIDE 4
Key Page Size Tradeoffs
Larger pages: Better TLB reach High demand paging latency
4
SLIDE 5
Key Page Size Tradeoffs
Larger pages: Better TLB reach High demand paging latency Smaller pages: Lower demand paging latency Limited TLB reach
5
SLIDE 6
Key Page Size Tradeoffs
Larger pages: Better TLB reach High demand paging latency Smaller pages: Lower demand paging latency Limited TLB reach
Mosaic enables application-transparent use
- f both page sizes
6
SLIDE 7
Key Challenge with Multiple Page Sizes
Large Page Frame 1
State-of-the-art
Cannot coalesce pages
Unallocated App 1 App 2
7
Large Page Frame 2
SLIDE 8
Key Idea of Mosaic
Large Page Frame 1 Large Page Frame 1 Large Page Frame 1
With Mosaic State-of-the-art
Cannot coalesce pages
Unallocated App 1 App 2
In-Place Coalescing
8
Large Page Frame 2 Large Page Frame 2 Large Page Frame 2
SLIDE 9
Mosaic
Hardware GPU Runtime
9
SLIDE 10
Mosaic
Contiguity-Conserving Allocation Hardware GPU Runtime
10
SLIDE 11
Mosaic
Contiguity-Conserving Allocation In-Place Coalescer Hardware GPU Runtime
11
SLIDE 12
Mosaic
Contiguity-Conserving Allocation In-Place Coalescer Contiguity-Aware Compaction Hardware GPU Runtime
12
SLIDE 13
Benefits
High TLB reach Low demand paging latency Application-transparent 55% higher average performance
13
SLIDE 14
Mosaic: c: A GPU Memory Manager wit with Applic lication ion-Tr Transparent Support fo for Multiple Page Sizes
Rachata Ausavarungnirun, Joshua Landgraf, Vance Miller Saugata Ghose, Jayneel Gandhi, Christopher J. Rossbach, Onur Mutlu Session 2-A 2PM-4PM
14