[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever
From: |
Eli Zaretskii |
Subject: |
bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory |
Date: |
Tue, 30 Oct 2018 14:28:36 +0200 |
> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: justin.vanwinkle@gmail.com, 33194@debbugs.gnu.org
> Date: Tue, 30 Oct 2018 11:44:19 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> One defense action which comes to mind is to manage the incoming
> >> events. If there is a burst of `change' events in a short time, they
> >> could be cumulated to one event, as inotify does. Implemented in
> >> `file-notify-handle-event', this would applicable to all file
> >> notification backends, and not only to inotify.
> >
> > But won't that by itself require CPU for processing?
>
> Yes, but is doesn't call `revert-buffer' for every single `change'
> event.
I believe you are saying that most of the CPU cycles are spent in the
actual reverting. That might be so, but it isn't 100% sure, and I
think we need some data to back that up.
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Justin Van Winkle, 2018/10/29
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Michael Albinus, 2018/10/29
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Justin Van Winkle, 2018/10/29
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Justin Van Winkle, 2018/10/29
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Eli Zaretskii, 2018/10/30
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Michael Albinus, 2018/10/30
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Eli Zaretskii, 2018/10/30
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Michael Albinus, 2018/10/30
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory,
Eli Zaretskii <=
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Michael Albinus, 2018/10/30
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Justin Van Winkle, 2018/10/30
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Michael Albinus, 2018/10/30
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Justin Van Winkle, 2018/10/30
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Michael Albinus, 2018/10/30
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Justin Van Winkle, 2018/10/30
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Eli Zaretskii, 2018/10/30
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Justin Van Winkle, 2018/10/30
- bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory, Justin Van Winkle, 2018/10/30