File System

 
 
 

The file system tests are invoked by the -fs switch. These tests consist of opening files, closing files, listing directories, verifying the existence of files, creating files, and deleting files.

The behavior of file-system tests is controlled by the following sub-options:

files=<n> where <n> is the number of files to create. This suboption measures the speed at which files can be created and the number of creations which can be done per second, then verifies the existence of each file to measure the performance of determining a file's existence. Once all files are verified, each file is opened, then all files are closed and timing data for closing files is collected. The last three operations—verifying the existence of files, opening files, and closing files—are be performed in various orders (sequential, reverse, random, butterfly). The default is 256 files.

subdir=<l> where <l> is the number of subdirectory levels. This suboption indicates that files created by the test will be spread across a directory tree of depth <l>. The default is to create a flat directory structure. Valid range is from 1 to 16.

loc=<path> where <path> indicates where files will be created. A directory will be created below <path>. That directory will contain all the files created during the execution of the tool. When the tool finishes its execution, the created subdirectory will be destroyed along with all its contents. The default is specified by the TMP environment variable.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License