History log of /external/fio/examples/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a52b813412a0d5c3d301819808a23de13b901ccc 16-Feb-2015 Jens Axboe <axboe@fb.com> examples/ssd-test.fio: bump size to 10G

1G is a bit too tiny for most devices today, bump it to 10G.

Signed-off-by: Jens Axboe <axboe@fb.com>
sd-test.fio
b939bf93b1e1571ab1d396e956d5b2775720e3c5 14-Jan-2015 Jens Axboe <axboe@fb.com> rbd example: 'invalidate=false' no longer necessary

As of commit 903b2812e9c7, rbd does support cache invalidation.

Signed-off-by: Jens Axboe <axboe@fb.com>
bd.fio
bab12618b96503981bb4fb22d10c290a251fa0e8 03-Dec-2014 Jens Axboe <axboe@fb.com> Fix a few spelling errors

Signed-off-by: Jens Axboe <axboe@fb.com>
bd.fio
b42fab1526007dca223030ed0306d915c59c3507 19-Aug-2014 rootfs <hchen@redhat.com> fix re-open failure issue when using gluster ioengine

Signed-off-by: rootfs <hchen@redhat.com>
fapi.fio
44e2ab567beaf02ac03c898409fd6397d70839ef 14-Aug-2014 Manish Mandlik <manishm@fb.com> Update libhdfs engine documention and options

Signed-off-by: Jens Axboe <axboe@fb.com>
ibhdfs.fio
dc632d12d74bab6a439aaf8c317d250d3a8def5c 17-Feb-2014 Danny Al-Gaaf <danny.al-gaaf@bisect.de> add example job file for the RBD engine

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
bd.fio
3e260a46ea9a8de224c3d0a29a608da3440f284a 09-Dec-2013 Jens Axboe <axboe@kernel.dk> Add options to have fio latency profile a device

This adds three new options:

- latency_target. This defines a specific latency target, in usec.
- latency_window. This defines the period over which fio samples.
- latency_percentile. This defines the percentage of IOs that must
meet the criteria specified by latency_target/latency_window.

With these options set, fio will run the described workload and
vary the queue depth between 1 and iodepth= to find the best
performing spot that meets the criteria specified by the three
options.

A sample job file is also added to demonstrate how to use this.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
atency-profile.fio
de8f6de97438d5664cd8765e60102b9109a273e2 27-Sep-2013 Anatol Pomozov <anatol.pomozov@gmail.com> Fix misspellings using 'codespell' tool

Signed-off-by: Jens Axboe <axboe@kernel.dk>
4defrag2.fio
bf974737b15bad8d740f10503e9eab6e0b420aa2 26-Jul-2013 Jens Axboe <axboe@kernel.dk> Update sample atomic write job file

Signed-off-by: Jens Axboe <axboe@kernel.dk>
usion-aw-sync.fio
21356fee2727b71ef72b39414955c5e7e98f97c1 22-Jul-2013 Shawn Bohrer <sbohrer@rgmadvisors.com> net: Add UDP multicast example job file

This adds a pingpong UDP multicast example with two readers.

Signed-off-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
etio_multicast.fio
8f91cc3f7835cdca84944d456e1da77d44a7c354 11-Apr-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'gfio' into gfio-int

Conflicts:
backend.c
fio.c
fio.h
init.c
libfio.c
options.c
thread_options.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
e8040c67de743a6e6e18d3dcfd413bd04953da6d 11-Apr-2013 Jens Axboe <axboe@kernel.dk> Rename job files

gfio uses a .fio or .ini ending.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
mbs_clients
mbs_clients.fio
io-read
io-read.fio
puio
puio.fio
isk-zone-profile
isk-zone-profile.fio
4defrag
4defrag.fio
4defrag2
4defrag2.fio
nospc-pressure
nospc-pressure.fio
alloc
alloc.fio
low
low.fio
sx
sx.fio
usion-aw-sync.fio
usion-aw-sync.ini
ometer-file-access-server
ometer-file-access-server.fio
etio
etio.fio
ull
ull.fio
uma
uma.fio
dmaio-client
dmaio-client.fio
dmaio-server
dmaio-server.fio
sd-test
sd-test.fio
urface-scan
urface-scan.fio
iobench-example
iobench-example.fio
ipf
ipf.fio
1e5324e723116a5faf9da686993cc79c14d62d4b 14-Nov-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
backend.c
client.c
fio.h
options.c
parse.c
parse.h
server.c
server.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
e25839d4cb5fefcb5ffce76128a4faedb177e7af 06-Nov-2012 Jens Axboe <axboe@kernel.dk> Add sample zipf distribution randomizer

