GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

20
GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers Author: Yanbiao Li, Dafang Zhang, Alex X. Liu and Jintao Zheng Publisher: ANCS '13 Proceedings of the ninth ACM/IEEE symposium on Architectures for networking and communications systems Presenter: Tung-yin Chi Date: 2015/10/14 1

description

GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers. Author : Yanbiao Li, Dafang Zhang, Alex X. Liu and Jintao Zheng Publisher : ANCS 2013 Presenter: Yu Hao , Tseng Date: 2013/11/13. Outline. Introduction Background and Related Work - PowerPoint PPT Presentation

Transcript of GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

Page 1: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

1

GAMT: A Fast and Scalable IP Lookup Engine for

GPU-based Software Routers

Author: Yanbiao Li, Dafang Zhang, Alex X. Liu and Jintao Zheng

Publisher: ANCS '13 Proceedings of the ninth ACM/IEEE symposium on Architectures for networking and communications systems

Presenter: Tung-yin Chi

Date: 2015/10/14

Page 2: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

2

Introduction

The GPU is becoming an emerging platform for high performance general-purpose computing.

J. Zhao et al. [27] - GPU-Accelerated Lookup Engine (GALE)• only applicable for IPv4• decline sharply with the increase of update frequency

GPU-Accelerated Multi-bit Trie (GAMT)• Scale to IPv6 smoothly• Keep stable lookup throughput under highly frequent updates• Improve lookup performance with latency controlled

Page 3: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

3

Background and Related Work

Multi-bit Trie

Page 4: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

4

Background and Related Work

CUDA Programming Model• Coalescence of Global Memory Accesses• Overlapping Behaviors on the GPU

GPU-Accelerated IP Lookup Engine

Page 5: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

5

GPU-accelerated Multi-bit Trie

Encoding Rules and Lookup Approach

Page 6: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

6

GPU-accelerated Multi-bit Trie

Encoding Rules and Lookup Approach• Ex : 10001*

• Step 1. Default (inf, jump) = (0, 1)• Step 2. (inf, jump) = (0 + 1, 1) = (1, 1) => (inf, jump) = (0, 2) • Step 3. (inf, jump) = (0 + 0, 2) = (0, 2) => (inf, jump) = (0, 3) • Step 4. (inf, jump) = (0 + 1, 3) = (1, 3) => (inf, jump) = (5, 0)

Page 7: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

7

GPU-accelerated Multi-bit Trie

Encoding Rules and Lookup Approach

Page 8: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

8

GPU-accelerated Multi-bit Trie

Update Mechanism

Page 9: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

9

GPU-accelerated Multi-bit Trie

Update Mechanism

Page 10: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

10

GPU-accelerated Multi-bit Trie

Architecture Overview

Page 11: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

11

Performance Optimization Optimized Multi-bit Trie

Page 12: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

12

Performance Optimization Optimized Multi-bit Trie

Page 13: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

13

Performance Optimization Delete in Lazy Mode Multi-Stream Pipeline

Page 14: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

14

Experimental Evaluation

Evaluation Methodology

Page 15: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

15

Experimental Evaluation

Evaluation Methodology

Page 16: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

16

Experimental Evaluation

Lookup Performance

Page 17: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

17

Experimental Evaluation

Lookup Performance

Page 18: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

18

Experimental Evaluation

Lookup Performance

Page 19: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

19

Experimental Evaluation

Update Overhead

Page 20: GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers

20

Experimental Evaluation

Comprehensive Performance