fio.git
9 years agosh4 support
Nobuhiro Iwamatsu [Tue, 22 Dec 2009 08:03:25 +0000 (09:03 +0100)]
sh4 support

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
9 years agoAdd generic arch include header
Jens Axboe [Mon, 21 Dec 2009 12:30:31 +0000 (13:30 +0100)]
Add generic arch include header

For a newer glibc, this should work (as we don't need private
splice defines, for instance).

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
9 years agoOSX should include sha1
Jens Axboe [Sun, 20 Dec 2009 21:30:27 +0000 (22:30 +0100)]
OSX should include sha1

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
9 years agoMake fdatasync OS optional
Jens Axboe [Sun, 20 Dec 2009 21:29:10 +0000 (22:29 +0100)]
Make fdatasync OS optional

OSX does not have it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
9 years agoos.h should include headers it needs by itself
Jens Axboe [Sun, 20 Dec 2009 21:24:10 +0000 (22:24 +0100)]
os.h should include headers it needs by itself

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
9 years agoInclude juggling
Jens Axboe [Wed, 16 Dec 2009 18:23:10 +0000 (19:23 +0100)]
Include juggling

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
9 years agoAdd Solaris helper object
Jens Axboe [Wed, 16 Dec 2009 08:53:24 +0000 (09:53 +0100)]
Add Solaris helper object

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
9 years agoMake weak posix_memalign() private to Solaris
Jens Axboe [Wed, 16 Dec 2009 08:50:05 +0000 (09:50 +0100)]
Make weak posix_memalign() private to Solaris

OSX has posix_memalign() but no memalign() and no malloc.h
standard include. So until we have a autoconf based build
system, move this weak helper to the private Solaris header.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
9 years agoAdd generic random helpers
Jens Axboe [Tue, 15 Dec 2009 09:28:37 +0000 (10:28 +0100)]
Add generic random helpers

FreeBSD and OSX can both use these.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
9 years agoFix some issues with the OSX port
Jens Axboe [Tue, 15 Dec 2009 07:58:10 +0000 (08:58 +0100)]
Fix some issues with the OSX port

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
9 years agoSupport for Mac OS 10.6.2
Jens Axboe [Mon, 14 Dec 2009 22:08:42 +0000 (23:08 +0100)]
Support for Mac OS 10.6.2

Contributed by Small Tree, adopted to newer fio version by me.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
9 years agoFio 1.36 fio-1.36
Jens Axboe [Thu, 10 Dec 2009 22:17:39 +0000 (23:17 +0100)]
Fio 1.36

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
9 years agoFix rate option with iodepth > 1
Radha Ramachandran [Wed, 9 Dec 2009 21:31:44 +0000 (22:31 +0100)]
Fix rate option with iodepth > 1

The rate option currently doesnt work when used with libaio engine.
The math currently, calculates the time t2 (when the I/O completed) -
t1 (when the io_u unit was created) as the time it takes for the I/O
and the bandwidth for the rate calculation is calculated from that.
This math will work correctly for sync engine as there is only one io
in progress at a time, but for libaio engine, when there are multiple
I/Os queued, the same time (as in from t1 to t2) could be attributed
to other I/Os as well so the actual bandwidth is actually higher.
I have a patch, but this is more brute force where I take the total
bytes read/written divided by the time since I/Os started to calculate
the bandwidth and decide on the time that needs to be spent sleeping
(if any).This is a little more heavy weight than the previous math. I
think there are probably simpler/cleaner solutions than this but this
is the current patch I have for it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.36-rc2 fio-1.36-rc2
Jens Axboe [Tue, 8 Dec 2009 09:10:31 +0000 (10:10 +0100)]
Fio 1.36-rc2

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd support for specifying UID/GID
Jens Axboe [Tue, 8 Dec 2009 09:10:14 +0000 (10:10 +0100)]
Add support for specifying UID/GID

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix compilation for non-linux
Jens Axboe [Mon, 7 Dec 2009 07:02:22 +0000 (08:02 +0100)]
Fix compilation for non-linux

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAutodetect cgroup blkio mount point
Jens Axboe [Mon, 7 Dec 2009 07:01:26 +0000 (08:01 +0100)]
Autodetect cgroup blkio mount point

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix an inverted cgroup exit check
Jens Axboe [Sat, 5 Dec 2009 21:30:04 +0000 (22:30 +0100)]
Fix an inverted cgroup exit check

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.36-rc1 fio-1.36-rc1
Jens Axboe [Sat, 5 Dec 2009 08:43:33 +0000 (09:43 +0100)]
Fio 1.36-rc1

