ceph-syn8
Ceph synthetic workload generator
Usage
ceph-syn [-m
monaddr:port]
--syn
command ...
Overview
ceph-syn is a simple synthetic workload generator for the Ceph distributed file system. It uses the userspace client library to generate simple workloads against a currently running file system. The file system need not be mounted via ceph-fuse(8) or the kernel client.
One or more --syn command arguments specify the particular workload, as documented below.
Options
-
-d -
Detach from console and daemonize after startup.
-
-c ceph.conf, --conf=ceph.conf -
Use ceph.conf configuration file instead of the default
/etc/ceph/ceph.confto determine monitor addresses during startup.
-
-m monaddress[:port] -
Connect to specified monitor (instead of looking through
ceph.conf).
-
--num_client num -
Run num different clients, each in a separate thread.
-
--syn workloadspec -
Run the given workload. May be specified as many times as needed. Workloads will normally run sequentially.
Workloads
Each workload should be preceded by --syn on the command line. This is not a complete list.
mknappath snapname-
Create a snapshot called snapname on path.
rmsnappath snapname-
Delete snapshot called snapname on path.
rmfilepath-
Delete/unlink path.
writefilesizeinmb blocksize-
Create a file, named after our client id, that is sizeinmb MB by writing blocksize chunks.
readfilesizeinmb blocksize-
Read file, named after our client id, that is sizeinmb MB by writing blocksize chunks.
rwsizeinmb blocksize-
Write file, then read it back, as above.
makedirsnumsubdirs numfiles depth-
Create a hierarchy of directories that is depth levels deep. Give each directory numsubdirs subdirectories and numfiles files.
walk-
Recursively walk the file system (like find).
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 8 (Jessie)