[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening d
From: |
Suhail Singh |
Subject: |
bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP |
Date: |
Sat, 14 Sep 2024 10:39:45 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Michael Albinus <michael.albinus@gmx.de> writes:
>> I tested this patch today atop TRAMP 2.7.1.2. Some findings:
>>
>> 1. If directory with symlinks on remote host with slow connection is
>> opened CPU usage is much less than 100%. That's the good news.
>> However, there are a couple of caveats.
>
> But there is also the message from Jake Nelson, reporting problems with
> the (sit-for ...) clause.
Could you please share the reference to that message (at your
convenience)?
> Yesterday, I ran some regression tests. When (sit-for ...) is activated,
> there are serious performance degadations. So I've deactivated it in
> master; it must be revised more carefully before activating it, again.
That's my impression as well.
>> 2. If we are in parent directory, and soon after pressing RET we invoke
>> M-x we don't see the minibuffer prompt till after the offending
>> directory has finished font-locking.
>>
>> 3. If after invoking M-x we immediately start typing, the keyboard input
>> is registered, however, it doesn't display in the minibuffer till
>> after the offending directory has finished font-locking.
>> Additionally, doing so invariably results in 100% CPU usage for the
>> duration of the font-locking. Sometimes invoking M-x alone results
>> in CPU usage going back up to 100% (while font-locking is still being
>> done).
>>
>> Thoughts?
>
> No. Yesterday evening, my doctor started a new torture with me. This
> will last about a week; I fear I cannot work during that time. Sorry.
I hope it all goes well; get well soon!
Please take your time on this. The `dired-font-lock-keywords' tweak
effectively reduces the severity of the issue. When you do have an
updated patch, I'll be happy to run some tests as needed.
Regards,
--
Suhail
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, (continued)
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Suhail Singh, 2024/09/11
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Suhail Singh, 2024/09/13
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Eli Zaretskii, 2024/09/14
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Suhail Singh, 2024/09/14
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Suhail Singh, 2024/09/14
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Eli Zaretskii, 2024/09/14
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Suhail Singh, 2024/09/14
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Eli Zaretskii, 2024/09/15
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Suhail Singh, 2024/09/15
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Michael Albinus, 2024/09/14
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP,
Suhail Singh <=
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Michael Albinus, 2024/09/20
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Michael Albinus, 2024/09/11
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Michael Albinus, 2024/09/07
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Suhail Singh, 2024/09/07
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Michael Albinus, 2024/09/08
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Suhail Singh, 2024/09/08
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Michael Albinus, 2024/09/08
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Suhail Singh, 2024/09/08
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Michael Albinus, 2024/09/08
- bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP, Michael Albinus, 2024/09/11