From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arne Babenhauserheide Newsgroups: gmane.emacs.bugs Subject: bug#7550: 23.2; emacs frozen while saving to USB-stick/slow disk (unfreezes after the write finishes) Date: Sat, 04 Dec 2010 11:24:37 +0100 Message-ID: <86sjydzvh6.fsf@yahoo.de> Reply-To: arne_bab@yahoo.de NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1291459539 7110 80.91.229.12 (4 Dec 2010 10:45:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Dec 2010 10:45:39 +0000 (UTC) To: 7550@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 04 11:45:35 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1POpcS-0007Us-GC for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Dec 2010 11:45:33 +0100 Original-Received: from localhost ([127.0.0.1]:43162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POpcR-0005zy-Qv for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Dec 2010 05:45:31 -0500 Original-Received: from [140.186.70.92] (port=45307 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POpcF-0005yl-Ep for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 05:45:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POpcD-0006CX-CH for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 05:45:19 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POpcD-0006CT-Ao for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 05:45:17 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1POpEj-0003Y6-Ny; Sat, 04 Dec 2010 05:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Arne Babenhauserheide Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Dec 2010 10:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7550 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.129145806013633 (code B ref -1); Sat, 04 Dec 2010 10:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Dec 2010 10:21:00 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1POpEi-0003Xp-0a for submit@debbugs.gnu.org; Sat, 04 Dec 2010 05:21:00 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1POpEg-0003Xd-8U for submit@debbugs.gnu.org; Sat, 04 Dec 2010 05:20:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POpKF-0008TA-MV for submit@debbugs.gnu.org; Sat, 04 Dec 2010 05:26:44 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:44493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POpKF-0008T2-JU for submit@debbugs.gnu.org; Sat, 04 Dec 2010 05:26:43 -0500 Original-Received: from [140.186.70.92] (port=44156 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POpKE-0001BV-35 for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 05:26:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POpKC-0008SZ-RW for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 05:26:42 -0500 Original-Received: from fmmailgate01.web.de ([217.72.192.221]:45486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POpKC-0008SL-A4 for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 05:26:40 -0500 Original-Received: from smtp02.web.de ( [172.20.0.184]) by fmmailgate01.web.de (Postfix) with ESMTP id E646D1801CADA for ; Sat, 4 Dec 2010 11:24:38 +0100 (CET) Original-Received: from [188.98.138.104] (helo=gentooxo) by smtp02.web.de with asmtp (WEB.DE 4.110 #24) id 1POpIE-0003u0-00 for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 11:24:38 +0100 X-Sender: arne_bab@web.de X-Provags-ID: V01U2FsdGVkX18MvboME5Iw1yZjlDYcZhOiitV3QskAA36Iu3cG 9tbDosWhtYLRq/gP/1eAsQokf9KhjmlA/jHnLZ0a1qVRHHwgAf KoCJr/ExY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 04 Dec 2010 05:21:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42138 Archived-At: Dear emacs developers, I=2019ve been using emacs as default editor on my OLPC with Gentoo booted from USB stick (and it=2019s great having everything I need without having to start a graphical environment!). There=2019s a major hindrance for me, though: When I save a file, emacs freezes for a few seconds before I can continue to work (and C-x C-s has become almost hardwired in my fingers :) ). I can just type on and it will act on the keystrokes after unfreezing again, but it is still disturbing my workflow quite a bit. My guess is that the reason for that are backup files and/or the log of last accessed files (or similar). So I=2019d like to ask if it would be possible to write that additional data asynchronously. The only other reason for the short freeze I can think of right now is that emacs might force the disk to commit right now. My commit time for the root disk is set to 30s, so normally a write should just go into memory, taking almost zero time (and nano for example doesn=2019t show the lag =2014 which doesn=2019t mean that I want to use nano for my editing; there=2019s a whole world between emacs and nano). Is there a way to fix the freezes without disabling session log and/or backup files? Best wishes, Arne In GNU Emacs 23.2.1 (i686-pc-linux-gnu) of 2010-07-07 on fluss configured using `configure '--prefix=/usr' '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-crt-dir=/usr/lib' '--with-sound' '--with-x' '--without-gconf' '--without-toolkit-scroll-bars' '--without-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--without-tiff' '--with-xpm' '--without-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=no' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-march=geode -O2 -pipe' 'LDFLAGS=-Wl,-O1'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8 default enable-multibyte-characters: t Major mode: Org Minor modes in effect: shell-dirtrack-mode: t gpm-mouse-mode: t real-global-auto-complete-mode: t global-auto-complete-mode: t auto-complete-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t Recent input: ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B D O N E SPC ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C SPC =21d2 SPC o r g t DEL - t i m e r - s e t , SPC o r g - t i m e r - s t a r t C-o RET DEL ESC [ 3 ~ C-x C-s C-c C-x C-a ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ C ESC [ A ESC [ C ESC x r e p o r t - b u g TAB RET Recent messages: Wrote /home/arne/.emacs.d/private/org/emacs-plan.org Waiting for process to die...(type C-g again to kill it instantly) Waiting for process to die...done Quit Copied: Subtree(s) with 78 characters Saving file /home/arne/.emacs.d/private/org/emacs-plan.org_archive... Wrote /home/arne/.emacs.d/private/org/emacs-plan.org_archive Cut: Subtree(s) with 78 characters Subtree archived in file: ~/.emacs.d/private/org/emacs-plan.org_archive Auto-saving...done Load-path shadows: ~/.emacs.d/private/gnus hides /usr/share/emacs/23.2/lisp/gnus/gnus Features: (shadow sort mail-extr message idna ecomplete rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev nnheader gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils warnings emacsbug org-archive org-clock org-timer help-mode view log-edit pcvs-util add-log vc vc-dispatcher tabify thingatpt vc-hg org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp org-exp-blocks org-agenda org-info org-gnus org-bibtex org-bbdb tramp-imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util netrc shell comint ring password-cache format-spec tramp-compat trampver bookmark pp t-mouse server ispell activate-babenv activate-private-data private-basic smtpmail sendmail regexp-opt saveplace activate-identica identica-mode json url-http tls url-auth mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums url-gw url url-proxy url-privacy url-expand url-methods url-history mailcap longlines parse-time xml epa-file epa epg epg-config activate-german-spelling activate-auto-complete auto-complete-config auto-complete popup activate-markdown ezbl derived edmacro kmacro url-cookie url-util url-parse url-vars mm-util mail-prsvr timezone htmlize cl cl-19 type-break goto-chg activate-quick-note remember org-remember org-datetree org byte-opt bytecomp byte-compile advice help-fns advice-preload org-footnote org-src org-list org-faces org-compat org-macs time-date noutline outline easy-mmode easymenu allout ido activate-base site-gentoo w3m-load tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind x multi-tty emacs)