Usually don't do -rc releases, but we have some substantial additions
this time.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agocgroup cleanups
Jens Axboe [Fri, 4 Dec 2009 21:13:43 +0000 (22:13 +0100)]
cgroup cleanups

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMove cgroup list to proper shared storage
Jens Axboe [Fri, 4 Dec 2009 18:54:18 +0000 (19:54 +0100)]
Move cgroup list to proper shared storage

Otherwise we have per-job lists, and that doesn't help very much
with cleaning up.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agocgroup cleanups/fixes
Jens Axboe [Fri, 4 Dec 2009 18:26:22 +0000 (19:26 +0100)]
cgroup cleanups/fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoBetter support for setting up and removing private cgroups
Jens Axboe [Fri, 4 Dec 2009 10:29:12 +0000 (11:29 +0100)]
Better support for setting up and removing private cgroups

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoCGROUP fixes
Jens Axboe [Fri, 4 Dec 2009 09:54:45 +0000 (10:54 +0100)]
CGROUP fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd support for blkio cgroups on Linux
Jens Axboe [Fri, 4 Dec 2009 09:05:02 +0000 (10:05 +0100)]
Add support for blkio cgroups on Linux

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMove back to realtime clock
Jens Axboe [Fri, 4 Dec 2009 08:56:32 +0000 (09:56 +0100)]
Move back to realtime clock

On some systems MONOTONIC still causes a hang.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd helpers include file
Jens Axboe [Tue, 24 Nov 2009 12:01:41 +0000 (13:01 +0100)]
Add helpers include file

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix compile error due to missing ENOMEM on some platforms
Jens Axboe [Tue, 24 Nov 2009 07:48:21 +0000 (08:48 +0100)]
Fix compile error due to missing ENOMEM on some platforms

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMerge branch 'master' of ssh://router/data/git/fio
Jens Axboe [Tue, 24 Nov 2009 07:48:01 +0000 (08:48 +0100)]
Merge branch 'master' of ssh://router/data/git/fio

10 years agoAdd weak helpers to other makefiles
Jens Axboe [Mon, 23 Nov 2009 20:42:46 +0000 (21:42 +0100)]
Add weak helpers to other makefiles

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix posix_memalign() return value in case of error
Jens Axboe [Mon, 23 Nov 2009 14:21:39 +0000 (15:21 +0100)]
Fix posix_memalign() return value in case of error

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd posix_* weak helpers
Jens Axboe [Mon, 23 Nov 2009 14:14:48 +0000 (15:14 +0100)]
Add posix_* weak helpers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoRe-include fallback BITS_PER_LONG fallback
Jens Axboe [Mon, 23 Nov 2009 12:01:01 +0000 (13:01 +0100)]
Re-include fallback BITS_PER_LONG fallback

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoCorrect size of tiobench profile
Jens Axboe [Fri, 13 Nov 2009 20:25:03 +0000 (21:25 +0100)]
Correct size of tiobench profile

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd support for simple profile benchmarks
Jens Axboe [Fri, 13 Nov 2009 20:23:07 +0000 (21:23 +0100)]
Add support for simple profile benchmarks

One of the reasons that tiobench gets used a lot, is that you
simply have to run it. For "real" benchmarks, you usually
have to configure them first. This adds support for easy testing
by adding some predefined and included workloads. This commit
includes tiobench, to run a tiobench like workload you would
simply do:

$ fio --profile=tiobench

