History log of /external/fio/t/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
28787e42be3976e2e5c73f2691c055b5b6176eb5 03-Jan-2015 Jens Axboe <axboe@fb.com> Revert "axmap: ensure we lock down the maps for shared access"

This reverts commit 12bde3697fc230d7af560cecc8ac469ab47643f8.
xmap.c
948ceaf32ece7605aa31b4535648acbad41e9e3c 19-Dec-2014 Jens Axboe <axboe@fb.com> axmap: ensure we lock down the maps for shared access

Signed-off-by: Jens Axboe <axboe@fb.com>
xmap.c
32e9adb2bd331309c346fe3289e6a7adedaf9aa6 18-Dec-2014 Jens Axboe <axboe@fb.com> t/btrace2fio: add ability to add specific options through -a

Can be used multiple times to add more options.

Signed-off-by: Jens Axboe <axboe@fb.com>
trace2fio.c
1a9b293d08ffa81c2aa16af04d9bef7aa4d8899a 10-Dec-2014 Jens Axboe <axboe@fb.com> btrace2fio: add support for collapsing close entries

Signed-off-by: Jens Axboe <axboe@fb.com>
trace2fio.c
ce596f21bca7b744ae5b865be8b2ab42df340454 24-Nov-2014 Jens Axboe <axboe@fb.com> Fixup t/ test apps for lfsr_next change()

Reported-by: Bruce Cran <bruce@cran.org.uk>
Signed-off-by: Jens Axboe <axboe@fb.com>
xmap.c
fsr-test.c
2581b5195ad1dc4a7d5184b4a641c570faafb813 11-Nov-2014 Jens Axboe <axboe@fb.com> t/btrace2fio: don't dec inflight for requeue

We don't inc it again on issue, so we'll end up with an assert
trigger on inflight going negative.

Signed-off-by: Jens Axboe <axboe@fb.com>
trace2fio.c
44aab35f7b67302c3bd67f704cc4d6f847da0f27 11-Nov-2014 Jens Axboe <axboe@fb.com> t/btrace2fio: fix divide-by-zero in rate calculation

If usec is less than 1000, it'd crash.

Signed-off-by: Jens Axboe <axboe@fb.com>
trace2fio.c
a5d7a7222ed02b86652621b7f82b3f53f96ac9a4 10-Nov-2014 Jens Axboe <axboe@fb.com> t/btrace2fio: cap depth if we don't see completion traces

Signed-off-by: Jens Axboe <axboe@fb.com>
trace2fio.c
0f7f9a918590b45589224568245f75e2dbff9e14 06-Nov-2014 Jens Axboe <axboe@fb.com> Make fio -Wshadow clean

Found a few issues, actually.

Signed-off-by: Jens Axboe <axboe@fb.com>
trace2fio.c
acf7ead2975987d8fa8749f06595123d2f789560 21-Oct-2014 Jens Axboe <axboe@fb.com> t/dedupe: fix init of all thread variables

->dupes wasn't initialized, for instance. Just memset the
whole thing, so we don't run into this again.

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
31da12cc1e69a70d7b65619acc32ab3ad051dd13 15-Oct-2014 Jens Axboe <axboe@fb.com> t/btrace2fio: fix fd leak on error

Signed-off-by: Jens Axboe <axboe@fb.com>
trace2fio.c
bf6238ad99d4c07f3548de957f60b1f1d2848822 15-Oct-2014 Jens Axboe <axboe@fb.com> t/dedupe: fix bogus items NULL compare

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
18a7ca52492e3139056c9cfba8bf4087fba75e9d 07-Oct-2014 Jens Axboe <axboe@fb.com> t/dedupe: use fio abstracted OS_O_DIRECT

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
e13194db4c07a617f815aa78250e6119ca8c6a9c 07-Oct-2014 Jens Axboe <axboe@fb.com> t/dedupe: remove leftover linux/fs.h include

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
6d686d99c8f32cd23aae98bca7fd2ece348ffa5e 07-Oct-2014 Jens Axboe <axboe@fb.com> t/dedupe: use generic blockdev_size() to get size

This means we can skip the Linux specific compile, so enable it
on all platforms.

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
463fc15cc044a99d7746942869d938f7160f658b 07-Oct-2014 Jens Axboe <axboe@fb.com> t/dedupe: avoid div-by-zero for all identical chunks

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
78340c01f77dc2cbb15ab8ef560d379582bfd5c8 07-Oct-2014 Jens Axboe <axboe@fb.com> t/dedupe: fix off-by 1.024 in bandwidth

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
cb8a41db4d9fd90dde70fe19a6994a3da8cb330c 29-Sep-2014 Jens Axboe <axboe@fb.com> t/dedupe: silence 'some_done' unused warning on some compilers

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
2ccf91acdec8b977c630238cee65c59b1778311a 28-Sep-2014 Jens Axboe <axboe@fb.com> t/dedupe: fixup bloom entry calculation

