+ All Categories
Home > Engineering > OVS v OVS-DPDK

OVS v OVS-DPDK

Date post: 21-Jan-2018
Category:
Upload: md-safiyat-reza
View: 101 times
Download: 2 times
Share this document with a friend
20
OVS v OVS-DPDK
Transcript
Page 1: OVS v OVS-DPDK

OVSv

OVS-DPDK

Page 2: OVS v OVS-DPDK

ABOUT ME

Md Safiyat Reza

Open-source enthusiast

Delving into cloud.

safiyat

@reza_safiyat

[email protected]

Page 3: OVS v OVS-DPDK

What is OVS?

Page 4: OVS v OVS-DPDK
Page 5: OVS v OVS-DPDK
Page 6: OVS v OVS-DPDK

VM

virtio driver

ping 8.8.8.8

OK, wait a sec

Page 7: OVS v OVS-DPDK

virtio driver

QEMU virtiobackend

VM wants to ping 8.8.8.8

OK, wait a sec

Page 8: OVS v OVS-DPDK

QEMU virtiobackend

tap device

Hey there, ping 8.8.8.8 for me

OK, gimme a moment

Page 9: OVS v OVS-DPDK

tap device

Kernel

Here is an ICMP packet. Do what you

do best.

Get back to you in a jiffy

Page 10: OVS v OVS-DPDK
Page 11: OVS v OVS-DPDK

Why OVS-DPDK?

Page 12: OVS v OVS-DPDK

• Lots of components between VM and physical networking infrastructure

causing scalability issues and performance degradation.

• Context switches

Page 13: OVS v OVS-DPDK
Page 14: OVS v OVS-DPDK

• Polling

• Hugepages

• Pinned CPUs

• Userspace IO

Page 15: OVS v OVS-DPDK
Page 16: OVS v OVS-DPDK
Page 17: OVS v OVS-DPDK

• Kernel flows are basically a cache

• OVS performs very well so long as the packets hit this cache

• Default flow timeout is 10 seconds.

• Most of the overhead here is in copying packets in the userspace and context switching.

Page 18: OVS v OVS-DPDK

Standard OVS OVS-DPDK

Gbps 1.159 9.9

MPPS 1.72 14.85

Throughput

• Xeon [email protected] GHz

• Intel 82599EB

• Linux Kernel 3.17

Page 19: OVS v OVS-DPDK

Standard OVS OVS-DPDK Difference

TCP 46 33 ~ 30%

UDP 51 32 ~ 37%

Latency

• Xeon [email protected] GHz

• Intel 82599EB

• Linux Kernel 3.17

Page 20: OVS v OVS-DPDK

Thank you!


Recommended