Saturday 13th April 2013 5.15am
Sat, Apr 13, 2013Whoops, Windows wasn't fsyncing before file close! Now for 1000 file open, write one byte, fsync + close, then delete:
Windows Overlapped IOCP backend on Windows 7 x64, 3.5Ghz Ivy Bridge on 256Gb Samsung 830 SSD:
It took 0.0060016 secs to dispatch all operations
It took 10.5304 secs to finish all operations
It took 0.0946942 secs to do 10560.3 file opens per sec
It took 0.0886926 secs to synchronise file opens
It took 0.356598 secs to do 2804.28 file writes per sec
It took 10.0084 secs to do 99.9158 file closes per sec
It took 0.0766435 secs to do 13047.4 file deletions per sec
With file syncs disabled:
It took 0.0080015 secs to dispatch all operations
It took 0.254549 secs to finish all operations
It took 0.0890104 secs to do 11234.6 file opens per sec
It took 0.0810089 secs to synchronise file opens
It took 0.011002 secs to do 90892.6 file writes per sec
It took 0.018002 secs to do 55549.4 file closes per sec
It took 0.144536 secs to do 6918.71 file deletions per sec
Suddenly Linux's poor performance doesn't look so bad …