Project

General

Profile

Backport #16338

Updated by Vikhyat Umrao almost 8 years ago

Description of Feature: 

 rados bench : add cleanup message with time it has taken to delete the objects when cleanup start for written objects  

 <pre> 
 # rados -p rbd    bench 20    write -b 8192 -t 256 
  Maintaining 256 concurrent writes of 8192 bytes for up to 20 seconds or 0 objects 
  Object prefix: benchmark_data_dell-per630-8.gsslab.pnq2.red_59618 
    sec Cur ops     started    finished    avg MB/s    cur MB/s    last lat     avg lat 
      0         0           0           0           0           0           -           0 
      1       255       11275       11020     85.9967     86.0938 0.0209201    0.022394 
      2       255       21299       21044     82.1255     78.3125 0.0160036 0.0240254 
      3       256       33494       33238     86.5002     95.2656 0.0176813 0.0229041 
      4       255       44851       44596     87.0498     88.7344 0.0204237 0.0228027 

  ................................ 
  ................................. 

 2016-05-03 16:45:28.715926min lat: 0.00156224 max lat: 7.1998 avg lat: 0.0559234 
    sec Cur ops     started    finished    avg MB/s    cur MB/s    last lat     avg lat 
     20       254       85867       85613     33.4264     6.195310.00497779 0.0559234 
     21       254       85867       85613     31.8353           0           - 0.0559234 
     22       254       85867       85613     30.3887           0           - 0.0559234 
  Total time run:           22.334877 
 Total writes made:        85867 
 Write size:               8192 
 Bandwidth (MB/sec):       30.035  

 Stddev Bandwidth:         34.5402 
 Max bandwidth (MB/sec): 95.2656 
 Min bandwidth (MB/sec): 0 
 Average Latency:          0.0664779 
 Stddev Latency:           0.456263 
 Max latency:              7.1998 
 Min latency:              0.00156224 
 </pre> 

 - After benchmark is completed, there is a long pause as it    start deleting the written objects (clean up). 

 - Adding cleanup message with time it has taken to delete the objects when cleanup start for written objects will help. 

 Version-Release number of selected component (if applicable): 
 Red Hat Ceph Storage 1.3.2 
 ceph-0.94.5-9.el7cp

Back