From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Peter Ludemann Newsgroups: gmane.emacs.bugs Subject: bug#38644: 26.3; emacs uses 100% CPU with auto-revert-mode Date: Mon, 16 Dec 2019 17:23:30 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002eca4a0599dc2f0b" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="242076"; mail-complaints-to="usenet@blaine.gmane.org" To: 38644@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 17 02:25:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ih1bw-0010od-7m for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Dec 2019 02:25:16 +0100 Original-Received: from localhost ([::1]:33984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ih1bu-0005F1-Oz for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Dec 2019 20:25:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58527) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ih1bm-0005Eg-GS for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2019 20:25:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ih1bi-0003dh-VA for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2019 20:25:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34591) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ih1bi-0003cL-R1 for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2019 20:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ih1bi-0004qg-LH for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2019 20:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Peter Ludemann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Dec 2019 01:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38644 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.157654586318585 (code B ref -1); Tue, 17 Dec 2019 01:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Dec 2019 01:24:23 +0000 Original-Received: from localhost ([127.0.0.1]:40564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ih1b4-0004pe-5f for submit@debbugs.gnu.org; Mon, 16 Dec 2019 20:24:23 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:58036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ih1b1-0004pW-Tr for submit@debbugs.gnu.org; Mon, 16 Dec 2019 20:24:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58169) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ih1ay-0005C2-RB for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2019 20:24:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ih1as-0001xD-TU for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2019 20:24:16 -0500 Original-Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:42311) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ih1as-0001t5-Du for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2019 20:24:10 -0500 Original-Received: by mail-lj1-x232.google.com with SMTP id e28so2090292ljo.9 for ; Mon, 16 Dec 2019 17:24:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wy5m7/kB8f8vZZZ8H4J74IF3h0qtWH6K9n7yXx4qGm0=; b=aB7uUhkWiq11GZJhEQvk86F7lrZIYId0s6cVX1h8jyLvQJOCF2H9WKK6CPeB/pgVbK pF4bZ/yU5ZuZTJcnzyfCnUlu/Z/xaCI82h/YU+rx1MNhpBKQR/9Gs2aeA+vU97zd1W8L rDyLEm9KKrGQusjAXbs3FJrCdWtxnxJbSGkwJhSNl45IFozC6vXJh/qgiu+2Ti63s6hs ZM7m0DLTn8469hsraH8Buk8fWbBAFYBkFT9lqlU2h2qui5AWWB3RdUd6PfP8xIx1XFtS 2BLBrLDoYFP+OYg8mcgxVc7WZsn2X6QjErwzL1dak/KeC3QV4dA5u2rGvltWkXYo7Ela buNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wy5m7/kB8f8vZZZ8H4J74IF3h0qtWH6K9n7yXx4qGm0=; b=EUyUoUJf7uHJRm1iexowiESUt5Zx9HW5Ru3PXmRtfjF7UOsbFz2IrUrOpk4DbHToig 5JUNWGf3sOK7p026Rr1HuxZT0GwFcuoPw4kcfMRNnb5CQEWIkt78uSLx9cHZmlx40cHC 5Hw7MOJLWJkqmvJP9YeLtJpzZMADMV/9KHfkJTnR9kACSwcfZUQBcua8bnCJMzfVgICJ X2VlmC8odrUfkxZzyDKx8ZgpIPPmRUHCYnljCORV3TlaUdCdOOW4uTV+PXbtZOqQcfUd /T0lAMzrn2zAAoxAftap2w2mCJvwat/q+JFY1vIvir94MXWjd/wPNhDCzDZ/kOgx+b0F qt5w== X-Gm-Message-State: APjAAAWgPEk6bdzDSeSsXQ8QWfHQbuJV9hm5/X8uNemPUYPEWpYP+Rjk YeRYnPK52svzXSsIICLqtaIR9JP9WPD4SuS7ITMhu7E43m0= X-Google-Smtp-Source: APXvYqwkEfaquUK2ULgfUcKXVPpLHSUujYvgYIRMvfBJdVvKZUjvgwJ1CLFUutDKUGVEu/+B7lR/sbQbN0IB9rHSZyM= X-Received: by 2002:a2e:6f19:: with SMTP id k25mr1376006ljc.84.1576545847000; Mon, 16 Dec 2019 17:24:07 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:173464 Archived-At: --0000000000002eca4a0599dc2f0b Content-Type: text/plain; charset="UTF-8" This problem occurs with emacs 26.3 but didn't occur with 25.x. Possibly related to bug#33194. My hypothesis is that emacs is monitoring some files that it shouldn't but I need some help in figuring out which files are being monitored and whether that is indeed a bug. When I run a CPU-bound job that also does quite a bit of I/O, emacs becomes very unresponsive -- running "top", I see CPU usage for emacs go into the 50-100% range. (Ubuntu 18.04, emacs 26.3 on a 4-CPU machine with SSD disk) The job I'm running is parallel -v --will-cite --keep-order --group -L80 -j8 (the problem does not go away when I change to "-j3") As far as I know, I don't have any of the output files or directories open (I have global-auto-revert-mode set) -- all the outputs go into one directory and when I search the Buffer List, I don't see that directory. I upgraded from emacs 25.3 to 26.3 today, with the same .emacs.desktop, and the problem wasn't showing with emacs 25.3. I double-checked the output of lsof on one of the running CPU processes and again couldn't find anything that matched with the Emacs buffer. However, I did notice that file-name-history did match some. Any suggestions on how to track down what's causing the polling? As I mentioned, this didn't happen with emacs 25.3 with the same files open. It also doesn't happen when I start 26.3 without the .emacs.desktop (that is, with nothing in the Buffer List). "strace -c" emacs when not running the CPU/IO job: % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 31.63 0.009027 3 2950 2534 recvmsg 23.19 0.006618 3 2057 poll 13.38 0.003819 3 1100 rt_sigprocmask 12.10 0.003454 17 209 pselect6 9.17 0.002618 6 466 writev 7.62 0.002174 5 405 rt_sigreturn 1.21 0.000344 57 6 openat 0.37 0.000105 4 30 1 read 0.31 0.000089 3 26 timerfd_settime 0.28 0.000080 11 7 ioctl 0.22 0.000064 64 1 vfork 0.11 0.000032 11 3 fcntl 0.11 0.000030 4 8 close 0.09 0.000026 1 51 9 stat 0.06 0.000017 17 1 pipe2 0.06 0.000016 0 48 11 faccessat 0.04 0.000011 11 1 getuid 0.03 0.000009 5 2 wait4 0.01 0.000003 1 4 write 0.00 0.000000 0 3 fstat 0.00 0.000000 0 3 lseek 0.00 0.000000 0 1 inotify_add_watch 0.00 0.000000 0 1 1 readlinkat ------ ----------- ----------- --------- --------- ---------------- 100.00 0.028536 7383 2556 total "strace -c" emacs when running the CPU/IO job: % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 30.79 0.013978 1 15384 poll 21.05 0.009554 1 15799 12395 recvmsg 19.44 0.008827 1 6538 writev 13.96 0.006339 1 12446 rt_sigprocmask 6.97 0.003162 2 1554 pselect6 2.96 0.001342 0 3108 rt_sigreturn 2.95 0.001338 1 1551 read 1.88 0.000855 1 1551 ioctl 0.00 0.000000 0 10 stat 0.00 0.000000 0 1 restart_syscall 0.00 0.000000 0 10 faccessat ------ ----------- ----------- --------- --------- ---------------- 100.00 0.045395 57952 12395 total "strace -c emacs when running the CPU/IO job without global-auto-revert-mode: % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 37.41 0.001833 1 1860 1576 recvmsg 27.88 0.001366 1 1619 poll 14.78 0.000724 5 142 pselect6 7.43 0.000364 2 201 writev 6.29 0.000308 1 570 rt_sigprocmask 6.06 0.000297 1 318 24 rt_sigreturn 0.08 0.000004 1 6 write 0.06 0.000003 0 8 read 0.02 0.000001 1 2 openat 0.00 0.000000 0 2 close 0.00 0.000000 0 6 3 recvfrom 0.00 0.000000 0 1 1 faccessat ------ ----------- ----------- --------- --------- ---------------- 100.00 0.004900 4735 1604 total In GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2019-09-16 built on lcy01-amd64-030 Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 18.04.3 LTS Recent messages: Making completion list... Saving file /tmp/t10.kythe.json-decoded... Wrote /tmp/t10.kythe.json-decoded Quit [5 times] command-execute: Buffer is read-only: # Mark set Quit Mark saved where search started Quit [2 times] Mark saved where search started [2 times] Quit [4 times] Configured using: 'configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib --program-suffix=26 --with-modules --with-file-notification=inotify --with-mailutils --with-x=yes --with-x-toolkit=gtk3 --with-xwidgets --with-lcms2 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs26-TP6iDo/emacs26-26.3~1.git96dd019=. -fstack-protector-strong -Wformat -Werror=format-security -no-pie' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -no-pie'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LIBSYSTEMD LCMS2 Important settings: value of $LC_MONETARY: en_CA.UTF-8 value of $LC_NUMERIC: en_CA.UTF-8 value of $LC_TIME: en_CA.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: GNUmakefile Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t global-auto-revert-mode: t show-paren-mode: t display-time-mode: t savehist-mode: t desktop-save-mode: t cl-old-struct-compat-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /usr/share/emacs/site-lisp/llvm-6.0/llvm-mode hides /usr/share/emacs/site-lisp/llvm-7/llvm-mode /usr/share/emacs/site-lisp/llvm-6.0/emacs hides /usr/share/emacs/site-lisp/llvm-7/emacs /usr/share/emacs/site-lisp/llvm-6.0/tablegen-mode hides /usr/share/emacs/site-lisp/llvm-7/tablegen-mode /home/peter/.emacs.d/elpa/go-mode-1.5.0/go-mode hides /usr/share/emacs/site-lisp/elpa-src/go-mode-1.5.0/go-mode /home/peter/.emacs.d/elpa/go-mode-1.5.0/go-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/go-mode-1.5.0/go-mode-autoloads /home/peter/.emacs.d/elpa/go-mode-1.5.0/go-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/go-mode-1.5.0/go-mode-pkg /usr/share/emacs/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/26.3/lisp/textmodes/flyspell /usr/share/emacs/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/26.3/lisp/textmodes/ispell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/26.3/lisp/textmodes/rst ~/emacs/prolog hides /usr/share/emacs/26.3/lisp/progmodes/prolog /usr/share/emacs/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/26.3/lisp/language/thai-word Features: (shadow mail-extr emacsbug sendmail eieio-opt speedbar sb-image ezimage dframe find-func completion help-fns tabify man novice pulse misearch multi-isearch solarized dash quail inf-haskell haskell-decl-scan haskell haskell-completions haskell-load haskell-commands highlight-uses-mode haskell-modules haskell-sandbox haskell-repl haskell-debug haskell-interactive-mode haskell-presentation-mode haskell-collapse haskell-navigate-imports haskell-compile haskell-process haskell-session haskell-hoogle edmacro kmacro sort autoload radix-tree cl-extra lisp-mnt help-mode mm-archive network-stream starttls url-http tls gnutls url-gw nsm url-cache url-auth vc vc-dispatcher server erlang tempo cl perl-mode asm-mode conf-mode jka-compr add-log rst haskell-mode haskell-cabal haskell-utils haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme rx haskell-align-imports haskell-compat haskell-complete-module haskell-ghc-support flymake-proc flymake warnings dabbrev haskell-customize go-mode url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap find-file ffap etags xref project sh-script executable tar-mode markdown-mode noutline outline message rmc puny rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader elec-pair mhtml-mode css-mode smie color dired dired-loaddefs make-mode python tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize parse-time format-spec smerge-mode prolog align shell pcomplete vc-git diff-mode easy-mmode js advice sgml-mode dom json map imenu thingatpt cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv autorevert filenotify grep compile comint ansi-color ring cus-start cus-load time-date paren time savehist desktop frameset cl-loaddefs cl-lib mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 791439 152674) (symbols 48 44537 1) (miscs 40 2000 2396) (strings 32 134121 30613) (string-bytes 1 6691533) (vectors 16 70253) (vector-slots 8 1997947 168512) (floats 8 365 431) (intervals 56 50166 2906) (buffers 992 501)) --0000000000002eca4a0599dc2f0b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This pro= blem occurs with emacs 26.3 but didn't occur with 25.x.
Pos= sibly related to bug#33194.

My hypothesis is that emacs is monitorin= g some files that it shouldn't
but I need some help in figuring out = which files are being monitored and
whether that is indeed a bug.
When I run a CPU-bound job that also does quite a bit of I/O, emacs
bec= omes very unresponsive -- running "top", I see CPU usage for emac= s go
into the 50-100% range.
(Ubuntu 18.04, emacs 26.3 on a 4-CPU mac= hine with SSD disk)

The job I'm running is
=C2=A0 =C2=A0 parallel -v --will-cite --keep-order --group -L80 -j8<= /font>
(the problem does not go away when I change to "-j3")
As far as I know, I don't have any of the output files or directo= ries
open (I have global-auto-revert-mode set) -- all the outputs go int= o one
directory and when I search the Buffer List, I don't see that<= br>directory.

I upgraded from emacs 25.3 to 26.3 today, with the sam= e .emacs.desktop,
and the problem wasn't showing with emacs 25.3.
I double-checked the output of lsof on= one of the running CPU processes
and again couldn't find anything t= hat matched with the Emacs
buffer. However, I did notice that file-name-history did match some.

Any suggesti= ons on how to track down what's causing the polling?=C2=A0 As I
ment= ioned, this didn't happen with emacs 25.3 with the same files
open. = It also doesn't happen when I start 26.3 without the
.emacs.desktop = (that is, with nothing in the Buffer List).


"strace -c"= ; emacs when not running the CPU/IO job:
% time= =C2=A0 =C2=A0 seconds =C2=A0usecs/call =C2=A0 =C2=A0 calls =C2=A0 =C2=A0er= rors syscall
------ ----------- ----------- --------- --------- --------= --------
=C2=A031.63 =C2=A0 =C2=A00.009027 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 3 =C2=A0 =C2=A0 =C2=A02950 =C2=A0 =C2=A0 =C2=A02534 recvmsg
=C2= =A023.19 =C2=A0 =C2=A00.006618 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 3 =C2=A0 = =C2=A0 =C2=A02057 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 poll
=C2=A013.38 = =C2=A0 =C2=A00.003819 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 3 =C2=A0 =C2=A0 = =C2=A01100 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 rt_sigprocmask
=C2=A012.10= =C2=A0 =C2=A00.003454 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A017 =C2=A0 =C2=A0 = =C2=A0 209 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pselect6
=C2=A0 9.17 =C2= =A0 =C2=A00.002618 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 6 =C2=A0 =C2=A0 =C2= =A0 466 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 writev
=C2=A0 7.62 =C2=A0 =C2= =A00.002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=A0 =C2=A0 =C2=A0 =C2=A0 3 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 lseek
= =C2=A0 0.00 =C2=A0 =C2=A00.000000 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 inotify_add_w= atch
=C2=A0 0.00 =C2=A0 =C2=A00.000000 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1 readlinka= t
------ ----------- ----------- --------- --------- ----------------100.00 =C2=A0 =C2=A00.028536 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A07383 =C2=A0 =C2=A0 =C2=A02556 total

