From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.bugs Subject: bug#14273: `write-region-inhibit-fsync' should default to t Date: Fri, 26 Apr 2013 15:50:28 +0200 Organization: orebokech dot com Message-ID: <87ip39xuxn.fsf@kima.orebokech.com> References: <517A2189.3040900@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1366984271 25352 80.91.229.3 (26 Apr 2013 13:51:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Apr 2013 13:51:11 +0000 (UTC) Cc: 14273@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 26 15:51:15 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UVj3R-0007sE-DL for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Apr 2013 15:51:13 +0200 Original-Received: from localhost ([::1]:51552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVj3O-0002Q0-Ro for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Apr 2013 09:51:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVj3K-0002Ph-KI for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 09:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVj3G-0004jr-12 for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 09:51:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVj3F-0004jl-Tx for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 09:51:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UVj3G-0002CW-B8 for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 09:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Romain Francoise Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Apr 2013 13:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14273 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 14273-submit@debbugs.gnu.org id=B14273.13669842398389 (code B ref 14273); Fri, 26 Apr 2013 13:51:02 +0000 Original-Received: (at 14273) by debbugs.gnu.org; 26 Apr 2013 13:50:39 +0000 Original-Received: from localhost ([127.0.0.1]:44395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UVj2s-0002BA-ED for submit@debbugs.gnu.org; Fri, 26 Apr 2013 09:50:38 -0400 Original-Received: from stringer.orebokech.com ([88.190.240.207]:56506) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UVj2l-0002Af-HQ for 14273@debbugs.gnu.org; Fri, 26 Apr 2013 09:50:35 -0400 Original-Received: from kima.orebokech.com (kima [192.168.2.5]) by stringer.orebokech.com (Postfix) with ESMTP id 17EB018803A8; Fri, 26 Apr 2013 15:50:29 +0200 (CEST) Original-Received: by kima.orebokech.com (Postfix, from userid 1000) id 0ABCE242C65; Fri, 26 Apr 2013 15:50:29 +0200 (CEST) In-Reply-To: <517A2189.3040900@cs.ucla.edu> (Paul Eggert's message of "Thu, 25 Apr 2013 23:41:13 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73730 Archived-At: Paul Eggert 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.