www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/01/06/09:41:07

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=bNdXutGPNjYlQTIBWHXk2+tUCCRpjyFSyb4IRBpmFk/
qVIEbKufOmGdPiokBcsO24jeWH36kcxTPHjIHqg91o/S9UqlcOxUQhGHl2/D6Yj/
HwydxfN9AylKUavGs9U/Mq49U80UOMiT1ePB+fvleFC34EmMC0HgfllaSeq5BGyk
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
s=default; bh=B38aWOydZ3km83dbExZHOo5ZhYM=; b=hio27sTPqeUi79b8O
PxWC698cruHHX2ChbRceto5FTqy40p98cLL3qLpwGXPSwtidfCeSt9Aq2E8zmHhO
41Xgi+LRW7BFYsHRAFvcjsuADfkVD2cb646htoWjs5thWFj6nst2Gj19ZQU59nFP
bZumdyGQXFyNHo6w/vSc612KV4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-7.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=upgrade
X-HELO: conssluserg-03.nifty.com
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 006EeBtN020886
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1578321611; bh=Zif34ZDJBSz9/h/jwY0KdxIIQf3ltLhzrkDSmbzChCU=; h=Date:From:To:Subject:In-Reply-To:References:From; b=BGAdEMYP3T7kbll2xaVn/Ei61h6P+c4jU2q7gK447cn7ij2EpzkBILESbswzNalct RYPTjdSxkYC2ym+MUf4k90wMr34BkjoD8FG9yXbTlFT+B4KanTOhcHtK9ygYnfSxlB OgoMeiks2M4nrx/0eRBvMTweIZZcCImL5FvPVsFjj2juQSoOj+FeMFJOOgB7LTATl2 CiDNhPWRg6mWwI/sYtpMMQlWJQUw+mhxtu1Bvosj0AOzVg9239nMQKzcagJpNOoCbS v2HR/HdSN4A4T4T/NtfmdS6nEpGxANNDHuUMzqEm9nCN0LGUu6qRzy0QfAk0HAcyBU 3UMQd+/eatFKA==
Date: Mon, 6 Jan 2020 23:40:14 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: Re: X11 forwarding extremely slow (unusable) after Cygwin upgrade (starting from cygwin1.dll version 3.1.0-0.4)
Message-Id: <20200106234014.05bd8f1a3459e434ce92363a@nifty.ne.jp>
In-Reply-To: <20200104105142.699b9d6f7a518b51ea24b738@nifty.ne.jp>
References: <013c01d5c1b3$35d44c30$a17ce490$@gmail.com> <535e7760-f4da-2018-1dee-1c9bf2ea6cc9 AT cornell DOT edu> <20200104105142 DOT 699b9d6f7a518b51ea24b738 AT nifty DOT ne DOT jp>
Mime-Version: 1.0
X-IsSubscribed: yes

On Sat, 4 Jan 2020 10:51:42 +0900
Takashi Yano wrote:
> 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 DOT yano AT nifty DOT ne DOT 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. :-(

I have just posted a patch for this issue.

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019