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: <20020628022649.96438.qmail@web10505.mail.yahoo.com> Date: Thu, 27 Jun 2002 19:26:49 -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: <20020627150356.GD5126@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Christopher Faylor wrote: > On Wed, Jun 26, 2002 at 10:36:19PM -0700, Rick Rankin wrote: > > > >--- Christopher Faylor wrote: > >> 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. > > > >It turns out that the -X option does help quite a bit. Here are some rough > >results based on using a stopwatch to time the interval from when I > >double-click the bash icon on my desktop until I see a prompt: > > > >20020626 snapshot, no -X: 25.2 sec > >20020626 snapshot, with -X: 6.7 sec > >1.3.10-1, no -X: 2.1 sec > > > >I didn't retry the 0625 snapshot, but it ran about the same speed without > the > >-X option. > > > >Does that narrow things down any? > > Some, but it is still mystifying. I would have expected -X to actually > completely > mask the problem. There are some more changes in CVS. I'll regen a snapshot > as > soon as Corinna checks in her latest change. > Here's some more timeing results with the 20020627 snapshot that I just downloaded at about 7:00 PM MST (in case there was more that one incarnation of the 0627 snapshot). There's not much difference: 20020627 snapshot, no -X: 24.8 sec 20020627 snapshot, with -X: 6.7 sec FWIW, I have a small app called NetSpeed that sits in the system tray and measures network throughput. The icon in the tray is active and gives a good indication of network activity levels. When I start bash (or any command from bash), NetSpeed indicates that there is definitely an amount of network activity occurring with the 1.3.11 dlls that doesn't occur with 1.3.10. This would seem to confirm the theory that the 1.3.11 dll is trying to contact the domain controller. Also, task manager shows that there is no significant CPU activity during this time, which there wouldn't be if it's blocked waiting for a response. --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/