Git Product home page Git Product logo

filestress's Introduction

FileStress

FileStress is a performance measurement and stress test tool to measure how the file system, hard disk, and memory management behaves.

Its primary use case is to qualify SSD drives if they can keep their sustained write rate over many minutes or even hours. A very insightful article about SSD performance is

After reading that article you know that the offical numbers reported by industry leading benchmarks such as CrystalDiskMark do not show the full picture. For home use cases these benchmark numbers are ok but if you need e.g. to store high volume sensor data you will learn the hard way that the vendor reported numbers can be much lower. FileStress was created to fill the gap to measure not only best case but also sustained write performance of SSDs or any drive.

Usage:

Write 10 MB sized files from (default) two threads on the D drive for 2 hours (120 minutes)

C:>FileStress.exe -throughput 120 D:

Drive D:\ has 393 GB free. 
Sleep for 6000ms
Execute test on 2 threads
...
Open:   0 ms, Close:   2 ms, Write:  37 ms, Last 10s 675  MB/s
Open:   0 ms, Close:   1 ms, Write:  37 ms, Last 10s 675  MB/s
Open:   0 ms, Close:   2 ms, Write:  36 ms, Last 10s 675  MB/s
Open:   0 ms, Close:   2 ms, Write:  22 ms, Last 10s 675  MB/s
Open:   0 ms, Close:   2 ms, Write:  44 ms, Last 10s 675  MB/s
Details can be found in file c:\Througput_MyHomeMachine_10MB_120minutes_17_31_07.csv
Cleaning 1067 temp files from c:\TempFilePerformanceTest

The resulting CSV File can be used to plot Average throughput over time to check if the drive has some issues with keeping a specific data rate for a longer time. Below is a consumer SSD which has according to CrystalDiskMark this performance

Crystal Disk Mark Perf

If we look at the FileStress generated CSV data which was writing for 2 hours we arrive at 90 MB/s sustained write performance which is far off the 480 MB/s reported by CrystalDiskMark. Although we did repeat the test 9 times with a 64 GiB file CrystalDiskmark shows not the sustained write rate! FileStress data shows that the sustained write performance degrades after around 3 minutes which is not much.

Sustained Write Performance

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.