X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=ttVii97YdI5zpHdUaKRdUgRoLF5J4Ogq8jQQs4ydomIQF+2h3SBCZ ZOOtDBCyAFGD2xUTK2emz5WpURqG9vcl4MBEatjzr+OgZQS3ux1WYpB9txvcAp8F YkonI6tR2RAY+a/hR6XtwIDivuoNcAebD/ma5Xc+0fUYhdfS+YpoVk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=0qXIarw1D5haPawarIFo9lBC2wA=; b=EBaDZnJXNmNEearEvjm/1dGRgHwv nE1FCa2rnOZgP4/toBq5MWVsK0rAvW+zDQJ9JwgSGEPWlpKTAv+IvjWxZ8ef6I81 ybIxfcCh7MNUFAzMG57K79F+m3CatRBXkax0ely6eEp6ZKDWViIyShi2S5Djgjam 6o9ec2cNC4CK2OY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_50,SPAM_BODY1 autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Date: Wed, 25 Feb 2015 09:56:50 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: slow startup after upgrade Message-ID: <20150225085650.GV437@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3EA1D0B4CA4540DEB0782E6C1D038E3A AT Tamar> <20150224211358 DOT GO437 AT calimero DOT vinschen DOT de> <13639-1424819039-568511 AT sneakemail DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d5xRKMqY7hkGAt+u" Content-Disposition: inline In-Reply-To: <13639-1424819039-568511@sneakemail.com> User-Agent: Mutt/1.5.23 (2014-03-12) --d5xRKMqY7hkGAt+u Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 24 16:03, q2t2hzmwuk AT snkmail DOT com wrote: > Corinna Vinschen corinna-cygwin-at-cygwin.com |cygwin_ml_nodigest| wrote = at 22:13 +0100 on Feb 24, 2015: > > Hi Roger, > > > > On Feb 24 19:55, Roger Orr wrote: > > > Hello Corinna, > > > It seems slightly faster than the previous patch and I've not notice= d a > > > downside yet. > > > > > > > > > CYGWIN_NT-6.1-WOW LCLDN-DEV24 1.7.35s(0.286/5/3) 20150220 15:47:55 i= 686 > > > Cygwin: > > > > > > ~37ms to run echo.exe from Windows command prompt > > > ~60ms to run .\id.exe -a from Windows command prompt > > > > > > CYGWIN_NT-6.1-WOW LCLDN-DEV24 1.7.35s(0.286/5/3) 20150223 21:02:38 i= 686 > > > Cygwin: > > > > > > ~35ms to run echo.exe from Windows command prompt > > > ~53ms to run .\id.exe -a from Windows command prompt > > > > That's a nice result. > > > > However, I don't quite understand this result for the older DLL. > > Weren't you reporting >4 secs as startup time from 1.7.35?!? > > > > On another note: > > > > I just uploaded a new developer snapshot (2015-02-24). This snapshot > > should improve mkpasswd/mkgroup or, generally speaking, enumerating AD > > accounts, a lot. Can you give it a try? > > > > While you're at it, does the new snapshot still stop after 3.5K accoun= ts > > even though you think there are 8K accounts? If so, I'd be interested > > to investigate this further. The reason is, while testing my today's > > performance improvements, I stumbled over a bug in my code which also > > resulted in enumerating less accounts as desired. So I'm not entirely > > sure your problem isn't related to a bug either. >=20 > That mkpasswd symptom was reported by me Really? This is the first time I see your email address on this ML, and there's no name connected to it, so I don't even know if you're usually writing under another email address. At least a forename would be nice... > (well, maybe others, too). > I'm running it again, but it's still very slow, AFAICS. It shouldn't. It performs only one LDAP call now per 100 accounts, If that's still slow in your environment, I don't see any way to speed this up any further. > I'll report > how long it took when / if it finishes. >=20 > New issue with recent snaps: >=20 > Running the 20150224 (and *23) snapshot produces the following on Win > XP (yes, I know) if cygserver is running: Sidenote: I'm contemplating to stop supporting XP end of this year. > $ /usr/sbin/syslog-ng -F > 1 [main] syslog-ng 5776 C:\cygwin\usr\sbin\syslog-ng.exe: *** fatal= error - Fetching account info from cygserver with wrong arg.type 2 Try the snapshot I just uploaded (2015-02-25). I forgot a tiny, but crucial statement in the code when I changed that code two days ago. That should be fixed now. > tcsh still taking a long time here (also XP - 3+ minutes with > cygserver running). bash & dash much quicker. Works very quickly for me. Problem is, I don't know anything about your environment. Are you working remote or in an office? How many groups are in your user token? What is the result of this funny little statement Dennis created: cmd /v:on /c "echo !TIME! & C:\cygwin64\bin\mintty.exe /bin/echo "test" &= echo !TIME!" Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --d5xRKMqY7hkGAt+u Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU7Y5SAAoJEPU2Bp2uRE+gKr0QAJtivAr9fDoMDdxJVtEZ3yI8 8E+eNqrT2Bo4Al5QXUOjTOFfBax/yxfyB3jTY9f5b1NjQYfjrCLxe/DAVKUWu4KG wearRyHyVP/p7FBDxpTrpjSrw/NsYSLk0bZcaxOEu7W1+4SvMYvhIZ9oUiJTmhhf D5J/lU9QQAYa1YKzw+u00ItdJcjLbgZe7oCdVKIQN7NDXTrqcPHadWwoU7Waft4l g2xZD8JG0yLx2i74T9hZq9qcMHzPkDetECs/D2Y0dClFiflX9FdObD3jKTCBm4wj Wo4JzPrUUKPRCc3MfBwIsGdycViEwqy3iWJn4VGzvbOm8M/Rb9uR8MCywWUCe6c9 XT1bWjPjc/uPfVfitlkptzHVIs1yOkwVk2eIXHY5h2+bNfDnnrbHGI+knMpy6S4/ ACuKMGq6rLnQkAwOkkK7VjaIVpNhWoQlwl2sN/UrJhVqz/YikhtVwwwh2iveUi/Q 70pPZBl7R5OeEY6vodXRwiCQKYn2VCSRtH03n0+0UaIficnLYSnImMw+0Jd7HoqZ MIqQcMFDGrUreV9DzCOW02U3BA/JDoT1nTyzDPc6wZNdJVu0AwPuJ9JHewlyyD7r WK0OYwx0xiLm/WnuiTLjiv+tnfTJptFqBq/xMgMtp78o4EamTmaN/GLUiy2frysG fPpDJe0iRb+St71oEEVT =x00I -----END PGP SIGNATURE----- --d5xRKMqY7hkGAt+u--