With m/n at 8x and with 5 default hashes for blooming, we should
be around ~2% false positive rate max.

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
ca79d44712e3556c65f9acfc9499bfd65ab4dbc9 27-Sep-2014 Jens Axboe <axboe@fb.com> t/dedupe: print dedupe ratio instead of made-up factor

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
343334a87f2ef7541635af4009ead4ea6521ada6 27-Sep-2014 Jens Axboe <axboe@fb.com> dedupe: exit gracefully if device/file open fails

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
d393bcd743c553c5c6b047ceb5b104679df004c5 26-Sep-2014 Jens Axboe <axboe@fb.com> dedupe: read in larger chunks at the time

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
c6f0f390c7072c91a9ac0d980e078e842226b9c1 26-Sep-2014 Jens Axboe <axboe@fb.com> dedupe: fix warning and segfault on -B0

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
d33388286b785748773c54f066319d37c66f8f91 26-Sep-2014 Jens Axboe <axboe@fb.com> t/lfsr-test: fixup time

Signed-off-by: Jens Axboe <axboe@fb.com>
fsr-test.c
7a74197fa3c678aef89a4645c6cd26bfff2ff13a 26-Sep-2014 Jens Axboe <axboe@fb.com> Add debug helper stub for t/ programs

Signed-off-by: Jens Axboe <axboe@fb.com>
ebug.c
ebug.h
edupe.c
fsr-test.c
test.c
76b9b8306580bf99000be844fae6f91ba08e4ee3 26-Sep-2014 Jens Axboe <axboe@fb.com> dedupe: default to using a bloom filter to save memory

With the bloom filter, we can comfortably check devices up to
the petabyte range, which isn't feasible if we track each
extent.

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
0e794083fb05e9867dc621ee495bad2da99bb49b 24-Sep-2014 Jens Axboe <axboe@fb.com> dedupe: print threads used up front

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
997c9c3f81288ffb9c3714a153f25b9f2500cb48 24-Sep-2014 Jens Axboe <axboe@fb.com> dedupe: remove rb_lock when done

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
d11a563f99321a4844d52000211af9e772a1f415 24-Sep-2014 Jens Axboe <axboe@fb.com> dedupe: cleanups and rate estimation

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
4deca3622b28244fd394242f091445d37b45fbda 24-Sep-2014 Jens Axboe <axboe@fb.com> dedupe: don't add extent items unless we use them

Only used for collision_check and debug output, so save memory
if those aren't enabled.

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
b2a657f3ed44547dc3a99c23a9839ae2c32cff74 24-Sep-2014 Jens Axboe <axboe@fb.com> Fix 32-bit compile warnings

Signed-off-by: Jens Axboe <axboe@fb.com>
trace2fio.c
edupe.c
fsr-test.c
3f3415fe484d4c9427f9ab5cc52390df7c54e9a3 23-Sep-2014 Jens Axboe <axboe@fb.com> dedupe: print progress indicator

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
d28d27453837d4666bc0637020e0ead81f30db3e 23-Sep-2014 Jens Axboe <axboe@fb.com> dedupe: improve wording in output

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
5aa702ce283d9a4152989bcd72ed918b056b6e88 23-Sep-2014 Jens Axboe <axboe@fb.com> Add small tool to check for dedupable contents in a file/device

Signed-off-by: Jens Axboe <axboe@fb.com>
edupe.c
183f392dbad1cd01acea1c5142567dd905406f47 18-Sep-2014 Jens Axboe <axboe@kernel.dk> btrace2fio: expand rate options, bug fixes

Signed-off-by: Jens Axboe <axboe@kernel.dk>
trace2fio.c
047623b193644635f6906ac3a889f3cadf92474e 17-Sep-2014 Jens Axboe <axboe@kernel.dk> btrace2fio: add rate output

Signed-off-by: Jens Axboe <axboe@fb.com>
trace2fio.c
d8943e1ae12ca0dd51789045af02dbb290417fb9 17-Sep-2014 Jens Axboe <axboe@fb.com> btrace2fio: move file tracking to btrace_pid

We want to keep btrace_out as per-device, potentially. So move
this part since it's per process.

