Giter VIP home page Giter VIP logo

Comments (5)

masonr avatar masonr commented on June 8, 2024

I agree that dd (and ioping for that matter) are both inadequate measures of disk performance. I did try to get fio working with this, however it'll either require elevated privileges (to install fio) or the user to install prerequisites (building fio from source), both of which I'm trying to avoid for this script.

As an alternative, I'm considering baking in something that will detect if fio is installed and available on the user's system and use that in place of dd/ioping, if detected. This will get around both requirements (elevated privileges and installed prereqs), but can still use a more accurate disk performance test if the user has fio installed.

from yet-another-bench-script.

Daniel15 avatar Daniel15 commented on June 8, 2024

I'm considering baking in something that will detect if fio is installed and available on the user's system and use that in place of dd/ioping, if detected

This is a good idea. I wouldn't even use dd as a fallback; I'd just print out an error message like "cannot do disk I/O speed test unless fio is installed"

What about building a statically-linked version of fio and downloading it in the script? That might work too.

from yet-another-bench-script.

masonr avatar masonr commented on June 8, 2024

What about building a statically-linked version of fio and downloading it in the script? That might work too.

If I can get it to compile and work on other machines, I'll definitely do that since it's the same approach I'm taking with ioping. The couple attempts I made at this resulted in the compiled binary not working correctly on other machines (some it did, some it didn't). I'll take another stab at it soon and see if I can get it to compile and to run on other machines without any issues. I'll likely have to compile a 32-bit and a 64-bit version, but that's fine.

from yet-another-bench-script.

masonr avatar masonr commented on June 8, 2024

fio implemented within 2c74b1a

from yet-another-bench-script.

Daniel15 avatar Daniel15 commented on June 8, 2024

Thank you @masonr! This is great :D

from yet-another-bench-script.

Related Issues (20)

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.