Re: tramp readlink slowdown on find-file

2024-03-13 Thread Prashant Tak
Please refer to my config snippet I already have remote-file-name-inhibit-cache set as nil. > Tramp caches the result of a check for remote-file-name-inhibit-cache > seconds. Increase that value (it defaults to 10), or set it to nil. Is there no other way to disable the amount of checking done

Re: tramp readlink slowdown on find-file

2024-03-13 Thread Michael Albinus
Prashant Tak writes: Hi Prashant, Pls keep tramp-devel@gnu.org in Cc, for the archives. >> When you connect to the remote host directly via ssh from a shell, does it >> take the same time to call '\readlink --canonicalize-missing /a/b/c/xyz.md'? > > No, that works instantly. Is there a way to

Re: tramp readlink slowdown on find-file

2024-03-13 Thread Michael Albinus
Prashant Tak writes: > Hi Hi Prashant, > while opening a file in tramp, I'm experiencing immense slowdown, > 20+ seconds to open a file. > In the debug buffer I found readlink status check to be consuming ~12 > seconds. Any idea what could be causing this? > > 21:22:47.919689

tramp readlink slowdown on find-file

2024-03-13 Thread Prashant Tak
Hi while opening a file in tramp, I'm experiencing immense slowdown, 20+ seconds to open a file. In the debug buffer I found readlink status check to be consuming ~12 seconds. Any idea what could be causing this? 21:22:47.919689 tramp-sh-handle-file-truename (4) # Finding true name for

Re: Review wanted for method for accessing Mock chroots

2024-03-13 Thread Michael Albinus
Tim Landscheidt writes: Hi Tim, >> However: I don't know Mock chroots in detail, but it looks to me like it >> is something what could live in tramp-container.el. What do you think a bout? > > It probably fits quite nicely, but due to my preference for > sticking to distribution packages, I'd

Re: Review wanted for method for accessing Mock chroots

2024-03-13 Thread Tim Landscheidt
Michael Albinus wrote: >> Is there anything blatantly wrong/not backward-compatible/ >> not foreward-compatible about it? I saved on (customizable) >> variables as it is hard to predict what other users might >> want/need to change. Any advice is appreciated. > Some few comments below. >