SHARE
Facebook X Pinterest WhatsApp

Tip of the Trade: FileBench

Written By
thumbnail Carla Schroder
Carla Schroder
Jul 20, 2010
ServerWatch content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More



Solaris continues to deliver sophisticated diagnostic and testing utilities. It’s latest tool is a significantly-overhauled FileBench. FileBench is a filesystem testing framework like no other. The comprehensive and customizable framework measures and compares file system performance on Solaris.

Push Solaris filesystem testing to the limit with FileBench, a comprehensive and customizable framework that measures and compares file system performance.

Discuss this article in the ServerWatch discussion forum

Need a Definition?

FileBench lets you create realistic profiles, or configurations, that emulate the real-world behavior of your own applications. It enables you to stress-test and realistically benchmark systems. FileBench comes with a batch of prefab profiles for various servers and functions, such as mail, Web, and fileservers, and tasks such as reading, writing, copying and deleting files. For admins on simple setups this may be enough.

The real power of FileBench, however, comes through in its adaptability. One way to use it is to make a few runs using profiles that match a particular server and application set, and create your own custom benchmarks. Then, run those benchmarks on different systems or tweak the profiles to figure out your optimal configuration. You can make direct comparisons of different degrees of caching, tweaking disk I/O, memory management, CPU tuning, application tuning and so forth.

FileBench comes with its own language, .f, for creating profiles. Don’t worry, .f isn’t complex or weird. It is a clean, straightforward language that is easily picked up. Here’s an example from the Quickstart guide:

DEFAULTS {
        runtime = 120;         dir = /tmp;         stats = /tmp;         filesystem = tmpfs;         description = "fileio tmpfs"; } CONFIG seqread1m {
        function = generic;         personality = multistreamread;         filesize = 40g;         iosize = 1m; }

Many things are obvious even when you know nothing about .f, like directories, filesystems and how long to run the test.

When the run is complete, FileBench generates pretty color-coded HTML pages showing the results. Visit FileBench: File System Microbenchmarks for tutorials and help.

thumbnail Carla Schroder

Carla Schroder is a ServerWatch contributor.

Recommended for you...

What Is a Container? Understanding Containerization
What Is a Print Server? | How It Works and What It Does
Nisar Ahmad
Dec 8, 2023
What Is a Network Policy Server (NPS)? | Essential Guide
Virtual Servers vs. Physical Servers: Comparison and Use Cases
Ray Fernandez
Nov 14, 2023
ServerWatch Logo

ServerWatch is a top resource on servers. Explore the latest news, reviews and guides for server administrators now.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.