[Bash-completion-devel] After adding bash-completion to .bashrc loading prompt is slow

Ville Skyttä ville.skytta at iki.fi
Wed Apr 6 15:39:04 UTC 2011


On 04/06/2011 10:56 AM, David Paleino wrote:
> On Tue, 05 Apr 2011 19:47:53 +0300, Ville Skyttä wrote:

>> Can you find out whether the loading process is CPU or I/O bound on your
>> system?
> 
> How?

One way to get a rough understanding is to watch "top" while the
completions are being loaded.  If your CPU usage is near 100% during
that, you're probably CPU bound; if not, and especially if there is
significant I/O wait (the "wa" CPU summary area field), you're more
likely to be I/O bound.



More information about the Bash-completion-devel mailing list