Instead of just doing purely random IO where each block is
touched exactly (or close to, depending on random map) once,
add a zipf distribution scheme where a selectable theta
defines the spread and frequency of blocks read/written.

Committing this so I don't lose it. Needs a few changes,
for instance we need to hash the zipf output so that
the spread doesn't always just favor the lower LBA range.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
ipf
d0b937ed8841484c2d651919943e8e4c70dfd460 20-Oct-2012 Yufei Ren <renyufei83@gmail.com> Fine-grained job level numa control

Two new options, numa_cpu_nodes and numa_mem_policy, are created
for a fine-grained job level numa control. Please refer HOWTO and
README for detailed description.
A example job, examples/numa, is added as well.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
uma
2557f7e66176884783053fc44bda91a6781a3725 20-Oct-2012 Yufei Ren <renyufei83@gmail.com> cpuio engine cpuload bug fix

Current cpu ioengine always bruns out 100 percent cpu cycles
no matter what the cpuload value is. Since no data is transferred
with cpuio, bytes_done would be ZERO. Consequently, think_time
is omitted and loops keeps running.

A cpuio example is added as well.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
puio
e65a950ab73d7d91f267ad7f7b084d94e266fcb0 24-Sep-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
backend.c
fio.h
io_u.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
d79db1222039e906dd49ae290daa59701f4e2385 24-Sep-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
backend.c
client.c
fio.h
init.c
io_ddir.h
options.c
server.h
stat.c
stat.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
8b28bd41375930664a0ff9ff9b101a88ac416ac5 23-Sep-2012 Dmitry Monakhov <dmonakhov@openvz.org> backend: Add configurable non fatal error list

Sometimes it is reasonable to perform test nearly system limits where
errors are possible and expected, in that case one may provide non
fatal error list which will be ignored during execution.
This patch add two options:
ignore_error: List of non fatal error
error_dump: Whenever ignored list should be dumped to log.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
nospc-pressure
d54fce84e5a022d2c4790fb5c13235d3368f4f08 20-Sep-2012 Dmitry Monakhov <dmonakhov@openvz.org> update documentation for falloc and e4defrag engines

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
4defrag
4defrag2
alloc
9c25d2e3f498707c4fd5a4bb0adf9867ecb17768 19-Sep-2012 Dmitry Monakhov <dmonakhov@openvz.org> engine: add e4defrag engine

IO engine that does regular EXT4_IOC_MOVE_EXT ioctls to simulate
defragment activity

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
4defrag
6ef63580ab6e3d73f205d05b126dbeb33e0508bc 18-Sep-2012 Santhosh Koundinya <SKoundinya@fusionio.com> Add support for Fusion-io atomic write engine

Signed-off-by: Jens Axboe <axboe@kernel.dk>
usion-aw-sync.ini
58a525d85eecbab1131d6d54e24b8b9c0dd906d6 22-Aug-2012 Jens Axboe <axboe@kernel.dk> example: add SSD steady state test case

Simple test case:

- Start by filling a drive with large block sequential writes
- Once that is done, start filling it with random 4k writes.

At some point the latter phase will hit steady state. Progress
is logged.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
sd-steadystate.fio
97908e6b8161634bbc1e3702dc4b762d1e242747 22-Aug-2012 Jens Axboe <axboe@kernel.dk> example: add SSD steady state test case

Simple test case:

- Start by filling a drive with large block sequential writes
- Once that is done, start filling it with random 4k writes.

At some point the latter phase will hit steady state. Progress
is logged.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
sd-steadystate.fio
7a8a9b20585dd3fd3fd7f635e45dfc609064fdc8 08-Mar-2012 Jens Axboe <axboe@kernel.dk> example: bump netio example to 100g transfer

