Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 742 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 742 Bytes

mdbench

Simple filsystem metadata operations benchmark

Usage: mdbench [options]

where options are: -f, --files : number of generated files per directory -d, --dirs : number of generated directories to generate -s, --size : size of generated files in B/K/M/G -p, --path

: directory where the test should run -h, --help : helpl message

The file size can be specified in human friendly format, e.g.: 1K, 256M. 4G.

$ ./mdbench.py -d 10 -p /mnt/exports/data/
46236.36 dir creates per second
12963.49 files creates per second
36035.65 files stats per second
33829.84 files removes per second
46262.03 dir removes per second
$