[geeks] Dual Core Rules: your bugs will run twice as fast

Charles Shannon Hendrix shannon at widomaker.com
Mon Feb 12 14:15:27 CST 2007


For years I've watched Thunderbird eat CPU when it is supposed to be idle, and
have never figured out why.

Evidently the people writing/maintaining the code have never figured it out
either.

Thunderbird routinely will sit at 80-90 percent CPU usage.  It doesn't slow
down all that much in many cases, but it eats CPU for no apparent reason.

Today I had to chuck a bit when I saw this:

> top - 15:11:04 up 15:28,  6 users,  load average: 3.78, 3.51, 3.66
> Tasks: 139 total,   2 running, 136 sleeping,   0 stopped,   1 zombie
> Cpu0  : 98.0%us,  1.8%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.2%si,  0.0%st
> Cpu1  :100.0%us,  0.0%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
> Mem:   2073804k total,  1640632k used,   433172k free,   179664k buffers
> Swap:   511984k total,     2824k used,   509160k free,   575216k cached
> 
>   PID USER      PR  NI CODE DATA  VIRT SWAP  RES  SHR S %CPU   TIME P COMMAND                                          
> 26043 shannon    0   0  11m 233m  284m 205m  79m  25m S  179 471:18 0 thunderbird-bin                                   

That's the first few lines of top running on my system as I type this.

I'm happy to see that I'm getting such an improvement in bug performance.





-- 
shannon / Well, I have entered the metallic years.  Silver in my hair, gold in
-------'  my teeth, lead in my ass...  -- Sheldon Hall



More information about the geeks mailing list