"st= race -c" emacs when running the CPU/IO job:
% time =C2=A0 =C2=A0 seconds =C2=A0usecs/call =C2=A0 =C2=A0 calls =C2=A0 = =C2=A0errors syscall
------ ----------- ----------- --------- --------- = ----------------
=C2=A030.79 =C2=A0 =C2=A00.013978 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 15384 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 poll=
=C2=A021.05 =C2=A0 =C2=A00.009554 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1 = =C2=A0 =C2=A0 15799 =C2=A0 =C2=A0 12395 recvmsg
=C2=A019.44 =C2=A0 =C2= =A00.008827 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 =C2=A06538 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 writev
=C2=A013.96 =C2=A0 =C2=A00.006= 339 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 12446 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 rt_sigprocmask
=C2=A0 6.97 =C2=A0 =C2=A00.003162 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 2 =C2=A0 =C2=A0 =C2=A01554 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 pselect6
=C2=A0 2.96 =C2=A0 =C2=A00.001342 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 =C2=A03108 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 rt_sigreturn
=C2=A0 2.95 =C2=A0 =C2=A00.001338 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 =C2=A01551 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 read
=C2=A0 1.88 =C2=A0 =C2=A00.000855 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 =C2=A01551 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 ioctl
=C2=A0 0.00 =C2=A0 =C2=A00.000000 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 0 =C2=A0 =C2=A0 =C2=A0 =C2=A010 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 stat
=C2=A0 0.00 =C2=A0 =C2=A00.000000 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 r= estart_syscall
=C2=A0 0.00 =C2=A0 =C2=A00.000000 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 =C2=A0 =C2=A010 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 faccessat
------ ----------- ----------- --------- --------- ----= ------------
100.00 =C2=A0 =C2=A00.045395 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 57952 =C2=A0 =C2=A0 12395 total


