diff --git a/perfkitbenchmarker/linux_benchmarks/dpdk_pktgen_benchmark.py b/perfkitbenchmarker/linux_benchmarks/dpdk_pktgen_benchmark.py index b0993ef4d9..2ebbf2fbd2 100644 --- a/perfkitbenchmarker/linux_benchmarks/dpdk_pktgen_benchmark.py +++ b/perfkitbenchmarker/linux_benchmarks/dpdk_pktgen_benchmark.py @@ -23,6 +23,7 @@ import copy import dataclasses +import logging from typing import Any, Mapping from absl import flags @@ -531,6 +532,16 @@ def _FindMaxRateFromConfig( continue stats.packet_loss_rate = stats.GetPacketLossRate() + logging.info('Target PPS rate: %s', curr_rate) + logging.info( + 'Sender PPS: %s', + int(stats.sender_tx_pkts) // _DPDK_PKTGEN_DURATION.value, + ) + logging.info( + 'Receiver PPS: %s', + int(stats.receiver_rx_pkts) // _DPDK_PKTGEN_DURATION.value, + ) + logging.info('Packet loss rate: %s', stats.packet_loss_rate) if stats.packet_loss_rate > packet_loss_threshold: fail_count += 1 if curr_run.sender_tx_pkts is None: