Comment by mpweiher
9 years ago
The point of the article is that I was also "pretty sure" about exactly that, and advances in hardware performance meant I was wrong...
2GB/s is pretty damn fast, 0.5 nanoseconds per byte.
9 years ago
The point of the article is that I was also "pretty sure" about exactly that, and advances in hardware performance meant I was wrong...
2GB/s is pretty damn fast, 0.5 nanoseconds per byte.
That's not what the article showed. It showed that synchronous IO latency was the limiting factor. By arranging your IOs into little 512-byte chunks, you don't make it terribly easy for the filesystem to efficiently use the underlying device --not surprising, given that it doesn't even want to work in 512 byte sectors, and operates more efficiently with lots of a parallel io operations.
OS X does write-coalescing.
You can't write coalesce IO operations that haven't been called yet.