使用步骤

  1. 使用iostat工具采集硬盘时延数据,整理成指定格式的数据文件slow_data.csv(时延数据的采集方法以及文件格式请参考数据采集方法文件格式)。
  2. 调用slow_detect接口,输入数据文件,进行慢盘检测。

    from BoostKit_KSML.slow_detect import slow_detect
    slow_detect(r'slow_data.csv', r'result.data')

  3. 根据检测结果调整参数,详见参数包说明。