GNU bug report logs -
#78499
tramp-accept-process-output busy-waits
Previous Next
To reply to this bug, email your comments to 78499 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78499
; Package
emacs
.
(Mon, 19 May 2025 21:42:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Daniel Colascione <dancol <at> dancol.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 19 May 2025 21:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
tramp-accept-process-output should wait for something to actually happen
to the process from which we're trying to accept output, not just return
immediately after specifying a zero timeout and rely on the caller
to poll.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78499
; Package
emacs
.
(Wed, 21 May 2025 07:48:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 78499 <at> debbugs.gnu.org (full text, mbox):
Daniel Colascione <dancol <at> dancol.org> writes:
Hi Daniel,
> tramp-accept-process-output should wait for something to actually happen
> to the process from which we're trying to accept output, not just return
> immediately after specifying a zero timeout and rely on the caller
> to poll.
tramp-accept-process-output has seen several implementation iterations
ove the years. I'm happy, that it looks stable now.
Could you please show a problem with the current implementation, which
needs to be fixed?
Best regards, Michael.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78499
; Package
emacs
.
(Thu, 22 May 2025 07:44:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 78499 <at> debbugs.gnu.org (full text, mbox):
On May 21, 2025 3:47:14 AM EDT, Michael Albinus <michael.albinus <at> gmx.de> wrote:
>Daniel Colascione <dancol <at> dancol.org> writes:
>
>Hi Daniel,
>
>> tramp-accept-process-output should wait for something to actually happen
>> to the process from which we're trying to accept output, not just return
>> immediately after specifying a zero timeout and rely on the caller
>> to poll.
>
>tramp-accept-process-output has seen several implementation iterations
>ove the years. I'm happy, that it looks stable now.
>
>Could you please show a problem with the current implementation, which
>needs to be fixed?
.
100% CPU use while we're waiting to receive bytes from the peer is a priori a problem that needs to be fixed. Good software doesn't busy wait. We have a perfectly good mechanism for waiting for something to happen with timeouts and we shouldn't avoid them on account of years of accumulated changes or compatibility with ancient and irrelevant bugs.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78499
; Package
emacs
.
(Thu, 22 May 2025 11:23:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 78499 <at> debbugs.gnu.org (full text, mbox):
Daniel Colascione <dancol <at> dancol.org> writes:
Hi Daniel,
>>tramp-accept-process-output has seen several implementation iterations
>>ove the years. I'm happy, that it looks stable now.
>>
>>Could you please show a problem with the current implementation, which
>>needs to be fixed?
> .
> 100% CPU use while we're waiting to receive bytes from the peer is a
> priori a problem that needs to be fixed. Good software doesn't busy
> wait. We have a perfectly good mechanism for waiting for something to
> happen with timeouts and we shouldn't avoid them on account of years
> of accumulated changes or compatibility with ancient and irrelevant
> bugs.
"A priori" isn't a bug recipe. Pls show me a recipe indicating a
misbehavior, which needs to be fixed.
Best regards, Michael.
This bug report was last modified 29 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.