X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk Message-ID: <4CE2D674.5050700@cygwin.com> Date: Tue, 16 Nov 2010 14:07:32 -0500 From: "Larry Hall \(Cygwin\)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Installing bash-completion package slows down bash startup 20-30x References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 11/16/2010 12:14 PM, Jim Garrison wrote: > 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 second to > 10-15 seconds. During this time, the bash process (as viewed in Process > Explorer) consumes almost no CPU time, but the System process (PID 4) is > pegged at 100% on one core. As soon as bash finishes starting up PID4 cpu > time goes to zero. 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. This is a known upstream issue that's been reported to the list in the past. The current plan is to adopt the fix when it is released. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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