&= quot;strace -c emacs when running the CPU/IO job without
global-auto-rev= ert-mode:

% time =C2=A0 =C2=A0 seconds =C2= =A0usecs/call =C2=A0 =C2=A0 calls =C2=A0 =C2=A0errors syscall
------ ---= -------- ----------- --------- --------- ----------------
=C2=A037.41 = =C2=A0 =C2=A00.001833 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 = =C2=A01860 =C2=A0 =C2=A0 =C2=A01576 recvmsg
=C2=A027.88 =C2=A0 =C2=A00.0= 01366 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 =C2=A01619 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 poll
=C2=A014.78 =C2=A0 =C2=A00.000724 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 5 =C2=A0 =C2=A0 =C2=A0 142 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 pselect6
=C2=A0 7.43 =C2=A0 =C2=A00.000364 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 2 =C2=A0 =C2=A0 =C2=A0 201 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 writev
=C2=A0 6.29 =C2=A0 =C2=A00.000308 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 =C2=A0 570 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 rt_sigprocmask
=C2=A0 6.06 =C2=A0 =C2=A00.000297 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 =C2=A0 318 =C2=A0 =C2=A0 =C2=A0 =C2=A0= 24 rt_sigreturn
=C2=A0 0.08 =C2=A0 =C2=A00.000004 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 6 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 write
=C2=A0 0.06 =C2=A0 =C2=A00.000003 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 8 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 read
=C2=A0 0.02 =C2=A0 =C2=A00.000001 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 o= penat
=C2=A0 0.00 =C2=A0 =C2=A00.000000 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 clos= e
=C2=A0 0.00 =C2=A0 =C2=A00.000000 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 6 =C2=A0 =C2=A0 =C2=A0 =C2=A0 3 recvfrom
= =C2=A0 0.00 =C2=A0 =C2=A00.000000 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1 faccessat
-----= - ----------- ----------- --------- --------- ----------------
100.00 = =C2=A0 =C2=A00.004900 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A04735 =C2=A0 =C2=A0 =C2=A01604 total




In GNU = Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
=C2=A0of= 2019-09-16 built on lcy01-amd64-030
Windowing system distributor 'T= he X.Org Foundation', version 11.0.11906000
System Description: Ubun= tu 18.04.3 LTS

