fio.git
10 years agoFio 1.25 fio-1.25
Jens Axboe [Tue, 7 Apr 2009 11:40:04 +0000 (13:40 +0200)]
Fio 1.25

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoReseed random generator for loop/time based runs
Jens Axboe [Tue, 7 Apr 2009 11:28:12 +0000 (13:28 +0200)]
Reseed random generator for loop/time based runs

Then we get repeatable 2nd/3rd/etc runs. This is important
if the file layout was random, otherwise subsequent runs will
get very different results.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFile reset should clear random map as well
Jens Axboe [Tue, 7 Apr 2009 11:06:43 +0000 (13:06 +0200)]
File reset should clear random map as well

Fixes infinite loop on time based runs, where it repeatedly
fails getting a new offset.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMerge branch 'master' of ssh://router/data/git/fio
Jens Axboe [Tue, 7 Apr 2009 10:52:08 +0000 (12:52 +0200)]
Merge branch 'master' of ssh://router/data/git/fio

10 years agoaio: fixed a signedness issue that could cause abort on strace
Jens Axboe [Tue, 7 Apr 2009 10:51:45 +0000 (12:51 +0200)]
aio: fixed a signedness issue that could cause abort on strace

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd some missing options to the man page
Jens Axboe [Sat, 14 Mar 2009 19:17:36 +0000 (20:17 +0100)]
Add some missing options to the man page

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMan page typo on zero_buffers
Jens Axboe [Sat, 14 Mar 2009 19:08:47 +0000 (20:08 +0100)]
Man page typo on zero_buffers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd blockalign/ba option
Jens Axboe [Wed, 11 Mar 2009 10:00:13 +0000 (11:00 +0100)]
Add blockalign/ba option

Allows the job to specify alignment of the IO specifically, instead
of relying on using blocksize as the offset alignment.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix integer store bug in parser
Jens Axboe [Tue, 10 Mar 2009 07:57:34 +0000 (08:57 +0100)]
Fix integer store bug in parser

With commit f7fa2653589f9ecf0d3d106286f17620bcf32de0 I forgot to check
the type, so we would mis-store on platforms where sizeof(int) is different
from sizeof(long).

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd some missing options to the man page
Jens Axboe [Mon, 9 Mar 2009 13:22:56 +0000 (14:22 +0100)]
Add some missing options to the man page

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoGet rid of int vs siint difference
Jens Axboe [Mon, 9 Mar 2009 13:20:20 +0000 (14:20 +0100)]
Get rid of int vs siint difference

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoUpdate HOWTO with 0x base for siint
Jens Axboe [Mon, 9 Mar 2009 13:16:47 +0000 (14:16 +0100)]
Update HOWTO with 0x base for siint

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAllow 0x (or 0X) prefix for any int value to indicate hex base
Jens Axboe [Mon, 9 Mar 2009 13:15:21 +0000 (14:15 +0100)]
Allow 0x (or 0X) prefix for any int value to indicate hex base

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix failure to strip end of line with comment
Jens Axboe [Fri, 6 Mar 2009 19:29:29 +0000 (20:29 +0100)]
Fix failure to strip end of line with comment

We left a space at the end, which confused the postfix checking.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMerge branch 'master' of ssh://brick.kernel.dk/data/git/fio
Jens Axboe [Fri, 6 Mar 2009 07:11:00 +0000 (08:11 +0100)]
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio

10 years agoUpdate smalloc section in README
Jens Axboe [Thu, 5 Mar 2009 20:23:18 +0000 (21:23 +0100)]
Update smalloc section in README

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoUse strict matching for --section command line option
Jens Axboe [Thu, 5 Mar 2009 20:14:21 +0000 (21:14 +0100)]
Use strict matching for --section command line option

Don't limit to string length of passed in section, otherwise we could
be matching more than one section.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAvoid opening files until they are used
Jens Axboe [Thu, 5 Mar 2009 09:13:58 +0000 (10:13 +0100)]
Avoid opening files until they are used

Fio still opens and creates all files, just to check the size of them. Add
a specialized IO engine op for getting the size of a file and use that
instead.

