This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: X11 forwarding extremely slow (unusable) after Cygwin upgrade (starting from cygwin1.dll version 3.1.0-0.4)
- From: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- To: cygwin at cygwin dot com
- Date: Sat, 4 Jan 2020 10:51:42 +0900
- Subject: Re: X11 forwarding extremely slow (unusable) after Cygwin upgrade (starting from cygwin1.dll version 3.1.0-0.4)
- Dkim-filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 0041pUlc003627
- References: <013c01d5c1b3$35d44c30$a17ce490$@gmail.com> <535e7760-f4da-2018-1dee-1c9bf2ea6cc9@cornell.edu>
On Thu, 2 Jan 2020 22:16:02 +0000
Ken Brown wrote:
> I think this narrows it down to one of the following commits:
I looked into this probelm and found the issue occurs after
the following commit.
> commit 915fcd0ae8d83546ce135131cd25bf6795d97966
> Author: Takashi Yano <takashi.yano@nifty.ne.jp>
> Date: Thu Sep 5 13:22:54 2019 +0900
>
> Cygwin: pty: Fix select() with pseudo console support.
I investigated this deeper, and found:
1) xterm in ssh -Y session calls select() about 1000 times
at startup.
2) pi->thread->detach() in pty_slave_cleanup() takes about
20usec in usual, however, it takes more than 10msec
in ssh -Y session.
As a result, start up of xterm takes more than 10 sec.
I have no idea so far why cygthread::detach() becomes
so slow in ssh -Y session. :-(
--
Takashi Yano <takashi.yano@nifty.ne.jp>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple