History log of /external/fio/lib/rand.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
98836539504bd527d029e12496fbaa343b0adb48 09-Mar-2012 Jens Axboe <axboe@kernel.dk> Compression buffer fill fix

We need to advance after the zero fill as well.

Reported-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/lib/rand.c
811ac503a6196f13da22565eb165c278988da4da 02-Mar-2012 Jens Axboe <axboe@kernel.dk> Compression fixes

- memset() remainder of buffer instead of copying random segment.
Provides more reliable compression (yes yes, you told me so).

- Allow 100 as well, just means full memset. Make that just set
zero_buffers=1 instead, since we only need to do it once
instead of for every write.

Signed-off-by: Jens Axboe <axboe@kernel.dk>

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/lib/rand.c
9c42684e32325da26e862280388798343c5f1305 02-Mar-2012 Jens Axboe <axboe@kernel.dk> Add buffer_compress_percentage

The option is pending testing, so not documented yet.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/lib/rand.c
3545a109a2cfe5ab22969ef453dc049db47f0b68 31-Aug-2011 Jens Axboe <jaxboe@fusionio.com> Ensure that buffer contents are random across jobs as well

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/lib/rand.c
2615cc4b28e7d0e436a625dff92e6a71ccc6c49b 28-Mar-2011 Jens Axboe <jaxboe@fusionio.com> Switch to using our internal Tausworthe based random generator for offsets

It's both faster and more exhaustive than what is available on
glibc on my test systems. So no downsides, and the upside of having
the same offset generator across all platforms.

This will change the random series, so could alter performance for
your workload since the pattern will be different in sequence. There's
an option to revert to the OS generator, you can add use_us_rand=1
on your job files to retain the old generator offsets.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/lib/rand.c
7d9fb455aadc0c0363489591775496f27f4a560a 11-Jan-2011 Jens Axboe <jaxboe@fusionio.com> When verify fails, dump the good/bad blocks to files

This makes it easy to compare afterwards to see what kind of
corruption was experienced.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/lib/rand.c
637ef8d9f7645135cf4829894d1e3983cd7a042e 21-Jun-2010 Jens Axboe <jaxboe@fusionio.com> Speedup verify random fills by 10-15x

Move the pseudo-random helper into lib/rand.c and use that
from the verify populate as well.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/lib/rand.c
79c94bd37280c76a4e8e01ea008ba1853f7bef9c 25-Mar-2010 Jens Axboe <jens.axboe@oracle.com> Add documentation for the random number generator

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/lib/rand.c
1fbbf72e16c27a6fda636db3891a41cd37dc6666 25-Mar-2010 Jens Axboe <jens.axboe@oracle.com> First step at speeding up io_u rand refill

Makes it 3x faster here.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/lib/rand.c