From de141540ef6fd41e2103e3fd877490212f14826a Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 22 Apr 2009 09:47:43 +0200 Subject: [PATCH] Add sample job for doing a quick SSD performance analysis Nothing SSD special about it really, but this sort of test is useful on SSD drives to see if they are crap or not. Signed-off-by: Jens Axboe --- examples/ssd-test | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 examples/ssd-test diff --git a/examples/ssd-test b/examples/ssd-test new file mode 100644 index 00000000..c84cf501 --- /dev/null +++ b/examples/ssd-test @@ -0,0 +1,37 @@ +# Do some important numbers on SSD drives, to gauge what kind of +# performance you might get out of them. +# +# Sequential read and write speeds are tested, these are expected to be +# high. Random reads should also be fast, random writes are where crap +# drives are usually separated from the good drives. +# +# This uses a queue depth of 4. New SATA SSD's will support up to 32 +# in flight commands, so it may also be interesting to increase the queue +# depth and compare. Note that most real-life usage will not see that +# large of a queue depth, so 4 is more representative of normal use. +# +[global] +bs=4k +ioengine=libaio +iodepth=4 +size=1g +direct=1 +runtime=60 +directory=/mount-point-of-ssd +filename=ssd.test.file + +[seq-read] +rw=read +stonewall + +[rand-read] +rw=randread +stonewall + +[seq-write] +rw=write +stonewall + +[rand-write] +rw=randwrite +stonewall -- 2.25.1