Signed-off-by: Jens Axboe <axboe@kernel.dk>
etio.fio
bd755d307bc7da99e3df2d710b2129aa39b6874a 29-Feb-2012 Jens Axboe <axboe@kernel.dk> Rename job files

The GUI would prefer job files to have a fixed extensions,
makes it much easier to navigate. So hence forth all fio
job files shall be named foo.fio.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
mbs_clients
mbs_clients.fio
io-read
io-read.fio
isk-zone-profile
isk-zone-profile.fio
low
low.fio
sx
sx.fio
ometer-file-access-server
ometer-file-access-server.fio
etio
etio.fio
ull
ull.fio
dmaio-client
dmaio-client.fio
dmaio-server
dmaio-server.fio
sd-test
sd-test.fio
urface-scan
urface-scan.fio
iobench-example
iobench-example.fio
9e684a4976b7934f5ce011ea281dfef3352e5738 20-Feb-2012 Dan Ehrenberg <dehrenberg@google.com> Token-based flow control

This patch allows two fio jobs to be kept to a certain
proportion of each other using token-based flow control.
There are three new parameters: flow, flow_watermark, and
flow_sleep, documented in the fio options. An example of an fio
job using these parameters is below:

[global]
norandommap
thread
time_based
runtime=30
direct=1
ioengine=libaio
iodepth=256
size=100g
bs=8k
filename=/tmp/testfile
flow_watermark=100
flow_sleep=1000

[job2]
numjobs=1
rw=write
flow=-8

[job1]
numjobs=1
rw=randread
flow=1

The motivating application of this patch was to allow random reads
and sequential writes at a particular given proportion.

This initial version is only correct when run with 'thread', as shared
state is represented with a global variable. It also only allows two
jobs to be synchronized properly. A future version might do more, but
no more functionality was needed for my application.

Tested: Ran a few fio jobs with this flow control, observing
the proportion of IOPS to match what was intended by the job file.
Varied the flow_watermark and flow_sleep parameters and observed
the effect on throughput.

Signed-off-by: Dan Ehrenberg <dehrenberg@google.com>

Modified by me to support flow_id, so an arbitrary number of flows can
be used. This means it no longer relies on global context, so it can be
used from a thread or process alike. Also added man page documentation.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
low
991802b8a8857c3e8b8d54ae5b0dda589369fec1 19-Dec-2011 Yufei Ren <renyufei83@gmail.com> fix net engine client read server write bug

The net engine was updated with specific 'listen' parameter which used
for identifying whether it is a tcp server, instead of previous
'rw=read' side must be the server. This let fio support bi-direction
net io test. fio_netio_open_file() has to follow this
principle. Otherwise, the following tcp client 'rw=read' and tcp
server 'rw=write' case doesn't work.

[global]
ioengine=net
port=8888
protocol=tcp
bs=4k
size=10g

[server]
listen
rw=write

[client]
hostname=localhost
startdelay=1
rw=read

BTW, examples/netio needs 'listen' and 'hostname' adjusted.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
etio
160c715eb0fa639b832f6f98f8baf8ac37584618 09-Nov-2011 Jens Axboe <axboe@kernel.dk> Update examples/netio to new option format

Signed-off-by: Jens Axboe <axboe@kernel.dk>
etio
0fd666bf0d5fc373f28b1b43d1df817f8ec89605 06-Oct-2011 Jens Axboe <axboe@kernel.dk> net: support for unix domain sockets

Signed-off-by: Jens Axboe <axboe@kernel.dk>
etio
d7f5d470dfb9aba383bbf06ea53010c08a4f9b0d 25-Aug-2011 Jens Axboe <jaxboe@fusionio.com> Add 'null' perf test

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
ull
21b8aee865f0d3960687ce6ba7385e5977f45061 01-Aug-2011 ren yufei <renyufei83@yahoo.com.cn> RDMA IO engine

I have hacked an rdma ioengine based on OFED for fio which could test
both rdma memory semantic (rdma_write/rdma_read) and channel semantic
(send/recv). Would you like to merge this engine into fio?

