unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Romain Francoise <romain@orebokech.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 14273@debbugs.gnu.org
Subject: bug#14273: `write-region-inhibit-fsync' should default to t
Date: Fri, 26 Apr 2013 15:50:28 +0200	[thread overview]
Message-ID: <87ip39xuxn.fsf@kima.orebokech.com> (raw)
In-Reply-To: <517A2189.3040900@cs.ucla.edu> (Paul Eggert's message of "Thu, 25 Apr 2013 23:41:13 -0700")

Paul Eggert <eggert@cs.ucla.edu> 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.





  parent reply	other threads:[~2013-04-26 13:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-26  6:41 bug#14273: `write-region-inhibit-fsync' should default to t Paul Eggert
2013-04-26 13:13 ` Stefan Monnier
2013-04-26 13:50 ` Romain Francoise [this message]
2013-04-28  7:41   ` Paul Eggert
2013-04-28 10:32     ` Romain Francoise
2013-05-04 19:53     ` Stefan Monnier
2013-05-05  0:53       ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ip39xuxn.fsf@kima.orebokech.com \
    --to=romain@orebokech.com \
    --cc=14273@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).