Skip to content

Commit

Permalink
Update README Sample Run to show speed scale in action.
Browse files Browse the repository at this point in the history
  • Loading branch information
rentzsch committed Nov 18, 2011
1 parent 2edc0c3 commit 9e33cc6
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,22 @@ It was written to verify correct operation of [de-duping SSDs](http://storagemoj

### Sample Run

$ sudo ./stressdrive /dev/rdisk1
$ sudo ./stressdrive /dev/rdisk9
blockSize: 512
blockCount: 512000
writing random data to /dev/rdisk1
writing 100% (block 511360 of 512000)
2eed7209b7a5b9a1a22cd4eb1b77a59da23c1d56 <= SHA-1 of written data
blockCount: 468862128
speedScale: 16x
scaled blockSize: 8192
scaled blockCount: 29303883
writing random data to /dev/rdisk0
writing 100% (block 29303002 of 29303883)
1779f30a231c1d07c578b0e4ee49fde159210d95 <= SHA-1 of written data
verifying written data
reading 100% (block 510323 of 512000)
2eed7209b7a5b9a1a22cd4eb1b77a59da23c1d56 <= SHA-1 of read data
reading 100% (block 29302306 of 29303883)
1779f30a231c1d07c578b0e4ee49fde159210d95 <= SHA-1 of read data
SUCCESS

That run took about 10 hours on a 240GB SSD.

### "How is this better than Disk Utility's 'Zero Out Data'?"

Some SSD's de-duplicate stored blocks. For these "filling" it with zeros if actually just modifying one or two actual mapping blocks over and over again. It's not a real test of the SSD's hardware.
Expand Down

0 comments on commit 9e33cc6

Please sign in to comment.