X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B02CC385840D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1687760202;
	bh=rAdX2A2ZdRgZIsy+IG9QeDM5mm2qmEbTAT6odVXzEfs=;
	h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=mcCzvoB0fM5zMnU0reNfw5EJvPWTLF8wtCn/3yeVGZw2816qBlqJfiGSoxm0lnlyx
	 qgNYy9Ga8TcFWeHr03WLWe864DpynEW8VbYUxHMxuRwPOu2IQHorN3IqT/RX/6YuOb
	 MacezukZygksSLytw6HmyQKar4Aoa+bVBy7XU0rY=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1FEE53858D20
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1687760163; x=1690352163;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=zx4OvH8cl8wNh0QLY/t98/ZgSj7KN4qrSUNby0unhNY=;
 b=eAoeJypuEaIGu2MxTNhresHQ3con6mFBkzM6Xn0VnZwVsuX34HkVw9uS8+DnR9oEm3
 DgQivyTTZY69uNQs8yYlMuj95/yIOdSZSXV9FzE4889axdEqkNrXg82lRSHgypwqbpRI
 J+lJeDq3/TVFnBWHhuRW6yoKhbbQ37FF10tBGTY0mEqcIXfXEFaNW+kMYxX28PPXOy2K
 LFWb2018t/0POyg/YuTPnQOq5gpGB01ty1pbd/tywZwfu5fmX++AVJ5UhkRK8zOMWDHc
 48wbHo3VCqILRKboLYDclKug5skwSp3R2t0HT54yRUA4VmzUFga/iTVmT9OgJG8WBJt8
 aTcw==
X-Gm-Message-State: AC+VfDx7MhBS8AVVJKaGjn40lyfprtR8VkJ593hY4glds48QQ1Q0MFXe
 16iDDy3qi39VggJarVlw555PYziPhvsp21fa2VZHjrckKQk=
X-Google-Smtp-Source: ACHHUZ6ZpYROSz3wOFunGQ8fERs4PEeBJoWi3PPzyum9FHkqXvt1P2Yj5eKl1XRyWeZyQXoLKpaVMPj6uQ7Cee13wPc=
X-Received: by 2002:a25:418d:0:b0:bff:2a29:5981 with SMTP id
 o135-20020a25418d000000b00bff2a295981mr17447457yba.5.1687760163344; Sun, 25
 Jun 2023 23:16:03 -0700 (PDT)
MIME-Version: 1.0
Date: Mon, 26 Jun 2023 09:15:52 +0300
Message-ID: <CA+we9ADqrxdGa7T=2H0asjK-Lm2iExTnHWuwOun6YZX4i5ueVg@mail.gmail.com>
Subject: Slow startup time on AD joined PCs
To: cygwin@cygwin.com
X-Spam-Status: No, score=0.7 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,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.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@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Cristi Anichitei via Cygwin <cygwin@cygwin.com>
Reply-To: Cristi Anichitei <cristi.anichitei@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

This has been initially reported as a Git for Windows issue:
https://github.com/git-for-windows/git/issues/4459

But it has been tracked down to originate in the Cygwin project (see
https://github.com/git-for-windows/git/issues/4459#issuecomment-1580526636
and maybe
https://github.com/git-for-windows/git/issues/4459#issuecomment-1602566700).

Using 3.4.6.1 (from
http://mirrors.kernel.org/sourceware/cygwin/x86_64/release/cygwin/cygwin-3.4.6-1-src.tar.xz),
running any program from /usr/bin takes at least 20 seconds, for example

$ .\ldd.exe --version
ldd (cygwin) 3.4.6
Print shared library dependencies
Copyright (C) 2009 - 2023 Chris Faylor
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ Measure-Command { .\ldd.exe --help }
Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 22
Milliseconds      : 552
Ticks             : 225529747
TotalDays         : 0.000261029799768519
TotalHours        : 0.00626471519444444
TotalMinutes      : 0.375882911666667
TotalSeconds      : 22.5529747
TotalMilliseconds : 22552.9747

I have also tried this with 3.4.7 - same issue.

Using 3.1.7 there is no slow down. I haven't tried any versions between
3.1.7 and 3.4.7 yet, but I can do that.

I'm running Windows 10 21H2 (19044.3086).

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