public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Cristi Anichitei <cristi.anichitei@gmail.com>
To: cygwin@cygwin.com
Subject: Slow startup time on AD joined PCs
Date: Mon, 26 Jun 2023 09:15:52 +0300	[thread overview]
Message-ID: <CA+we9ADqrxdGa7T=2H0asjK-Lm2iExTnHWuwOun6YZX4i5ueVg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1366 bytes --]

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

             reply	other threads:[~2023-06-26  6:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-26  6:15 Cristi Anichitei [this message]
2023-06-26 14:12 ` Brian Inglis
2023-06-26 14:45   ` Cristi Anichitei
2023-06-27 10:45   ` Cristi Anichitei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+we9ADqrxdGa7T=2H0asjK-Lm2iExTnHWuwOun6YZX4i5ueVg@mail.gmail.com' \
    --to=cristi.anichitei@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).