delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/02/27/09:40:13

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CDD053858D35
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:from:date:message-id:subject:to;
bh=+wRUxpeVzZWo/72tYntyz6iDLiAGPmlY70czFgmYXXw=;
b=dearwwPjXR12/GbmlutVBdPGETsJH1NMgl7N3l96LALIwainrbcwmAj0NfzxsoGsne
siCfNHgOUj5UzeQhk00bEAh4M5/BXB7goFP6SKpTtOBW4khOmLbnCEb3MjVxNqV3kyKu
vfceONrlpdI98fQ8QrGWHSo4i8TzgrcC4hvAxaO7DM7NctpPKXqrwAJhMbcfD/nxpCnK
TVh3AD+Pw9mX+CRj6y+Adx3tCDl4n6vGXaA5jzDrV2lmxfIgFb1XzvF/nUvlU2chpWU2
noYlqRPQjNJ2qof+tat7sSuvGy2VOiWaLeEzg8Z5BRGGgaAbYhS5w1TbK9SBf6grBS45
0kGA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=+wRUxpeVzZWo/72tYntyz6iDLiAGPmlY70czFgmYXXw=;
b=20+TCeK+DLtpaeBMr/Qd1FRX7KU9EZQFWus40U1BzyKon0UiQT9eK7NEvPt/OhH8Kk
a0Ja/UBGFWZzlHx7YnB7bepQeM/Zq7UhBm9wEDguLfbAekH1ruK5UmXZ4VprNvP/OQru
KWaF0zcqMXgb7+YibZfPVyD7lb1XCdWXsC+OLu4/E+a9IZUvZdvXhTyRLgbmHo4z+xFy
ucJhJyy2zm4tkj6iBrzWduzvQ1li8lOdx2N40ZJIdTRwmgLkTj8V323AEvM3K9lQ1wzb
lVkoe+gOy201z+iV2x1Qs42m7xRwh0d1FRQniaxYeBXkKluB2YiPl2h/E066eJ4wnBYv
H/Nw==
X-Gm-Message-State: AOAM530SLm3bNImx7S/IVqTo9UjMx6k5s7g43gnMfeAUMnMuOKcgJ3qT
dNUq5b7eat1bN7tponvA6T/J869c/4OebUIpAaVkB19DYQ4=
X-Google-Smtp-Source: ABdhPJxi+ckbHVllS0wqOJmKhTjFRbmc6/AJIIdpL0xwSuJAHXFoMlkbw9doTJ9hUrvPUAmknubtOiWbwyb5txywDBA=
X-Received: by 2002:a5d:8ac1:0:b0:641:63a7:524f with SMTP id
e1-20020a5d8ac1000000b0064163a7524fmr12202344iot.11.1645972774964; Sun, 27
Feb 2022 06:39:34 -0800 (PST)
MIME-Version: 1.0
From: Orgad Shaneh <orgads AT gmail DOT com>
Date: Sun, 27 Feb 2022 16:39:24 +0200
Message-ID: <CAGHpTBKbqxWQ+WOc=UZH1a155gHhNc4ogVE0sP=rCw7q5xoNpQ@mail.gmail.com>
Subject: Typed characters are mis-ordered when CPU usage is high
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi,

I'm using cygwin runtime 3.3.4-2.

When a foreground job is running, and the general CPU usage of the
machine is high, characters are mis-ordered.

To reproduce, I use this script to produce load:
#!/bin/sh

for i in $(seq $(nproc)); do
  while true; do :; done &
done
wait

Run it in the background, then run a long foreground job, and while it
is running, type something.

Example:
$ spin.sh &
$ sleep 3 # While it is running, I quickly typed git status
$ sigt tatus

This reproduces on Windows Terminal and on cmd (Cygwin.bat)

Please CC me on replies, as I'm not registered to the mailing list.

Thanks,
- Orgad

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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