1filebench(1) USER COMMANDS filebench(1)
2
3
4
6 filebench - interprets WML script and generates appropriate filesystem
7 workload
8
10 filebench [-f <filename>] [-h]
11
13 Filebench is a file system and storage benchmark that allows to gener‐
14 ate a large variety of workloads. Unlike typical benchmarks it is very
15 flexible and allows to minutely specify (any) applications' behaviour
16 using extensive Workload Model Language (WML). Filebench uses loadable
17 workload personalities to allow easy emulation of complex applications
18 (e.g., mail, web, file, and database servers). Filebench is quick to
19 set up and easy to use compared to deploying real applications. It is
20 also a handy tool for micro-benchmarking.
21
22 Filebench includes many features to facilitate file system benchmark‐
23 ing:
24
25 · Multiple workload types support via loadable personalities
26
27 · Ships with more than 40 pre-defined personalities, including the one
28 that describe mail, web, file, and database servers behaviour
29
30 · Easy to add new personalities using reach Workload Model Language
31 (WML)
32
33 · Multi-process and multi-thread workload support
34
35 · Configurable directory hierarchies with depth, width, and file sizes
36 set to given statistical distributions
37
38 · Support of asynchronous I/O and process synchronization primitives
39
40 · Integrated statistics for throughput, latency, and CPU cycle counts
41 per system call
42
43
45 -f <filename>
46 use specified file as an input instead of stdin
47
48 -h Display verbose help
49
51 Run filebench interactively:
52
53 $ filebench
54 Start filebench interactive shell, filebench prompt will appear
55 after that.
56
57 filebench> load fileserver
58 Load fileserver personality using load command.
59
60 filebench> set $dir=/mnt
61 After personality is loaded, tunables of the workload personal‐
62 ity can be set. Here we change the benchmark directory to /mnt
63 where the file system we want to benchmark is presumably
64 mounted.
65
66 filebench> run 60
67 Start workload for 60 seconds. After 60 seconds of the run the
68 statistics is printed and Filebench exits.
69
70 Run filebench non-interactively:
71
72 filebench -f /usr/share/filebench/workloads/fileserver.f
73 Run filebench non-interactively, however, you need to add 'run
74 <time>' to the end of the workload personality file before call‐
75 ing filebench.
76
78 0 if OK,
79
80 1 if workload file is not found.
81
83 http://sourceforge.net/tracker/?group_id=133644&atid=727883
84
85
86
87
88revision 01 Sep 1, 2011 filebench(1)