[geeks] Dual Core Rules: your bugs will run twice as fast
Brian Dunbar
brian.dunbar at liftport.com
Mon Feb 12 19:18:32 CST 2007
Charles Shannon Hendrix wrote:
> 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.
>
What platform? I've never thought to check Thunderbird for that and it
launches by default when my laptop turns on. It's number 30 in the list.
top
Processes: 74 total, 2 running, 72 sleeping... 289 threads
14:32:53
Load Avg: 0.62, 0.52, 0.53 CPU usage: 9.7% user, 7.1% sys, 83.2%
idle
SharedLibs: num = 209, resident = 32.6M code, 4.45M data, 4.48M LinkEdit
MemRegions: num = 15644, resident = 572M + 13.6M private, 192M shared
PhysMem: 161M wired, 560M active, 283M inactive, 1005M used, 18.5M free
VM: 26.1G + 132M 539477(0) pageins, 466344(0) pageouts
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
.....
486 thunderbir 0.4% 21:39.09 6 120 792 54.4M 35.8M 78.8M
512M
.....
briandunbar_natasha_~/foo/mail:uname -a
Darwin natasha.neenah.na.plexus.com 8.8.1 Darwin Kernel Version 8.8.1:
Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386
--
Brian Dunbar
System Administrator
Liftport - The Space Elevator Company
brian.dunbar at liftport.com
aim: bdunbar1967
GMT -6
this email is: [ ] bloggable [x] ask first [ ] private
Meaningful Work or Death.
Any other form of existence doesn't interest me.
Hugh Macleod
More information about the geeks
mailing list