Howard Chu wrote:
But again, using O_DIRECT means every I/O is synchronous, so I guess that might wreak havoc on any queuing optimizations in the fs.
And readahead, if it's working for the application.
In my tests I ran a battery of workloads, not just operations that benefitted from a warm, large cache. Some speeded up, but others got much worse.