GNU bug report logs -
#51734
29.0.50; got slow
Previous Next
Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>
Date: Wed, 10 Nov 2021 00:37:01 UTC
Severity: normal
Found in version 29.0.50
Done: Ken Brown <kbrown <at> cornell.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 11/11/2021 3:36 PM, Eli Zaretskii wrote:
> LGTM, thanks. It would be good to understand why starting alarms
> causes slowdown on Cygwin, though.
I asked on the cygwin-developers list, and Corinna is not aware of any reason
there should be a problem using timerfd and POSIX timers simultaneously. [In
case it wasn't clear, the slowdown occurs only if we use both timerfd and
alarms; either one by itself is fine.]
The only thing I can think of is that Cygwin is probably the only system that
has timerfd and that also has to use timers to poll for input. (The others all
use SIGIO, if I'm not mistaken.) By using two different kinds of timers
simultaneously, we're getting timers expiring twice as often and not at regular
intervals. Could this account for the slowdown?
In any case, I think I should go ahead and install the patch to make the master
branch usable again on Cygwin.
Ken
This bug report was last modified 3 years and 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.