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 Message-ID: <20020626050638.17205.qmail@web10508.mail.yahoo.com> Date: Tue, 25 Jun 2002 22:06:38 -0700 (PDT) From: Rick Rankin Subject: Re: Executing commands is VERY slow when logged into an NT domain.... To: cygwin AT cygwin DOT com In-Reply-To: <20020626042741.GA2682@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- 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. With released 1.3.10-1 DLL: $ uname -a CYGWIN_NT-5.0 az10-x31074 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown $ time ls real 0m0.043s user 0m0.020s sys 0m0.020s With released 1.3.11-3 DLL: $ uname -a CYGWIN_NT-5.0 az10-x31074 1.3.11(0.53/3/2) 2002-06-23 22:31 i686 unknown $ time ls real 0m2.344s user 0m0.040s sys 0m0.030s With 1.3.11s 20020625 snapshot DLL: $ uname -a CYGWIN_NT-5.0 az10-x31074 1.3.11s(0.53/3/2) 20020625 11:55:16 i686 unknown $ time ls real 0m2.354s user 0m0.030s sys 0m0.040s 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. --Rick __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- 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/