fs_mark(1)

fs_mark1

Benchmark synchronous/async file creation

Usage

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

Overview

fs_mark is meant to give some low level bashing to file systems. The write pattern that it concentrates on is heavily synchronous IO across multiple directories, drives, etc.

Options

-h

Print usage and exit.

-k

Keep files after each iteration.

-F

Run until filesystem is full.

-SSyncmethod

Method to be used for synchronizing changes to disk:

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 in round robin mode.

-ddirectory

Use directory. Can be specified multiple times.

-llogfile

Log to logfile.

-Lnumber

Repeat the benchmark number of iterations.

-nnumber

Use number of files per iteration.

-pnumber

Use number of total bytes file names.

-rnumber

Use number of random bytes in file names.

-sbyte_count

Use number of bytes as size of each file.

-tnumber

Use number of threads.

-wnumber

Use number (of bytes per write() syscall.

Releases

Unchanged in 7 releases since Debian 7 (Wheezy).

  1. 7–13

Authors

fs_mark was written by Ric Wheeler <[email protected]>.

This manual page was written by Martin Steigerwald <[email protected]>, for the Debian project (but may be used by others).

From fsmark 3.3-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.