delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/05/11:20:33

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 <tmcd AT panix DOT com>
cc: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Cygwin slow on x64 systems?
In-Reply-To: <0105D5C1E0353146B1B222348B0411A20A43ADEDCE@NIHMLBX02.nih.gov>
Message-ID: <Pine.NEB.4.64.1112051010040.3537@panix3.panix.com>
References: <Pine DOT NEB DOT 4 DOT 64 DOT 1112010939570 DOT 14688 AT panix1 DOT panix DOT com> <0105D5C1E0353146B1B222348B0411A20A43ADEDCE AT NIHMLBX02 DOT nih DOT gov>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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
> <http://cygwin.com/faq/faq-nochunks.html#faq.using.path>.  See also
> <http://cygwin.com/faq/faq-nochunks.html#faq.using.slow>.

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

- Raw text -


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