debug - Add seekbench.c
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 21 Nov 2010 22:21:31 +0000 (14:21 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 21 Nov 2010 22:21:31 +0000 (14:21 -0800)
commit148ebfe253b369f85e0ebc995806349294af3ea7
treed26775a7022d1e247690157015b4054f3c42c01e
parent1937e3fae2b0834ffb3840403abfec992872c04c
debug - Add seekbench.c

* Add a little program which purposefully attempts to defeat OS and disk
  caches to calculate seek latencies for different relative seek spans.

  Well, this doesn't tell us anything we didn't know already, that being
  that unless one can make accesses use of the HDs zone cache well anything
  other than a linear read is going to have a fairly huge seek-time cost.
test/debug/seekbench.c [new file with mode: 0644]