-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Fengguang Wu
committed
Apr 2, 2012
1 parent
2466739
commit 8b79e05
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
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 scripts for quickly evaluating performance and locate regressions | ||
|
||
- detailed logs and graphs for analyzing regressions | ||
|
||
To try it out, | ||
|
||
1) copy all files to | ||
|
||
/path/to/writeback-tests | ||
|
||
2) basic configuration | ||
|
||
cp fat-config.sh $(hostname)-config.sh | ||
vi $(hostname)-config.sh | ||
vi config.sh | ||
|
||
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/main-loop.sh | ||
|
||
main-loop.sh 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 | ||
|
||
/path/to/writeback-tests/$(hostname)/<path1>/<path2>/ | ||
|
||
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 :-) |