diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-03-24 13:12:55 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-03-24 13:12:55 +0100 |
commit | 29bdc9c97c5e27e35ea0b98400af33c54fb2d31e (patch) | |
tree | fb6491e4aaebf127383e7973fe3afde4708e00bd /flashbench.c | |
parent | 46c501db9708543d07fc9741ff1d6b12aa8ad9a2 (diff) |
flashbench: use lower number of samples in -a test
Turns out a bit too much, and might hide some effects.
Also, using something just below a power of two works
better, so use 7 now.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'flashbench.c')
-rw-r--r-- | flashbench.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flashbench.c b/flashbench.c index a31e479..60980d7 100644 --- a/flashbench.c +++ b/flashbench.c @@ -322,7 +322,7 @@ static int try_read_alignment(struct device *dev, int tries, int count, static int try_read_alignments(struct device *dev, int tries, int blocksize) { - const int count = 32; + const int count = 7; int ret; off_t align, maxalign; |