1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio.git synced 2026-04-21 06:20:53 +00:00
No description
  • C 75.7%
  • Python 13.2%
  • Roff 6.3%
  • Shell 3.6%
  • Makefile 0.7%
  • Other 0.4%
Find a file
Jens Axboe 219f1c3503 Merge branch 'arm-select-eintr' of https://github.com/alex310110/fio
* 'arm-select-eintr' of https://github.com/alex310110/fio:
  helper_thread: Handle EINTR errno from select()
2026-04-16 10:56:35 -06:00
.github ci: switch to upload-artifact@v6 2026-03-10 14:30:21 -04:00
arch fio: fix formats under MIPS64/PPC 2025-08-26 17:51:48 -07:00
ci test: cleanup test artifacts as we are running 2025-12-18 16:33:42 -05:00
compiler Rename 'fallthrough' attribute to 'fio_fallthrough' 2022-03-30 17:31:36 -06:00
crc test, memcpy: reorder #includes 2025-10-08 15:59:06 +03:00
doc doc: build manpage from fio_doc.rst instead of fio_man.rst 2022-09-27 11:58:25 -04:00
engines engines/page_fault: minor style cleanups 2026-04-07 20:00:16 -06:00
examples page_fault: add mmap-backed ioengine for anonymous faults 2026-04-07 19:42:34 -06:00
exp Fix string copy compilation warnings 2019-06-04 08:52:49 -06:00
lib test, memcpy: reorder #includes 2025-10-08 15:59:06 +03:00
mock-tests mock-tests: assess per second latency recovery 2025-11-24 17:01:25 -08:00
os engines/io_uring: don't flag iowait for GET_EVENTS if feasible 2026-01-27 16:37:50 -07:00
oslib fix musl builds 2025-12-13 20:18:59 -08:00
profiles Rename fio_mutex into fio_sem 2018-03-15 09:56:43 -07:00
t t/zbd: avoid test case 71 failure with write_zone_remainder option 2026-03-03 19:11:54 -05:00
tools Re-introduce RWF_DONTCACHE 2025-02-20 13:07:41 -07:00
unittests unittests: add pcbuf simple unit test 2025-08-20 13:56:38 +03:00
.gitignore t/io_uring: store TSC rate in local file 2021-09-29 20:16:54 -06:00
.readthedocs.yaml Add .readthedocs.yaml file. 2024-12-16 12:57:15 -05:00
backend.c iolog: free io_piece log on thread cleanup 2026-04-07 09:52:03 +09:00
blktrace.c blktrace: fix compilation error on the uos system 2023-02-28 16:38:03 +08:00
blktrace.h blktrace.c: Add support for read_iolog_chunked 2022-01-20 11:40:42 -07:00
blktrace_api.h blktrace: change barrier to a flush 2018-04-26 14:52:03 -06:00
cairo_text_helpers.c fix missing headers in multiple files 2023-07-28 12:39:58 +03:00
cairo_text_helpers.h fix missing headers in multiple files 2023-07-28 12:39:58 +03:00
cconv.c zbd: introduce write_zone_remainder option 2026-03-03 19:11:54 -05:00
cgroup.c fio: work with cgroup2 as well 2018-06-29 07:50:34 -06:00
cgroup.h Fix compilation without cgroups 2018-06-29 08:00:29 -06:00
CITATION.cff Added citation.cff for easy APA/BibTeX citation directly from the Github repository 2022-03-20 14:04:22 +00:00
client.c fio: add latency steady state detection 2025-11-24 17:01:25 -08:00
client.h client: separate global options from multiple servers 2025-01-23 12:57:42 -05:00
configure fio: introduce the end_syncfs option 2026-03-01 23:22:27 -07:00
COPYING COPYING: update license file 2017-10-29 19:22:36 +00:00
dataplacement.c nvme/streams: avoid allocating too large a buffer 2024-08-05 18:15:24 +00:00
dataplacement.h dataplacement: remove FDP_MAX_RUHS 2024-07-17 19:41:40 +05:30
debug.c Refactor #includes and headers 2018-03-21 22:09:28 +00:00
debug.h sprandom: add debug facility 2025-08-20 13:56:37 +03:00
DEDUPE-TODO Mixed dedup and compression 2021-11-21 09:16:59 +02:00
dedupe.c Refactor for_each_td() to catch inappropriate td ptr reuse 2023-03-03 08:24:06 -05:00
dedupe.h Introducing support for generation of dedup buffers 2022-04-27 09:15:33 +03:00
diskutil.c fio_sem, diskutil: introduce fio_shared_sem and use it for diskutil lock 2025-05-13 12:07:01 -06:00
diskutil.h diskutil.h: fix missing headers wanted by the header 2023-07-27 21:57:48 +03:00
err.h Make err.h a bit more Windows friendly 2014-02-12 08:22:01 -07:00
eta.c eta: Use in_ramp_period() instead of opencoding it 2026-01-07 14:01:13 -05:00
example_latency_steadystate.fio fio: add latency steady state detection 2025-11-24 17:01:25 -08:00
fifo.c Refactor #includes and headers 2018-03-21 22:09:28 +00:00
fifo.h Refactor #includes and headers 2018-03-21 22:09:28 +00:00
file.h fio: introduce the end_syncfs option 2026-03-01 23:22:27 -07:00
filehash.c filehash: ignore hashed file with fd == -1 2021-06-17 10:55:20 -06:00
filehash.h filehash: move to separate allocation 2016-09-26 01:40:52 -06:00
filelock.c filelock: fix wrong file trylock assertion. 2020-08-07 13:22:43 +03:00
filelock.h filelock: bool conversion 2016-08-29 11:44:32 -06:00
filesetup.c fio: introduce the end_syncfs option 2026-03-01 23:22:27 -07:00
FIO-VERSION-GEN Fio 3.42 2026-04-06 20:11:47 -06:00
fio.1 Documentation: update the documentation to include the page_fault engine 2026-04-07 19:42:34 -06:00
fio.c gettime: remove non-clock_gettime fallback code 2025-10-10 00:53:26 +03:00
fio.h fio: introduce the end_syncfs option 2026-03-01 23:22:27 -07:00
fio_sem.c fio_sem: Remove a read_barrier() call 2020-06-21 19:19:27 -07:00
fio_sem.h fio_sem, diskutil: introduce fio_shared_sem and use it for diskutil lock 2025-05-13 12:07:01 -06:00
fio_shared_sem.c fio_sem, diskutil: introduce fio_shared_sem and use it for diskutil lock 2025-05-13 12:07:01 -06:00
fio_time.h Add option to specify ramp period by amount of IO 2026-01-07 14:01:53 -05:00
flist.h replace typeof with __typeof__ 2018-07-25 22:02:14 +08:00
flow.c flow: fix hang with flow control and zoned block devices 2020-12-07 16:56:37 -07:00
flow.h flow: add ability for weight-based flow control on multiple jobs 2020-08-31 16:49:03 +03:00
gclient.c cconv: Support pattern buffers of arbitrary size 2022-11-18 19:36:10 -05:00
gclient.h gfio: add and colorize graphs on main page, too 2012-09-25 14:39:36 +02:00
gcompat.c gcompat: gtk_widget_set_can_focus() for below 2.18 2012-03-26 20:31:32 +02:00
gcompat.h White space spring cleaning 2012-03-27 09:12:39 +02:00
gerror.c Use stdlib.h instead of malloc.h 2018-07-23 10:05:49 -06:00
gerror.h gfio: split some parts into gclient.c 2012-03-21 11:13:31 +01:00
gettime-thread.c Add thread_segments as needed 2020-11-13 09:57:22 -07:00
gettime.c gettime: remove non-clock_gettime fallback code 2025-10-10 00:53:26 +03:00
gettime.h gettime: Introduce fio_get_mono_time() 2020-09-20 16:09:30 -07:00
GFIO-TODO gfio: update TODO 2012-03-13 15:17:48 +01:00
gfio.c Remove all references to git.kernel.dk 2025-10-31 10:46:37 -06:00
gfio.h gfio: don't have multiple versions of main_ui 2020-06-02 08:20:03 -06:00
ghelpers.c gfio: add and colorize graphs on main page, too 2012-09-25 14:39:36 +02:00
ghelpers.h gfio: add and colorize graphs on main page, too 2012-09-25 14:39:36 +02:00
goptions.c goptions: correct postfix 2020-11-04 21:15:09 +08:00
goptions.h fix missing headers in multiple files 2023-07-28 12:39:58 +03:00
graph.c fio: replace malloc+memset with calloc 2023-04-20 09:43:30 -04:00
graph.h gfio: clear graphs for repeated runs on same connection 2012-09-26 14:11:49 +02:00
hash.h hash: cleanups 2022-07-01 15:03:39 -06:00
helper_thread.c helper_thread: Handle EINTR errno from select() 2026-04-15 15:23:04 -07:00
helper_thread.h helper_thread.h: forwardly declare structures fio_sem and sk_out 2023-07-27 22:23:24 +03:00
helpers.c fio: introduce the end_syncfs option 2026-03-01 23:22:27 -07:00
helpers.h fio: introduce the end_syncfs option 2026-03-01 23:22:27 -07:00
HOWTO.rst Documentation: update the documentation to include the page_fault engine 2026-04-07 19:42:34 -06:00
idletime.c cpus_allowed: use __NRPROCESSORS_CONF instead of __SC_NPROCESSORS_ONLN for non-sequential CPU ids 2022-10-22 09:58:46 +08:00
idletime.h idle-prof: Fix segment fault issue when run with '--idle-prof' and multiple output format normal,json 2018-06-07 20:27:25 -06:00
init.c fio: specify filename for --bandwidth-log option 2026-03-10 14:22:41 -04:00
io_ddir.h fio: introduce the end_syncfs option 2026-03-01 23:22:27 -07:00
io_u.c fio: introduce the end_syncfs option 2026-03-01 23:22:27 -07:00
io_u.h Merge branch 'verify_inflight' of https://github.com/noclip-code/fio 2025-08-05 15:56:35 -06:00
io_u_queue.c fio: enable cross-thread overlap checking with processes 2018-10-19 11:09:17 -06:00
io_u_queue.h fio: enable cross-thread overlap checking with processes 2018-10-19 11:09:17 -06:00
ioengines.c fio: introduce the end_syncfs option 2026-03-01 23:22:27 -07:00
ioengines.h fio: introduce the end_syncfs option 2026-03-01 23:22:27 -07:00
iolog.c verify: adjust fio_offset_overlap_risk to include randommap 2025-03-06 13:58:43 -05:00
iolog.h verify: make numberio uint64_t 2025-07-28 10:32:46 -06:00
json.c json: allow empty string values 2025-01-23 12:57:42 -05:00
json.h fixed bunch of memory leaks in json constructor 2022-04-17 21:33:17 +03:00
libfio.c libfio: fix crash when io_submit_mode=offload 2026-02-15 08:11:17 +02:00
log.c fix missing headers in multiple files 2023-07-28 12:39:58 +03:00
log.h Fix compilation on centos 7 2018-08-15 12:06:14 -06:00
Makefile page_fault: add mmap-backed ioengine for anonymous faults 2026-04-07 19:42:34 -06:00
memory.c memory: fix typo in cuda < 13 cuCtxCreate() 2025-10-10 14:56:44 -06:00
minmax.h replace typeof with __typeof__ 2018-07-25 22:02:14 +08:00
MORAL-LICENSE Moral license update 2015-02-06 09:09:29 -07:00
optgroup.c Revert "rpma: add librpma_apm_* and librpma_gpspm_* engines" 2024-08-29 13:55:27 +02:00
optgroup.h Revert "rpma: add librpma_apm_* and librpma_gpspm_* engines" 2024-08-29 13:55:27 +02:00
options.c options: add support more POSIX errnos 2026-03-18 18:36:10 +09:00
options.h options: free dump options list on exit 2021-02-18 10:59:26 +01:00
parse.c Revert "parse: check for NULL input" 2026-02-08 08:31:09 -07:00
parse.h fio: Some minor code cleanups 2024-03-05 10:54:36 -05:00
pcbuf.h sprandom: pcbuf.h add two-phase circular buffer header-only library 2025-08-20 13:56:37 +03:00
printing.c printing: use bigger on-stack buffer 2017-08-16 09:08:27 -06:00
printing.h gfio: Add "print" option for results page. 2012-03-27 08:14:48 +02:00
profile.c parse: get rid of raw option offsets 2014-02-11 14:19:38 -07:00
profile.h Remove prof_io_ops.fill_io_u_off(), .fill_io_u_size() and .get_next_file() 2018-03-09 10:20:30 -07:00
pshared.c pshared: Improve mutex_init_pshared_with_type() 2020-06-09 19:28:06 -07:00
pshared.h pshared: Add mutex_init_pshared_with_type() 2020-05-28 10:35:44 -06:00
rate-submit.c Record job start time to fix time pain points 2023-09-08 15:21:04 -05:00
rate-submit.h Fixup and improve per-thread data 2015-12-11 13:25:24 -07:00
README.rst Remove all references to git.kernel.dk 2025-10-31 10:46:37 -06:00
REPORTING-BUGS REPORTING-BUGS: add note about reports on malicious job files 2025-10-04 16:57:44 -06:00
rwlock.c Improve Valgrind instrumentation of memory allocations 2018-03-15 09:56:43 -07:00
rwlock.h Split mutex.c and .h each into three files 2018-03-15 09:54:43 -07:00
SERVER-TODO Add disk utilization to terse format output 2011-10-13 14:03:52 +02:00
server.c fio: add latency steady state detection 2025-11-24 17:01:25 -08:00
server.h zbd: introduce write_zone_remainder option 2026-03-03 19:11:54 -05:00
smalloc.c smalloc: add a comment explaining why scalloc does not zero memory 2024-06-12 13:06:09 -04:00
smalloc.h smalloc: print debug info on oom error 2019-07-31 14:17:44 -04:00
sprandom.c SPRandom Cache Size Behavior Implementation 2026-02-08 13:06:39 -07:00
sprandom.h SPRandom Cache Size Behavior Implementation 2026-02-08 13:06:39 -07:00
stat.c Fix stat_sem/rusage_sem deadlock during stats collection 2026-04-01 09:51:13 -04:00
stat.h fio: add latency steady state detection 2025-11-24 17:01:25 -08:00
STEADYSTATE-TODO steadystate: add some TODO items 2023-03-20 13:57:47 -04:00
steadystate.c fio: add latency steady state detection 2025-11-24 17:01:25 -08:00
steadystate.h fio: add latency steady state detection 2025-11-24 17:01:25 -08:00
td_error.c Change ARRAY_SIZE to FIO_ARRAY_SIZE 2021-01-06 11:32:59 -07:00
td_error.h Refactor #includes and headers 2018-03-21 22:09:28 +00:00
thread_options.h zbd: introduce write_zone_remainder option 2026-03-03 19:11:54 -05:00
tickmarks.c Use stdlib.h instead of malloc.h 2018-07-23 10:05:49 -06:00
tickmarks.h gfio: graphing updates 2012-03-14 10:25:44 +01:00
time.c time: fix ramp completion offload workers 2026-02-23 18:25:49 +02:00
trim.c Refactor #includes and headers 2018-03-21 22:09:28 +00:00
trim.h Refactor #includes and headers 2018-03-21 22:09:28 +00:00
verify-state.h t/verify-state: improve verify state inflight output 2025-09-04 22:52:23 +01:00
verify.c fio: rename random_state to offset_state 2026-01-13 15:41:55 +00:00
verify.h verify: add versioning to verify_header 2025-07-30 16:55:19 -06:00
workqueue.c workqueue: fix threads stall when running with io_submit_mode offload 2026-02-05 20:41:10 +02:00
workqueue.h Refactor #includes and headers 2018-03-21 22:09:28 +00:00
zbd.c zbd: introduce write_zone_remainder option 2026-03-03 19:11:54 -05:00
zbd.h zbd: add the recover_zbd_write_error option 2025-05-07 05:28:47 -06:00
zbd_types.h zbd: rename 'open zones' to 'write zones' 2023-06-08 14:39:07 -04:00
zone-dist.c Fix double free of zone cache data 2018-08-13 20:21:05 -06:00
zone-dist.h Fix double free of zone cache data 2018-08-13 20:21:05 -06:00

Overview and history
--------------------

Fio was originally written to save me the hassle of writing special test case
programs when I wanted to test a specific workload, either for performance
reasons or to find/reproduce a bug. The process of writing such a test app can
be tiresome, especially if you have to do it often.  Hence I needed a tool that
would be able to simulate a given I/O workload without resorting to writing a
tailored test case again and again.

A test work load is difficult to define, though. There can be any number of
processes or threads involved, and they can each be using their own way of
generating I/O. You could have someone dirtying large amounts of memory in a
memory mapped file, or maybe several threads issuing reads using asynchronous
I/O. fio needed to be flexible enough to simulate both of these cases, and many
more.

Fio spawns a number of threads or processes doing a particular type of I/O
action as specified by the user. fio takes a number of global parameters, each
inherited by the thread unless otherwise parameters given to them overriding
that setting is given.  The typical use of fio is to write a job file matching
the I/O load one wants to simulate.


Source
------

Fio resides in a git repo, the canonical place is:

	https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio

Snapshots are frequently generated and :file:`fio-git-*.tar.gz` include the git
meta data as well. Other tarballs are archives of official fio releases.
Snapshots can download from:

	https://brick.kernel.dk/snaps/

There are also two official mirrors. Both of these are automatically synced with
the main repository, when changes are pushed. If the main repo is down for some
reason, either one of these is safe to use as a backup:

	https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio.git

	https://github.com/axboe/fio.git


