Whamcloud - gitweb
LU-7977 lnet: Have selftest use proper units (MB/s or MiB/s) 91/20891/2
authorDoug Oucharek <doug.s.oucharek@intel.com>
Tue, 21 Jun 2016 01:02:26 +0000 (18:02 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 29 Aug 2016 03:52:25 +0000 (03:52 +0000)
commitb7ac3e6bcd58cb987d92b87e9e1b39112bb825e6
tree636e718cd9e340f5f4ed15b53e3d0c43d401400e
parentbb37596919abffcb918c86d01893983f43037e5e
LU-7977 lnet: Have selftest use proper units (MB/s or MiB/s)

lnet-selftest currently reports bandwidth statistics as
MB/s but it is really calculated as MiB/s.

This patch corrects the output to say MiB/s and adds a
new option, "--mbs" to the "lst stat" command to change
the units to MB/s.

Test-Parameters: trivial
Signed-off-by: Doug Oucharek <doug.s.oucharek@intel.com>
Change-Id: Iae8f6ca92b9b0ee00e6307eaf22e5c0791ed323d
Reviewed-on: http://review.whamcloud.com/20891
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Olaf Weber <olaf@sgi.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/utils/lst.c