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:from:to:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=UMXKab4HNd0rPorgZKokH+nK5xSWzx1vVSmxXABvUgVWv5miALlAb RVGXBnpQmK25dgGLruBmYdkTKpqSmO+s2t9rcIc6sC2cM5O0XApO5DS93MQPj5O7 DlcG6LO9nLiXCNhkUr/fhq8r0kDwj4hpixWZMAjDf8nsdtHd6QZp2g= 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:from:to:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding; s=default; bh=W6GqZze/Ou9H463eZKrYeJ2bNXQ=; b=wBoM8G0lDLMmWPCz2SKlniQKYppB S4G1RYg3YpUOArjb9Dh9Q/fw8vDceX4+bqghaWQjg3LyHRgtxOEEHGr6uZ8GEEsJ ROHNxExT2SRReYtRYesykq/2H8TV50/VGijs38f+JT/qAaz5nrbsdKxU5LSoexty aYc+aG0aOhLAsVo= 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=1.5 required=5.0 tests=AWL,BAYES_50,KAM_COUK,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: smtp.demon.co.uk From: "Roger Orr" To: In-Reply-To: <20150224211358.GO437@calimero.vinschen.de> Subject: RE: slow startup after upgrade Date: Tue, 24 Feb 2015 23:57:40 -0000 Message-ID: <323066163E624B5D87633D8609D37E9A@Tamar> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-MDF-HostID: 9 Corinna Vinschen wrote: > Hi Roger, > > On Feb 24 19:55, Roger Orr wrote: >> Hello Corinna, >> It seems slightly faster than the previous patch and I've not >> noticed a downside yet. >> >> >> CYGWIN_NT-6.1-WOW LCLDN-DEV24 1.7.35s(0.286/5/3) 20150220 15:47:55 >> i686 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 >> i686 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?!? The slow (4s) startup was from an early 1.7.35 DLL before that of 20150220. From an earlier message (2015-02-17): 1) Running cygwin "echo.exe" from a cmd.exe command shell a) With passwd: files and group: files in /etc/nsswitch.conf 0.03 - 0.4 s b) With 1.7.34 and default /etc/nsswitch.conf around 120s C) With 1.7.35 and default /etc/nsswitch.conf 4.4 - 4.6s > 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 > accounts 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. I'll try to find time to give this a go too. > > > Thanks, > Corinna -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple