From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#42911: 28.0.50; write_region sometimes extremely very slow Date: Tue, 18 Aug 2020 11:46:13 +0200 Message-ID: <87ft8kffru.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40270"; mail-complaints-to="usenet@ciao.gmane.io" Cc: uyennhi.qm@gmail.com To: 42911@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 18 11:47:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k7yD0-000AKL-Ou for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Aug 2020 11:47:10 +0200 Original-Received: from localhost ([::1]:40494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7yCz-0005RO-RI for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Aug 2020 05:47:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7yCs-0005R4-PE for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2020 05:47:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50722) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7yCs-0003kS-GI for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2020 05:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k7yCs-0002My-FO; Tue, 18 Aug 2020 05:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: uyennhi.qm@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Aug 2020 09:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42911 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: uyennhi.qm@gmail.com Original-Received: via spool by submit@debbugs.gnu.org id=B.15977440199097 (code B ref -1); Tue, 18 Aug 2020 09:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Aug 2020 09:46:59 +0000 Original-Received: from localhost ([127.0.0.1]:34035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7yCp-0002Mf-E4 for submit@debbugs.gnu.org; Tue, 18 Aug 2020 05:46:59 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:48394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7yCn-0002MX-Pt for submit@debbugs.gnu.org; Tue, 18 Aug 2020 05:46:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7yCn-0005Pg-Hn for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2020 05:46:57 -0400 Original-Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:40400) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7yCl-0003k2-FY for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2020 05:46:57 -0400 Original-Received: by mail-wm1-x32e.google.com with SMTP id k20so16351635wmi.5 for ; Tue, 18 Aug 2020 02:46:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=oZguOnu+JOhR9Cfmdbv/3UkrT63Ls4alBLctFqY8xxY=; b=afBM9+xsfvf47Jd6LLolRg10TxBAd2TRYKhpOusev/5YvyR9HSYhJQ7FmbccSIofJp OHJ1NhdX9RBt5d3WjAnEIsI73zmBx0o+yLZmJbGFQV1HWbmPWC3DjbQ2Yap7ZrcZvwZ2 3XZu+5gSBrKi55xSRA1/sZk+jkNAqi2EZl3qC5J5zOcoNQEYG6/LpQwmufMeguFjMB1V W/OpFKWCIHAK1a960YFzxrPlDe2ZkBV1ka+deRsuSEygxTCH/8gXlAvMvxmTMGIVG+M7 a09aliUCJnhu5mVCW0S/QMD6XVdwfFSw+fv25PSjjB7FbiudGUyt44mATntMnD19yLu7 ZAww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=oZguOnu+JOhR9Cfmdbv/3UkrT63Ls4alBLctFqY8xxY=; b=S08XNY7zVhtPQ6DRXE4wfUGfjIKqUtUs8k/Ram73GkPQxvqIzvzcJQbcgSk++zu/Rk P59kYQTQ0n/JDyg5/DWF1J7cNtZb8/kLxJErnd3u30Fdr1l/B+8XVOAWWhuJDmQZsgzX 7lmjLePyLtujDdfciiD3J1tiCmc6NLvIDx/sFZQzhMNB34OFSCfUREKflqPEM9JxXR2Q oc2MkZ8EB9AYp2HHWuKnSd1jn7MqZTus3VdDNtaZLeZTP7hbwn0Tso/rbtXsB1dUJkOQ coPrXNcFBYVa6AH2A7cKSGb5tdBQAB2PppGyKIsSKgLVjWLZtfN+GChO+csYpvZN59eF 0PrA== X-Gm-Message-State: AOAM530LY0AEuT9GD/HltBhCitAznOguhTHz0Odw50id2V1MbXF4f8vK vK7mHR4E7FokQbeCdQ4e0s7dDSzN271KRg== X-Google-Smtp-Source: ABdhPJwyeW9RGj2hkNgZOld+v3CsjCRUxfc6ZUjeuCsnj90nh+E2gFkhFEi/w2VeRbA7/BqYqkrlgQ== X-Received: by 2002:a1c:de85:: with SMTP id v127mr19716605wmg.156.1597744012579; Tue, 18 Aug 2020 02:46:52 -0700 (PDT) Original-Received: from localhost.example.com (nat1.prg.suse.com. [195.250.132.148]) by smtp.gmail.com with ESMTPSA id f12sm32739191wmc.46.2020.08.18.02.46.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Aug 2020 02:46:51 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=tino.calancha@gmail.com; helo=mail-wm1-x32e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:185451 Archived-At: X-Debbugs-Cc: uyennhi.qm@gmail.com Verified in both emacs-27 and emacs-master Recipe: emacs -Q ~/save-buffer-slow.txt ;; insert few characters and run M-: (benchmark-run nil (save-buffer)) ;; Repeat several times: sometimes it takes a reasonable time, but ;; in others it takes huge time ;; (6-10 s to save a buffer with less that 50 characters) It happens randomly. I have been observed this maybe 1 week. I don't recall to see this in my other laptio runinning Debian 10, so it might be OS related? In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.21, c= airo version 1.16.0) of 2020-08-18 built on localhost.example.com Repository revision: 9905001e4b0c9dc0a90cefdd9530a90d07a17b99 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: openSUSE Tumbleweed uname -a: Linux localhost.example.com 5.7.11-1-default #1 SMP Wed Jul 29 09= :32:21 UTC 2020 (5015994) x86_64 x86_64 x86_64 GNU/Linux Recent messages: You can run the command =E2=80=98erase-buffer=E2=80=99 with M-x era RET user-error: Beginning of history; no preceding item Saving file /home/calancha/save-buffer-slow.txt... Wrote /home/calancha/save-buffer-slow.txt (6.688615679 0 0.0) Saving file /home/calancha/save-buffer-slow.txt... Wrote /home/calancha/save-buffer-slow.txt (0.076871944 0 0.0) Saving file /home/calancha/save-buffer-slow.txt... Wrote /home/calancha/save-buffer-slow.txt (10.659738934 0 0.0) Configured using: 'configure --with-x-toolkit=3Dgtk3' Configured features: XPM JPEG TIFF GIF PNG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER Important settings: value of $LC_ALL:=20 value of $LC_COLLATE: en_US.UTF-8 value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-extra seq byte-opt gv bytecomp byte-compile cconv help-mode easymenu novice time-date subr-x cl-loaddefs cl-lib benchmark 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 tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 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 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 47888 6325) (symbols 48 6098 1) (strings 32 16202 1003) (string-bytes 1 529670) (vectors 16 11018) (vector-slots 8 152947 12719) (floats 8 33 40) (intervals 56 201 0) (buffers 992 13))