3 ms·
your benchmarks use O_DIRECT, which bypasses the fs cache the fs cache does most/all of the optimizations you're doing manually bypassing the fs cache is high
by preseinger 4y ago
your benchmarks use O_DIRECT, which bypasses the fs cache
the fs cache does most/all of the optimizations you're doing manually
bypassing the fs cache is highly atypical for user-space code