and that would be it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoOnly do math on known keywords
Jens Axboe [Fri, 13 Nov 2009 11:33:54 +0000 (12:33 +0100)]
Only do math on known keywords

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoSupport simple math on reserved keyword expressions
Jens Axboe [Fri, 13 Nov 2009 11:19:49 +0000 (12:19 +0100)]
Support simple math on reserved keyword expressions

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoLog bad verify header location
Radha Ramachandran [Thu, 12 Nov 2009 07:42:43 +0000 (08:42 +0100)]
Log bad verify header location

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.35 fio-1.35
Jens Axboe [Thu, 5 Nov 2009 07:58:55 +0000 (08:58 +0100)]
Fio 1.35

A few nasty bugs fixed since the last tag, so lets
cut a new one.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoDon't pass more than the queued IO depth in to getevents()
Radha Ramachandran [Thu, 5 Nov 2009 07:33:49 +0000 (08:33 +0100)]
Don't pass more than the queued IO depth in to getevents()

Otherwise we can hang fio, since it'll attempt to wait for more
IOs than we have in flight.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix race on io_u->flags
Jens Axboe [Wed, 4 Nov 2009 19:58:09 +0000 (20:58 +0100)]
Fix race on io_u->flags

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMove BITS_PER_LONG define to arch
Jens Axboe [Wed, 4 Nov 2009 12:56:13 +0000 (13:56 +0100)]
Move BITS_PER_LONG define to arch

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoWait for async threads before freeing/killing IO buffers
Jens Axboe [Wed, 4 Nov 2009 11:51:17 +0000 (12:51 +0100)]
Wait for async threads before freeing/killing IO buffers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFixup iolog replay and add 'wait' command
Glen Ogilvie [Tue, 3 Nov 2009 20:52:36 +0000 (21:52 +0100)]
Fixup iolog replay and add 'wait' command

I have been working with Mike O'Sullivan, a senior lecturer at the University
of Auckland, New Zealand. He has been adapting fio 1.34.1 to work with iolog
files and also to be able to read a "wait" command to allow the iolog file to
specify a wait (in millisecs) before the next io. Mike's not completely
confident that his changes are correct in the overall fio picture, but they are
working with the iolog files we are using. What we did:

1) We incorporated wait into iolog file reading;
2) We made some modifications so that read_iolog worked.

We have attached a patch for fio-1.34.1.tar.bz2 along with some demonstration
fio config files and iolog files.

We are doing this so we can use an open source SPC-1 emulator to
generate SPC-1 like workloads and then run them in fio.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix race condition when using asynch verify
Radha Ramachandran [Tue, 3 Nov 2009 20:45:31 +0000 (21:45 +0100)]
Fix race condition when using asynch verify

I discovered the race condition when using asynch verify with libaio engine.
The code assumes that because the td->cur_depth value is not 0 that
there is still I/O pending and issues io_getevents when the I/O was
actually being verified by the asynchronous verify thread. This causes
the code to hang.

(Updated by Jens to use a new io_u->flag bitfield instead of adding a new
 integer to struct io_u).

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoSupport > 4 byte verify write patterns
Radha Ramachandran [Tue, 27 Oct 2009 19:14:27 +0000 (20:14 +0100)]
Support > 4 byte verify write patterns

This is the patch I have to write/read/verify hex patterns of size > 4
bytes.  I have tested these on hard drives and did not see any
performance change. I am assuming the performance drop if any might show
up in the read phase for probably solid state drives and maybe it can be
worked around using the asynchronous verify flag.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.34.2 fio-1.34.2
Jens Axboe [Thu, 15 Oct 2009 05:11:30 +0000 (07:11 +0200)]
Fio 1.34.2

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix bug in bssplit parsing
Kenneth Waters [Thu, 15 Oct 2009 05:08:48 +0000 (07:08 +0200)]
Fix bug in bssplit parsing

