2 .\" Based on man page by Hushan Jia
3 .\" https://bugzilla.redhat.com/show_bug.cgi?id=733179
5 .TH filebench 1 "Sep 1, 2011" "revision 01" "USER COMMANDS"
7 filebench \- interprets WML script and generates apporpriate filesystem workload
9 .B /usr/benchmarks/filebench/bin/filebench [-f <filename>] [-h]
12 is a file system and storage benchmark that allows to generate a large variety of workloads. Unlike typical benchmarks it is very flexible and allows to minutely specify (any) applications' behaviour using extensive Workload Model Language (WML). Filebench uses loadable workload personalities to allow easy emulation of complex applications (e.g., mail, web, file, and database servers). Filebench is quick to set up and easy to use compared to deploying real applications. It is also a handy tool for micro-benchmarking.
15 includes many features to facilitate file system benchmarking:
17 Multiple workload types support via loadable personalities
19 Ships with more than 40 pre-defined personalities, including the one that describe mail, web, file, and database servers behaviour
21 Easy to add new personalities using reach Workload Model Language (WML)
23 Multi-process and multi-thread workload support
25 Configurable directory hierarchies with depth, width, and file sizes set to given statistical distributions
27 Support of asynchronous I/O and process synchronization primitives
29 Integrated statistics for throughput, latency, and CPU cycle counts per system call
34 use specified file as an input instead of stdin
40 Run filebench interactively:
42 .B $ /usr/benchmarks/filebench/bin/filebench
43 Start filebench interactive shell, filebench prompt will appear after that.
45 .B filebench> load fileserver
46 Load fileserver personality using load command.
48 .B filebench> set $dir=/mnt
49 After personality is loaded, tunables of the workload personality can be set. Here we change the benchmark directory to /mnt where the file system we want to benchmark is presumably mounted.
52 Start workload for 60 seconds. After 60 seconds of the run the statistics is printed and Filebench exits.
54 Run filebench non-interactively:
56 .B filebench -f /usr/share/filebench/workloads/fileserver.f
57 Run filebench non-interactively, however, you need to add 'run <time>' to the end of the workload personality file before calling filebench.