This also cleans a lot of things up. Note that the IO engine version is now
bumped to 10, meaning that external engines will have to separate the
file open from the size checking.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoNeed to clear ->files_size when ->files is cleared
Jens Axboe [Wed, 4 Mar 2009 19:17:22 +0000 (20:17 +0100)]
Need to clear ->files_size when ->files is cleared

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMore file setting bug fixes
Jens Axboe [Wed, 4 Mar 2009 15:03:49 +0000 (16:03 +0100)]
More file setting bug fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoBotch edit in files setup
Jens Axboe [Wed, 4 Mar 2009 14:37:52 +0000 (15:37 +0100)]
Botch edit in files setup

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMissing fio.h update
Jens Axboe [Wed, 4 Mar 2009 14:28:31 +0000 (15:28 +0100)]
Missing fio.h update

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoRealloc td->files to full size immediately
Jens Axboe [Wed, 4 Mar 2009 14:27:42 +0000 (15:27 +0100)]
Realloc td->files to full size immediately

For adding many files, we do as many reallocs() as we have files. This is
slow, so do full allocs instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd create_on_open option
Jens Axboe [Wed, 4 Mar 2009 11:53:13 +0000 (12:53 +0100)]
Add create_on_open option

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
 Please enter the commit message for your changes. Lines starting

10 years agoFix file open leak
Jens Axboe [Wed, 4 Mar 2009 11:52:01 +0000 (12:52 +0100)]
Fix file open leak

Introduced by commit 87b10676354d10be02864ad615e1e9fe5a2376ab

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix bug with openfiles
Jens Axboe [Wed, 4 Mar 2009 08:39:47 +0000 (09:39 +0100)]
Fix bug with openfiles

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix bug in file selection
Jens Axboe [Wed, 4 Mar 2009 07:41:31 +0000 (08:41 +0100)]
Fix bug in file selection

We need to check both the OPEN and CLOSING flag, since CLOSE will not
be set until the file has really been closed.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd 'sequential' file_service_type
Jens Axboe [Wed, 4 Mar 2009 07:27:37 +0000 (08:27 +0100)]
Add 'sequential' file_service_type

This service type will keep a file open until IO to it is completely
done, before moving on to the next available file.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAllow 'norandommap' with verify
Jens Axboe [Thu, 19 Feb 2009 20:32:12 +0000 (21:32 +0100)]
Allow 'norandommap' with verify

We used to turn off verify completely if norandommap was given, since
fio does not track block rewrites. But we can easily track rewrites,
as long as we don't have to track various extent sizes. So relax
the restriction to only cover norandommap with differing block sizes
and adapt log_io_piece() to always use rbtree inserts for cases where
we do need to check for potential overwrites.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.24 fio-1.24
Jens Axboe [Fri, 6 Feb 2009 13:12:03 +0000 (14:12 +0100)]
Fio 1.24

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoCheck for a valid block device size
Jens Axboe [Mon, 2 Feb 2009 14:07:37 +0000 (15:07 +0100)]
Check for a valid block device size

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agonet engine: notify receiver of UDP link close
Jens Axboe [Mon, 19 Jan 2009 12:26:36 +0000 (13:26 +0100)]
net engine: notify receiver of UDP link close

Also optimize the send/receive path, only use poll() if the non-blocking
send/recv returned EAGAIN.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix broken rate check
Jens Axboe [Mon, 19 Jan 2009 11:49:48 +0000 (12:49 +0100)]
Fix broken rate check

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agonet engine: termination fixes
Jens Axboe [Mon, 19 Jan 2009 11:38:27 +0000 (12:38 +0100)]
net engine: termination fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agonet engine: don't pass in flags
Jens Axboe [Mon, 19 Jan 2009 11:33:51 +0000 (12:33 +0100)]
net engine: don't pass in flags

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agonet engine: use poll() always for sending/receiving
Jens Axboe [Mon, 19 Jan 2009 09:17:06 +0000 (10:17 +0100)]
net engine: use poll() always for sending/receiving

