X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,MISSING_HEADERS,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Mon, 5 Dec 2011 10:20:02 -0600 (CST) From: Tim McDaniel cc: "cygwin AT cygwin DOT com" Subject: RE: Cygwin slow on x64 systems? In-Reply-To: <0105D5C1E0353146B1B222348B0411A20A43ADEDCE@NIHMLBX02.nih.gov> Message-ID: References: <0105D5C1E0353146B1B222348B0411A20A43ADEDCE AT NIHMLBX02 DOT nih DOT gov> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Sat, 3 Dec 2011, Buchbinder, Barry wrote: > Tim McDaniel sent the following at Thursday, December 01, 2011 10:59 AM >> >> BLODA is the Big List Of Dodgy Apps, apparently from >> http://cygwin.com/faq/faq.using.html#faq.using.bloda >> 44. What applications have been found to interfere with Cygwin? >> >> Unless someone has another suggestion, maybe I just have to assume I'm >> SOL. > > If you use bash completion, try not using it. I Googled for that and found the explanation, that "bash completion" isn't for ALL completion like I had assumed from the name, but instead programmable context-sensitive completion. Removing it did indeed massively speed up filename completion, which I use all the time. Many thanks. > Also, check your PATH. If you set it as a user windows environmental > variable, windows may be pre-pending a long "for everyone" PATH. See > . See also > . Thank you very much for the pointers. Unfortunately, I have not modified the /etc/profile version of PATH, so it is $ echo "$PATH" /usr/local/bin:/usr/bin:/Windows/system32:/Windows:/Windows/System32/Wbem:/Windows/System32/WindowsPowerShell/v1.0:/Program Files/Perforce # A form for easier readability: $ echo $PATH | tr ':' '\n' /usr/local/bin /usr/bin /Windows/system32 /Windows /Windows/System32/Wbem /Windows/System32/WindowsPowerShell/v1.0 /Program Files/Perforce And I see slowness even when everything is a bash builtin (except perhaps for whatever is handling "|" -- I suppose it's forking bash itself): $ time echo hi | read x real 0m1.928s user 0m0.031s sys 0m0.031s -- Tim McDaniel, tmcd AT panix DOT com -- 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