Jens Axboe [Wed, 18 Oct 2006 13:26:44 +0000 (15:26 +0200)]
[PATCH] Cleanup the io engine methods
Always use td_io_#name so that it's clear that we are calling
into the io engine.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 18 Oct 2006 13:14:35 +0000 (15:14 +0200)]
[PATCH] Verify eta time fix
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 18 Oct 2006 13:06:22 +0000 (15:06 +0200)]
[PATCH] mmap: fix bug introduced with the io engine split
We never initialized the mmap area, because it forgot
to get FIO_MMAPIO.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 18 Oct 2006 12:16:42 +0000 (14:16 +0200)]
[PATCH] Add support for unlinking io files
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 18 Oct 2006 12:10:42 +0000 (14:10 +0200)]
[PATCH Various fixes
- Multiple files fixes
- Fix for unaligned io issued for raw io
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Wed, 18 Oct 2006 09:50:58 +0000 (11:50 +0200)]
[PATCH] First cut at supporting > 1 file per job
This is likely very buggy, a simple test works though.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Fri, 13 Oct 2006 09:06:13 +0000 (09:06 +0000)]
[PATCH] engines/Makefile should use -g as well
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Thu, 12 Oct 2006 05:55:41 +0000 (07:55 +0200)]
[PATCH] Fix segfault if ioengine isn't set
Don't do it in the ioengine_cb callback, it needs to be done
unconditionally.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Tue, 10 Oct 2006 06:30:24 +0000 (08:30 +0200)]
[PATCH] Allow io engine to do the file setup
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Mon, 9 Oct 2006 17:56:04 +0000 (19:56 +0200)]
[PATCH] Don't hardcode ioengine path
Use the prefix in the Makefile, so it can be packaged properly.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Mon, 9 Oct 2006 14:19:29 +0000 (16:19 +0200)]
[PATCH] engines/Makefile had extra LIBS line
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Mon, 9 Oct 2006 14:11:45 +0000 (16:11 +0200)]
[PATCH] Remember to check ioops version in loaded module
It could be for an older version of fio, reject failed version.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Mon, 9 Oct 2006 14:01:27 +0000 (16:01 +0200)]
[PATCH] Fixup failure to load io engine object logging
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Mon, 9 Oct 2006 13:57:48 +0000 (15:57 +0200)]
[PATCH] Separate io engines into separate loadable objects
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Thu, 5 Oct 2006 11:44:15 +0000 (13:44 +0200)]
[PATCH] Fix compile on hosts that have the splice stuff included
Newer distros (FC6-test3 at least) do have the splice syscall and
flag definitions, so check for that in os-linux.h
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe [Thu, 14 Sep 2006 07:48:22 +0000 (09:48 +0200)]
[PATCH] Basic support for a cpu cycle eater job
This will allow you to put some cpu load on the box, while other
threads are doing IO.
Jens Axboe [Tue, 5 Sep 2006 08:46:22 +0000 (10:46 +0200)]
[PATCH] email update
Jens Axboe [Thu, 24 Aug 2006 06:44:26 +0000 (08:44 +0200)]
[PATCH] Correct command line parsing
It worked if you used -t10, but not -t 10. Correct the idx++ usage to
just match optind instead, then things just work.
Problem reported by "Randy.Dunlap" <rdunlap@xenotime.net>
Randy.Dunlap [Thu, 24 Aug 2006 06:39:05 +0000 (08:39 +0200)]
[PATCH] Drop "-f jobfile" from usage help
Jens Axboe [Wed, 16 Aug 2006 13:17:21 +0000 (15:17 +0200)]
[PATCH] libaio returns long, not int
Jens Axboe [Fri, 28 Jul 2006 13:05:34 +0000 (15:05 +0200)]
[PATCH] Only print eta when we have nr_running > 0
Jens Axboe [Mon, 17 Jul 2006 16:15:41 +0000 (18:15 +0200)]
[PATCH] Use lstat() instead of stat() in sysfs lookup
Otherwise we cannot detect the symlinks, and the directory
lookup will get into an infinite loop.
Jens Axboe [Thu, 13 Jul 2006 21:36:02 +0000 (14:36 -0700)]
[PATCH] Fix timout variable setting
By mistake, it assigned the temporary timeout to ull, but
set ->timeout to ul1.
Jens Axboe [Thu, 13 Jul 2006 17:33:45 +0000 (10:33 -0700)]
[PATCH] Fixup nice() return value and duplicate volatiles
Jens Axboe [Tue, 11 Jul 2006 07:11:07 +0000 (09:11 +0200)]
[PATCH] Get _syscallX() functions from <linux/unistd.h>
Jens Axboe [Fri, 16 Jun 2006 08:00:50 +0000 (10:00 +0200)]
[PATCH] Remove redundant -f job option
It just confuses the job file setup.
Jens Axboe [Tue, 13 Jun 2006 12:53:38 +0000 (14:53 +0200)]
[PATCH] Stonewalling wasn't properly done in some circumstances
We don't want to stonewall individual jobs in a file, but that
happened inadvertently with the multi file change. Get it right,
stonewall the first job in all files except the first.
Jens Axboe [Tue, 13 Jun 2006 07:38:36 +0000 (09:38 +0200)]
[PATCH fio-1.5
Jens Axboe [Tue, 13 Jun 2006 07:37:56 +0000 (09:37 +0200)]
[PATCH] Various little fixes and lots of commenting
Jens Axboe [Tue, 13 Jun 2006 07:11:18 +0000 (09:11 +0200)]
[PATCH] Remove last remnants of file extending
Jens Axboe [Mon, 12 Jun 2006 13:21:44 +0000 (15:21 +0200)]
[PATCH] Always create full file, don't extend
Jens Axboe [Mon, 12 Jun 2006 13:17:03 +0000 (15:17 +0200)]
[PATCH] Pass full required size into create_file()
Jens Axboe [Mon, 12 Jun 2006 12:56:43 +0000 (14:56 +0200)]
[PATCH] Fix non-overwrite bug
Jens Axboe [Mon, 12 Jun 2006 09:04:44 +0000 (11:04 +0200)]
[PATCH] Add option for terse parseable output
Jens Axboe [Mon, 12 Jun 2006 08:40:03 +0000 (10:40 +0200)]
[PATCH] Don't hide submission latency numbers, even if they are 0.
Jens Axboe [Mon, 12 Jun 2006 08:28:06 +0000 (10:28 +0200)]
[PATCH] Check and error for graph generation if gnuplot isn't available
Jens Axboe [Mon, 12 Jun 2006 08:23:28 +0000 (10:23 +0200)]
[PATCH] Update usage() text to match options
Jens Axboe [Mon, 12 Jun 2006 08:21:50 +0000 (10:21 +0200)]
[PATCH] Remove the old job command line options
It's all possible to specify in the job file.
Jens Axboe [Fri, 9 Jun 2006 09:37:28 +0000 (11:37 +0200)]
[PATCH] Make it easier to match up filename and job number
Jens Axboe [Fri, 9 Jun 2006 09:28:10 +0000 (11:28 +0200)]
[PATCH] Misc: stall progress ouput during file creation, ini_file frees.
Jens Axboe [Fri, 9 Jun 2006 09:08:56 +0000 (11:08 +0200)]
[PATCH] Add support for giving multiple job files
Jens Axboe [Fri, 9 Jun 2006 08:14:54 +0000 (10:14 +0200)]
[PATCH] Documentation updates
Jens Axboe [Thu, 8 Jun 2006 19:48:46 +0000 (21:48 +0200)]
[PATCH] When logging to a file, stderr should go both to stderr and file
Jens Axboe [Thu, 8 Jun 2006 19:40:11 +0000 (21:40 +0200)]
[PATCH] Enable output logging to file instead of stdout
Jens Axboe [Thu, 8 Jun 2006 12:48:47 +0000 (14:48 +0200)]
[PATCH] Also print pending string if some threads have yet to run
Jens Axboe [Thu, 8 Jun 2006 12:46:24 +0000 (14:46 +0200)]
[PATCH] Improve run_str[] updates and printing
Jens Axboe [Thu, 8 Jun 2006 12:41:05 +0000 (14:41 +0200)]
[PATCH] Note when thread is fsyncing
Jens Axboe [Thu, 8 Jun 2006 11:40:18 +0000 (13:40 +0200)]
[PATCH] Docu update
Jens Axboe [Thu, 8 Jun 2006 11:26:31 +0000 (13:26 +0200)]
[PATCH] Remember to define OS_O_DIRECT to OS type if available
Jens Axboe [Thu, 8 Jun 2006 11:25:41 +0000 (13:25 +0200)]
[PATCH] Compile and works on OpenSolaris (tested on BeleniX)
Jens Axboe [Thu, 8 Jun 2006 09:03:18 +0000 (11:03 +0200)]
[PATCH] Let thread exit cleanup the small allocs
Makes it easier to just inherit the allocations.
Jens Axboe [Thu, 8 Jun 2006 09:00:58 +0000 (11:00 +0200)]
[PATCH] 'parent' is always set in get_new_job()
So just inherit everything with a structure copy, clear/set unrelated
or allocated fields.
Jens Axboe [Wed, 7 Jun 2006 20:52:28 +0000 (22:52 +0200)]
[PATCH] Warn on conflicting read/write iolog
Jens Axboe [Wed, 7 Jun 2006 20:42:37 +0000 (22:42 +0200)]
[PATCH] rwmix seed got broken with random abstraction, fixup
Jens Axboe [Wed, 7 Jun 2006 20:33:17 +0000 (22:33 +0200)]
[PATCH] Broken write_iolog option if iolog given
We don't want to reject the option as bad, just ignore it.
Jens Axboe [Wed, 7 Jun 2006 19:39:13 +0000 (21:39 +0200)]
[PATCH] fio.h is missing unistd.h include
Jens Axboe [Wed, 7 Jun 2006 19:13:04 +0000 (21:13 +0200)]
[PATCH] Cleanups and 'td' size reduction
Jens Axboe [Wed, 7 Jun 2006 17:42:54 +0000 (19:42 +0200)]
[PATCH] Easy process shared semaphores
We really need a pshared semaphore, but those aren't always available.
Just implement a cruddy local semaphore type, fio only really needs
to signal start/stop conditions.
Jens Axboe [Wed, 7 Jun 2006 12:17:08 +0000 (14:17 +0200)]
[PATCH] Final FreeBSD compile fixups
It actually builds now!
Jens Axboe [Wed, 7 Jun 2006 11:57:06 +0000 (13:57 +0200)]
[PATCH] OS abstract out the random seed and value retrieval
This is pretty crappy on FreeBSD, the seed function doesn't seed the
state we want. But it works, so it'll have to suffice for now...
Jens Axboe [Wed, 7 Jun 2006 11:40:40 +0000 (13:40 +0200)]
[PATCH] Get closer to FreeBSD compile
Jens Axboe [Wed, 7 Jun 2006 09:30:07 +0000 (11:30 +0200)]
[PATCH] Guard ioscheduler= option with FIO_HAVE_IOSCHED_SWITCH
Jens Axboe [Wed, 7 Jun 2006 09:14:56 +0000 (11:14 +0200)]
[PATCH] More function moving
Jens Axboe [Wed, 7 Jun 2006 09:10:39 +0000 (11:10 +0200)]
[PATCH] ini parser user friendliness
Jens Axboe [Wed, 7 Jun 2006 08:51:12 +0000 (10:51 +0200)]
[PATCH] Bad option clarifications (dump supported types)
Jens Axboe [Wed, 7 Jun 2006 08:34:49 +0000 (10:34 +0200)]
[PATCH] Convert some options to use check_strstore() if they only dupe the arg
Jens Axboe [Wed, 7 Jun 2006 08:29:47 +0000 (10:29 +0200)]
[PATCH] Add name=x option to name jobs
This makes it easier to see what is going on with large job files.
Jens Axboe [Wed, 7 Jun 2006 06:45:01 +0000 (08:45 +0200)]
[PATCH] Shorten the file names, stupid to prefix everything with fio-
Jens Axboe [Tue, 6 Jun 2006 18:58:57 +0000 (20:58 +0200)]
[PATCH] Juggle some includes, add cscope make target
Jens Axboe [Tue, 6 Jun 2006 18:56:12 +0000 (20:56 +0200)]
[PATCH] Split up fio.c into log/stat/time parts
Jens Axboe [Tue, 6 Jun 2006 13:38:33 +0000 (15:38 +0200)]
[PATCH] Change logging unit from MiB to KiB
Jens Axboe [Tue, 6 Jun 2006 13:36:18 +0000 (15:36 +0200)]
[PATCH] Aggregate bandwidth off-by 1.024
Jens Axboe [Tue, 6 Jun 2006 08:06:42 +0000 (10:06 +0200)]
[PATCH] Cleanup allocation frees on exit
Jens Axboe [Tue, 6 Jun 2006 17:39:10 +0000 (10:39 -0700)]
[PATCH] Add ioscheduler=x option to allow setting io scheduler
Jens Axboe [Tue, 6 Jun 2006 07:36:28 +0000 (09:36 +0200)]
[PATCH] Add exec_prerun/exec_postrun options
Allows one to specify a command line program to run before and
after job io has finished.
Jens Axboe [Tue, 6 Jun 2006 07:31:00 +0000 (09:31 +0200)]
[PATCH] Dynamically allocate the big filename entries in td
Jens Axboe [Tue, 6 Jun 2006 07:25:57 +0000 (09:25 +0200)]
[PATCH] Remove debug printf() in read/write_iolog setup
Jens Axboe [Tue, 6 Jun 2006 07:23:13 +0000 (09:23 +0200)]
[PATCH] Add link to Pascal's RPM repository
Jens Axboe [Mon, 5 Jun 2006 10:20:20 +0000 (12:20 +0200)]
[PATCH] Fio 1.4
Jens Axboe [Fri, 2 Jun 2006 09:09:25 +0000 (11:09 +0200)]
[PATCH] Fixup merge error
Jens Axboe [Fri, 2 Jun 2006 08:53:49 +0000 (10:53 +0200)]
Merge branch 'master' of ssh://router/data/git/fio
Conflicts:
fio.h
Jens Axboe [Fri, 2 Jun 2006 08:32:51 +0000 (10:32 +0200)]
[PATCH] Add support for specifying job nice value with nice=x
Jens Axboe [Fri, 2 Jun 2006 08:14:15 +0000 (10:14 +0200)]
[PATCH] Add support for specifying read/write mix workloads better
Added options:
- rwmixcycle=x, use x msecs as the cycle period for read/write switches
- rwmixread=x, x% of ios will be reads
- rwmixwrite=x, x% of ios will be writes
Last given of the latter two will override the first.
Jens Axboe [Fri, 2 Jun 2006 04:14:21 +0000 (21:14 -0700)]
[PATCH] Add write_iolog support
Jens Axboe [Thu, 1 Jun 2006 14:10:12 +0000 (16:10 +0200)]
[PATCH] More 32-bit fixes (unsigned long -> unsigned long long conversions)
Jens Axboe [Thu, 1 Jun 2006 22:54:09 +0000 (15:54 -0700)]
[PATCH] Fix random io truncate on 32-bit archs
Jens Axboe [Thu, 1 Jun 2006 11:56:09 +0000 (13:56 +0200)]
[PATCH] Introduce an extra runstate for monitoring thread startup
This way we can detect whether a thread is hanging in init, and take
it down after a timeout. This would have caught the /dev/random
problems fixed yesterday.
Also limit the Client message printed at the beginnig, to only show
the first and last of identical job types instead of everything
in between.
Jens Axboe [Wed, 31 May 2006 18:43:01 +0000 (20:43 +0200)]
[PATCH] Fixup stat queue file read
Apparently a stat file got added to the partition directory as
well, which broke the lookup.
Jens Axboe [Wed, 31 May 2006 18:29:00 +0000 (20:29 +0200)]
[PATCH] Use /dev/urandom instead of /dev/random
We are not cryptographic software, and with many threads it's
actually possible to run out of entropy.
Jens Axboe [Wed, 31 May 2006 10:14:35 +0000 (12:14 +0200)]
[PATCH] Don't allow mlock of more than real_mem-128MiB
Jens Axboe [Wed, 31 May 2006 09:56:49 +0000 (11:56 +0200)]
[PATCH] Use mmap for mlocked memory
Jens Axboe [Wed, 31 May 2006 08:16:18 +0000 (10:16 +0200)]
Merge branch 'master' of ssh://router/data/git/fio
Jens Axboe [Wed, 31 May 2006 08:13:16 +0000 (10:13 +0200)]
[PATCH] Add lockmem=x option to pin memory
Jens Axboe [Tue, 30 May 2006 12:29:37 +0000 (14:29 +0200)]
Merge branch 'master' of router:/data/git/fio
Jens Axboe [Tue, 30 May 2006 12:29:32 +0000 (14:29 +0200)]
[PATCH] More string fixups
Jens Axboe [Tue, 30 May 2006 11:45:51 +0000 (13:45 +0200)]
[PATCH] End stripping exposed suffix bug
Jens Axboe [Tue, 30 May 2006 11:35:14 +0000 (13:35 +0200)]
[PATCH] String and thread inherit fixes
Jens Axboe [Tue, 30 May 2006 11:04:05 +0000 (13:04 +0200)]
[PATCH] Add end_fsync option
Jens Axboe [Sun, 28 May 2006 18:13:51 +0000 (20:13 +0200)]
[PATCH] splice fixes
Jens Axboe [Sat, 27 May 2006 18:32:34 +0000 (20:32 +0200)]
[PATCH] fio_spliceio_event() used wrong private type