Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 869 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 869 Bytes

mdbench

Simple filsystem metadata operations benchmark

Usage: mdbench [options] [PATH]

  where options are:
    -f, --files <N>  : number of generated files per directory
    -d, --dirs  <N>  : number of generated directories to generate
    -s, --size  <N>  : size of generated files in B/K/M/G
    -n, --no-clean   : do not delete created files and directories
    -h, --help       : help message

  and PATH points to a directory where the test should run. Currect directory is
  used of not specified.
  
The file size can be specified in human friendly format, e.g.: 1K, 256M. 4G.
$ ./mdbench.py -d 10 /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
$