Sync writes have a place, if I'm copying a disk image to a flash drive I typically want to know it's done when dd finishes so I can yank the drive without worrying if the write cache has been flushed.
Re:Dd is not a disk writing tool (2015)
by mschuster91 on Sunday January 08, 2017 @10:56AM
(#13350229)
At least a couple years ago, it was said one should not rip out USB sticks without ejecting them before, because their controller might do invisible maintenance work and that might lead to data corruption...
Re:Dd is not a disk writing tool (2015)
by floatboth on Monday January 09, 2017 @07:38AM
(#13355893)
Hmm. Microsoft doesn't agree: https://i.imgur.com/JIZveQz.png
"Disables write caching […] you can disconnect the device safely without [unmounting it]"
Broadly speaking, flash GC/management journaling is the problem of the controller and is usually not the most broken part of it.
Even the 32K read/write size used by many utilities (shells, XYZsum, rsync and so on) can slow things down with modern/fast IO devices.
Today you'll want to use something like 32K to 2MB. Doesn't really matter around there.
If you're writing synchronously (which you shouldn't), then it becomes a tad more difficult to figure out for optimal performance.