1CSYN(8) System Manager's Manual CSYN(8)
2
3
4
6 csyn - ceph synthetic workload generator
7
9 csyn [ -m monaddr:port ] --syn command ...
10
12 csyn is a simple synthetic workload generator for the Ceph distributed
13 file system. It uses the userspace client library to generate simple
14 workloads against a currently running file system. The file system
15 need not be mounted via cfuse(8) or the kernel client.
16
17 One or more --syn command arguments specify the particular workload, as
18 documented below.
19
21 -d Detach from console and daemonize after startup.
22
23 -c ceph.conf, --conf=ceph.conf
24 Use ceph.conf configuration file instead of the default
25 /etc/ceph/ceph.conf to determine monitor addresses during
26 startup.
27
28 -m monaddress[:port]
29 Connect to specified monitor (instead of looking through
30 ceph.conf).
31
32 --num_client num
33 Run num different clients, each in a separate thread.
34
35 --syn workloadspec
36 Run the given workload. May be specified as many times as
37 needed. Workloads will normally run sequentially.
38
40 Each workload should be preceeded by --syn on the command line. This
41 is not a complete list.
42
43 mknap path snapname
44 Create a snapshot called snapname on path.
45
46 rmsnap path snapname
47 Delete snapshot called snapname on path.
48
49 rmfile path
50 Delete/unlink path.
51
52 writefile sizeinmb blocksize
53 Create a file, named after our client id, that is sizeinmb MB by
54 writing blocksize chunks.
55
56 readfile sizeinmb blocksize
57 Read file, named after our client id, that is sizeinmb MB by
58 writing blocksize chunks.
59
60 rw sizeinmb blocksize
61 Write file, then read it back, as above.
62
63 makedirs numsubdirs numfiles depth
64 Create a hierarchy of directories that is depth levels deep.
65 Give each directory numsubdirs subdirectories and numfiles
66 files.
67
68 walk Recursively walk the file system (like find).
69
70
72 csyn is part of the Ceph distributed file system. Please refer to the
73 Ceph wiki at http://ceph.newdream.net/wiki for more information.
74
76 ceph(8), cfuse(8)
77
78
79
80 CSYN(8)