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:cc:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=rzi7nP8OpVQ1mZ7FAI6YzRHDqcQEIkU/RHy0PepbVyNuy1nJLyUAh LObuXM2iSPd/dSR5CqIj/KBgpCfZOZKEcl6/as0PAlJSqr7VR63Wv6CJw2wEwdDn 2YdbSQtd7GqE+rNL3gwfZ97tGXgl14m48hgdnO+t5kJlytC3Zl0S28= 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:cc:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=FzyYXykYdz+ysD2LYQNk23gYa9g=; b=LPU9tCw+vOF4EMU8jxAXgHSbscja s9iYKzON4jHDB+HdqDUbhPRZgUmWWxU7mCWeSxihS3O2TjNx6ctRyYs+2+OSV0Eu nojq8LzGKf2Ru/lBjSJwJ0rsoNfXg4OI4eEr34uWImGa7i/kFsFXWjLlLuXdvLtG RZBhLa9IHYCWN5Q= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Date: Wed, 27 May 2015 14:43:43 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Cc: Takashi Yano Subject: Re: tmux 2.x performance regression when switching windows Message-ID: <20150527124343.GH16927@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com, Takashi Yano References: <5561BDCC DOT 6020809 AT mezard DOT eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+1TulI7fc0PCHNy3" Content-Disposition: inline In-Reply-To: <5561BDCC.6020809@mezard.eu> User-Agent: Mutt/1.5.23 (2014-03-12) --+1TulI7fc0PCHNy3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On May 24 14:02, Patrick M=C3=A9zard wrote: > Hello, >=20 > I noticed moving between tmux windows became much slower since 2.0.x > when running some applications in the windows. The problems disappear > if I move back to 1.9. To reproduce: > - Cygwin: CYGWIN_NT-6.1-WOW PMD 2.0.2(0.287/5/3) 2015-05-08 17:03 i686 Cy= gwin, Win7 64 bits. > - Start tmux and create two windows. > - In one of the windows, execute the following Go program (natively compi= led, Go 1.4.2 64-bits): > """ > package main >=20 > import ( > "fmt" > "time" > ) >=20 > func main() { > for i :=3D 0; ; i++ { > fmt.Println(i) > time.Sleep(500*time.Millisecond) > } > } > """ > - Try switching between windows > KO =3D> it eventually succeeds but lags a lot. With 1.9, the switch is > immediate. 1.9? Do you mean 1.7.35, by any chance? This *may* be related to the changes in the pty code, which now uses two different pipes for Cygwin and for native processes... Takashi, any chance you could take a look? Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --+1TulI7fc0PCHNy3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVZbv/AAoJEPU2Bp2uRE+gzOUP/2+IRc6Vf4g3wSFNJ7a7csE0 cE1vqFFX/ZRC4fzhRpllcJBKsME/WreRGWDI5td+JQIkli+/5pirq78kokfQP516 F/819JySUlMcx9J8Ho+wfdx3pUZWUJPeG2936pu4Faa5W24aS4CvZrFRcOvfR9OC 547/qPMb0Eb/6VLi1Vkw6qO301VsawP6fLd/d0UUUQgLniygi6U/e+NJJBRqtJN/ MgVuP/c2hFpw0T5jujel42IDv7FzebStXiyZeHQfxgbGBF2f3gSqBjSayFejp5ff /tAa08kUFX03GzLVLDquWCHCTPHV2KmUsH1h7yb5CikBY0WF/XvcuWa2rwufssW6 Jzk0d3Zj3HsnbsEgg8Iy/Yh/2F9smzJumM6rACQdR2If1oz8XxnVhPY9T0or52nB dNSO5iMKGxHzK6oBDDmiyjCLHuHuV5dxgIfSHgy+0e3tupT0mhQvlmHRA/mWLcI5 eseQzdQldpczM0xtvaTY6ZFCKRd1h9RPKnrl5tA1ibSE/BZwP7ME+5ZhNeVhfoq6 Cp35FErhg3X/yL5EMxHkTtMtQ4B4rzi++u0iOejsq5z3vupHE5/waAteNCWq+FfK S8Z+8MwyIZ1eJmZAfM/+qcycgxisuqvHvg8xm1Ghdsyvsz+jC3d0jPf0BD2ympjY H7wHfyhE7v42hWe5XIcH =lz0J -----END PGP SIGNATURE----- --+1TulI7fc0PCHNy3--