Signed-off-by: Jens Axboe <axboe@fb.com>
trace2fio.c
50331628e5e885eda25ed4393a2c04c53883270a 16-Sep-2014 Jens Axboe <axboe@kernel.dk> btrace2fio: cleanups and inflight hashing

Signed-off-by: Jens Axboe <axboe@kernel.dk>
trace2fio.c
b064a143f3e7cfb460f2506a4bf6cbc391b7197f 16-Sep-2014 Jens Axboe <axboe@kernel.dk> btrace2fio: use percentage_random and add filename option

Signed-off-by: Jens Axboe <axboe@kernel.dk>
trace2fio.c
cdc4d674387cfb6202ecaa5f024d41d97ce232ae 16-Sep-2014 Jens Axboe <axboe@kernel.dk> btrace2fio: set runtime

Signed-off-by: Jens Axboe <axboe@kernel.dk>
trace2fio.c
42a80e374660c1cd108342bab7158670b6e3b7dc 16-Sep-2014 Jens Axboe <axboe@kernel.dk> Add basic tool to turn blktrace into fio job file

No documentation yet, it's just a start.

Signed-off-by: Jens Axboe <axboe@fb.com>
trace2fio.c
160d691ac6129de40e1c361ffa77869c44a60723 24-Jul-2014 Jens Axboe <axboe@fb.com> Add test case for previous verify crash

Signed-off-by: Jens Axboe <axboe@fb.com>
obs/t0009-f8b0bd10.fio
14215487825ae9cd1b6b4f064d39c6d5c609ad44 11-Apr-2013 Jens Axboe <axboe@kernel.dk> Move t/jobs/ to .fio format

Signed-off-by: Jens Axboe <axboe@kernel.dk>
obs/t0001-52c58027
obs/t0001-52c58027.fio
a7448122c349bd3689f808e87680e1d3c30ec85c 29-Mar-2013 Jens Axboe <axboe@kernel.dk> t/axmap: add test for multi bit sets

Signed-off-by: Jens Axboe <axboe@kernel.dk>
xmap.c
d0f85362c978904661bd6785cd6a7f3437ff85dd 12-Mar-2013 Alex Pyrgiotis <apyrgio@grnet.gr> lfsr: fix verification and spin bugs

Changes:

1. Verification now works properly and reports for which value it fails
2. Fix a mishandling of spin incrementation which led to multiple
calculation of the same values

Signed-off-by: Alex Pyrgiotis <apyrgio@grnet.gr>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fsr-test.c
7a887ffeace126e7b7b5b8122799c007d8b1068c 08-Mar-2013 Alex Pyrgiotis <apyrgio@grnet.gr> Add a simple test for LFSR generator

Adds a simple test suite to check the speed of the LFSR
generator and verify its results. Just run:

make t/lfsr-test
./t/lfsr-test

to compile the test suite and print its usage

Signed-off-by: Alex Pyrgiotis <apyrgio@grnet.gr>

create mode 100644 t/lfsr-test.c
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fsr-test.c
d474cbc9ba33448848b50cc697622a402e91e33e 08-Mar-2013 Alex Pyrgiotis <apyrgio@grnet.gr> Improve LFSR implementation

Changes:

1. Use Galois LFSR instead of Fibonacci LFSR.
2. Use XNOR gates instead of XOR gates.
3. Add tap sizes for LFSRs ranging from 3-bits to 15-bits.
4. Add spin parameter.

Rationale:

1. Fibonacci LFSRs have the following drawbacks:

a. Their next state can not be computed in one cycle, since the input
bit must be propagated serially through the XOR gates. Galois
LFSRs however, can be computed instantly with XOR-masks.

b. Their state changes cannot be considered "irregular", even by I/O
standards. Actually, if the current state of an n-bit LFSR is x,
then the next will either be (x >> 1) or (2^n + (x >> 1)). Galois
LFSRs have instead their XOR gates interleaved with their bits,
which means that the inner bits are changed as well, besides of
the shifting. If the number of taps is z, this means that the
different outcomes are 2^(z + 1).

2. An LFSR with XOR gates has the all-zeroes state as illegal. Since
zero is valid for most I/O operations, it would be more intuitive to
use XNOR gates, that have as the all-ones state as illegal.

3. Allow smaller I/O benchmarks to use LFSRs.

4. The spin parameter follows the same rationale as in 1b. To make the
LFSR outcome "appear" less predictable, we can spin internally the
LFSR state and produce the i-th number. To understand the spin
parameter, consider the following state sequence of a 3-bit LFSR:

0, 2, 3, 5, 6, 1, 4
Same LFSR, spin value 2: 0, 3, 6, 4, 2, 5, 1
But what is the benefit from using spin? Well, the benefits are
two-fold:

a. For the same I/O size, we can create a different I/O sequences.

b. Following the rationale of 1b, we can have more variable outcomes.
If the spin value is "i" and the taps are "z", the number of
different outcomes become i * 2^(z + 1).

Signed-off-by: Alex Pyrgiotis <apyrgio@grnet.gr>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
xmap.c
ab3379bcb7748675fd6ef7dac0457f1304516a66 21-Feb-2013 Jens Axboe <axboe@kernel.dk> t/axmap: add pre/post bit set checks

Signed-off-by: Jens Axboe <axboe@kernel.dk>
xmap.c
d6b18e27798a7f4fa345515892d9bd1d9370ea7b 07-Feb-2013 Jens Axboe <axboe@kernel.dk> t/log: include minmax.h for min()

Signed-off-by: Jens Axboe <axboe@kernel.dk>
og.c
98ffb8f3ecebed9984d1744f142eb8be10c14dbd 30-Jan-2013 Ken Raeburn <raeburn@permabit.com> Fix bugs in [v]snprintf usage

When calling snprintf, supply the full buffer size instead of
one byte less.

When using the returned length from vsnprintf for logging, don't write
more than the actual buffer size (minus one for the trailing \0), in
case the formatted string was truncated.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
og.c
32bbd3ab7846a8c140fda5c83d95c21c447c844c 23-Jan-2013 Jens Axboe <axboe@kernel.dk> t/axmap: update to catch recent bugs

Also properly include axmap.h and don't declare our own prototypes.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
xmap.c
4e59017dd2a031f2b7fbe2931d3c602735b6cfd6 21-Dec-2012 Jens Axboe <axboe@kernel.dk> t/axmap: update tester for lfsr_init() taking a seed argument

Signed-off-by: Jens Axboe <axboe@kernel.dk>
xmap.c
ad1f90aa84ba96916d02043958ee416a499f3f25 28-Nov-2012 Jens Axboe <axboe@kernel.dk> Add t/axmap tester

Signed-off-by: Jens Axboe <axboe@kernel.dk>
xmap.c
4e98a45014737dc4f35d0ca599e4d1ccb4ef3c9b 15-Nov-2012 Jens Axboe <axboe@kernel.dk> genzipf: add help/usage screen (-h)

Signed-off-by: Jens Axboe <axboe@kernel.dk>
enzipf.c
355934b7ed82d13a5bfc043e2243013fd1e4e5bd 15-Nov-2012 Vincent Kang Fu <vfu@fusionio.com> t/genzfip: add -c option for csv output

Signed-off-by: Jens Axboe <axboe@kernel.dk>
enzipf.c
24baa4c70c850d4c1703ae8f4e2b35fc5c5a57ea 13-Nov-2012 Jens Axboe <axboe@kernel.dk> genzipf: use regular array + qsort() instead of rbtree

Saves lots of allocations, and actually ends up being a bit faster.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
enzipf.c
444256eaf4f0ffdc4cacef37873d58f2a65bf8e6 12-Nov-2012 Jens Axboe <axboe@kernel.dk> genzipf: add size and percentage hit rates

Signed-off-by: Jens Axboe <axboe@kernel.dk>
enzipf.c
921d17ba00f6fa106f558ea285d1d503f3a41369 09-Nov-2012 Jens Axboe <axboe@kernel.dk> genzipf: more features

Signed-off-by: Jens Axboe <axboe@kernel.dk>
enzipf.c
18ded917799ea71ff950360fab7eebebe3c2f406 08-Nov-2012 Jens Axboe <axboe@kernel.dk> Zipf theta must be different than 1.0

Signed-off-by: Jens Axboe <axboe@kernel.dk>
enzipf.c
2316296a514711bb388d87b34742c04bb561d986 07-Nov-2012 Jens Axboe <axboe@kernel.dk> zipf: seed zipf/pareto rand with filename hash and job id

We don't want 4 jobs operating on the same file to use the
same hot spots.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
enzipf.c
078189c148e6e0e42894033cf5e19bd6028ca288 07-Nov-2012 Jens Axboe <axboe@kernel.dk> Add safe checks for valid pareto input value

Signed-off-by: Jens Axboe <axboe@kernel.dk>
enzipf.c
8e600258bad065fbdfd6a1b2856077d12cd521e5 07-Nov-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio
c71224e777dc07706148df6310f5a7bdca67a65c 07-Nov-2012 Jens Axboe <axboe@kernel.dk> genzipf: fix off-by-one in output array calculation

