Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: 	Tue, 27 Jan 2004 21:35:12 +0100
From: pd <pdzierza@poczta.onet.pl>
Organization: unorganized
Message-ID: <17196412502004-0127213512!poczta.onet.pl>
To: Igor Pechtchanski <cygwin@cygwin.com>
Subject: Re[3]: 'bash --login -i' takes 9 secs !
In-Reply-To: <Pine.GSO.4.56.0401271507510.14952@slinky.cs.nyu.edu>
References: <128150614682004-0127201852!poczta.onet.pl> <Pine.GSO.4.56.0401271434550.14952@slinky.cs.nyu.edu> <Pine.GSO.4.56.0401271442030.14952@slinky.cs.nyu.edu> <169177317962004-0127210323!poczta.onet.pl> <Pine.GSO.4.56.0401271507510.14952@slinky.cs.nyu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Tuesday, January 27, 2004, 9:09:36 PM, you wrote:

IP> Now you 'strace' both calls to see where the time goes (each gives about
IP> 300 lines of strace and, FWIW, each takes <.2s on my Win2k machine).

In both cases (uname and hostname) the problem is with
cygwin_gethostname: name 103baran

Almost all the time goes there.
Perhaps some network configuration issue, but, hmmm, figuring
this out won't be easy (I have novell client, mounted samba shares, dns,
netbios...)
Anything else I could try?



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