Recent messages:
Making completion list...
Savi= ng file /tmp/t10.kythe.json-decoded...
Wrote /tmp/t10.kythe.json-decoded=
Quit [5 times]
command-execute: Buffer is read-only: #<buffer *He= lp*>
Mark set
Quit
Mark saved where search started
Quit [2 t= imes]
Mark saved where search started [2 times]
Quit [4 times]
Con= figured using:
=C2=A0'configure --build=3Dx86_64-linux-gnu --prefix= =3D/usr
=C2=A0'--includedir=3D${prefix}/include' '--mandir= =3D${prefix}/share/man'
=C2=A0'--infodir=3D${prefix}/share/info&= #39; --sysconfdir=3D/etc --localstatedir=3D/var
=C2=A0--disable-silent-r= ules '--libdir=3D${prefix}/lib/x86_64-linux-gnu'
=C2=A0'--li= bexecdir=3D${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode=C2=A0--disable-dependency-tracking --prefix=3D/usr --sharedstatedir=3D/va= r/lib
=C2=A0--program-suffix=3D26 --with-modules --with-file-notificatio= n=3Dinotify
=C2=A0--with-mailutils --with-x=3Dyes --with-x-toolkit=3Dgtk= 3 --with-xwidgets
=C2=A0--with-lcms2 'CFLAGS=3D-g -O2
=C2=A0-fdeb= ug-prefix-map=3D/build/emacs26-TP6iDo/emacs26-26.3~1.git96dd019=3D. -fstack= -protector-strong
=C2=A0-Wformat -Werror=3Dformat-security -no-pie' = 'CPPFLAGS=3D-Wdate-time
=C2=A0-D_FORTIFY_SOURCE=3D2' 'LDFLAG= S=3D-Wl,-Bsymbolic-functions -Wl,-z,relro
=C2=A0-no-pie''
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM D= BUS GSETTINGS GLIB
NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LI= BOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWID= GETS
LIBSYSTEMD LCMS2

Important settings:
=C2=A0 value of $LC_= MONETARY: en_CA.UTF-8
=C2=A0 value of $LC_NUMERIC: en_CA.UTF-8
=C2=A0= value of $LC_TIME: en_CA.UTF-8
=C2=A0 value of $LANG: en_US.UTF-8
= =C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: utf= -8-unix

Major mode: GNUmakefile

Minor modes in effect:
=C2= =A0 shell-dirtrack-mode: t
=C2=A0 diff-auto-refine-mode: t
=C2=A0 glo= bal-auto-revert-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 display-time= -mode: t
=C2=A0 savehist-mode: t
=C2=A0 desktop-save-mode: t
=C2= =A0 cl-old-struct-compat-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global= -eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode= : t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0= global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 auto-compos= ition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-= mode: t
=C2=A0 column-number-mode: t
=C2=A0 line-number-mode: t
= =C2=A0 transient-mark-mode: t

