Test dpdk-testpmd performance in IO forward mode

Test dpdk-testpmd performance in IO forward mode

  1. Configure flow control

  2. Adjust testpmd parameters

  3. Create testpmd job to run rxonly on IUT

  4. Create testpmd job to run traffic generator on TST

  5. Start the jobs

  6. If dbells_supp :

    • Attach doorbells filters

  7. Start peer and reporting testpmd jobs

  8. Retrieve link speed from reporting testpmd

  9. Initialize IUT Rx and TST Tx statistics

  10. Retrieve Rx stats from running testpmd

  11. Retrieve Tx stats from running testpmd

  12. Check and log measurement results

Andrew Rybchenko andrew.rybchenko@oktetlabs.ru

Test dpdk-testpmd performance in rxonly mode

  1. Configure flow control

  2. Adjust testpmd parameters

  3. Create testpmd job to run rxonly on IUT

  4. Create testpmd job to run traffic generator on TST

  5. Start the jobs

  6. If dbells_supp :

    • Attach doorbells filters

  7. Start peer and reporting testpmd jobs

  8. Retrieve link speed from reporting testpmd

  9. Initialize IUT Rx and TST Tx statistics

  10. Retrieve Rx stats from running testpmd

  11. Retrieve Tx stats from running testpmd

  12. Check and log measurement results

Igor Romanov Igor.Romanov@oktetlabs.ru

Parameters:

generator_mode

Forwarding mode of testpmd generating traffic on TST

testpmd_arg_rxq

Number of Rx queues per port on IUT (testpmd option --rxq); the number of Tx queues is set equal to it

n_cores

Number of CPU cores for testpmd on IUT

packet_size

Size of packets generated on TST

flow_control

Whether to use flow control

testpmd_arg_forward_mode

Forwarding mode of testpmd on IUT (testpmd option --forward-mode)

testpmd_arg_stats_period

Period in seconds of testpmd statistics display (testpmd option --stats-period)

testpmd_arg_no_lsc_interrupt

Whether to disable link status change interrupt (testpmd option --no-lsc-interrupt)

testpmd_arg_burst

Number of packets per burst (testpmd option --burst)

generator_mode

Forwarding mode of testpmd generating traffic on TST

testpmd_arg_rxq

Number of Rx queues per port on IUT (testpmd option --rxq); the number of Tx queues is set equal to it

n_rx_cores

Number of CPU cores for testpmd on IUT

packet_size

Size of packets generated on TST

flow_control

Whether to use flow control

testpmd_arg_forward_mode

Forwarding mode of testpmd on IUT (testpmd option --forward-mode)

testpmd_arg_stats_period

Period in seconds of testpmd statistics display (testpmd option --stats-period)

testpmd_arg_no_lsc_interrupt

Whether to disable link status change interrupt (testpmd option --no-lsc-interrupt)

testpmd_arg_burst

Number of packets per burst (testpmd option --burst)

testpmd_arg_rxfreet

Free threshold of Rx rings, 0 means driver default (testpmd option --rxfreet)