+ All Categories
Home > Documents > Change before you have to be claimed Experience in …...Title Change before you have to be claimed...

Change before you have to be claimed Experience in …...Title Change before you have to be claimed...

Date post: 22-May-2020
Category:
Upload: others
View: 7 times
Download: 0 times
Share this document with a friend
12
0 Copyright©2016 NTT corp. All Rights Reserved. Change before you have to be claimed Experience in DPDK-enabled SDN vSwitch and DPDK-enabled VNF with Vhost Tomoya Hibi, Yoshihiro Nakajima, Hirokazu Takahashi NTT Network Innovation Labs
Transcript
Page 1: Change before you have to be claimed Experience in …...Title Change before you have to be claimed Experience in DPDK-enabled SDN vSwitch and DPDK-enabled VNF with Vhost Author Yoshihiro

0Copyright©2016 NTT corp. All Rights Reserved.

Change before you have to be claimed

Experience in DPDK-enabled SDN vSwitch and

DPDK-enabled VNF with Vhost

Tomoya Hibi, Yoshihiro Nakajima, Hirokazu Takahashi

NTT Network Innovation Labs

Page 2: Change before you have to be claimed Experience in …...Title Change before you have to be claimed Experience in DPDK-enabled SDN vSwitch and DPDK-enabled VNF with Vhost Author Yoshihiro

1Copyright©2016 NTT corp. All Rights Reserved.

First experiment with DPDK vSwitch and

DPDK VNF with vHost PMD

DPDK-enabled vSwitch (DPDK vHost PMD)

DPDK-enabed VNF (DPDK virtio-PMD)

DPDK 16.04 + patch

Examine how performance impacts

we face only resource assignment

CPU and memory assignment

VNF and vSwitch assignmnet

NFV middleware for scale-out VNFs

Thanks to Interop Tokyo 2016 ShowNet!

What we did

https://www.facebook.com/interop.shownet

Page 3: Change before you have to be claimed Experience in …...Title Change before you have to be claimed Experience in DPDK-enabled SDN vSwitch and DPDK-enabled VNF with Vhost Author Yoshihiro

2Copyright©2016 NTT corp. All Rights Reserved.

Flexible load balance for VNFs with

smart hash calculation and flow direction Hash calc: NetFPGA-SUME

• Hash calculation using IP address pairs

• Hash value are injected to MAC src for flow direction for VNF

Classification and flow direction: Lagopus

• Flow direction with MAC src lookup

NFV middleware for scale-out VNFs

HV VNF VNF VNF

lagopus

lagopus

uplink

downlink

hash calc & mac rewrite

MAC-based classification for VMs

hash dl_src

type1 52:54:00:00:00:01

type2 52:54:00:00:00:02

… …

Type 256 52:54:00:00:00:FF

Page 4: Change before you have to be claimed Experience in …...Title Change before you have to be claimed Experience in DPDK-enabled SDN vSwitch and DPDK-enabled VNF with Vhost Author Yoshihiro

3Copyright©2016 NTT corp. All Rights Reserved.

Challenges in vSwtich

vNIC between DPDK-enabled vSwitch called Lagopus and

DPDK-enabled VNF vrouter called Virnos provided by IP infusion

Many vNICs and flow director (load-balancing) 8 VNFs and total 18 vNICs

HV VirNOS VirNOS VirNOS VirNOS

lagopus

lagopus

port2

port4 port6 port8 port10

port9port7port5port3

port1

Eth0

Eth1

Eth0

Eth1

Eth0

Eth1

Eth0

Eth1

Page 5: Change before you have to be claimed Experience in …...Title Change before you have to be claimed Experience in DPDK-enabled SDN vSwitch and DPDK-enabled VNF with Vhost Author Yoshihiro

4Copyright©2016 NTT corp. All Rights Reserved.

Best resource assignmnet for vSwitch and VNFs

for performance?

Packet processing workload aware assignment is required for

Lagopus and VNF

Best configuration for resource assignment?Dual Xeon (E5-E2667 v3, Haswell-EP)

8 x 8GB DDR4-2133 memory

1x Dual port Niantic NIC

MemoryMemory

NIC

core

core

core

core

core

core

core

core

core

core

core

core

core

core

core

core

CPU0 CPU1

Traffic

Page 6: Change before you have to be claimed Experience in …...Title Change before you have to be claimed Experience in DPDK-enabled SDN vSwitch and DPDK-enabled VNF with Vhost Author Yoshihiro

5Copyright©2016 NTT corp. All Rights Reserved.

Resource assign impacts in packet processing

performance

MemoryMemory

NIC

core

core

core

core

core

core

