Remix.run Logo
Avamander 4 days ago

Fsync is also overused at times, like some random web app's local storage does not need to be forced onto the disk.

londons_explore 4 days ago | parent [-]

That fsync behaviour I think is a good part of the reason that apps seem to run faster/better on osx than windows/Linux.

I wish Linux and windows would have settings to change all fsyncs to barriers too.

Unfortunately I think Linux recently removed such an ability on the basis the code complexity wasn't worth it.

Avamander 4 days ago | parent [-]

Would it not be possible to achieve this with something akin to how libeatmydata can be LD_PRELOAD-ed?