Load-path shadows:
/usr/share/emacs= /site-lisp/llvm-6.0/llvm-mode hides /usr/share/emacs/site-lisp/llvm-7/llvm-= mode
/usr/share/emacs/site-lisp/llvm-6.0/emacs hides /usr/share/emacs/si= te-lisp/llvm-7/emacs
/usr/share/emacs/site-lisp/llvm-6.0/tablegen-mode h= ides /usr/share/emacs/site-lisp/llvm-7/tablegen-mode
/home/peter/.emacs.= d/elpa/go-mode-1.5.0/go-mode hides /usr/share/emacs/site-lisp/elpa-src/go-m= ode-1.5.0/go-mode
/home/peter/.emacs.d/elpa/go-mode-1.5.0/go-mode-autolo= ads hides /usr/share/emacs/site-lisp/elpa-src/go-mode-1.5.0/go-mode-autoloa= ds
/home/peter/.emacs.d/elpa/go-mode-1.5.0/go-mode-pkg hides /usr/share/= emacs/site-lisp/elpa-src/go-mode-1.5.0/go-mode-pkg
/usr/share/emacs/site= -lisp/dictionaries-common/flyspell hides /usr/share/emacs/26.3/lisp/textmod= es/flyspell
/usr/share/emacs/site-lisp/dictionaries-common/ispell hides = /usr/share/emacs/26.3/lisp/textmodes/ispell
/usr/share/emacs/site-lisp/r= st hides /usr/share/emacs/26.3/lisp/textmodes/rst
~/emacs/prolog hides /= usr/share/emacs/26.3/lisp/progmodes/prolog
/usr/share/emacs/site-lisp/la= tex-cjk-thai/thai-word hides /usr/share/emacs/26.3/lisp/language/thai-word<= br>
Features:
(shadow mail-extr emacsbug sendmail eieio-opt speedbar = sb-image ezimage
dframe find-func completion help-fns tabify man novice = pulse misearch
multi-isearch solarized dash quail inf-haskell haskell-de= cl-scan haskell
haskell-completions haskell-load haskell-commands highli= ght-uses-mode
haskell-modules haskell-sandbox haskell-repl haskell-debug=
haskell-interactive-mode haskell-presentation-mode haskell-collapse
= haskell-navigate-imports haskell-compile haskell-process haskell-sessionhaskell-hoogle edmacro kmacro sort autoload radix-tree cl-extra lisp-mnthelp-mode mm-archive network-stream starttls url-http tls gnutls url-gwnsm url-cache url-auth vc vc-dispatcher server erlang tempo cl perl-mode<= br>asm-mode conf-mode jka-compr add-log rst haskell-mode haskell-cabal
h= askell-utils haskell-font-lock haskell-indentation haskell-string
haskel= l-sort-imports haskell-lexeme rx haskell-align-imports
haskell-compat ha= skell-complete-module haskell-ghc-support flymake-proc
flymake warnings = dabbrev haskell-customize go-mode url url-proxy
url-privacy url-expand u= rl-methods url-history url-cookie url-domsuf
url-util mailcap find-file = ffap etags xref project sh-script executable
tar-mode markdown-mode nout= line outline message rmc puny rfc822 mml
mml-sec epa derived epg gnus-ut= il rmail rmail-loaddefs mm-decode
mm-bodies mm-encode mail-parse rfc2231= rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr mailabbrev mail-utils gmm= -utils mailheader
elec-pair mhtml-mode css-mode smie color dired dired-l= oaddefs make-mode
python tramp-sh tramp tramp-compat tramp-loaddefs tram= pver ucs-normalize
parse-time format-spec smerge-mode prolog align shell= pcomplete vc-git
diff-mode easy-mmode js advice sgml-mode dom json map = imenu thingatpt
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-= align cc-engine
cc-vars cc-defs finder-inf info package easymenu epg-con= fig url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs e= ieio-loaddefs
password-cache url-vars seq byte-opt gv bytecomp byte-comp= ile cconv
autorevert filenotify grep compile comint ansi-color ring cus-= start
cus-load time-date paren time savehist desktop frameset cl-loaddef= s
cl-lib mule-util tooltip eldoc electric uniquify ediff-hook vc-hookslisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bardnd fontset image regexp-opt fringe tabulated-list replace newcomment
t= ext-mode elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshad= ow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facem= enu font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang = misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms = cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyri= llic chinese composite charscript charprop
case-table epa-hook jka-cmpr-= hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs= button faces cus-face macroexp files
text-properties overlay sha1 md5 b= ase64 format env code-pages mule
custom widget hashtable-print-readable = backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-set= ting font-render-setting
xwidget-internal move-toolbar gtk x-toolkit x m= ulti-tty
make-network-process emacs)

Memory information:
((con= ses 16 791439 152674)
=C2=A0(symbols 48 44537 1)
=C2=A0(miscs 40 2000= 2396)
=C2=A0(strings 32 134121 30613)
=C2=A0(string-bytes 1 6691533)=
=C2=A0(vectors 16 70253)
=C2=A0(vector-slots 8 1997947 168512)
= =C2=A0(floats 8 365 431)
=C2=A0(intervals 56 50166 2906)
=C2=A0(buffe= rs 992 501))

--0000000000002eca4a0599dc2f0b--