I found a bug is bssplit parsing in bssplit_ddir() when trying to use
FIO on an ARM platform.  It looks like str_to_decimal() takes a "void
*" as its fourth argument, which it passes to get_multi_bytes(), which
is passes to fio_get_kb_base(), which casts it to a "struct
thread_data *".  bssplit_ddir() is passing in "struct thread_data **",
which I think is causing fio_get_kb_base() to go paw around in the
stack; I believe the different stack layouts between ARM and x86 is
causing me to see this problem.  The first change that introduces this
bug seems to be d6978a3242daad9cb7b0710b724f19225d1ed7e2.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMerge branch 'master' of ssh://brick.kernel.dk/data/git/fio
Jens Axboe [Wed, 7 Oct 2009 20:02:15 +0000 (22:02 +0200)]
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio

10 years agoFix problem with mutexes and MONOTONIC clock
Roland Dreier [Wed, 7 Oct 2009 20:01:42 +0000 (22:01 +0200)]
Fix problem with mutexes and MONOTONIC clock

With the latest fio git tree, I get:

    fio: job startup hung? exiting.

on startup, and it looks like the latest commit, 69a852f5 ("Fix wrong
clock source in mutex") breaks things for me (Ubuntu 9.10 beta).  My
system seems to use CLOCK_REALTIME for pthread_cond_timedwait() by
default.

The cleanest solution seems to be to explicitly set which clock to use
in pthread_cond_timedwait() via pthread_condattr_setclock() when
initializing the condition variable, although I'm not sure how portable
this is away from modern Linux (ie do all platforms that fio cares about
have pthread_condattr_setclock()?).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix wrong clock source in mutex
Jens Axboe [Tue, 6 Oct 2009 06:50:01 +0000 (08:50 +0200)]
Fix wrong clock source in mutex

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.34.1 fio-1.34.1
Jens Axboe [Thu, 1 Oct 2009 17:45:31 +0000 (19:45 +0200)]
Fio 1.34.1

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoReally fix dm/md slave disk utilization
Jens Axboe [Thu, 1 Oct 2009 17:44:36 +0000 (19:44 +0200)]
Really fix dm/md slave disk utilization

We should just handle it internally in the disk util inc/dec. Make
it iterate each slave and modify their usage count, too.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoRevert "Fix disk utilization for md/dm slaves"
Jens Axboe [Thu, 1 Oct 2009 17:39:26 +0000 (19:39 +0200)]
Revert "Fix disk utilization for md/dm slaves"

This reverts commit f03f8e473b7c8a5c4ed2de0b99717cf75521bf69.

10 years agoMerge branch 'master' of ssh://brick.kernel.dk/data/git/fio
Jens Axboe [Thu, 1 Oct 2009 17:38:41 +0000 (19:38 +0200)]
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio

10 years agoFix disk utilization for md/dm slaves
Jens Axboe [Thu, 1 Oct 2009 09:20:03 +0000 (11:20 +0200)]
Fix disk utilization for md/dm slaves

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd generic bdev_size function
Jens Axboe [Tue, 22 Sep 2009 15:12:29 +0000 (17:12 +0200)]
Add generic bdev_size function

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix compile error on IA64
Jens Axboe [Tue, 15 Sep 2009 17:54:43 +0000 (19:54 +0200)]
Fix compile error on IA64

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd a bit of huge page documentation
Jens Axboe [Mon, 14 Sep 2009 06:56:53 +0000 (08:56 +0200)]
Add a bit of huge page documentation

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd hint on being root for EPERM and shmhuge error
Jens Axboe [Mon, 14 Sep 2009 06:51:55 +0000 (08:51 +0200)]
Add hint on being root for EPERM and shmhuge error

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.34 fio-1.34
Jens Axboe [Sat, 12 Sep 2009 19:34:19 +0000 (21:34 +0200)]
Fio 1.34

Two critical fixes since 1.33 warrant a new release. This now works
properly with shm huge pages again, and a deadlock with lvm
component resolving is fixed.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMake sure shmhuge allocations are huge page size aligned
Jens Axboe [Sat, 12 Sep 2009 19:33:51 +0000 (21:33 +0200)]
Make sure shmhuge allocations are huge page size aligned

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoSilence the style/whitespace police
Jens Axboe [Fri, 11 Sep 2009 20:29:54 +0000 (22:29 +0200)]
Silence the style/whitespace police

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoCleanup diskutil.c
Jens Axboe [Fri, 11 Sep 2009 20:22:41 +0000 (22:22 +0200)]
Cleanup diskutil.c

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, 11 Sep 2009 19:34:49 +0000 (21:34 +0200)]
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio

10 years agoBug fix: handles disk device used multiple times
Alan D. Brunelle [Fri, 11 Sep 2009 18:57:10 +0000 (14:57 -0400)]
Bug fix: handles disk device used multiple times

There were issues in having the same underlying device being referenced
multiple times (via different paths) when reporting storage I/O
statistics. As an example: having two (or more) LVM2/DM volumes crafted
out of the same MD array.

This patch simply skips over any devices previously seen.

Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.33.1 fio-1.33.1
Jens Axboe [Thu, 10 Sep 2009 07:54:55 +0000 (09:54 +0200)]
Fio 1.33.1

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix typo in write_barrier() on Alpha
Martin Steigerwald [Thu, 10 Sep 2009 07:44:29 +0000 (09:44 +0200)]
Fix typo in write_barrier() on Alpha

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.33 fio-1.33
Jens Axboe [Sat, 5 Sep 2009 18:44:59 +0000 (20:44 +0200)]
Fio 1.33

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoDocument the verify behaviour wrt read and write workloads
Jens Axboe [Sat, 5 Sep 2009 18:37:35 +0000 (20:37 +0200)]
Document the verify behaviour wrt read and write workloads

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoDon't assume read IO are always verifies if verify is enabled
Jens Axboe [Fri, 4 Sep 2009 18:53:53 +0000 (20:53 +0200)]
Don't assume read IO are always verifies if verify is enabled

If it's a mixed read/write workload, we're likely just wanting to
verify the writes we do.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMIPS support
Jens Axboe [Tue, 1 Sep 2009 05:23:57 +0000 (07:23 +0200)]
MIPS support

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoDon't start new groups for numjobs=
Jens Axboe [Tue, 25 Aug 2009 20:14:29 +0000 (22:14 +0200)]
Don't start new groups for numjobs=

No point in doing that, and it makes two identical jobs behave
differently if typed manually or implicitly with numjobs=x

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agofio.1: fix hyphen-used-as-minus-sign
Michael Prokop [Wed, 12 Aug 2009 15:24:41 +0000 (17:24 +0200)]
fio.1: fix hyphen-used-as-minus-sign

Signed-off-by: Michael Prokop <mika@grml.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMerge branch 'master' of ssh://brick.kernel.dk/data/git/fio
Jens Axboe [Sun, 9 Aug 2009 20:40:50 +0000 (22:40 +0200)]
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio

10 years agoAdd Linus' optimized sha1 hash for checksum
Jens Axboe [Sun, 9 Aug 2009 20:40:33 +0000 (22:40 +0200)]
Add Linus' optimized sha1 hash for checksum

It does appear to be pretty fast.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd support for reserved keywords
Jens Axboe [Wed, 5 Aug 2009 09:42:37 +0000 (11:42 +0200)]
Add support for reserved keywords

Currently $pagesize, $mb_memory, and $ncpus are supported.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd strong madvise() hint for cache pruning
Jens Axboe [Tue, 4 Aug 2009 21:17:02 +0000 (23:17 +0200)]
Add strong madvise() hint for cache pruning

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoRemove old FIXME comment
Jens Axboe [Tue, 4 Aug 2009 21:04:18 +0000 (23:04 +0200)]
Remove old FIXME comment

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFreeBSD: use generic bdev size retrieval
Jens Axboe [Tue, 4 Aug 2009 21:03:39 +0000 (23:03 +0200)]
FreeBSD: use generic bdev size retrieval

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agosolaris: implement blockdev size getting
Jens Axboe [Tue, 4 Aug 2009 10:49:59 +0000 (12:49 +0200)]
solaris: implement blockdev size getting