core

core

core

core

core

core

core

core

core

core

CPU0 CPU1

Traffic

Lagopus 8 VNFs

MemoryMemory

NIC

core

core

core

core

core

core

core

core

core

core

core

core

core

core

core

core

CPU0 CPU1

Traffic

Lagopus8 VNFs

4.4Gbps

10Gbps

Page 7: Change before you have to be claimed Experience in …...Title Change before you have to be claimed Experience in DPDK-enabled SDN vSwitch and DPDK-enabled VNF with Vhost Author Yoshihiro

6Copyright©2016 NTT corp. All Rights Reserved.

HV VirNOS VirNOS VirNOS VirNOS

lagopus

lagopus

port2

port4 port6 port8 port10

port9port7port5port3

port1

Eth0

Eth1

Eth0

Eth1

Eth0

Eth1

Eth0

Eth1

DPDK-based system needs CPUs for I/O because polling-based

network I/O in DPDK

Physical I/O is relative intensive compared to vNICs

CPU resource assignment for I/O (1/2)

6

10/4 Gbps 10Gbps

Page 8: Change before you have to be claimed Experience in …...Title Change before you have to be claimed Experience in DPDK-enabled SDN vSwitch and DPDK-enabled VNF with Vhost Author Yoshihiro

7Copyright©2016 NTT corp. All Rights Reserved.

HV VirNOS VirNOS VirNOS VirNOS

lagopus

lagopus

port2

port4 port6 port8 port10

port9port7port5port3

port1

Eth0

Eth1

Eth0

Eth1

Eth0

Eth1

Eth0

Eth1

Traffic-path-aware CPU assign

4 CPU core were assigned to I/O thread of Lagopus

CPU resource assignment for I/O (2/2)

7

10Gbps

10Gbps

5Gbps 5Gbps

Page 9: Change before you have to be claimed Experience in …...Title Change before you have to be claimed Experience in DPDK-enabled SDN vSwitch and DPDK-enabled VNF with Vhost Author Yoshihiro

8Copyright©2016 NTT corp. All Rights Reserved.

512 match rules are required by default 256 MAC src match

Both direction (up link/down link)

Only 16 rules cover the above requirements using mask-aware match rule technique Hash value are injected lower 1byte of MAC address

Traffic are distributed by statistical multiplexing effect of the nature of traffic

Only 3bit-lookup cover the above requirements

Other optimization in flow-rule reduction

in_port dl_src action

1 52:54:00:00:00:01 1

1 52:54:00:00:00:02 2

… … …

1 52:54:00:00:00:FF X

in_port dl_src action

1 **:**:**:**:**:*0 1

1 **:**:**:**:**:*1 2

… … …

1 **:**:**:**:**:*7 7

Page 10: Change before you have to be claimed Experience in …...Title Change before you have to be claimed Experience in DPDK-enabled SDN vSwitch and DPDK-enabled VNF with Vhost Author Yoshihiro

9Copyright©2016 NTT corp. All Rights Reserved.

Performance evaluation

Long packet journy Packet-in -> Physical NIC -> Lagopus ->

vNIC -> VNF -> vNIC -> Lagopus -> Physical NIC -> Packet-out Two major packet copy (vNIC-related copy)

[Mbps]

[byte]

0

1000

2000

3000

4000

5000

6000

7000

8000

9000

10000

0 200 400 600 800 1000 1200 1400

wire rate

lagopus

Packet size

Tra

ffic

Page 11: Change before you have to be claimed Experience in …...Title Change before you have to be claimed Experience in DPDK-enabled SDN vSwitch and DPDK-enabled VNF with Vhost Author Yoshihiro

10Copyright©2016 NTT corp. All Rights Reserved.

Needs more hardware details for performance

CPU, Memory, PCI-exp topology

Memory allocation, CPU core assign

Ie Enhanced Platform Awareness (EPA)

Performance profiling is essential

Needs VNF/vSwitch modeling and benchmark test suite

Difficult to know performance degradation point, performance bottleneck

• Still primitive tools are provided (perf, htop…)

Conclusion

Page 12: Change before you have to be claimed Experience in …...Title Change before you have to be claimed Experience in DPDK-enabled SDN vSwitch and DPDK-enabled VNF with Vhost Author Yoshihiro

11Copyright©2016 NTT corp. All Rights Reserved.

Web

https://lagopus.github.io

Github

Lagopus vswitch

• https://github.com/lagopus/lagopus

Lagopus Book

• https://github.com/lagopus/lagopus-book

Visit IDF16 booth #825 (August 16-18)

Cloud WAN solution using Lagopus vSwitch

Reference


Recommended