From 8cf9c570123532e86912344619d437f950fda002 Mon Sep 17 00:00:00 2001 From: Steven Berler Date: Fri, 22 Jul 2011 13:10:28 -0700 Subject: [PATCH] fix readwrite tool file sizes Makes the file sizes specified correctly in KB instead of B --- s3tests/rand_readwrite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/s3tests/rand_readwrite.py b/s3tests/rand_readwrite.py index 0f00bea..4ee2770 100644 --- a/s3tests/rand_readwrite.py +++ b/s3tests/rand_readwrite.py @@ -151,8 +151,8 @@ def main(): max_amount=options.num_files )) files = realistic.files( - mean=options.file_size, - stddev=options.stddev, + mean=1024 * options.file_size, + stddev=1024 * options.stddev, seed=options.seed, ) q = gevent.queue.Queue()