FS_MARK(1)

πŸ¦‹ fs_mark β€” the file-system stress-test bestie

okay so bestie, this is the manual page for fs_mark, a lil User Commands legend from way back in March 2012 (yes she's vintage, she's still iconic). buckle up πŸŽ€


✨ NAME ✨

fs_mark β€” benchmark synchronous/async file creation πŸ’…


🌸 SYNOPSIS 🌸

fs_mark [OPTIONS] -d DIRECTORY [-d DIRECTORY ...]

πŸ’– DESCRIPTION πŸ’–

so like, fs_mark exists to give your file system some low level bashing. no cap. she's not here to be gentle.

the write pattern she's obsessed with is heavily synchronous IO across multiple directories, drives, etc. β€” like, she's throwing sync writes at everything all at once and seeing what survives. it's giving chaos, it's giving benchmark, it's giving "your filesystem is the main character and we're testing her under pressure" πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -h β€” prints the usage info and dips. bye bestie πŸ‘‹
  • -k β€” keeps the files around after every single iteration. no cleanup, we hoard πŸ—‚οΈ
  • -F β€” runs until the filesystem is literally FULL. she will not stop, she will not chill πŸ’€
  • -SSyncmethod β€” picks which method gets used for syncing changes to disk. the options are:
    • 0 β€” No Sync
    • 1 β€” fsyncBeforeClose
    • 2 β€” sync/1_fsync
    • 3 β€” PostReverseFsync
    • 4 β€” syncPostReverseFsync
    • 5 β€” PostFsync
    • 6 β€” syncPostFsync
  • -Dnumber β€” use number subdirectories πŸ—‚οΈ
  • -Nnumber β€” use number files in each subdirectory, round robin mode πŸ”„
  • -ddirectory β€” use directory. can be specified multiple times (stack 'em up bestie) πŸ“
  • -llogfile β€” log everything to logfile πŸ“
  • -Lnumber β€” repeat the benchmark number of iterations πŸ”
  • -nnumber β€” use number of files per iteration ✨
  • -pnumber β€” use number of total bytes for file names πŸ”’
  • -rnumber β€” use number of random bytes in file names 🎲
  • -sbyte_count β€” use byte_count bytes as the size of each file πŸ“
  • -tnumber β€” use number of threads 🧡
  • -wnumber β€” use number of bytes per write() syscall ✍️

πŸ‘‘ AUTHORS πŸ‘‘

fs_mark was written by Ric Wheeler <ric@redhat.com>. πŸ’–

this manual page was written by Martin Steigerwald <ms@teamix.de>, for the Debian project (but may be used by others). 🫢


ngl bestie, she's a filesystem-crunching queen and this doc has been her press kit since March 2012. treat your drives with love, or don't, she's literally built to find out what happens either way πŸ’…βœ¨

that's the whole vibe, fr fr β€” fs_mark, Benchmark synchronous/... , March 2012 🌈🌸