On Wed, Jun 17, 2020 at 11:45:53PM +0300, Reco wrote:
Long story short, if you need a primitive I/O benchmark, you're better with both dsync and nocache.
Not unless that's your actual workload, IMO. Almost nothing does sync i/o; simply using conv=fdatasync to make sure that the cache is flushed before exiting is going to be more representative.