jthornber/device-mapper-test-suite — pull request #22 by akiradeveloper (2014-05-14 13:25:53+00:00)
Title: [writeboost] Add benchmark to how writeback optimization effects

Add new benchmarking to see how writeback optimization effects.

Signed-off-by: Akira Hayakawa

----

This test is to measure how effective the writeback optimization of Writeboost is by comparing the time to carry all write dirty data to HDD.

w/ Writeboost: write on SSD -> wait for all dirty data are written back to HDD
wo : Just writes to HDD.

The result in my environment is

```
Elapsed 67.258316296: writeboost batch_size(4)
Elapsed 45.095309196: writeboost batch_size(32)
Elapsed 35.220709076: writeboost batch_size(128)
Elapsed 85.789129318: backing ONLY
```

This result indicates stacking Writeboost on a HDD can boost writes.

(Oh, ... why it deteriorates reads this much)