3 ms·
I started seeing really high disk latency - on the order of tens of seconds to create a file. That's not disk latency. That's filesystem latency. It's entire
by cperciva 16y ago
I started seeing really high disk latency - on the order of tens of seconds to create a file.
That's not disk latency. That's filesystem latency.
It's entirely possible that the disk latency was high, but you really should have measured it directly to rule out filesystem problems.
- swalberg 16y agoI would have loved to do more in depth measurement, but I couldn't get to any disk stats under /proc. Even iostat was crippled. I'm also not sure the distinction was that important in that case. With their VPS implementation there were no knobs I could turn. The root cause of the problem had to be on their side of the fence. "Measure with a micrometer. Mark with chalk. Cut with axe"
- cperciva 16y agoWell, one common issue is filesystems slowing down if data structures (e.g. directories) get big. Creating a single file doesn't take a constant number of disk operations.