Giter Club home page Giter Club logo

fio_auto_test's Introduction

FIO_AUTO_TEST

This image will execute disk performance test tasks and generate report automatically

该容器镜像实现了磁盘性能的测试。

使用时需要把存储挂载到容器 /var/log/fio/results和/var/log/fio/reports路径

可以设置的环境变量如下

ENV TEST_FILE=/tmp/fiotest #需要测试的磁盘路径,对应fio测试命令里的-filename取值

ENV FILE_SIZE=5G #需要测试的文件大小,对应fio测试命令里的-size取值

ENV RUN_TIME=300 #需要测试的单任务执行时间,对应fio测试命令里的-runtime取值

ENV BLOCK_SIZE='4k 1024k' #需要测试的block size,对应fio测试命令里的-bs取值,不同取值中间以空格隔开

ENV TEST_METHOD='read write rw' #需要测试的读写方式,对应fio测试命令里的-rw取值,不同取值中间以空格隔开

ENV READ_RATE=70 #混合读写时的读比例,对应fio测试命令里的-rwmixread取值,不同取值中间以空格隔开

ENV TEST_TIMES=3 #测试的组数

测试时长取决传入参数,可以采用如下方法预估

测试总时间=(BLOCK_SIZE类型数) * ( TEST_METHOD类型数 ) * ( 测试组数TEST_TIMES) * (单次测试执行时间RUN_TIME)

测试完成后,原始记录保存在 results目录

测试报告保存在reports目录

fio_auto_test's People

Contributors

pan112358 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.