summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5808079)
proper abbreviation for kilobytes per second (kB/s).
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
- # reads: ops/s, Kb/s, avg rtt, and avg exe
+ # reads: ops/s, kB/s, avg rtt, and avg exe
# XXX: include avg xfer size and retransmits?
read_rpc_stats = self.__rpc_data['READ']
ops = float(read_rpc_stats[0])
# XXX: include avg xfer size and retransmits?
read_rpc_stats = self.__rpc_data['READ']
ops = float(read_rpc_stats[0])
rtt = float(read_rpc_stats[6])
exe = float(read_rpc_stats[7])
rtt = float(read_rpc_stats[6])
exe = float(read_rpc_stats[7])
- print '\treads:\tops/s\t\tKb/s\t\tavg RTT (ms)\tavg exe (ms)'
+ print '\treads:\tops/s\t\tkB/s\t\tavg RTT (ms)\tavg exe (ms)'
print '\t\t%.2f' % (ops / sample_time),
print '\t\t%.2f' % (kilobytes / sample_time),
if ops != 0:
print '\t\t%.2f' % (ops / sample_time),
print '\t\t%.2f' % (kilobytes / sample_time),
if ops != 0:
print '\t\t0.00',
print '\t\t0.00'
print '\t\t0.00',
print '\t\t0.00'
- # writes: ops/s, Kb/s, avg rtt, and avg exe
+ # writes: ops/s, kB/s, avg rtt, and avg exe
# XXX: include avg xfer size and retransmits?
write_rpc_stats = self.__rpc_data['WRITE']
ops = float(write_rpc_stats[0])
# XXX: include avg xfer size and retransmits?
write_rpc_stats = self.__rpc_data['WRITE']
ops = float(write_rpc_stats[0])
rtt = float(write_rpc_stats[6])
exe = float(write_rpc_stats[7])
rtt = float(write_rpc_stats[6])
exe = float(write_rpc_stats[7])
- print '\twrites:\tops/s\t\tKb/s\t\tavg RTT (ms)\tavg exe (ms)'
+ print '\twrites:\tops/s\t\tkB/s\t\tavg RTT (ms)\tavg exe (ms)'
print '\t\t%.2f' % (ops / sample_time),
print '\t\t%.2f' % (kilobytes / sample_time),
if ops != 0:
print '\t\t%.2f' % (ops / sample_time),
print '\t\t%.2f' % (kilobytes / sample_time),
if ops != 0:
op += ':'
print '%s' % op.lower().ljust(15),
op += ':'
print '%s' % op.lower().ljust(15),
- print ' ops/s\t\t Kb/s\t\t Kb/op\t\tretrans\t\tavg RTT (ms)\tavg exe (ms)'
+ print ' ops/s\t\t kB/s\t\t kB/op\t\tretrans\t\tavg RTT (ms)\tavg exe (ms)'
print '\t\t%7.3f' % (ops / sample_time),
print '\t%7.3f' % (kilobytes / sample_time),
print '\t\t%7.3f' % (ops / sample_time),
print '\t%7.3f' % (kilobytes / sample_time),