Avoids getting stuck waiting for data and not accepting signals.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd comment on UDP on examples/netio
Jens Axboe [Fri, 16 Jan 2009 18:17:35 +0000 (19:17 +0100)]
Add comment on UDP on examples/netio

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMissing text in iodepth_batch* help entries
Jens Axboe [Fri, 16 Jan 2009 18:15:33 +0000 (19:15 +0100)]
Missing text in iodepth_batch* help entries

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agolibaio engine: get rid of non-async behaviour with buffered IO
Jens Axboe [Fri, 16 Jan 2009 18:15:07 +0000 (19:15 +0100)]
libaio engine: get rid of non-async behaviour with buffered IO

It may not be true, just get rid of it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agonet engine: accept both upper and lowercase tcp/udp.
Jens Axboe [Fri, 16 Jan 2009 12:22:26 +0000 (13:22 +0100)]
net engine: accept both upper and lowercase tcp/udp.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agonet engine: add UDP support
Jens Axboe [Fri, 16 Jan 2009 12:21:15 +0000 (13:21 +0100)]
net engine: add UDP support

The filename= option now accepts a third parameter designating the
protocol type, udp or tcp.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd platform section to README
Jens Axboe [Wed, 7 Jan 2009 09:05:14 +0000 (10:05 +0100)]
Add platform section to README

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoOS includes need errno.h
Jens Axboe [Tue, 6 Jan 2009 13:22:30 +0000 (14:22 +0100)]
OS includes need errno.h

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agosmalloc: get rid of MP_SAFE define and lock checks
Jens Axboe [Tue, 6 Jan 2009 10:30:08 +0000 (11:30 +0100)]
smalloc: get rid of MP_SAFE define and lock checks

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoSome more pthread_* call mishandled errors
Jens Axboe [Mon, 5 Jan 2009 18:07:13 +0000 (19:07 +0100)]
Some more pthread_* call mishandled errors

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd --debug=mutex
Jens Axboe [Mon, 5 Jan 2009 18:06:39 +0000 (19:06 +0100)]
Add --debug=mutex

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMake sure os mutex define is visible in mutex.c
Jens Axboe [Mon, 5 Jan 2009 18:04:15 +0000 (19:04 +0100)]
Make sure os mutex define is visible in mutex.c

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoOnly use process shared mutexes on support platforms
Jens Axboe [Mon, 5 Jan 2009 08:56:29 +0000 (09:56 +0100)]
Only use process shared mutexes on support platforms

On FreeBSD, suggest the use of threads instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFixup handling of pthread_mutex*() error returns
Jens Axboe [Mon, 5 Jan 2009 08:45:13 +0000 (09:45 +0100)]
Fixup handling of pthread_mutex*() error returns

They return the errno, not 0/-1. Thanks to
Fabio Checconi <fabio@gandalf.sssup.it>
for noticing this.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd fio_cpuset_exit() empty handler for platforms that don't support affinity
Jens Axboe [Mon, 5 Jan 2009 08:40:13 +0000 (09:40 +0100)]
Add fio_cpuset_exit() empty handler for platforms that don't support affinity

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoInclude crc32c and crc32c-intel checksums in FreeBSD/Solaris
Jens Axboe [Mon, 22 Dec 2008 10:29:50 +0000 (11:29 +0100)]
Include crc32c and crc32c-intel checksums in FreeBSD/Solaris

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoSolaris pset fixes
Jens Axboe [Mon, 22 Dec 2008 10:28:26 +0000 (11:28 +0100)]
Solaris pset fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoSolaris compilation fix
Jens Axboe [Fri, 12 Dec 2008 19:54:15 +0000 (20:54 +0100)]
Solaris compilation fix

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoCPU set creation and destruction can fail on some platforms
Jens Axboe [Fri, 12 Dec 2008 19:51:40 +0000 (20:51 +0100)]
CPU set creation and destruction can fail on some platforms