Mailing list
------------

The fio project mailing list is meant for anything related to fio including
general discussion, bug reporting, questions, and development. For bug reporting,
see REPORTING-BUGS.

An automated mail detailing recent commits is automatically sent to the list at
most daily. The list address is fio@vger.kernel.org, subscribe by sending an
email to fio+subscribe@vger.kernel.org or visit
https://subspace.kernel.org/vger.kernel.org.html.

Archives can be found here:

	https://www.spinics.net/lists/fio/

or here:

	https://lore.kernel.org/fio/

and archives for the old list can be found here:

	http://maillist.kernel.dk/fio-devel/


Author
------

Fio was written by Jens Axboe <axboe@kernel.dk> to enable flexible testing of
the Linux I/O subsystem and schedulers. He got tired of writing specific test
applications to simulate a given workload, and found that the existing I/O
benchmark/test tools out there weren't flexible enough to do what he wanted.

Jens Axboe <axboe@kernel.dk> 20060905


Maintainers
-----------

Fio is maintained by Jens Axboe <axboe@kernel.dk and
Vincent Fu <vincentfu@gmail.com> - however, for reporting bugs please use
the fio reflector or the GitHub page rather than email any of them
directly. By using the public resources, others will be able to learn from
the responses too. Chances are also good that other members will be able to
help with your inquiry as well.


