From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Suhail Singh Newsgroups: gmane.emacs.bugs Subject: bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP Date: Fri, 06 Sep 2024 11:46:39 -0400 Message-ID: <87cylghjj4.fsf@gmail.com> References: <87o75241qh.fsf@gmail.com> <86plpi2ixa.fsf@gnu.org> <87seudke20.fsf@gmail.com> <8634md2vc2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6274"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Suhail Singh , 73046@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 06 17:48:20 2024 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 1smbC7-0001PY-9W for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Sep 2024 17:48:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smbBs-0006cq-9N; Fri, 06 Sep 2024 11:48:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smbBr-0006bQ-7Q for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2024 11:48:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smbBq-0007wE-UO for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2024 11:48:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=K6r66MZDMDzAYFJ7E2wHe6CxlEB/vxq6YlXHmDcKQD4=; b=m0F/L0uwwtWfqQEd2JN/9rXWqiQ+G1Grnvq/MqoNwEV2I7mM8u2HSw9FZYfUjjnvpgkMhZevFZPo+UkyRTX+otYT0rNimJXxXuwplAIBMtfJ+phqe5rZKLhALlIfM53IPPqDzEFcwg5KzUPQrdCCea04fZV6wpZt5+fSk/C6Y07sVpmaQebRQJhbi5LkZSFmScbJlmqjtgPeBn/nnicTWOt6l5Ewm1nzZN1X55MvBpIqwasrFeQVmQgVX3A6lxoOX84A7iDXjToWXfUz72EBGslqoNyzIZZ2jIhZQ6eYqXqXcJ+F1Kjm1En8u3FZYuIiNcokMfnFkCeiFBj9wwtweg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smbBq-0007K4-Ex for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2024 11:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Suhail Singh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Sep 2024 15:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73046 X-GNU-PR-Package: emacs Original-Received: via spool by 73046-submit@debbugs.gnu.org id=B73046.172563767828136 (code B ref 73046); Fri, 06 Sep 2024 15:48:02 +0000 Original-Received: (at 73046) by debbugs.gnu.org; 6 Sep 2024 15:47:58 +0000 Original-Received: from localhost ([127.0.0.1]:53908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smbBl-0007Jk-RC for submit@debbugs.gnu.org; Fri, 06 Sep 2024 11:47:58 -0400 Original-Received: from mail-ot1-f66.google.com ([209.85.210.66]:49457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smbBk-0007JV-DJ for 73046@debbugs.gnu.org; Fri, 06 Sep 2024 11:47:56 -0400 Original-Received: by mail-ot1-f66.google.com with SMTP id 46e09a7af769-7091558067eso1056701a34.3 for <73046@debbugs.gnu.org>; Fri, 06 Sep 2024 08:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725637611; x=1726242411; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=K6r66MZDMDzAYFJ7E2wHe6CxlEB/vxq6YlXHmDcKQD4=; b=ilPP5mr+H8k0kzy1NaKXxu5MmuDbiwWFgxLNqFht0uza7KQ096vedEHheOmZ/6PLTi 3eeAX21sfcNaALV3I8egf/e5diDBLX06Skf0y9TDcj+bNSm9YidsEIFq0XD2gnCr8NLS sWhUpzeV4baqOqsjZyYit6Q0CyskYcZWXQbIy3Nc1n78ljFTSNBPB+gAglBVISha3RqL 9NkmrTNyPPwCQtqjwFVlQ3FJaugbqaPWLDMUlh0V+sMKe/1eQ79Eso3YKahHmq5yZXqc Uu17NaE/Oic3Os13KtM2rJmQu/dRGe0/vAXQPbjIQHC97Ty1u7+YdrncCeM/CA9lvo5W CPqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725637611; x=1726242411; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=K6r66MZDMDzAYFJ7E2wHe6CxlEB/vxq6YlXHmDcKQD4=; b=mxUnaYFlZ3QGICHTmyZOI+c9HGNxot5/2ULhpQv5Be/ceBRPSvjrsbJzt8lwh9Bybk DdscfIG0vhwgJ+zp1zGOhAuYk6kQSvjmaUcLIb9JAn/bsvgmcK2noKViIbLmSS6vNOls RcW/EkfXWcVFYmkf1xsQcUSnas2M5HyJkL8sHQHUZ6c+K88NH7raMvM9qyZd2/i/CD/i GoWdJTETIhhaeeP5M6YJF/lhnHR7O998xPKQML8ix2jAWJdz/yvz0gbZgRJcGMwn+KF7 670iJzZaIO9O8gGGz1HnaLXZbljNfP+fpQOVkwL61y8JleCIln84/TBuBtFhjLtaJNRo Mosg== X-Forwarded-Encrypted: i=1; AJvYcCWN/QV9MERY0ddXpoOcycB8Y6PsuTeYRw1Ms4jugfkLp8xqUs2HR1dAVimwNa7bQ2P6EK8YpQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwWPSq4z09bXhdcC1XVWJesRRCfH4AwWp0oGLkM1b57oYtuXW1w 6zSxA0Me2mBV9LBG/EJjrxIoty0qcm4idf9U8mqWJpllM0MITi9NR1T60w+Z X-Google-Smtp-Source: AGHT+IE9WNqpkTqDSTfrkE+3oUnZ1aOwh9vFaMmo5gxjh88dg8I5uEVOeAXzccnVb6O5yI0s/Dz3tQ== X-Received: by 2002:a05:6830:2d84:b0:70f:7a86:f396 with SMTP id 46e09a7af769-70f7a86f4cdmr19888150a34.0.1725637610758; Fri, 06 Sep 2024 08:46:50 -0700 (PDT) Original-Received: from gnus ([65.94.70.53]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-45801a152e0sm17064871cf.13.2024.09.06.08.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2024 08:46:50 -0700 (PDT) In-Reply-To: <8634md2vc2.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 06 Sep 2024 08:40:45 +0300") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291319 Archived-At: Eli Zaretskii writes: >> The version of `ls' on this host is: >> >> #+begin_quote >> ls (GNU coreutils) 8.32 >> Copyright (C) 2020 Free Software Foundation, Inc. >> License GPLv3+: GNU GPL version 3 or later . >> This is free software: you are free to change and redistribute it. >> There is NO WARRANTY, to the extent permitted by law. >> >> Written by Richard M. Stallman and David MacKenzie. >> #+end_quote > > This cannot be true: the --dired option was added to 'ls' way earlier. > I have Coreutils 6.9 from 2007 on one of my systems, and --dired is > supported there. To see if it is supported, try this: > > $ ls -al --dired > > You should see 2 extra lines of output after the listing, each one > starting with "//DIRED". I understand that said version should have had --dired support, but that's not what I observed. Regardless, I got the sysadmin to do an upgrade and now `ls --dired' is giving the expected output. However, the performance issues still persist and continue to be reproducible on my end via emacs -Q. -- Suhail