Check for that and error out if necessary.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoSupport for CPU binding in Solaris
Jens Axboe [Fri, 12 Dec 2008 19:42:26 +0000 (20:42 +0100)]
Support for CPU binding in Solaris

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd a cpuset exit function
Jens Axboe [Fri, 12 Dec 2008 19:40:27 +0000 (20:40 +0100)]
Add a cpuset exit function

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoPrepare for support for CPU binding on other platforms
Jens Axboe [Fri, 12 Dec 2008 19:02:58 +0000 (20:02 +0100)]
Prepare for support for CPU binding on other platforms

The interface was Linux/glibc centric, since that is what got there first.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years ago__usec_sleep() really just spins, rename it
Jens Axboe [Wed, 10 Dec 2008 12:24:12 +0000 (13:24 +0100)]
__usec_sleep() really just spins, rename it

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoLong line style fix + comment
Jens Axboe [Tue, 9 Dec 2008 07:04:29 +0000 (08:04 +0100)]
Long line style fix + comment

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoDon't allow higher CPU counts than what the system has
Jens Axboe [Mon, 8 Dec 2008 19:31:43 +0000 (20:31 +0100)]
Don't allow higher CPU counts than what the system has

Basically just catch the condition before setting up the job, job files,
etc.

Also fixes a big with cpumask, it set the wrong part.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMake sure that the given CPU range is within the bounds of the OS
Jens Axboe [Mon, 8 Dec 2008 14:03:12 +0000 (15:03 +0100)]
Make sure that the given CPU range is within the bounds of the OS

glibc provides CPU_SETSIZE as the maximum CPU count.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd gtod_cpu option for pinning gettimeofday() to a single CPU
Jens Axboe [Mon, 8 Dec 2008 13:10:52 +0000 (14:10 +0100)]
Add gtod_cpu option for pinning gettimeofday() to a single CPU

Similar to what real life products sometimes do, offload gettimeofday()
calls to a single CPU and have that update the current time into a shared
memory location. This option pins a specific CPU for that job, and excludes
it from participating in any of the IO jobs.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoProperly strip end-of-option blanks
Jens Axboe [Mon, 8 Dec 2008 13:06:42 +0000 (14:06 +0100)]
Properly strip end-of-option blanks

We don't want to fail with

option_foo = 0

when

option_foo=0

works.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAllow ranges of CPUs in cpus_allowed option
Jens Axboe [Mon, 8 Dec 2008 10:37:01 +0000 (11:37 +0100)]
Allow ranges of CPUs in cpus_allowed option

For a larger number of CPUs, it's a bit of a bother having to set
each one individually. Plus, you typically want to bind to a range of
CPUs, to keep the job core local (or whatever your preference). So extend
cpus_allowed to take ranges of CPU numbers as well. Now you can do:

cpus_allowed=0-7

and have your job confined to CPUs 0 through 7.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix bogus 'may be used uninitialized' warning from older gcc versions
Jens Axboe [Fri, 5 Dec 2008 12:17:16 +0000 (13:17 +0100)]
Fix bogus 'may be used uninitialized' warning from older gcc versions

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd comment on cpumask not working with a CPU count > 32
Jens Axboe [Fri, 5 Dec 2008 11:57:11 +0000 (12:57 +0100)]
Add comment on cpumask not working with a CPU count > 32

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agosmalloc: pool->file is only used in add_pool(), so make it local
Jens Axboe [Thu, 4 Dec 2008 13:33:41 +0000 (14:33 +0100)]
smalloc: pool->file is only used in add_pool(), so make it local

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agosmalloc: unlink pool file in add_pool()
Jens Axboe [Thu, 4 Dec 2008 13:30:13 +0000 (14:30 +0100)]
smalloc: unlink pool file in add_pool()

Don't defer until cleanup time, since we may not clean up if fio
crashes or is killed in other ways.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoUse frame pointer
Jens Axboe [Thu, 20 Nov 2008 08:13:23 +0000 (09:13 +0100)]
Use frame pointer

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMake log writing append
Jens Axboe [Thu, 20 Nov 2008 08:13:04 +0000 (09:13 +0100)]
Make log writing append

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd support for giving bw/clat/slat log prefixes
Jens Axboe [Wed, 19 Nov 2008 18:57:52 +0000 (19:57 +0100)]
Add support for giving bw/clat/slat log prefixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix bug in parser that causes a crash with a bad option
Jens Axboe [Wed, 19 Nov 2008 11:31:43 +0000 (12:31 +0100)]
Fix bug in parser that causes a crash with a bad option

