[lkml]   [2011]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectwriteback test scripts

I've uploaded the writeback test scripts to github:
(status: usable, ugly, a lot of rough edges)


The main features are

- automated dd/fio tests

- combinations of kernel/fs/fio job/nr_dd/dirty_thresh that is
hopefully complete enough to catch common performance regressions

- compare.rb for quickly evaluating performance and locate regressions

- detailed logs and graphs for analyzing regressions

To try it out,

1) copy all files to


2) basic configuration

cp $(hostname)
vi $(hostname)

Minimal configuration is to prepare at least one empty partition and
point DEVICES to it, create one empty mount point and point MNT to it.

3) add a hook at the end of rc.local:

/path/to/writeback-tests/ will test one case on each fresh boot. It will
automatically reboot the test box for each test cases until all done.

Each test run will save its log files to a unique directory


and if that directory already exists, the test case will be skipped.

We may further do a queue based job submission/execution system,
however this silly loop works good enough for me now :-)


 \ /
  Last update: 2011-11-15 05:05    [W:0.023 / U:1.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site