delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/06/06/05:59:09

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:mime-version:from:date:message-id:subject:to
:cc:content-type; q=dns; s=default; b=LjA/2cZAe0/NUOnFWQuItcDuNQ
eSb0WAC6iEyTsrMNFRnKqnZFe7sZTvXEc+rf6A1XZSu7eTn7WfbEO20Zs8QNC9RJ
btSW1EvvwFPFc0IuJh5ObiQeoL3mwmTvxDb6WO/frf1yTeTXTD9KIa48mnTOH6d0
UCtUuHHk1u0TBTuLc=
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:mime-version:from:date:message-id:subject:to
:cc:content-type; s=default; bh=V1wYPeYVKnPu2+9exm23q5rKKwk=; b=
akLG4+1M6b0GeV+RkAZTRFo2y/NC7hMMWBsZ7zxVG6sJx9EvaV6LGpEbxJ8GdsM+
qBardgV5S75ANbPiViVsHywNcIdXTtE1rd+0tbeWbcy+P7d+B7IleeXq6n8pqxV0
2BQoiCUOO44O5ifWz/qSyUCxL9rSI9IlL4nUGF5kewc=
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=-0.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f52.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-type; bh=MjO0d5v4e8wvkmKN5Bf6kIwD25S5F1Suh6NbhR/JSCY=; b=HdwbUYLKhTJ/LDeJ1HN2WAcALYFVqhgQSuRF94LlP0dwLIcpt5fcDrRnAqBD1qtF2U 7xJlEIkflEtsytm4eFJpStoSicIY7hucPaxzz9/nOLDnMBot+533fWhzSLXuDd54fNkf /7pQ8S5/tiUb+09C2Hel3+RS59mpbecZKGmpATvcJTtJl1PFlQBaSyJWq+Wr2sPPLuc2 dzizzbReGth9vRajOiZLeYgsV+xO4pEYT8wlWOZdkV2moQUHvi99EDzT3rmACbCLJ2kX 63GtR1UMY5mFYMt9NtRQQVzajocFDkUO+yl5A3EQVCoxdg+wHOaUv/eqkjRkLa0hjbl5 gTaQ==
X-Gm-Message-State: ALoCoQkUCLsxZ9bBz9Z7QEhaxM8EGR0RFco0Py/HV7Yv3+hgTWPbtQMtM7DVXpqvfXhemwabNW8F
X-Received: by 10.194.176.225 with SMTP id cl1mr13833858wjc.45.1433584729489; Sat, 06 Jun 2015 02:58:49 -0700 (PDT)
MIME-Version: 1.0
From: =?UTF-8?B?xLBzbWFpbCBEw7ZubWV6?= <ismail AT donmez DOT ws>
Date: Sat, 6 Jun 2015 12:58:29 +0300
Message-ID: <CAJ1KOAidxNn99KCUNHCbGCvOc=51vz8uzo5zag_0FEYj-yyFPQ@mail.gmail.com>
Subject: More details about the tmux 2.0 regression
To: cygwin AT cygwin DOT com
Cc: Michael Wild <themiwi AT gmail DOT com>
X-IsSubscribed: yes

Hi,

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.

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

cat /proc/<pid of cmd.exe>/cmdline

and see it takes a second long to print "<defunct>". Would be nice to
fix this slowdown so tmux can be speedy again. For now setting
automatic-rename to off

set -g automatic-rename off

helps somewhat.

Regards,
ismail

--
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