Add sample zipf distribution randomizer
authorJens Axboe <axboe@kernel.dk>
Tue, 6 Nov 2012 09:49:42 +0000 (10:49 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Nov 2012 09:49:42 +0000 (10:49 +0100)
commite25839d4cb5fefcb5ffce76128a4faedb177e7af
tree7082c9f9ab2c18c3092effaf74dfd10c22d3b221
parent155015351132ad00e2e21cb63f52fee91e56e92a
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>
Makefile
examples/zipf [new file with mode: 0644]
fio.h
init.c
io_u.c
lib/zipf.c [new file with mode: 0644]
lib/zipf.h [new file with mode: 0644]
options.c
parse.c
parse.h