[mythtv] HDTV CPU utilization

Mike Isely isely at isely.net
Wed Jan 19 22:25:04 EST 2005


On Wed, 19 Jan 2005, Chris Mumford wrote:

>
> > While top is running hit "1".  That will cause top to show individual
> > tallies for each CPU.
>
> Yes, I have done that, but then it just prints out numbers like this:
>
> top - 19:58:47 up 9 min,  3 users,  load average: 1.11, 0.80, 0.38
> Tasks:  95 total,   3 running,  92 sleeping,   0 stopped,   0 zombie
>  Cpu0 : 56.1% us,  4.1% sy,  0.0% ni, 39.6% id,  0.1% wa,  0.1% hi,  0.0% si
>  Cpu1 : 38.2% us,  2.1% sy,  0.0% ni, 59.6% id,  0.0% wa,  0.1% hi,  0.0% si
> Mem:    513924k total,   361384k used,   152540k free,    34876k buffers
> Swap:   522104k total,        0k used,   522104k free,   212904k cached
>
> I still have to add up the columns 56.1% + 38.2% + 4.1% + 2.1% = 100.5%
> which makes sense since the best synthetic hyperthreading improvement was
> 7%.
>
> I'm wondering how the people that have posted their CPU utilization have
> measured this. I wonder if maybe they are also being fooled into thinking
> that top is reporting the CPU utilization correctly???
>

If what you are saying is true, then explain how I can get this output
from top on my mythbox, which is built around a single 2.4GHz
hyperthreaded pentium 4:

top - 21:09:09 up 1 day, 11:53,  6 users,  load average: 1.05, 0.35, 0.17
Tasks:  99 total,   4 running,  95 sleeping,   0 stopped,   0 zombie
 Cpu0 : 99.7% us,  0.3% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.0% hi,  0.0% si
 Cpu1 : 100.0% us,  0.0% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:    507992k total,   263652k used,   244340k free,     8596k buffers
Swap:  1461872k total,     4148k used,  1457724k free,   108148k cached

  -Mike


-- 
                        |         Mike Isely          |     PGP fingerprint
     Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                        |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                        |                             |


More information about the mythtv-dev mailing list