Binary packages
---------------

Debian:
	Starting with Debian "Squeeze", fio packages are part of the official
	Debian repository. https://packages.debian.org/search?keywords=fio .

Ubuntu:
	Starting with Ubuntu 10.04 LTS (aka "Lucid Lynx"), fio packages are part
	of the Ubuntu "universe" repository.
	https://packages.ubuntu.com/search?keywords=fio .

Red Hat, Fedora, CentOS & Co:
	Starting with Fedora 9/Extra Packages for Enterprise Linux 4, fio
	packages are part of the Fedora/EPEL repositories.
	https://packages.fedoraproject.org/pkgs/fio/ .

Mandriva:
	Mandriva has integrated fio into their package repository, so installing
	on that distro should be as easy as typing ``urpmi fio``.

Arch Linux:
        An Arch Linux package is provided under the Community sub-repository:
        https://www.archlinux.org/packages/?sort=&q=fio

Solaris:
	Packages for Solaris are available from OpenCSW. Install their pkgutil
	tool (http://www.opencsw.org/get-it/pkgutil/) and then install fio via
	``pkgutil -i fio``.

Windows:
        Beginning with fio 3.31 Windows installers for tagged releases are
        available on GitHub at https://github.com/axboe/fio/releases. The
        latest installers for Windows can also be obtained as GitHub Actions
        artifacts by selecting a build from
        https://github.com/axboe/fio/actions. These require logging in to a
        GitHub account.

BSDs:
	Packages for BSDs may be available from their binary package repositories.
	Look for a package "fio" using their binary package managers.


Building
--------

Just type::

 $ ./configure
 $ make
 $ make install

Note that GNU make is required. On BSDs it's available from devel/gmake within
ports directory; on Solaris it's in the SUNWgmake package.  On platforms where
GNU make isn't the default, type ``gmake`` instead of ``make``.

Configure will print the enabled options. Note that on Linux based platforms,
the libaio development packages must be installed to use the libaio
engine. Depending on the distro, it is usually called libaio-devel or libaio-dev.

For gfio, gtk 2.18 (or newer), associated glib threads, and cairo are required
to be installed.  gfio isn't built automatically and can be enabled with a
``--enable-gfio`` option to configure.

To build fio with a cross-compiler::

 $ make clean
 $ make CROSS_COMPILE=/path/to/toolchain/prefix

Configure will attempt to determine the target platform automatically.

It's possible to build fio for ESX as well, use the ``--esx`` switch to
configure.

The HTTP engine is enabled depending on if the curl and openssl shared libraries
are detected on the system. For Ubuntu, these packages are libcurl4-openssl-dev
and libssl-dev.


Windows
~~~~~~~

The minimum versions of Windows for building/running fio are Windows 7/Windows
Server 2008 R2. On Windows, Cygwin (https://www.cygwin.com/) is required in
order to build fio. To create an MSI installer package install WiX from
https://wixtoolset.org and run :file:`dobuild.cmd` from the :file:`os/windows`
directory.

How to compile fio on 64-bit Windows:

 1. Install Cygwin (https://www.cygwin.com/). Install **make** and all
    packages starting with **mingw64-x86_64**. Ensure
    **mingw64-x86_64-zlib** are installed if you wish
    to enable fio's log compression functionality.
 2. Open the Cygwin Terminal.
 3. Go to the fio directory (source files).
 4. Run ``make clean && make -j``.

To build fio for 32-bit Windows, ensure the -i686 versions of the previously
mentioned -x86_64 packages are installed and run ``./configure
--build-32bit-win`` before ``make``.

It's recommended that once built or installed, fio be run in a Command Prompt or
other 'native' console such as console2, since there are known to be display and
signal issues when running it under a Cygwin shell (see
https://github.com/mintty/mintty/issues/56 and
https://github.com/mintty/mintty/wiki/Tips#inputoutput-interaction-with-alien-programs
for details).


Documentation
~~~~~~~~~~~~~

Fio uses Sphinx_ to generate documentation from the reStructuredText_ files.
To build HTML formatted documentation run ``make -C doc html`` and direct your
browser to :file:`./doc/output/html/index.html`.  To build manual page run
``make -C doc man`` and then ``man doc/output/man/fio.1``.  To see what other
output formats are supported run ``make -C doc help``.

.. _reStructuredText: https://www.sphinx-doc.org/rest.html
.. _Sphinx: https://www.sphinx-doc.org


Platforms
---------

Fio works on (at least) Linux, Solaris, AIX, HP-UX, OSX, NetBSD, OpenBSD,
Windows, FreeBSD, and DragonFly. Some features and/or options may only be
available on some of the platforms, typically because those features only apply
to that platform (like the solarisaio engine, or the splice engine on Linux).

Some features are not available on FreeBSD/Solaris even if they could be
implemented, I'd be happy to take patches for that. An example of that is disk
utility statistics and (I think) huge page support, support for that does exist
in FreeBSD/Solaris.

Fio uses pthread mutexes for signaling and locking and some platforms do not
support process shared pthread mutexes. As a result, on such platforms only
threads are supported. This could be fixed with sysv ipc locking or other
locking alternatives.

Other \*BSD platforms are untested, but fio should work there almost out of the
box. Since I don't do test runs or even compiles on those platforms, your
mileage may vary. Sending me patches for other platforms is greatly
appreciated. There's a lot of value in having the same test/benchmark tool
available on all platforms.

Note that POSIX aio is not enabled by default on AIX. Messages like these::

    Symbol resolution failed for /usr/lib/libc.a(posix_aio.o) because:
        Symbol _posix_kaio_rdwr (number 2) is not exported from dependent module /unix.

indicate one needs to enable POSIX aio. Run the following commands as root::

    # lsdev -C -l posix_aio0
        posix_aio0 Defined  Posix Asynchronous I/O
    # cfgmgr -l posix_aio0
    # lsdev -C -l posix_aio0
        posix_aio0 Available  Posix Asynchronous I/O

POSIX aio should work now. To make the change permanent::

    # chdev -l posix_aio0 -P -a autoconfig='available'
        posix_aio0 changed


Running fio
-----------

Running fio is normally the easiest part - you just give it the job file
(or job files) as parameters::

	$ fio [options] [jobfile] ...

and it will start doing what the *jobfile* tells it to do. You can give more
than one job file on the command line, fio will serialize the running of those
files. Internally that is the same as using the :option:`stonewall` parameter
described in the parameter section.

If the job file contains only one job, you may as well just give the parameters
on the command line. The command line parameters are identical to the job
parameters, with a few extra that control global parameters.  For example, for
the job file parameter :option:`iodepth=2 <iodepth>`, the mirror command line
option would be :option:`--iodepth 2 <iodepth>` or :option:`--iodepth=2
<iodepth>`. You can also use the command line for giving more than one job
entry. For each :option:`--name <name>` option that fio sees, it will start a
new job with that name.  Command line entries following a
:option:`--name <name>` entry will apply to that job, until there are no more
entries or a new :option:`--name <name>` entry is seen. This is similar to the
job file options, where each option applies to the current job until a new []
job entry is seen.

fio does not need to run as root, except if the files or devices specified in
the job section requires that. Some other options may also be restricted, such
as memory locking, I/O scheduler switching, and decreasing the nice value.

If *jobfile* is specified as ``-``, the job file will be read from standard
input.