The priority sorting would crash if it failed to lookup both
of the passed in options.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.23 fio-1.23
Jens Axboe [Tue, 18 Nov 2008 18:22:31 +0000 (19:22 +0100)]
Fio 1.23

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoHandle ctrl-c properly with threads
Jens Axboe [Tue, 18 Nov 2008 18:10:21 +0000 (19:10 +0100)]
Handle ctrl-c properly with threads

A stupid bug, the main process should just ignore its own SIGQUIT.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix leaks with using get_opt_postfix()
Jens Axboe [Fri, 14 Nov 2008 12:06:06 +0000 (13:06 +0100)]
Fix leaks with using get_opt_postfix()

It returns a strdup(), so remember to free() the result when done.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd gtod_reduce option
Jens Axboe [Fri, 14 Nov 2008 12:04:53 +0000 (13:04 +0100)]
Add gtod_reduce option

This cuts down even more on gtod() calls. While the three disable_X
options halved the gettimeofday() call count, this can reduce it to
less than 1 percent of what it otherwise would have been.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix backwards clock on tsc source with Linux
Jens Axboe [Thu, 13 Nov 2008 11:07:20 +0000 (12:07 +0100)]
Fix backwards clock on tsc source with Linux

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoIssue time fixup for guasi/libaio
Jens Axboe [Thu, 16 Oct 2008 19:26:10 +0000 (21:26 +0200)]
Issue time fixup for guasi/libaio

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd options for disabling slat/clat/bw measurements
Jens Axboe [Thu, 16 Oct 2008 19:03:27 +0000 (21:03 +0200)]
Add options for disabling slat/clat/bw measurements

Useful for cutting down on the number of gettimeofday calls in
situations where that does impact performance. This is mostly for
really high IOPS rates.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoKill io_u timeout handling
Jens Axboe [Thu, 16 Oct 2008 18:36:51 +0000 (20:36 +0200)]
Kill io_u timeout handling

It has never been enabled, get rid of it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoOnly memcpy last issue time when using iolog replay
Jens Axboe [Thu, 16 Oct 2008 18:33:51 +0000 (20:33 +0200)]
Only memcpy last issue time when using iolog replay

Part of a series that'll allow switching off various time measurements
to avoid impacting system performance too much.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.22 fio-1.22
Jens Axboe [Fri, 10 Oct 2008 11:49:50 +0000 (13:49 +0200)]
Fio 1.22

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.22-rc3 fio-1.22-rc3
Jens Axboe [Tue, 7 Oct 2008 09:33:21 +0000 (11:33 +0200)]
Fio 1.22-rc3

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoWarning fixes
Jens Axboe [Tue, 7 Oct 2008 09:33:00 +0000 (11:33 +0200)]
Warning fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoDocument environment variable expansion
Aaron Carroll [Tue, 7 Oct 2008 09:25:38 +0000 (11:25 +0200)]
Document environment variable expansion

Add environment variable expansion documentation to HOWTO, and fix
a few nearby typo's while we're at it.

Signed-off-by: Aaron Carroll <aaronc@gelato.unsw.edu.au>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd environment-variable substitution to config options
Aaron Carroll [Tue, 7 Oct 2008 09:25:20 +0000 (11:25 +0200)]
Add environment-variable substitution to config options

Strings of the form ${VARNAME} in config option strings are substituted with
the value of the environment variable VARNAME.  Only the right hand side of
an option assignment undergoes substitution.  If VARNAME is empty or
undefined, the empty string is substituted.

Signed-off-by: Aaron Carroll <aaronc@gelato.unsw.edu.au>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoUpdate README for new mailing list info
Jens Axboe [Wed, 1 Oct 2008 07:04:28 +0000 (09:04 +0200)]
Update README for new mailing list info

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix missing initialization of merge/io counts
Jens Axboe [Tue, 30 Sep 2008 06:39:17 +0000 (08:39 +0200)]
Fix missing initialization of merge/io counts

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAggregate slave device stats into the stats for master.
Shehjar Tikoo [Tue, 30 Sep 2008 01:11:35 +0000 (11:11 +1000)]
Aggregate slave device stats into the stats for 

