[mythtv] HDTV CPU utilization

Mike Isely isely at isely.net
Wed Jan 19 10:17:27 EST 2005


On Wed, 19 Jan 2005, Chris Mumford wrote:

> > That is not the experience of others.  I have the same chip, Hyperthreaded
> > P4-3ghz, and I typically show 60% idle -- without xvmc, and sometimes
> > with the kernel deinterlace on not a lot less.
>
> Thanks for the info about the deinterlacing and resizing.
>
> As far as CPU utilization I have been using top. Being that my system is
> hyperthreaded I'm pretty sure that top thinks that it has two real CPU's
> instead of a single hyperthreaded one. This is why it never reports a CPU
> utilization greater than 50%. I have been doubling the "us" value. So in
> this example:
>
> top - 08:44:47 up 30 days, 23:52,  1 user,  load average: 0.03, 0.02, 0.00
> Tasks:  63 total,   1 running,  62 sleeping,   0 stopped,   0 zombie
> Cpu(s):  3.2% us,  1.9% sy,  0.0% ni, 94.9% id,  0.0% wa,  0.0% hi,  0.0% si
> Mem:     77644k total,    76884k used,      760k free,    31504k buffers
> Swap:   524152k total,    38196k used,   485956k free,    15084k cached
>
> I would say that I was really using 6.4% of my CPU. Is this the wrong
> approach to determining the true CPU utilization?

While top is running hit "1".  That will cause top to show individual
tallies for each CPU.

  -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