notes
1) RDMA engine works in IB, iWarp and RoCE.
2) RDMA engine is disable by default. To enable it, execute the following
before compile:

$ export EXTFLAGS="-DFIO_HAVE_RDMA"
$ export EXTLIBS="-libverbs -lrdmacm"

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
dmaio-client
dmaio-server
de141540ef6fd41e2103e3fd877490212f14826a 22-Apr-2009 Jens Axboe <jens.axboe@oracle.com> Add sample job for doing a quick SSD performance analysis

Nothing SSD special about it really, but this sort of test is
useful on SSD drives to see if they are crap or not.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
sd-test
e77c010d2c5bcd98c72797db9146b7a556444bc5 16-Jan-2009 Jens Axboe <jens.axboe@oracle.com> Add comment on UDP on examples/netio

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
etio
f51dcafee6557ecae8d4c1c62bb559d563bbcce4 16-Jan-2008 Jens Axboe <jens.axboe@oracle.com> surface-scan: make bs 64k again

I reduced it for testing, put it back at 64k to speed it up.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
urface-scan
04d04cd64f0aec11d026281afb5030f202448106 16-Jan-2008 Shawn Lewis <shawnlewis@google.com> Add sample file for surface scan

Does a write phase and then a verify phase and verifies the written
data.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
urface-scan
d090f6f6fa92e66bc448a9bf47b6c52c1fd9c1ba 14-Dec-2007 Jens Axboe <jens.axboe@oracle.com> Add Intel IOMeter file access server example job file

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
ometer-file-access-server
c6c3b28a257258895eabe127d3cf784cd93bc851 26-Jul-2007 Jens Axboe <jens.axboe@oracle.com> Add data integrity example to netio sample job file

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
etio
36afc119b60491fb0e26249f04ed7d43172cc9a5 28-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Fix typo in the netio example

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
etio
9f9214f243701626a04b4a0f9aceec03b8b40e0f 13-Mar-2007 Jens Axboe <jens.axboe@oracle.com> nr_files conflict with filename

If nr_files is larger than the given number of files, it has
to be lowered. Assume that if the user gives a set of filenames
that this is the number he wants, otherwise he should use not
use a filename setting.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
etio
b9448b92bead64e3b4162418e65354a56047221e 02-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Add example network io job file

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
etio
d8cc4733da33d408e72897a5eb8cbb199a636cc7 07-Feb-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] aio example should use O_DIRECT IO

Otherwise it isn't async. Since fio defaults to buffered IO now, we need
to correct this example.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
io-read
6abd53b5bb7755f1031b43eec2716cf044ccc654 02-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] fsx example

write_iolog was just to verify that it worked, remove that again.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
sx
7c7118c7ade7b63d9107ecd5c7168391ce4aaf1a 02-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Add sample fsx job file

It simulates what a "normal" fsx run does. fsx-linux can also do read/write
or mmap io, change ioengine= to mimic that instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
sx
2e7964b8f84782afe665d8ae549c2910320e247f 20-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] disk zone example needs write_bw_log

Less confusing now, since you can just run the job file. Before you
needed to know that -w was needed for the job to be meaningful.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
isk-zone-profile
798091133938db311ceb6946ee86f548ed2b3aaa 09-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Documentation updates
mbs_clients
io-read
9104f874d726e84739d3b4008eee0f6ddfe96714 28-Dec-2005 Jens Axboe <axboe@suse.de> [PATCH] 32-bit fixes

Need to bump some variables to full 64-bits on 32-bit archs as well.
isk-zone-profile
9e4feae28a881e5235130f001b956a709996d7ad 12-Dec-2005 Jens Axboe <axboe@suse.de> [PATCH] examples/disk-zone-profile added
isk-zone-profile
0d98aadc08078b16506ea5b3ceb9a93d36bbe038 12-Dec-2005 Jens Axboe <axboe@suse.de> [PATCH] Misc minor fixes

- examples/aio-read needs size=
- check ->zone_skip before doing division, ->zone_size is always set.
io-read
ebac4655dd3624f3296ff83be48e0cdc02852f18 08-Dec-2005 Jens Axboe <axboe@suse.de> Move fio to seperate repo
mbs_clients
io-read
iobench-example