But do so by adding new fields in the stats line.
We dont want the existing output format to get clobbered.
The new fields in master device line which contain
aggregated stats start with "aggr".

Signed-off-by: Shehjar Tikoo <shehjart@gelato.unsw.edu.au>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd support to display slave device stats for software RAIDs.
Shehjar Tikoo [Tue, 30 Sep 2008 00:35:44 +0000 (10:35 +1000)]
Add support to display slave device stats for software RAIDs.

When running tests on a device created using mdadm, the relevant
disk statistics must also come from the individual
disks that constitute the RAID, because the software RAID device
is just a virtual device.

This patch goes through the 'slaves' directory in the software
RAID device's directory in /sys/block, gets a list of all the
slave devices and creates a master-slave relationship between
the virtual device and the actual disks.

The individual slave disks' stats are displayed along with the
master's disk stats at the end of the test.

Signed-off-by: Shehjar Tikoo <shehjart@gelato.unsw.edu.au>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoHOWTO: add comment on terse and --minimal
Jens Axboe [Sat, 27 Sep 2008 10:33:53 +0000 (12:33 +0200)]
HOWTO: add comment on terse and --minimal

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
11 years agoFio 1.22-rc2 fio-1.22-rc2
Jens Axboe [Thu, 18 Sep 2008 01:01:34 +0000 (18:01 -0700)]
Fio 1.22-rc2

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
11 years agoDon't compile crc32c-intel on non-x86 platforms
Aaron Carroll [Fri, 12 Sep 2008 08:57:13 +0000 (10:57 +0200)]
Don't compile crc32c-intel on non-x86 platforms

crc32c_intel() doesn't make sense on platforms without SSE, so alias it
to crc32c() on such machines.

Signed-off-by: Aaron Carroll <aaronc@gelato.unsw.edu.au>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
11 years agoUpdate ramp_time
Jens Axboe [Thu, 11 Sep 2008 08:17:26 +0000 (10:17 +0200)]
Update ramp_time

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
11 years agoUpdate options
Jens Axboe [Thu, 11 Sep 2008 07:27:15 +0000 (09:27 +0200)]
Update options

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
11 years agoFio 1.22-rc1 fio-1.22-rc1
Jens Axboe [Wed, 10 Sep 2008 07:48:11 +0000 (09:48 +0200)]
Fio 1.22-rc1

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
11 years agoAdd ramp_time option
Jens Axboe [Wed, 10 Sep 2008 07:46:16 +0000 (09:46 +0200)]
Add ramp_time option

Sometimes it's useful to let a job settle for a little while
before taking any measurements on latency and throughput, since
the initial rate on eg a write workload may be much higher than
the longer sustained rate.

So add a ramp_time option that allows the user to specify a lead
ramp time that must have passed before fio takes any performance
numbers into account.

Suggested by "Jenkins, Lee" <Lee.Jenkins@hp.com>

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
11 years agoeta: fix bugs withe fill_device and exitall_on_terminate
Shaozhi Shawn Ye [Wed, 10 Sep 2008 07:09:37 +0000 (09:09 +0200)]
eta: fix bugs withe fill_device and exitall_on_terminate

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
11 years agofilehash: check for NULL ->file_name in hash lookup
Jens Axboe [Wed, 10 Sep 2008 07:07:55 +0000 (09:07 +0200)]
filehash: check for NULL ->file_name in hash lookup

Original patch from Shaozhi Shawn Ye <yeshao@google.com>, modified
by me to continue the lookup and just skip the file instead of
returning NULL.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
11 years agofilehash: Filehash should be removed after the file is closed
Shaozhi Shawn Ye [Wed, 10 Sep 2008 07:05:17 +0000 (09:05 +0200)]
filehash: Filehash should be removed after the file is closed

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>