Commit Graph

14 Commits

Author SHA1 Message Date
Bart Van Assche
81bf548098 - Added command-line option -j, which allows to use fio for measuring
I/O times instead of dd.
- For asynchronous (buffered) write tests with dd, switched from
  sync-after-every-write to sync-at-end.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1121 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-20 12:11:12 +00:00
Bart Van Assche
4d249a4112 Added command-line option -f, which allows to skip the test whether there is still data present.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1001 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-02 18:04:21 +00:00
Bart Van Assche
803e706181 Added a check for the device size before starting the test.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@962 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-19 07:18:51 +00:00
Bart Van Assche
b780be7a7b Various improvements:
- Display a clear warning if the user running this script does not have
  sufficient privileges to drop the VM caches.
- Made sure that header and data columns are aligned if dd reports an
  error, e.g. when trying to perform direct I/O on a device that does
  not support direct I/O.
- Made sure that header and data columns are aligned when running a
  read-only test (-r).


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@961 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-18 11:55:59 +00:00
Bart Van Assche
6947c6168e Added command-line option -t, which allows to drop the caches of the target too. Added dd flag conv=notrunc to write performance tests, which makes running blockdev-perftest on files instead of devices a lot easier.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@933 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-06 17:43:47 +00:00
Bart Van Assche
ed81fdc037 Fixed a bug that was introduced in the previous revision: the script entered an infinite loop when the size specified through -s was smaller than 64MB.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@932 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-03 19:54:09 +00:00
Bart Van Assche
9cc47f781a Ported from bash to sh and from GNU awk to POSIX awk. Runs now correctly on an unmodified Debian or Ubuntu system.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@924 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-29 17:55:32 +00:00
Bart Van Assche
1f5216bc21 Split table header over two lines / columns are now lined up with the table header if all printed numbers are smaller than 10000.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@901 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-15 18:55:36 +00:00
Bart Van Assche
5c4a41b656 - Added command-line option -i.
- Added additional columns with average transfer speed in MB/s, the
  standard deviation for this average, and the number of IOPS.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@897 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-11 18:59:00 +00:00
Bart Van Assche
0f13efa2b1 Added command-line option -r.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@852 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-12 18:53:11 +00:00
Bart Van Assche
9ad7406ef7 Added even more cache flushing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@766 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-10 18:41:48 +00:00
Bart Van Assche
624c2fb7e3 Flush all caches before starting a test.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@762 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-08 16:35:15 +00:00
Bart Van Assche
5687a49e80 Changes:
- Added command-line options -a, -d, -n and -s.
- If the syntax of the command-line options is incorrect, a usage text
  is displayed.
- Bug fix: log2_io_size is now honored even if the target device is larger
  than the specified size.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@747 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-04 09:12:20 +00:00
Bart Van Assche
92f2da2e57 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@728 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-03-29 08:50:52 +00:00