delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/09/16/16:53:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epamail DOT epa DOT gov>
Subject: Re: this really sucks - 37 seconds to do /usr/bin/ls
Date: Fri, 16 Sep 2011 16:52:58 -0400
Lines: 22
Message-ID: <uld777hd9ln0lolgb59pstu67q5n49rgh7@4ax.com>
References: <4E739384 DOT 4060808 AT gmail DOT com>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

> OK , I was wrong.  I removed bash completion / git completion and on a 
> Virtual Box VM (windows xp pro x32 with cygwin installed)
> 
> /usr/bin/ls and most other commands take more than 30 seconds to complete.
> The box is a quad core with 8GB ram and no other VM is running (host OS 
> is win 7 and cygwin runs blazingly fast).
> 
> I did not have this problem under Windows Virtual PC.  there must be 
> something I installed with the latest cygwin that is doing this.
> 
> /usr/bin/ls takes more than 36 seconds.
> 
> When I vi a file, I have to go take a break and come back for it to be 
> open in the editor.
> 
> any ideas?

The main thing I've ever observed to cause this kind of slowness is slow network shares, combined
with some kind of automatic searching.  Try unmounting any network shares, and maybe network
printers as well.  Automatic searching for network printers can be miserably slow.

I'm not sure exactly how any of that would directly affect Cygwin, but it's worth a look.


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

- Raw text -


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