2 ms·
I would add what it is very rare to have 100MiB+ writes to a log file and anything less would be concurrent with the other operations, which would make 'sequent
by justsomehnguy 4y ago
I would add what it is very rare to have 100MiB+ writes to a log file and anything less would be concurrent with the other operations, which would make 'sequential' here a moot point.
> At base, most logfile output is a read-modify-write
It's worse, actually, as you never can tell if this would be RMW to the same block or to the other free block. In the former you waste the writes for the whole blocks. In the latter you can hit a write amplification despite never have been writing any meaningful amount of data.
- JdeBP 4y agoIt's worse for an even simpler reason, which I thought about mentioning but it probably wasn't what thelastparadise was talking about. The line by line synchronization and flushing also causes i-node updates.