Just use lseek(..., SEEK_END), we should actually be able to use that
on all platforms.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agosolarisaio: fix aio errno assignment
Jens Axboe [Tue, 4 Aug 2009 10:49:36 +0000 (12:49 +0200)]
solarisaio: fix aio errno assignment

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAllow ':' in filenames
Jens Axboe [Tue, 4 Aug 2009 07:51:48 +0000 (09:51 +0200)]
Allow ':' in filenames

You can now use '\' to escape a colon in a filename.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoSolaris cpu affinity fix
Jens Axboe [Mon, 3 Aug 2009 08:54:41 +0000 (10:54 +0200)]
Solaris cpu affinity fix

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.32 fio-1.32
Jens Axboe [Fri, 31 Jul 2009 09:23:28 +0000 (11:23 +0200)]
Fio 1.32

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agosmalloc: enlarge pool size
Jens Axboe [Fri, 31 Jul 2009 09:23:19 +0000 (11:23 +0200)]
smalloc: enlarge pool size

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix problem with bw log not working for writes
Jens Axboe [Fri, 31 Jul 2009 09:20:52 +0000 (11:20 +0200)]
Fix problem with bw log not working for writes

We inadvertently only updated the read stat sample time cache,
so writes never logged any activity since negativ time spent is
rounded to zero.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMerge branch 'master' of ssh://router/data/git/fio
Jens Axboe [Mon, 27 Jul 2009 10:28:21 +0000 (12:28 +0200)]
Merge branch 'master' of ssh://router/data/git/fio

10 years agoVerify pattern & header meta data
Radha Ramachandran [Mon, 27 Jul 2009 10:27:55 +0000 (12:27 +0200)]
Verify pattern & header meta data

Also verify meta data when doing pattern verify, if available.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoA few more kb_base fixups
Jens Axboe [Sat, 18 Jul 2009 19:04:09 +0000 (21:04 +0200)]
A few more kb_base fixups

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMake kb_base apply to parser k/m/g etc values
Jens Axboe [Sat, 18 Jul 2009 06:25:35 +0000 (08:25 +0200)]
Make kb_base apply to parser k/m/g etc values

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoAdd tera/peta suffixes
Jens Axboe [Fri, 17 Jul 2009 21:16:17 +0000 (23:16 +0200)]
Add tera/peta suffixes

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, 17 Jul 2009 20:33:45 +0000 (22:33 +0200)]
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio

10 years agoAdd kb_base option to specify the base unit of a kilobyte
Jens Axboe [Fri, 17 Jul 2009 20:33:32 +0000 (22:33 +0200)]
Add kb_base option to specify the base unit of a kilobyte

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoGet rid of KiB vs KB distinction
Jens Axboe [Fri, 17 Jul 2009 20:29:23 +0000 (22:29 +0200)]
Get rid of KiB vs KB distinction

Confuses more than it does good, drop it and default to just using KB,
MB, etc.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoparser: dump valid option format for ->verify() fail
Jens Axboe [Fri, 17 Jul 2009 20:26:15 +0000 (22:26 +0200)]
parser: dump valid option format for ->verify() fail

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFio 1.31 fio-1.31
Jens Axboe [Fri, 10 Jul 2009 06:48:17 +0000 (08:48 +0200)]
Fio 1.31

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoFix broken completion latency numbers
Jens Axboe [Fri, 10 Jul 2009 06:47:57 +0000 (08:47 +0200)]
Fix broken completion latency numbers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agosmalloc: just round alloc_size to int aligned for post redzone pointer
Jens Axboe [Tue, 7 Jul 2009 21:03:06 +0000 (23:03 +0200)]
smalloc: just round alloc_size to int aligned for post redzone pointer

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
10 years agoMake smalloc redzone pointer properly aligned
Jens Axboe [Tue, 7 Jul 2009 15:43:11 +0000 (17:43 +0200)]
Make smalloc redzone pointer properly aligned

It would SIGBUS on archs that require proper alignment, and work
suboptimally on others. Real fix is pending, making sure that
we always return naturally aligned pointers. But this at least
makes it work on sparc64.

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