bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14273: `write-region-inhibit-fsync' should default to t


From: Romain Francoise
Subject: bug#14273: `write-region-inhibit-fsync' should default to t
Date: Fri, 26 Apr 2013 15:50:28 +0200

Paul Eggert <address@hidden> writes:

> These days it's better to default write-region-inhibit-fsync to t.

FWIW, I disagree.

Yes, fsync hurts performance, and yes it's not always effective anyway.
But there are still many situations where it does help get the data to
disk in time to prevent data loss, and as far as default values are
concerned Emacs should err on the side of safety.

(You'll note that I was the one who added this option back in 2005.)

> This change speeds up "make compile-always" by 15% on my platform.

If build time is an issue, you can use `eatmydata' (or any of the
existing safety-disabling wrappers) to get the same benefit.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]