Coder Social home page Coder Social logo

leeliu / dbench Goto Github PK

View Code? Open in Web Editor NEW
251.0 251.0 141.0 9 KB

Benchmark Kubernetes persistent disk volumes with fio: Read/write IOPS, bandwidth MB/s and latency

License: MIT License

Shell 96.88% Dockerfile 3.12%
benchmark fio iops kubernetes latency persistent-volume storage

dbench's People

Contributors

leeliu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dbench's Issues

msec and grep option issue when I run AWS EFS as PVC

Issue title:

Mostly okay but when I run AWS EFA as PVC, write Latency cannot show up properly.

1. msec
When msec have occur, Dbench summary could not show up Average Latency (usec) like below.

==================
= Dbench Summary =
==================
Random Read/Write IOPS: 25.9k/7371. BW: 306MiB/s / 100MiB/s
Average Latency (usec) Read/Write: 2651.74 / 
Sequential Read/Write: 313MiB/s / 102MiB/s
Mixed Random Read/Write IOPS: 7408 / 2457

grep cannot figure it out.

Thus I change the code like this.

 READ_LATENCY_VAL=$(echo "$READ_LATENCY"|grep ' lat.*avg'|grep -Eoi 'avg=[\b 0-9.]+'|cut -d'=' -f2)

2. grep -P option for unit
usec is not dynamic variable. so changed like below:

 READ_LATENCY_UNIT=$(echo "$READ_LATENCY"|grep ' lat.*avg'|grep -oP '(?<=lat )[^ ]*'|grep -Eoi '[a-z]+')

current grep doesn't have grep -P(perl) type.

Run status group 0 (all jobs):
   READ: bw=6502KiB/s (6658kB/s), 6502KiB/s-6502KiB/s (6658kB/s-6658kB/s), io=95.3MiB (99.9MB), run=15003-15003msec
grep: unrecognized option: P
BusyBox v1.25.1 (2016-10-26 16:15:20 GMT) multi-call binary.

Thus I rebuild it from alpine.

Current output (run AWS EFS)

==================
= Dbench Summary =
==================
Random Read/Write IOPS: 24.5k/7514. BW: 298MiB/s / 100MiB/s
Average Latency Read/Write: 2449.78(usec) / 8069.02(usec)
Sequential Read/Write: 302MiB/s / 102MiB/s
Mixed Random Read/Write IOPS: 7414 / 2493

Here is the source which is modified above.
https://github.com/sysnet4admin/dbench

I would like to PR but...it is not working in here....

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.