delorie.com/archives/browse.cgi | search |
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:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=ElmaCkEcIhr/b/AXa8DJWukrpdHcONBCZdyXED6Cd6ZIWE0qr+x9m | |
+JK2sr7tesGjfjZo+Se32KPVMLm1z275bbGuVglxCMY2UuzM58f9n4zEW6GqbUW6 | |
vKptJzON7Kb58ztPzeDKuAI6lDqzSCifiOpHXi7O5FSf7/OUVKbV0Y= | |
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:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=+wp8IEsL26kh2A21WhCBBgtYSXM=; b=OoHY6e4kuCJbPEVQajD9+TgUTmEy | |
swdK4i9jqEsyDORY04YMn/NZZsswA1o2g8i2bJN6msjI7Hb0HhHEiBHG0V5JiO6f | |
P9q6WN/aSOjU+aPL4giEOMi9uMoNwDtXk1bmqSpawJpvgcVxmx2GRdhmcQeoqh9I | |
CqkUUBB+4BTv4xk= | |
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-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: | Mon, 8 Jun 2015 15:21:03 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: More details about the tmux 2.0 regression |
Message-ID: | <20150608132103.GJ3005@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CAJ1KOAidxNn99KCUNHCbGCvOc=51vz8uzo5zag_0FEYj-yyFPQ AT mail DOT gmail DOT com> <20150608124159 DOT GE3005 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
In-Reply-To: | <20150608124159.GE3005@calimero.vinschen.de> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--sT9gWZPUZYhvPS56 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 8 14:41, Corinna Vinschen wrote: > On Jun 6 12:58, =C4=B0smail D=C3=B6nmez wrote: > > Hi, > >=20 > > I had a nice discussion with tmux maintainers over at > > https://github.com/tmux/tmux/issues/13 about the tmux 2.0 regression > > on Cygwin. > >=20 > > Long story short, tmux is trying to read /proc/<pid>/cmdline and > > /proc/<pid>/cwd for various reasons and for non-Cygwin programs this > > is quite slow. You can reproduce this easily run cmd.exe inside bash > > and try to > >=20 > > cat /proc/<pid of cmd.exe>/cmdline >=20 > Good catch! >=20 > The problem here was that this functionality is very Cygwin centric. It > tries to call into the process itself to fetch the information. >=20 > E.g, assuming you have some /proc/1234, it tries to fetch the information > by sending a request to process 1234 and then waits for that process > setting a semaphore. A non-Cygwin process will obviously fail to do so, > not knowing about the method at all. >=20 > I fixed that in the Cygwin git repo and it seems to work much better now > to run native tools inside tmux with this change. >=20 > I'll upload a developer snapshot on https://cygwin.com/snapshots/ later > today. Snapshot is up. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --sT9gWZPUZYhvPS56 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVdZa/AAoJEPU2Bp2uRE+gLIYP/0p1H4oUE6HdRtQwpA4vu72j 5LZ6sp99a9cVMvf6eCPRVkNe4cbkqltnYtqNURwMaZ1lVQT7+E3QvPfD0BPELwgG iw/u4gRZpK+S4pwoDp+s80SpEWn3MglMRm6mVkaqufGD+QQvo9dIauRYWzH/UFOd TnHZGh4Suhz4CTWD+8RUy96APdfSGPl6xJQ0rXE1no4tFnAFwSNm6U5h+r3Dg9zm Ns2cj2T8UPTBjLasJakqB/4DYBzHeNMjKfVFDtn/kfJxUv36ijGPDGzAvZeEMhrW J7sYk5/gP0UEgIuHgEau6CxzFaqqqbn3fz2E9sWam54YhVZYkp4uXQ2aq9l8PQmP gQZ7eRuEEw31/c10VKnQhGPnIp4SjwFODcWEQgb50TMEfVvLqnsaCipACPWDt2/+ FSKmunOxch/FgIk9iiU6bJdQvOKY5nm6O10qp5t1zVTLTM9aUOXsDBf0b9z3rNkY 2YGZ71JKHw65j3DzZm7F9GeKBOdaYAe3ln5AoqANRrPzwkmjxk4o1V3P5RyD+KFb 0SOgpJiuoCE6yiDkD1v1cftv24pScyzewU4t/JhitRx3mTcgsFhWgnmJNLXXORl2 Hq8vB+d2G6GgLgO71NjnGQFq9PLuDRtn8BVJjBrVMliUla+meIcjODd32Tug1UFC DFOlA/hXHhouuwYal01X =VckB -----END PGP SIGNATURE----- --sT9gWZPUZYhvPS56--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |