delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/01/24/17:32:13

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
:content-type; q=dns; s=default; b=l8KOdzcnhbFhnirfhKnpboXF+7iW1
qmWxZ5ASvUxVMC+EO9r/ccdjbA40+TrCDt7FAY0T+4QI0p93QWZjM+qjrltKSgHw
Mbxh6d2qJiD5yN7hfgfDWnf1C47E8y4Ty1D9NSN6OxefWs643cc5c7IrGTK1X5lR
kFcg3RvmXulSs0=
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
:content-type; s=default; bh=LXjZnNi633BFT0SaIJVkDC8pJsM=; b=VT6
TUs1JSBfq9t9RfVBRD9FpMXjSbx1XlD3UsHPJaZuOD/30YbSq+0VTUSlYHRrQvz+
YYt1PdHQRJpejIimxyHfdfnVAHD1ZKzCSlcFKSfdLg04NpSHrx0Lj1COlDEY2jHi
/mJ+cKLGABZiYllAmGIp84UU8+EIefMfpBPGdZg0=
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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=prompts, H*c:alternative, screen
X-HELO: mail-qt1-f177.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Q6RqrCisNnGT4QXJrcRhXJ9ENfWViI8UcRgYttBPZ0c=; b=KSONpq34weGz9Nuf+vHiTv8A7A2ZCWqCA0N9r0K2jbtLZibr8NFCTASkPd8aw8pcz/ ixtqupmK2fxeZEyTDydLH/sNBSdCt8CEN8X/9ND24iPWJ67XUM1k8TXNV9asKmj3C1A5 CQNGu/84rwLOqvRkdHvYDQFHjOuElTKXkKjCUPf7WhIjcHM/8NgV3rbhBr9+n7g4BUTf fg41E2MhzEkGBew0JQ/0pzeAKWytoZNMfhDqk2LTWI5hjhMy14Vv4buiuQRxJ/p4R9av 9jCzZDug3dQcbXi5pkXD00rk9aIuYuUWTVovUlXu3wh9I13nqQB3flNBYB8ZEqtx5Aec oQQg==
MIME-Version: 1.0
From: Frank Eske <fne DOT bugzilla AT gmail DOT com>
Date: Fri, 24 Jan 2020 17:31:06 -0500
Message-ID: <CAETRzVK_5VB4y23qg18vj8PEcR6hrKRXx73KnNGbPa7M=g6AMA@mail.gmail.com>
Subject: openssh 8.1p1-1 performance regression
To: cygwin AT cygwin DOT com

I recently updated my Cygwin installation and ran into a strange performance
problem. At least part of the problem was introduced between openssh 8.1p1-1
and 8.0p1-2.

Here's one way to reproduce the problem:
1) Start Cygwin X using "xinit something -- -clipboard"
   File something contains at least:
       xterm &
       exec fvwm

2) Connect to a remote host. The remote host can be running Linux or Windows
   Cygwin with sshd server. The connect command sequence is:
   xhost +machine
   xterm -e ssh -Y -o ServerAliveInterval=10 machine -l userid &
       Where machine is the remote machine name and userid the remote
userid.
   Call this xterm window "window 1."

   From window 1, use "xterm &" to create another remote terminal window.
   Call this second remote xterm window "window 2."

3) Run a simple performance test:
   a) Repeatedly hit the enter key until the window only contains command
      prompts.
   b) Enter "#####" (or anything else, it's just a dummy command)
   c) Hold the enter key and note the speed that the dummy command scrolls
up
      the windows. Window 1 scrolls up rapidly. Window 2 scrolls up slowly.

Notes:
   It also takes longer for window 2 to appear than it used to.

   Try "man bash" or "view some-reasonably-sized-text-file". Try page
up/down
   or arrow up/down. Somewhat surprisingly, there is no detectable
difference
   between the windows. Both have zero latency.

4) Modify your Cygwin installation, back-leveling openssh to 8.0p1-2, and
repeat
   the first performance test. There's no difference between the windows,
and
   the second window start up time improves.

I might not have noticed this problem except that I use a (self-written)
program that uses ncurses for screen update operations. It performed way
worse
than the command roll-up. However, even with the back level openssh, some
latency exists where I don't think any existed before. I haven't found any
Cygwin-related reason for this. I looked at packages xorg-server, xinit, and
xterm, finding no performance changes when back-leveling them. Package
ncurses
was unchanged since my last update.

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