3 ms·
One other thing you might want to measure is how quickly you can do a write to disk. On some 2.5" WD Black drive I was benchmarking years back, I got a ~2 ms
by SamReidHughes 7y ago
One other thing you might want to measure is how quickly you can do a write to disk. On some 2.5" WD Black drive I was benchmarking years back, I got a ~2 ms minimum time between uncached writes. Keep in mind it's 8.333 ms per rotation on a 7200 RPM drive. The simplest methodology is to perform a write at sector zero, wait until it's acked, then perform one at sector N, and see how low you can set N. It was a bit less than a quarter the way around the track.
So if you wanted to optimize your file system for some sequential fsync workload (which iirc affected Firefox performance at some point), well, you might want strategically placed regions around disk for updating your write-ahead log.
That drive burnt 230 μs just doing a cached write, which only took 30 μs (or 60?) on an Intel SSD, so there was a lot of fluff going on.
- hinkley 7y agoHe says that short stroking only improves iops by about 20%, which is nothing to sneeze at but also not that impressive.
- SamReidHughes 7y agoThe case I'm talking about is no-stroking, where you're on the same track.