Skip to content

Commit

Permalink
Merge pull request #25 from zoharbmellanox/master
Browse files Browse the repository at this point in the history
Explain Gb/s to MB/s conversion.
  • Loading branch information
zoharbmellanox authored Mar 11, 2018
2 parents e950fa1 + 1f5a0b5 commit 130b395
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/perftest_parameters.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,8 @@ static void usage(const char *argv0, VerbType verb, TestType tst, int connection

printf(" --report_gbits ");
printf(" Report Max/Average BW of test in Gbit/sec (instead of MB/sec)\n");
printf(" Note: MB=2^20 byte, while Gb=10^9 bits. Use these formulas for conversion:\n");
printf(" Factor=10^9/(20^2*8)=119.2; MB=Gb_result * factor; Gb=MB_result / factor\n");

if (connection_type != RawEth) {
printf(" --report-per-port ");
Expand Down Expand Up @@ -494,12 +496,12 @@ static void usage(const char *argv0, VerbType verb, TestType tst, int connection

printf(" --rate_units=<units>");
printf(" [Mgp] Set the units for rate limit to MBps (M), Gbps (g) or pps (p). default is Gbps (g).\n");
printf(" Note (1): pps not supported with HW limit.\n");
printf(" Note (2): When using PP rate_units is forced to Kbps.\n");
printf(" Note (1): pps not supported with HW limit.\n");
printf(" Note (2): When using PP rate_units is forced to Kbps.\n");

printf(" --rate_limit_type=<type>");
printf(" [HW/SW/PP] Limit the QP's by HW, PP or by SW. Disabled by default. When rate_limit Not is specified HW limit is Default.\n");
printf(" Note (1) in Latency under load test SW rate limit is forced\n");
printf(" Note: in Latency under load test SW rate limit is forced\n");

}
#if defined HAVE_OOO_ATTR || defined HAVE_EXP_OOO_ATTR
Expand Down

0 comments on commit 130b395

Please sign in to comment.