X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_40,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org From: Jim Garrison To: "cygwin AT cygwin DOT com" Date: Tue, 16 Nov 2010 11:14:07 -0600 Subject: Installing bash-completion package slows down bash startup 20-30x Message-ID: x-cr-hashedpuzzle: 7d4= ASQ6 AfI0 AtVT Axnu BBDl DPrQ EaTB HH1B Hds8 IFTj J+nj K/Hc LsxJ L1h7 MW55;1;YwB5AGcAdwBpAG4AQABjAHkAZwB3AGkAbgAuAGMAbwBtAA==;Sosha1_v1;7;{664C8B25-D909-44F9-9B06-C75AA4DACA5B};agBpAG0ALgBnAGEAcgByAGkAcwBvAG4AQAB0AHIAbwB1AHgALgBjAG8AbQA=;Tue, 16 Nov 2010 17:14:07 GMT;SQBuAHMAdABhAGwAbABpAG4AZwAgAGIAYQBzAGgALQBjAG8AbQBwAGwAZQB0AGkAbwBuACAAcABhAGMAawBhAGcAZQAgAHMAbABvAHcAcwAgAGQAbwB3AG4AIABiAGEAcwBoACAAcwB0AGEAcgB0AHUAcAAgADIAMAAtADMAMAB4AA== x-cr-puzzleid: {664C8B25-D909-44F9-9B06-C75AA4DACA5B} Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 Apologies if this is a duplicate, I never saw it appear on the list. After installing bash-completion, bash startup goes from about 1/2 =A0secon= d to 10-15 seconds.=A0 During this time, the bash process (as viewed in Pro= cess Explorer) consumes almost no CPU time, but the System process (PID 4) = is pegged at 100% on one core.=A0 As soon as bash finishes starting up PID4= cpu time goes to zero.=A0 This is highly repeatable on my system: Win7Pro X64 Intel i7-920 12GB memory I removed bash-completion and bash startup time went back to the usual 1/2 = second. -- 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