Signed-off-by: Jens Axboe <axboe@kernel.dk>
enzipf.c
fd6f237d84f0ab32c80e20184392918bbd91376c 07-Nov-2012 Jens Axboe <axboe@kernel.dk> genzipf: improve accuracy

Signed-off-by: Jens Axboe <axboe@kernel.dk>
enzipf.c
39ab7da23768081db50b0026e0c2a8e38752e7a4 06-Nov-2012 Jens Axboe <axboe@kernel.dk> Move code around to satisfy t/stest linkage

Signed-off-by: Jens Axboe <axboe@kernel.dk>
test.c
f98f3d076502dfd18a2d1b63443288cab356a983 06-Nov-2012 Jens Axboe <axboe@kernel.dk> Fix t/ieee754 link

Signed-off-by: Jens Axboe <axboe@kernel.dk>
eee754.c
f880b1f60dcfb278ab00e6b20994072b04dfd5af 06-Nov-2012 Jens Axboe <axboe@kernel.dk> genzip updates

Signed-off-by: Jens Axboe <axboe@kernel.dk>
enzipf.c
0779dfc832be080f8f7ac2668cdeca13c18781f9 06-Nov-2012 Jens Axboe <axboe@kernel.dk> t/genzipf update

Signed-off-by: Jens Axboe <axboe@kernel.dk>
enzipf.c
6ff3885617d8281bde48a9a19d34302add3fd017 06-Nov-2012 Jens Axboe <axboe@kernel.dk> Add t/genzipf to play with distribution settings

Signed-off-by: Jens Axboe <axboe@kernel.dk>
enzipf.c
og.c
503bbe9768ec8d4a1c139224c917eef134a941f4 23-Mar-2012 Jens Axboe <axboe@kernel.dk> Add regression test for ae2fafc8

Signed-off-by: Jens Axboe <axboe@kernel.dk>
obs/t0008-ae2fafc8.fio
89adce7343fd523e4560d00e797d43b4510416fc 17-Mar-2012 Jens Axboe <axboe@kernel.dk> Add regression test for 37cf9e3c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
obs/t0007-37cf9e3c.fio
ba47f51ac3ab61b424e2d2406762d838ddb78b10 13-Mar-2012 Jens Axboe <axboe@kernel.dk> Add regression test for 82af2a7c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
obs/t0006-82af2a7c.fio
5318658b73b870fc104ba9e000ad655d4f95e857 07-Mar-2012 Jens Axboe <axboe@kernel.dk> Add regression test for f7078f7b

Signed-off-by: Jens Axboe <axboe@kernel.dk>
obs/t0005-f7078f7b.fio
017531dff831c8d683b7c912ce1fe4a59bcb5bc0 06-Mar-2012 Jens Axboe <axboe@kernel.dk> Add regression test for 8a99fdf6

Signed-off-by: Jens Axboe <axboe@kernel.dk>
obs/t0004-8a99fdf6.fio
2bcbf556086f7021bb8bf7df7c4a4cd117c7ffb0 06-Mar-2012 Jens Axboe <axboe@kernel.dk> Add regression test for verify bug

It was a bug in the job files, not a zone bug after all.
The two block sizes were transposed between the pre and
post job.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
obs/t0003-0ae2c6e1-post.fio
obs/t0003-0ae2c6e1-pre.fio
d4e88b4694afec138b36114d350a0ba160e555ea 11-Feb-2012 Jens Axboe <axboe@kernel.dk> Add job files for zone bug

Signed-off-by: Jens Axboe <axboe@kernel.dk>
obs/t0002-13af05ae-post
obs/t0002-13af05ae-pre
8695036c4dac8dc5977655c9b68a8eee703edcfc 07-Feb-2012 Jens Axboe <axboe@kernel.dk> Add regression test job file for commit 52c58027

Signed-off-by: Jens Axboe <axboe@kernel.dk>
obs/t0001-52c58027
61f78f3ada575804c6d4ba0936cf64c17728eaba 05-Oct-2011 Jens Axboe <axboe@kernel.dk> Add IEEE 754 test case

Signed-off-by: Jens Axboe <axboe@kernel.dk>
eee754.c
0cda2d50cb64ccae46dc39ab779ed79c4c96bfcc 05-Oct-2011 Jens Axboe <axboe@kernel.dk> t/stest: add log.o smaller helper

Signed-off-by: Jens Axboe <axboe@kernel.dk>
og.c
fbc2792b20276f7fa14c44f7b235ca448b383b50 16-Aug-2011 Jens Axboe <jaxboe@fusionio.com> Add simple stest smalloc tester

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
test.c