From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 10 12:27:48 2019 Received: (at submit) by debbugs.gnu.org; 10 Aug 2019 16:27:48 +0000 Received: from localhost ([127.0.0.1]:44392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwUDb-000220-Na for submit@debbugs.gnu.org; Sat, 10 Aug 2019 12:27:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:52424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwUDY-00021q-Om for submit@debbugs.gnu.org; Sat, 10 Aug 2019 12:27:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51670) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwUDW-0008Q9-42 for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2019 12:27:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwUDU-0000L1-RL for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2019 12:27:42 -0400 Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]:40453) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hwUDQ-0000B9-17 for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2019 12:27:37 -0400 Received: by mail-ot1-x32d.google.com with SMTP id c34so4445777otb.7 for ; Sat, 10 Aug 2019 09:27:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=JDbdlj5ek1iiO20jASSx4wFaZq5vArV1oOKKqhD+VJE=; b=DecKIHu+tPkpVkE8cs1mU1xEybEDoKExP36jeZOL+wB+OXBE17vttbYC6RSxShhxlD qv2fwYOs+RNySkd/6m1Twz2Kjv6PsmRfJOg5+ktMbWS1GWjn+fjT2/fsIVJWWjcBz/pw b5YN7nTxH4f/yRl45bjg8jfw5qHVElEyYl6Q8/tpPrccUTUiQFyln6Kv+FZNXU0ejkQz /N4rOdHyD1/bHnQZcDurLixMrQFY1Ht9rui23CsAdQIPcyRW7BrxU2ZooJ/aed9X1sCm LPGe3p11sxhdMWMTzRcrtyUQ0EN+03+N7Gw5RtVGC6dmEDnL15xxSW34mIpedW/5G41N 4hfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=JDbdlj5ek1iiO20jASSx4wFaZq5vArV1oOKKqhD+VJE=; b=VxM5YeRy0ujBuXMX2gkHh0cta1shqsIyg8q8tGqcVc0BRE3v3VX5WQZ72vHo5R6I2D 7hvAZHgIU9Im86cm32EyVRo0M9XaSXOoaxIkWBVYFUpoXgKKOQEZeUFn5f9RVWcA4m6Y 7Et9sRSuEB6KTVw/9aoP9oSEk1hr4tKC5eKbkLRc5i3+yNAkqr0NDf9b6Gf1HeHA+hd+ LOD0xAzAR7gRQM5N0HBwAhhNDd6GUjbKNaSeqJlk+Fl7u616C2diW1N1WWaXDbHgGRCd DMqOT1aqsuh24oB2UtU61CPPx1Il70ilc71IiCyWVzXwlrsm6N+EBL7Z6b4Z70FePWTT 5tkA== X-Gm-Message-State: APjAAAV0xD0hapho7PA5Q9qqpPvMDuxHXIws+ZmRUHjVX5qLL+qY8gv0 soJvI7mFjM8LlmY+BFF4bJVjfGg7 X-Google-Smtp-Source: APXvYqwn0PxtQ02KMrijjL7mB6Bsh4mVHHbG5smkgJmpqkmK31lVMwxxy94WnBzEB+xKGgSgK0/4Fw== X-Received: by 2002:a9d:5788:: with SMTP id q8mr21133844oth.237.1565454451282; Sat, 10 Aug 2019 09:27:31 -0700 (PDT) Received: from mars (cpe-70-114-192-208.austin.res.rr.com. [70.114.192.208]) by smtp.gmail.com with ESMTPSA id e10sm34317177otq.69.2019.08.10.09.27.30 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 10 Aug 2019 09:27:30 -0700 (PDT) User-agent: mu4e 1.2.0; emacs 27.0.50 From: Alex Branham To: bug-gnu-emacs@gnu.org Subject: 27.0.50; gc and laggy Emacs Date: Sat, 10 Aug 2019 11:27:29 -0500 Message-ID: <87a7ch9ea6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::32d X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello - Recently I've noticed Emacs sometimes getting _very_ laggy, as in taking up to a half-second to display the a single character that I type. M-x profiler-start suggests that garbage-collection is taking up too much time (see below my signature for example output). gc-cons-percentage and gc-cons-threshold are at their default values. I can't figure out how to reproduce this reliably, but running M-x relint-directory on the Emacs source tree seems to do a decent job triggering it. My Emacs is built from commit 4ce9c6d0b58bd77bc811d6c1c5caf955a5a0be2f (~ 4 days ago) of the master branch. How can I go about tracking this down? Thanks, Alex - ... 51442 74% Automatic GC 51440 74% + winum-select-window-1 1 0% + # 1 0% + command-execute 11973 17% + timer-event-handler 4837 6% + flyspell-post-command-hook 536 0% + redisplay_internal (C function) 262 0% + xcb:-connection-filter 60 0% + internal-timer-start-idle 38 0% mu4e~proc-filter 11 0% + winner-save-old-configurations 6 0% + eldoc-pre-command-refresh-echo-area 4 0% + # 3 0% + undo-auto--add-boundary 1 0% exwm-layout--on-echo-area-change 1 0% + mu4e~update-sentinel-func 1 0% + gui-set-selection 1 0% + # 1 0% In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10) Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: NixOS 19.03.173251.56d94c8c69f (Koi) Configured using: 'configure --prefix=/nix/store/zwkzz533szjmra431czdyr39hibfzxni-emacs-27.0.50 --disable-build-details --with-modules --with-x-toolkit=gtk3 --with-xft CFLAGS=-DMAC_OS_X_VERSION_MAX_ALLOWED=101200' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Memory information: ((conses 16 678039 134311) (symbols 48 88978 26) (strings 32 245611 6884) (string-bytes 1 7634214) (vectors 16 142349) (vector-slots 8 3015732 58606) (floats 8 741 448) (intervals 56 9225 1373) (buffers 992 1263)) From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 10 12:51:14 2019 Received: (at 37000) by debbugs.gnu.org; 10 Aug 2019 16:51:14 +0000 Received: from localhost ([127.0.0.1]:44400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwUaH-0002dV-Q1 for submit@debbugs.gnu.org; Sat, 10 Aug 2019 12:51:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwUaF-0002dG-Kb for 37000@debbugs.gnu.org; Sat, 10 Aug 2019 12:51:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hwUaA-00067g-Ec; Sat, 10 Aug 2019 12:51:06 -0400 Received: from [176.228.60.248] (port=3997 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hwUa9-00015b-Po; Sat, 10 Aug 2019 12:51:06 -0400 Date: Sat, 10 Aug 2019 19:50:52 +0300 Message-Id: <837e7l7ymr.fsf@gnu.org> From: Eli Zaretskii To: Alex Branham In-reply-to: <87a7ch9ea6.fsf@gmail.com> (message from Alex Branham on Sat, 10 Aug 2019 11:27:29 -0500) Subject: Re: bug#37000: 27.0.50; gc and laggy Emacs References: <87a7ch9ea6.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37000 Cc: 37000@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Alex Branham > Date: Sat, 10 Aug 2019 11:27:29 -0500 > > Recently I've noticed Emacs sometimes getting _very_ laggy, as in > taking up to a half-second to display the a single character that > I type. M-x profiler-start suggests that garbage-collection is > taking up too much time (see below my signature for example > output). gc-cons-percentage and gc-cons-threshold are at their > default values. I can't figure out how to reproduce this reliably, > but running M-x relint-directory on the Emacs source tree seems to > do a decent job triggering it. My Emacs is built from commit > 4ce9c6d0b58bd77bc811d6c1c5caf955a5a0be2f (~ 4 days ago) of the > master branch. How can I go about tracking this down? Trying to bisect to find the offending commit would be one way. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 15 10:56:53 2019 Received: (at 37000) by debbugs.gnu.org; 15 Aug 2019 14:56:53 +0000 Received: from localhost ([127.0.0.1]:52198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyHBM-0004Zs-Ql for submit@debbugs.gnu.org; Thu, 15 Aug 2019 10:56:53 -0400 Received: from mail-oi1-f172.google.com ([209.85.167.172]:39445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyHBL-0004ZX-5T for 37000@debbugs.gnu.org; Thu, 15 Aug 2019 10:56:51 -0400 Received: by mail-oi1-f172.google.com with SMTP id 16so2323384oiq.6 for <37000@debbugs.gnu.org>; Thu, 15 Aug 2019 07:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ubnAgViCJ5UTHVOP6J33QMhFya9J9l3Usz3SbsmjF7A=; b=K6Y+8iypaeu8JdgDfY7YzhEb9a0h6ZSww5SSwKUjcAHjbZrW9mxm3jl4gD43SU4MHj zrQ3KRBNZPT7+d5zdRoKWPy7xkVZIqJgfnnDtDO9N+eqojGjyacZnF/GcwNDgNgtO62b G1hfnBv3NYi/7TXdvcMKGdp1babW6lRwKGq2YxcNed3TJLqnDbT7RSQ0ooZjpa27Qg7S fletl6XR4oqbf2z00/iM2tLsgOFSsQnXk4+efJHrBcDs0R751+JNq3GxUv3txsPEzkF7 z57Q/2CjmqLj54EmqYBMIpm9rqrwypsENYSAOg3TsnV0QJnd092RczCm8u7ndGjr6kSQ eESQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ubnAgViCJ5UTHVOP6J33QMhFya9J9l3Usz3SbsmjF7A=; b=tvumyA75Pkn98FzZsWgvk7yD8xsqT9hggoDPNceuZII86e3JkkOhRtJJvmUZdrFhej SmxCuRySL3yfp9LcetNyh262eaB+1/7KFQswQIRUj7P006d88/rCUTI+oTjbapjx5qw9 +4MN5h0RmLMekbIEc761uxQ3PI59shrVxiTNzaqmJ4+C38EsUNBDFtXJtrFcrD0xMLxV b4AcXW35l87GP9e53q1rQV9crljRkWEHz4ITBN0oLZpfU64wj7DwtMY0Ep4d6Jno3pyz 8VgaXf97c30RUH6RgC9W+U8lo/7H1OrUfSrk+dnTvmWRARBCkjHH+lQLxhuFn0b8SiuR HsoQ== X-Gm-Message-State: APjAAAXwxUqjECN8oN/CHdt8Dm3Z7q5f8GGTjPf5JI5BMa4WbqkTaabs A0ElCLMgwRmQ2JpngpnJNjt6dthhjRI= X-Google-Smtp-Source: APXvYqyrm2XEKiCzKuHhZjryWmBrvF0I9Ok/DCctRNeuFHaPoGAZv732+54XMIBPoNuR/YzMTCIWbw== X-Received: by 2002:aca:c50a:: with SMTP id v10mr1905376oif.174.1565881005271; Thu, 15 Aug 2019 07:56:45 -0700 (PDT) Received: from earth (cpe-70-114-192-208.austin.res.rr.com. [70.114.192.208]) by smtp.gmail.com with ESMTPSA id q24sm1084998otl.31.2019.08.15.07.56.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Aug 2019 07:56:44 -0700 (PDT) From: Alex Branham To: Eli Zaretskii Subject: Re: bug#37000: 27.0.50; gc and laggy Emacs References: <87a7ch9ea6.fsf@gmail.com> <837e7l7ymr.fsf@gnu.org> Date: Thu, 15 Aug 2019 09:56:44 -0500 In-Reply-To: <837e7l7ymr.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 10 Aug 2019 19:50:52 +0300") Message-ID: <87v9uywk7n.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37000 Cc: 37000@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sat 10 Aug 2019 at 19:50, Eli Zaretskii wrote: >> From: Alex Branham >> Date: Sat, 10 Aug 2019 11:27:29 -0500 >> >> Recently I've noticed Emacs sometimes getting _very_ laggy, as in >> taking up to a half-second to display the a single character that >> I type. M-x profiler-start suggests that garbage-collection is >> taking up too much time (see below my signature for example >> output). gc-cons-percentage and gc-cons-threshold are at their >> default values. I can't figure out how to reproduce this reliably, >> but running M-x relint-directory on the Emacs source tree seems to >> do a decent job triggering it. My Emacs is built from commit >> 4ce9c6d0b58bd77bc811d6c1c5caf955a5a0be2f (~ 4 days ago) of the >> master branch. How can I go about tracking this down? > > Trying to bisect to find the offending commit would be one way. Thanks. I noticed there's some activity around gc on master currently. I'll wait for that to pass before trying this. I'll note though that I don't see this issue on 26.2. Alex From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 15 11:34:58 2019 Received: (at 37000) by debbugs.gnu.org; 15 Aug 2019 15:34:58 +0000 Received: from localhost ([127.0.0.1]:52258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyHmE-0007gb-4D for submit@debbugs.gnu.org; Thu, 15 Aug 2019 11:34:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyHmC-0007gO-E8 for 37000@debbugs.gnu.org; Thu, 15 Aug 2019 11:34:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hyHm7-000891-9V; Thu, 15 Aug 2019 11:34:51 -0400 Received: from [176.228.60.248] (port=1753 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hyHm6-0005So-NI; Thu, 15 Aug 2019 11:34:51 -0400 Date: Thu, 15 Aug 2019 18:34:43 +0300 Message-Id: <83y2zuphm4.fsf@gnu.org> From: Eli Zaretskii To: Alex Branham In-reply-to: <87v9uywk7n.fsf@gmail.com> (message from Alex Branham on Thu, 15 Aug 2019 09:56:44 -0500) Subject: Re: bug#37000: 27.0.50; gc and laggy Emacs References: <87a7ch9ea6.fsf@gmail.com> <837e7l7ymr.fsf@gnu.org> <87v9uywk7n.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37000 Cc: 37000@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Alex Branham > Cc: 37000@debbugs.gnu.org > Date: Thu, 15 Aug 2019 09:56:44 -0500 > > >> Recently I've noticed Emacs sometimes getting _very_ laggy, as in > >> taking up to a half-second to display the a single character that > >> I type. M-x profiler-start suggests that garbage-collection is > >> taking up too much time (see below my signature for example > >> output). gc-cons-percentage and gc-cons-threshold are at their > >> default values. I can't figure out how to reproduce this reliably, > >> but running M-x relint-directory on the Emacs source tree seems to > >> do a decent job triggering it. My Emacs is built from commit > >> 4ce9c6d0b58bd77bc811d6c1c5caf955a5a0be2f (~ 4 days ago) of the > >> master branch. How can I go about tracking this down? > > > > Trying to bisect to find the offending commit would be one way. > > Thanks. I noticed there's some activity around gc on master currently. > I'll wait for that to pass before trying this. Unless you happen to set gc-cons-threshold to a large value, that activity is already over. And in any case, invoking garbage-collection manually should "fix" the lagging, if it somehow related to what we are still discussing. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 25 20:15:40 2020 Received: (at 37000) by debbugs.gnu.org; 26 Aug 2020 00:15:40 +0000 Received: from localhost ([127.0.0.1]:36623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAj6K-0007Cl-3G for submit@debbugs.gnu.org; Tue, 25 Aug 2020 20:15:40 -0400 Received: from mail-yb1-f193.google.com ([209.85.219.193]:34095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAj6J-0007CV-87 for 37000@debbugs.gnu.org; Tue, 25 Aug 2020 20:15:39 -0400 Received: by mail-yb1-f193.google.com with SMTP id u6so260101ybf.1 for <37000@debbugs.gnu.org>; Tue, 25 Aug 2020 17:15:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=uBMh4R+8VKIEjA/bANV8/vcCO6kAIEe9EQ7BITKOlgc=; b=PAKgfPcvVBQD7KBAa6zBcMu2Wm17LNm3Y+i/wvWNXr/wrKtKiM8Os4EHSdEUdSFRjZ EFzFnYUyiRg2eslUi5jaLOjjG+66c3Ph7pxfnhkJB+jYJ5k6PJSBhfSfhR0ci07twH92 C65Qea22IwRZQQiK5yA1uJ7fQG5rLNDR7VzXZpTyVNiVcftxqtJNcVd0UxtbrHhittPb FPiUfHi/1KWHXUP9Cr2bw7b7fRWDNMN2w1Ko72+ZBFnxPD/x+0Wj1TWurS2OZq0+Xolb FqmwFNmJX0DGi7NIQUyy0uqxkGgoHekBeXRN0RT5TcEeV+RB2jPh3ExbbI3olG5QuhVn GMPA== X-Gm-Message-State: AOAM532pl/uhMOoLW3OkHOdOjQc1N1ffu+xRP6ICURm+ah3Lum1ZxQm2 rXhaYoDEkqF2o/8bPqjwnuZUSkUzrNQ2m4QdX/4= X-Google-Smtp-Source: ABdhPJxL1OysZamxK4RB7cz6ptgDi+kTsOMk2akawGLW91A2fzkYM8BDXKH3tKFh3ALL0efiPBZfnRcomZNUvo3ac7k= X-Received: by 2002:a5b:508:: with SMTP id o8mr19517711ybp.43.1598400933771; Tue, 25 Aug 2020 17:15:33 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 25 Aug 2020 17:15:33 -0700 From: Stefan Kangas In-Reply-To: <87v9uywk7n.fsf@gmail.com> (Alex Branham's message of "Thu, 15 Aug 2019 09:56:44 -0500") References: <87a7ch9ea6.fsf@gmail.com> <837e7l7ymr.fsf@gnu.org> <87v9uywk7n.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Tue, 25 Aug 2020 17:15:33 -0700 Message-ID: Subject: Re: bug#37000: 27.0.50; gc and laggy Emacs To: Alex Branham Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 37000 Cc: Eli Zaretskii , 37000@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Alex Branham writes: > On Sat 10 Aug 2019 at 19:50, Eli Zaretskii wrote: > >>> From: Alex Branham >>> Date: Sat, 10 Aug 2019 11:27:29 -0500 >>> >>> Recently I've noticed Emacs sometimes getting _very_ laggy, as in >>> taking up to a half-second to display the a single character that >>> I type. M-x profiler-start suggests that garbage-collection is >>> taking up too much time (see below my signature for example >>> output). gc-cons-percentage and gc-cons-threshold are at their >>> default values. I can't figure out how to reproduce this reliably, >>> but running M-x relint-directory on the Emacs source tree seems to >>> do a decent job triggering it. My Emacs is built from commit >>> 4ce9c6d0b58bd77bc811d6c1c5caf955a5a0be2f (~ 4 days ago) of the >>> master branch. How can I go about tracking this down? >> >> Trying to bisect to find the offending commit would be one way. > > Thanks. I noticed there's some activity around gc on master currently. > I'll wait for that to pass before trying this. > > I'll note though that I don't see this issue on 26.2. (That was one year ago.) Any updates here? From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 27 16:57:44 2020 Received: (at 37000-done) by debbugs.gnu.org; 27 Aug 2020 20:57:44 +0000 Received: from localhost ([127.0.0.1]:44256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBOxs-0001vB-7m for submit@debbugs.gnu.org; Thu, 27 Aug 2020 16:57:44 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:40587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBOxp-0001ux-Og for 37000-done@debbugs.gnu.org; Thu, 27 Aug 2020 16:57:42 -0400 Received: by mail-qt1-f196.google.com with SMTP id s16so5778408qtn.7 for <37000-done@debbugs.gnu.org>; Thu, 27 Aug 2020 13:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=mqQLM5iKnUFjXm6fz2t89vd1wyoyVVCBmue5ZS+2oF0=; b=MqsErVsx2dyDYJZp0fzBazYNl9HRHbcvTi6acDcKyk6Sd5+g7hchFIakUGtGuS7Z5Q Z9EplyE41XkCn3CZNO0v+snU8w4TuCSWvxQx+JRZhvjnSkKq0h2xUnFuRa72Iq1cYQEE 6eHoYbq/BUSTFKW3iiKOzyrHT0xvxf46s8eMPj7zcRpmraoBQ878akrE0LAQYO7WMh0K j10fhHAYIt5iUoFICq/jSw1rvOcQKRvaZjN1JwZpt5EKS55hnAF0SDJxft4K8Ask4lB/ 1QJpktXB6gXhiIpoN0ItqyfpZGsQfdtrIq6ao/MSv6fsd76cNaJs3BxfnEQsilOG/alr dQlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=mqQLM5iKnUFjXm6fz2t89vd1wyoyVVCBmue5ZS+2oF0=; b=an3mv6W1Raj5gJSk7n1VJ3SqYAK39ReA4Ipu0y4jXXFM/j88ZOjrMPzaTnhJTpC0E6 VlYFWPKSBQ+ThPwUCLdcB2VkI7EqC+h1dYII5JZErq0KsyzsgfWpfB+CvX0vHk6jp8v0 J+dm+iChXnbYiKsY0WG+dL9inbQsVXlqEnVnRS2KOD8+//NGhHg7MCXYac+GIrJtd7ZE n4d51OjenzSpTkjZAs9ttzJ846U6d7KTGu9E088Y21oImE/mtq0DAlDIvc8ejJ56SYFG 1ZiHxCjCMuBakb3ZTgZAghkGgNjRusxVGYdT64g9xqB/wlnL+Qmb9L5nG4OI7V+JO1Uk hDsg== X-Gm-Message-State: AOAM531XLVSqXnxqid4+flIpHCA6n0Jvb9pYVH0biHpNYgBw9hPZC+Wp DVErhIJDAjDWvCJJ/NuvYeDgUCTIslQ= X-Google-Smtp-Source: ABdhPJw4g5Au+GAj3G3ZQs37IxeEnTXVt3HRu0NtqWs1hX8XxfCRrEFK9Mq70dMxXBlSmo/ewlffzw== X-Received: by 2002:aed:3882:: with SMTP id k2mr7899512qte.308.1598561855738; Thu, 27 Aug 2020 13:57:35 -0700 (PDT) Received: from earth (c-73-163-194-78.hsd1.dc.comcast.net. [73.163.194.78]) by smtp.gmail.com with ESMTPSA id h199sm2393214qke.112.2020.08.27.13.57.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Aug 2020 13:57:34 -0700 (PDT) From: Alex Branham To: Stefan Kangas Subject: Re: bug#37000: 27.0.50; gc and laggy Emacs References: <87a7ch9ea6.fsf@gmail.com> <837e7l7ymr.fsf@gnu.org> <87v9uywk7n.fsf@gmail.com> Date: Thu, 27 Aug 2020 16:57:33 -0400 In-Reply-To: (Stefan Kangas's message of "Tue, 25 Aug 2020 17:15:33 -0700") Message-ID: <87lfhzolhe.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37000-done Cc: Eli Zaretskii , 37000-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue 25 Aug 2020 at 17:15, Stefan Kangas wrote: > Alex Branham writes: > >> On Sat 10 Aug 2019 at 19:50, Eli Zaretskii wrote: >> >>>> From: Alex Branham >>>> Date: Sat, 10 Aug 2019 11:27:29 -0500 >>>> >>>> Recently I've noticed Emacs sometimes getting _very_ laggy, as in >>>> taking up to a half-second to display the a single character that >>>> I type. M-x profiler-start suggests that garbage-collection is >>>> taking up too much time (see below my signature for example >>>> output). gc-cons-percentage and gc-cons-threshold are at their >>>> default values. I can't figure out how to reproduce this reliably, >>>> but running M-x relint-directory on the Emacs source tree seems to >>>> do a decent job triggering it. My Emacs is built from commit >>>> 4ce9c6d0b58bd77bc811d6c1c5caf955a5a0be2f (~ 4 days ago) of the >>>> master branch. How can I go about tracking this down? >>> >>> Trying to bisect to find the offending commit would be one way. >> >> Thanks. I noticed there's some activity around gc on master currently. >> I'll wait for that to pass before trying this. >> >> I'll note though that I don't see this issue on 26.2. > > (That was one year ago.) > > Any updates here? No, but the problem seems to have gone away so I'll close this bug. From unknown Sun Aug 17 00:58:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 25 Sep 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator