1.0.0 • Published 1 year ago

rustyweightbench v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

rustyweightbench

A no-fills, quick C util to test system write performance. Don't stare directly at it.

Usage

To use the script, change to the srcdirectory.

Then compile it with the following command:

gcc -o rwb rwb.c

Then run it with the write size and number of writes to test as arguments:

./rwb <write_size> <num_writes>

For example:

./rwb 4096 1000

This would write 1000 blocks of 4096 bytes each to disk and output the time taken, system time taken, min load, max load, and I/O stats.