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 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: References: <4E739384 DOT 4060808 AT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 > 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