Skip to content

Commit

Permalink
Record min and max latency in netperf benchmark
Browse files Browse the repository at this point in the history
As the title says.
  • Loading branch information
Noah Lavine committed Jun 10, 2016
1 parent ee0276d commit f41b42a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions perfkitbenchmarker/linux_benchmarks/netperf_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ def RunNetperf(vm, benchmark_name, server_ip):
'-P {data_port} '
'-o THROUGHPUT,THROUGHPUT_UNITS,P50_LATENCY,P90_LATENCY,'
'P99_LATENCY,STDDEV_LATENCY,'
'MIN_LATENCY,MAX_LATENCY,'
'CONFIDENCE_ITERATION,THROUGHPUT_CONFID').format(
netperf_path=netperf.NETPERF_PATH,
benchmark_name=benchmark_name,
Expand Down Expand Up @@ -160,6 +161,8 @@ def RunNetperf(vm, benchmark_name, server_ip):
('50th Percentile Latency Microseconds', 'p50'),
('90th Percentile Latency Microseconds', 'p90'),
('99th Percentile Latency Microseconds', 'p99'),
('Minimum Latency Microseconds', 'min'),
('Maximum Latency Microseconds', 'max'),
('Stddev Latency Microseconds', 'stddev')]:
samples.append(
sample.Sample('%s_Latency_%s' % (benchmark_name, metric_name),
Expand Down

0 comments on commit f41b42a

Please sign in to comment.