[openstack 하반기 스터디] dpdk & openstack why?

13

Click here to load reader

Upload: openstack-korea-community

Post on 16-Apr-2017

8.269 views

Category:

Software


10 download

TRANSCRIPT

Page 1: [OpenStack 하반기 스터디] DPDK & OpenStack why?

DPDK & Openstack why?Team 3

Page 2: [OpenStack 하반기 스터디] DPDK & OpenStack why?

Why? Too many logical devices make “Latency” “Latency”

“Latency”. Hypervisor wasn’t designated to support network

functions! Device service routine works with Interrupt!

Linux BridgeOVS Bridge

Namespace

Tap Device

EncapsulationDVR

Neutron NodeOVS Tunnel Bridge

External Bridge

Page 3: [OpenStack 하반기 스터디] DPDK & OpenStack why?

Bottleneck ?

NetworkingApplication #2

NetworkingApplication #1

LPC? TCP? UDP? That’s ok. I assume it just “mem copy”.

Software Interrupt

Page 4: [OpenStack 하반기 스터디] DPDK & OpenStack why?

Bottleneck ?

NIC : Buffer

KernelDeviceDriver

Interrupt > Interrupt Service Routine > DPC

NetworkingApplication

APC > Networking Application

Interrupt

Page 5: [OpenStack 하반기 스터디] DPDK & OpenStack why?

DPDK? Data Plan Developer Kit DPDK is a set of software libraries and Ethernet drivers (native and

virtualized) that run in Linux user space to boost packet processing

throughput on Intel® architecture.

Page 6: [OpenStack 하반기 스터디] DPDK & OpenStack why?

Support

Investment!

Page 7: [OpenStack 하반기 스터디] DPDK & OpenStack why?

Proof of concept

Hardware : IBM PureFlex Spec Host - 16core / 256G / 10g nic * 2eaGuest – 8core / 32G / virtio nic * 2ea => CPU Socket Isolation & NUMA

• Software Iperfdpdk-ovsvirtio-net-pmd

Page 8: [OpenStack 하반기 스터디] DPDK & OpenStack why?

Proof of concept

Host

Guest

KVM KVMdpdk-ovs

virtio-net-pmd

Guest

virtio-net-pmd

Iperf server Iperf client

Page 9: [OpenStack 하반기 스터디] DPDK & OpenStack why?

Conclusion

non with DPDK0

5000100001500020000250003000035000

intr/sec

Bridge OVS OVS with DPDK

0102030

Gbps/sec

cpu usage

Iperf server

Page 10: [OpenStack 하반기 스터디] DPDK & OpenStack why?

Self-reflec-tion

Something strange..

causeShort TimeSide effectLow experience

Page 11: [OpenStack 하반기 스터디] DPDK & OpenStack why?

Anyway… PMD = “Poll Mode Driver”

Page 12: [OpenStack 하반기 스터디] DPDK & OpenStack why?

Accelerationfeatures

SR-IOV VMQ / DVMQ RSS / vRSS Jumbo Frame Large Send Offload Checksum Offload RDMA DCB Datacenter TCP (ECN) RSC (Receive Segment Coalescing) NVGRE/VXLAN offload

Page 13: [OpenStack 하반기 스터디] DPDK & OpenStack why?

Thank you