From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by sourceware.org (Postfix) with ESMTPS id DFECE3858D28 for ; Sat, 30 Apr 2022 14:07:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DFECE3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-x229.google.com with SMTP id r1so11096374oie.4 for ; Sat, 30 Apr 2022 07:07:00 -0700 (PDT) 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=pHH5K7ufhLwlmVDhwtPJsHLVTBqdufRkmbuTnHyQkzc=; b=WxA//RFSvC9/xP3qIY44xggudU0MmzVy3gQB60TrzSL+PBQyP17b0UDAndxz1Mllm0 4hBq1Bik+H83/cKDLI1scjJoJAVy8mJR2dTarBTwv1hDdfr04QvEMFh4OWArk43dupwj wx/j3kqrUz2C9retdgJRiy4EIhdbhT4EeEljgAFOBXRbCfDHKHlHNw/G7hBMqte3qZ0W s/vjUzDaDfL5HPfItFcsYvWnTa9dqkWBMuEKJEsy9WwJ3QxOH6pTc380eb5TyNLCGX3/ 20CgW48e6h+CeouHSxZSRuV5XUoM23+FxN/0WM9sXVy/VmsGSbd0qpsNsQ1T4zD/00r2 dRCg== 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=pHH5K7ufhLwlmVDhwtPJsHLVTBqdufRkmbuTnHyQkzc=; b=mqmwl/dm3s23vSNgxh7voYW6eB6E7ViZtq7kHA4jzNSxi3AdW+Ay7YJBAM8ITYUS3z 2D2TT4Gtq/UIxjNFqUFnwQHIEVxw3TrQiKGbN62PpcWq9C948R8mxEwLOJhT4DPR/KXp 9XEVobgdib1CAp2mKwzbxkN3CoEUWAfDNTitLspgK8jarrsrmcXsZzMpwzUHaRVHiXy3 5Ko9lYguxX24sHgo+qNEx03Kd5gxu4RV3LTfcj435CSgg8EpGM/ljZyAAcSvs8Ao5BlY Vy3OdUpH6rlbMfKZnYjjsh10xm/MxZx6HESH4adxMc13WqCIO/7kEQxcPrOdEFWyY/Xr LAzA== X-Gm-Message-State: AOAM530J09V28s6lFccfD/1PtM06myxbCdWvwu3BVqr6dnxlW4Bt0oAJ YxowOGUuOw1lisWk0nbiwgErY1Mw706nV6cqzoByTPSQgMqla1g= X-Google-Smtp-Source: ABdhPJzAxOqm7YJ1CP2OecVVwWc7k3s+cj3w7wUTZyjof3TWFQvwpEmBeXUj6RvW1Dp7pjWtjUysEqWVLAExFV2/plo= X-Received: by 2002:a05:6808:1a25:b0:325:be23:bedb with SMTP id bk37-20020a0568081a2500b00325be23bedbmr3129022oib.180.1651327619300; Sat, 30 Apr 2022 07:06:59 -0700 (PDT) MIME-Version: 1.0 From: Cary Lewis Date: Sat, 30 Apr 2022 10:06:48 -0400 Message-ID: Subject: Slow cygwin executable start up To: cygwin@cygwin.com X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2022 14:07:02 -0000 I am experiencing a problem with Cygwin on my Dell 7590. There is a multi-second delay when starting a cygwin program from a mintty window, but only the first time that a program is run. E.g. if run openssl version, then sometimes there is a delay before anything is outputted. If I run the command again, there is no delay. I ran a test with strace, and I believe the delay occurs during the initial loading of the cygwin dlls: --- Process 6232 created --- Process 6232 loaded C:\Windows\System32\ntdll.dll at 00007ffe3b4c0000 --- Process 6232 loaded C:\Windows\System32\kernel32.dll at 00007ffe3a660000 --- Process 6232 loaded C:\Windows\System32\KernelBase.dll at 00007ffe38c60000 --- Process 6232 thread 24052 created --- Process 6232 thread 28400 created --- Process 6232 thread 2788 created --- Process 6232 loaded C:\cygwin64\bin\cygssl-1.1.dll at 00000003f7a60000 --- Process 6232 loaded C:\cygwin64\bin\cygcrypto-1.1.dll at 00000003fa540000 --- Process 6232 loaded C:\cygwin64\bin\cygwin1.dll at 0000000180040000 --- Process 6232 loaded C:\cygwin64\bin\cygz.dll at 00000003f7320000 --- Process 6232 loaded C:\cygwin64\bin\cygwin1.dll at 0000000000da0000 Can anyone suggest why this is happening? The version of cygwin is: $ uname -r 3.2.0(0.340/5/3) By the way, I don't see this on my older PC, it's version of cygwin is: 3.1.7(0.340/5/3) I don't really want to upgrade my older PC to the latest cygwin to test if the 3.2 version is the culprit or not. I also upgraded from windows 10 to windows 11 on the PC experiencing the slow start issue, and that didn't have any effect on the problem.