Coder Social home page Coder Social logo

dpdk-perf's Introduction

目录说明

  • doc:
    • 编译/配置相关说明
  • dpdk:
    • dpdk测试例子
  • fp:
    • ofp的测试例子
  • trex:
    • trex l2/3/loop 测试配置脚本
  • pktgen:
    • pkgten l3/loop测试脚本
  • vpp
    • l2/l3待测模式
    • pg发包模式
  • vpp-l4:
    • 测试VPP extern APP模式监听UDP数据包例子
  • vpp-debug:
    • sudo vpp-debug/dut.sh (tls|ikev2)
    • vpp以ap-packet模式运行,ikev2/ipsec/tls等例子
    • 可以从<VPP-DIR>/src/scripts/vnet目录下,复制相关例子到该目录,并修改后缀为.cli,运行测试
  • src/armv71-pmu:
    • xilinx pmu模块测试例子
  • src/dpdk-bind:
    • sudo src/dpdk-bind/dpdk-bind/sh
    • 通过shell脚本实现dpdk网卡,查看/绑定功能
  • src/vpp-test
    • 编译: src/vpp-test/build.sh all
    • 运行:src/vpp-test/build.sh test (longjmp|process|...)
    • vpp相关的测试例子

性能测试

时延测试

测试工具可以使用trex或者pktgen
待测程序有:vpp, ofp, dpdk l2fwd

  • 测试拓朴结构
    1. nic11,nic12在同一个wlan上;nic21,nic22在另一个vlan上;链路情况如拓朴图所示
    2. 四张网卡IP/MAC/PCI配置如:evn.ini文件中所示,使用时可以根据具体环境做相应改动
                 +---------+               
        +--------|   DUT   |--------+      
        |        +---------+        |      
    +---------+                +---------+
    |  NIC12  |                |  NIC22  |
    +---------+                +---------+
        |                            |      
    +---------+                +---------+
    |  NIC11  |                |  NIC21  |
    +---------+                +---------+
        |        +--------+        |
        +--------|  Trex  |--------+      
                 +--------+
    

测试l2fwd

  • sudo dpdk/l2fwd.sh
  • sudo trex/trex.sh l2

测试VPP

  • l2:
    • 启动VPP: sudo vpp/dut.sh l2
    • 启动trex: sudo trex/trex.sh l2
  • l3:
    • 启动VPP: sudo vpp/dut.sh l3
    • 启动trex: sudo trex/trex.sh l3

dpdk-perf's People

Contributors

nowaits avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.