Installing bash-completion package slows down bash startup 20-30x

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Nov 16 19:07:00 GMT 2010


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



More information about the Cygwin mailing list