dpacc acceleration progress and demonstration · dpacc acceleration progress and demonstration dpdk...

10
DPACC Acceleration Progress and Demonstration DPDK on Axxia ARM hardware for DPACC Keith Wiles, Intel Corp Magnus Karlsson, Intel Corp

Upload: others

Post on 23-Aug-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: DPACC Acceleration Progress and Demonstration · DPACC Acceleration Progress and Demonstration DPDK on Axxia ARM hardware for DPACC Keith Wiles, Intel Corp Magnus Karlsson, Intel

DPACC Acceleration Progress and Demonstration

DPDK on Axxia ARM hardware for DPACC

Keith Wiles, Intel Corp

Magnus Karlsson, Intel Corp

Page 2: DPACC Acceleration Progress and Demonstration · DPACC Acceleration Progress and Demonstration DPDK on Axxia ARM hardware for DPACC Keith Wiles, Intel Corp Magnus Karlsson, Intel

Demo of DPDK on ARMUsing Axxia ARM hardware with DPDK to get the best performance

Page 3: DPACC Acceleration Progress and Demonstration · DPACC Acceleration Progress and Demonstration DPDK on Axxia ARM hardware for DPACC Keith Wiles, Intel Corp Magnus Karlsson, Intel

What is the demonstration?

• The goal of the demo is to show DPDK running on ARM hardware with good performance

• We have ported DPDK to the Axxia ARMv7 hardware and integrated the Axxia SoC hardware

• The demo shows that DPDK is similar in performance to the native SoC environment

10/30/15 DPACC Acceleration demonstration with DPDK on ARM 3

Page 4: DPACC Acceleration Progress and Demonstration · DPACC Acceleration Progress and Demonstration DPDK on Axxia ARM hardware for DPACC Keith Wiles, Intel Corp Magnus Karlsson, Intel

DPDK ported to ARM, why?

• DPDK was ported to ARM hardware to demonstrate how portable DPDK is to any platform

• The port only took a few days to get running on the Axxia platform (not optimized yet)

• Next few days we integrated the Axxia SoC drivers• Demonstrating DPDK was easy and quick to run on any

platform• Plus DPDK on ARM hardware shows performance similar to

the native SoC application

10/30/15 DPACC Acceleration demonstration with DPDK on ARM 4

Page 5: DPACC Acceleration Progress and Demonstration · DPACC Acceleration Progress and Demonstration DPDK on Axxia ARM hardware for DPACC Keith Wiles, Intel Corp Magnus Karlsson, Intel

How the port of DPDK was done

• DPDK contains infrastructure to add different platforms in the EAL layer

– A new platform was created for ARMv7 that used generic C built-ins or ARM assembly code to support platform specific functions

• DPDK also supports virtual PCAP based PMDs and test applications

– Using them, the port could be validated easily and quickly• Addition of a virtual PMD is straight forward for DPDK

– A new virtual PMD was added to create Ethernet devices abstracting Axxia ports– DPDK’s APIs could be supported by using Axxia specific SDK calls underneath

• No change was done in any sample/test application of DPDK to run them using the new AxxiaPMD

10/30/15 DPACC Acceleration demonstration with DPDK on ARM 5

Page 6: DPACC Acceleration Progress and Demonstration · DPACC Acceleration Progress and Demonstration DPDK on Axxia ARM hardware for DPACC Keith Wiles, Intel Corp Magnus Karlsson, Intel

6

DPDK on Axxia Environment

EthernetSwitch

Axxia_Eth000:00:55:16:00:00

Axxia_Eth100:00:55:16:00:01

DPDKl2fwd

LinuxMachine AxxiaHardware

Datatraffic

Axxial2fwdDPDKpacketgenerator

applicationtosendandreceivepacketsoftwoflowsononeporttomeasurelatencies

Eth102:00:00:00:00:01

Flow 0 – Traverses via DPDK

SMAC – 02:00:00:00:00:01DMAC – 00:00:55:16:00:01

SMAC – 00:00:55:16:00:00DMAC – 02:00:00:00:00:01

SMAC – 00:00:55:16:00:01DMAC – 02:00:00:00:00:01

SMAC – 02:00:00:00:00:01DMAC – 00:00:55:16:00:00

Flow 1 – Traverses via Axxia SDK

P0 P1 P2

10/30/15 DPACC Acceleration demonstration with DPDK on ARM 6

DPDKbasedpacketgeneratorandreceiverapplications,whichalsocomputes latency

Page 7: DPACC Acceleration Progress and Demonstration · DPACC Acceleration Progress and Demonstration DPDK on Axxia ARM hardware for DPACC Keith Wiles, Intel Corp Magnus Karlsson, Intel

Graph of DPDK compared to Axxia Native SoC software

10/30/15 DPACC Acceleration demonstration with DPDK on ARM 7

Page 8: DPACC Acceleration Progress and Demonstration · DPACC Acceleration Progress and Demonstration DPDK on Axxia ARM hardware for DPACC Keith Wiles, Intel Corp Magnus Karlsson, Intel

Summary

• The goal was to show DPDK does not add any overhead in performance compared to a native acceleration SDK

• We created a ARMv7 port, which we have pushed up stream to DPDK.org– The port needs to be optimized, but the port shows we still

obtain good performance compared to a native design• The effort for the ARMv7 port and the comparison of two

systems was a reasonable amount of time (couple of months)• Integrating to ARM and a vendor SDK for DPDK provides good

performance and minimum overhead

10/30/15 DPACC Acceleration demonstration with DPDK on ARM 8

Page 9: DPACC Acceleration Progress and Demonstration · DPACC Acceleration Progress and Demonstration DPDK on Axxia ARM hardware for DPACC Keith Wiles, Intel Corp Magnus Karlsson, Intel

DPDK on ARM for DAPCCQuestions?

Answers: 42 or 47 take your pick J

Page 10: DPACC Acceleration Progress and Demonstration · DPACC Acceleration Progress and Demonstration DPDK on Axxia ARM hardware for DPACC Keith Wiles, Intel Corp Magnus Karlsson, Intel

Thank you for Attending!