Skip to content

Extend netperf benchmark to track bytes sent/received - #7065

Open
PedroRivera125 wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
SMU-ATT-Center-for-Virtualization:netperf-retransmissions
Open

PedroRivera125 wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
SMU-ATT-Center-for-Virtualization:netperf-retransmissions

Conversation

@PedroRivera125

Copy link
Copy Markdown
Contributor
  • add additional netperf OMNI output-selectors related to local bytes sent & remote bytes received
  • extend netperf result parsing to track new metadata resulting from additional output-selectors

The primary motivation for logging these additional features is to enable tracking of loss/retransmission rates for STREAM tests.

Example Output

The following truncated output is from an 8-stream TCP_STREAM test. We can now calculate a retransmission rate with ( netperf_retransmissions * netperf_mss / netperf_local_bytes_sent_total ).

In this case, this is ( 4852 * 1448 / 34067447808), or approximately 0.02%.

TCP_STREAM_Throughput_8streams     9078.010000 Mbits/sec                      
(ip_type="internal" max_iter="1" netperf_local_bytes_per_send="131072.0" 
netperf_local_bytes_sent_average_per_stream="4258430976.0" 
netperf_local_bytes_sent_total="34067447808" netperf_mss="1448" netperf_retransmissions="4852" 
netperf_retransmissions_average_per_stream="606.5" netperf_retransmissions_total="4852" 
netperf_send_size_in_bytes="131072" netperf_test_length="30" netperf_warmup_test_length="0" 
netserver_retransmissions="0" netserver_retransmissions_average_per_stream="0.0" 
netserver_retransmissions_total="0" receiving_machine_type="n4-standard-2" receiving_zone="us-east5-
b" run_number="0" sending_machine_type="n4-standard-2" sending_thread_count="8" sending_zone="us-
east4-b"  vm_1_gce_nic_type="['GVNIC']" vm_1_internal_ips="
['10.150.0.27']"  vm_2_gce_nic_type="['GVNIC']" 
vm_2_internal_ips="['10.202.0.39']") 

This allows for calculation of retransmission/loss rates.
@PedroRivera125
PedroRivera125 marked this pull request as ready for review September 10, 2026 02:19

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant