| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 9FA593858401 |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1687790753; | |
| bh=hPtKfCwIC0HM3ZT4X8p+AKu6jwEL3GBxsL6WpLs6UJ8=; | |
| h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: | |
| List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: | |
| From; | |
| b=sA3V0OR2BN3+uS4OZ+lMhKJqIm31lpIcl2BYJrvstJZdYOJoUXgKujP0Qq9q/CFhx | |
| UTHS0iM99y+5inTVCkQqCAEqCAczCBLxIuEiDX00Cc4JLd7JvRO+Jt6CU/fi1aZPXr | |
| nhTjWMWnjxiSeqP2Prna//IGhLRxhg+HrBwCJsGc= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org E50A43858D1E |
| X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
| d=1e100.net; s=20221208; t=1687790737; x=1690382737; | |
| h=to:subject:message-id:date:from:in-reply-to:references:mime-version | |
| :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; | |
| bh=FsitomSAgJd0OnwSaYuKHrEcUjUFylSNYLwMTxr56xA=; | |
| b=kzl6hhtYMJMSjsrMOMg74ogWbmnVTjStvuzSBqrymDZgeGDkcVoA/6+W0SoscnO/ZZ | |
| trpsvp3S/rqHkH9SqvWXOMMdO7o9axMWnwtvlpJ9UqIitJPstxGrdTzIqEU+b6RBYe+K | |
| dGvj3Op06cKlASIYh2IUIHio86vJ1KV/vSVMffdjvCLBywhDirzvkJVK0ZCpH7Urf8dJ | |
| +ODwl6fJDSLng3n2R5vU+LlQAd6P8oZSzUZNoriRLB9BHQ76LCTAOtk6IroqlHPAK6bC | |
| TFCAICPF7kjgVDPN71CP5vUPTiK+x0Y6zXgYQP5dUF0kIwbN0La/nnpkHdp8uEtkfhiT | |
| RoRg== | |
| X-Gm-Message-State: | AC+VfDwubzr6++OJHuhK7m/lJJnP01M3rr3WtnHu0GQCYt3yzzfEr1kK |
| Jh7SBgaVQg2MGV0/qmaO3piESY6+reYx5J/hCg2g4lYgnq4= | |
| X-Google-Smtp-Source: | ACHHUZ6nshQ7ZLDP48uP7HGWoHpkPbXcRLocJ0/fxwkrgt64nJnM3foqWOcM3LbeEafYpqxnS7BZlrdR6Sxgqcfb0+8= |
| X-Received: | by 2002:a25:2f85:0:b0:bd5:eeb4:55be with SMTP id |
| v127-20020a252f85000000b00bd5eeb455bemr30083887ybv.0.1687790736982; Mon, 26 | |
| Jun 2023 07:45:36 -0700 (PDT) | |
| MIME-Version: | 1.0 |
| References: | <CA+we9ADqrxdGa7T=2H0asjK-Lm2iExTnHWuwOun6YZX4i5ueVg AT mail DOT gmail DOT com> |
| <6290e8ba-1fd7-ce25-8b0a-bd050e94c45e AT Shaw DOT ca> | |
| In-Reply-To: | <6290e8ba-1fd7-ce25-8b0a-bd050e94c45e@Shaw.ca> |
| Date: | Mon, 26 Jun 2023 17:45:26 +0300 |
| Message-ID: | <CA+we9ADJU8HiC4Y9r3YJTei3AXE4g7cfgn0igozmhrjvOwheXg@mail.gmail.com> |
| Subject: | Re: Slow startup time on AD joined PCs |
| To: | cygwin AT cygwin DOT com |
| X-Spam-Status: | No, score=0.2 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 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> | |
| From: | Cristi Anichitei via Cygwin <cygwin AT cygwin DOT com> |
| Reply-To: | Cristi Anichitei <cristi DOT anichitei AT gmail DOT com> |
| Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
| X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 35QEkI4x018638 |
Thanks! I'll take a look at that, but I'm not able to change what runs at
system startup.
It is a bit weird that multiple users (from different organizations)
started to experience this after a Cygwin update. If I'm using an older
version I don't have these issues on the same machine (the cygserver
service does not run at system startup). Is there any change between 3.1.7
and 3.4.2 (the oldest version I was able to use in my tests) that could
have caused it?
ÃŽn lun., 26 iun. 2023 la 17:12, Brian Inglis <Brian DOT Inglis AT shaw DOT ca> a scris:
> On 2023-06-26 00:15, Cristi Anichitei via Cygwin wrote:
> > 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).
>
> https://cygwin.com/faq.html#faq.using.startup-slow
>
> Probably slow AD server or network connection, or long group membership
> lists,
> that can be ameliorated by running cygserver service at system startup, so
> only
> the first Cygwin process takes SAM/AD access hits, which are cached
> thereafter,
> and shared with all Cygwin processes on the system.
> Otherwise the first Cygwin process in each Cygwin process tree takes the
> hits,
> so if you are not running under Cygwin mintty terminal and/or Cygwin
> shell,
> every Cygwin process run from a Windows shell has to load all the SAM/AD
> info
> required to run the Cygwin process.
>
> --
> Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
>
> La perfection est atteinte Perfection is achieved
> non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to
> add
> mais lorsqu'il n'y a plus rien à retirer but when there is no more to
> cut
> -- Antoine de Saint-Exupéry
>
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |