delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/27/22:35:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: Thu, 27 Jun 2002 22:34:57 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Executing commands is VERY slow when logged into an NT domain....
Message-ID: <20020628023457.GA25577@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20020627150356 DOT GD5126 AT redhat DOT com> <20020628022649 DOT 96438 DOT qmail AT web10505 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20020628022649.96438.qmail@web10505.mail.yahoo.com>
User-Agent: Mutt/1.3.23.1i

On Thu, Jun 27, 2002 at 07:26:49PM -0700, Rick Rankin wrote:
>
>--- Christopher Faylor <cgf AT redhat DOT com> wrote:
>> On Wed, Jun 26, 2002 at 10:36:19PM -0700, Rick Rankin wrote:
>> >
>> >--- Christopher Faylor <cgf AT redhat DOT com> 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.

Could you run strace on a short /bin/sh (not bash) session:

  strace -ostrace.out sh
  /bin/pwd
  exit

and send it here?

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019