Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Wed, 26 Jun 2002 10:14:35 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Executing commands is VERY slow when logged into an NT domain.... Message-ID: <20020626141435.GC28356@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20020626042741 DOT GA2682 AT redhat DOT com> <20020626050638 DOT 17205 DOT qmail AT web10508 DOT mail DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020626050638.17205.qmail@web10508.mail.yahoo.com> User-Agent: Mutt/1.3.23.1i On Tue, Jun 25, 2002 at 10:06:38PM -0700, Rick Rankin wrote: >--- Christopher Faylor wrote: >> On Tue, Jun 25, 2002 at 09:09:43PM -0700, Rick Rankin wrote: >> >Corinna mentioned earlier in this thread that some strace output might be >> >helpful. I've attached two strace logs from running 'ls' in an empty >> directory. >> >The first is using the 1.3.10-1 DLL where don't see the slowdown, the second >> is >> >using the 20020625 snapshot of 1.3.11 where I do. >> >> The microsecond numbers in the 1.3.10 vs. 1.3.11 strace show that 1.3.11 is >> actually slightly faster than 1.3.10: >> >> 1.3.10: >> 1989 180504 [main] ls 436 _pinfo::exit: Calling ExitProcess 0 >> ^^^^^^ >> >> 1.3.11: >> 2447 169876 [main] ls 1480 _pinfo::exit: Calling ExitProcess 0 >> ^^^^^^ >> >> Are you sure you saw a slowdown in this instance? Because this is >> pretty puzzling if so. Given the fact that we cleaned up some of >> the startup code in cygwin for 1.3.11, the above figures are what >> I'd expect. > >Pretty sure. I also ran 'time ls' right after I ran 'strace ls'. Here are those >results, which I meant to post earlier but forgot. I took these times while I >was logged in to my domain account and connected to my home network, which is >when I see the slowdown. But, the strace contains its own version of the time command and it is saying that the straced 1.3.11 version is not slow. Out of curiousity, does mounting your /bin and /usr/bin directories with the -X option "fix" anything? mount -f -b -X c:/cygwin/bin /bin mount -f -b -X c:/cygwin/bin /usr/bin where c:\cygwin is the location of your root, of course. >So for whatever reason, the real time required for ls to do essentially nothing >is 2.3 seconds longer with the 1.3.11 dll than it is with 1.3.10, while user >and system times are more-or-less unchanged. Sounds like it is timing out trying to contact something like a domain controller, maybe? cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/