Giter Club home page Giter Club logo

Comments (3)

michaelspedersen avatar michaelspedersen commented on September 21, 2024

vBNG VNF Benchmarks

  • Test configuration:

    • L2 Frame: 68B
    • Duration: 60 seconds
    • Load: 3Mpps (limited by Pktgen)
    • Iterations: 5
    • CPU pinning: 1-3 (Host VPP), 4-6 (Pktgen), 7-9 (vBNG)
  • Results:

    • Throughput
      • 2,960,379 pps
      • 2,939,770 pps
      • 2,984,178 pps
      • 2,940,379 pps
      • 2,977,720 pps
      • Avg: 2,960,485 pps
    • Memory
      • Resident Set Size (RSS): 77.91 MB (76088 KiB)

CPU pinning done on running VMs using virsh list followed by virsh vcpupin <id> <vcpu> <cpu> for both Pktgen and vBNG. Host VPP is pinned and isolated through kernel parameters and VPP configuation.

Performance is currently limited by Pktgen, as each of the two ports only support 1 rx/tx queue, which limits the CPU usage to 2 cores. This limitation will be true for both VNF and CNF tests as both will use the same VM version of Pktgen. Once we figure out an alternative to the vhost-user interfaces (e.g. SR-IOV) it should be possible to increase the queues per port, which should increase the throughput and remove the bottleneck.

from cnf-testbed.

michaelspedersen avatar michaelspedersen commented on September 21, 2024

vBNG CNF Benchmarks

  • Test configuration:

    • L2 Frame: 68B
    • Duration: 60 seconds
    • Load: 3Mpps (limited by Pktgen)
    • Iterations: 5
    • CPU pinning: 1-3 (Host VPP), 4-6 (Pktgen), 7-9 (vBNG)
  • Results:

    • Throughput

      • 2,931,671 pps
      • 2,951,497 pps
      • 2,834,269 pps
      • 2,921,445 pps
      • 2,954,347 pps
      • Avg: 2,918,646 pps
    • Memory

      • Resident Set Size (RSS): 22.4 MB

The difference in throughput between VNF and CNF is negligible, as both are limited by the number of packets generated by the Pktgen VM

Performance is currently limited by Pktgen, as each of the two ports only support 1 rx/tx queue, which limits the CPU usage to 2 cores. This limitation will be true for both VNF and CNF tests as both will use the same VM version of Pktgen. Once we figure out an alternative to the vhost-user interfaces (e.g. SR-IOV) it should be possible to increase the queues per port, which should increase the throughput and remove the bottleneck.

from cnf-testbed.

lixuna avatar lixuna commented on September 21, 2024

This ticket can be closed

from cnf-testbed.

Related Issues (20)

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.