[mythtv] CVS CPU usage

steve at nexusuk.org steve at nexusuk.org
Tue Feb 24 12:54:43 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 24 Feb 2004, D Banerjee wrote:

> > It just is.  Probably different CPU cache/pipeline/etc. characteristics.
> 
> I'd be interested to know how the backend cpu usage changes when a remote
> frontend is used instead of local.

Using a remote frontend was showing exactly the same results (100% CPU 
usage on the backend when doing live TV).

I have tried compiling MythTV after running:
  ./configure --extra-cflags=-march=pentiumpro

The configure script configures the ffmpeg bits (usually they don't have 
- -march specified at all).  This seems to have improved the 
encoding performance quite a bit (dropped the CPU usage by maybe 5%), and 
it has eliminated the problem of live TV using 100% CPU when running the 
adjust filter.  Maybe this should be done as standard?

I'm running on a Athlon XP, and I've tried settimg -march to pentiumpro, 
pentium3 and athlon-xp.  There didn't seem to be any real performance 
benefit in choosing one over the other but there certainly seems to be a 
benefit in actually specifying one (I guess without specifying -march, the 
code is optimized for 386 rather than the newer architectures?)

- -- 

 - Steve                                             http://www.nexusuk.org/

     Servatis a periculum, servatis a maleficum - Whisper, Evanescence

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Public key available at http://www.nexusuk.org/pubkey.txt

iD8DBQFAO4/k5zUOsIV3bqERAmVyAJ0e7pZUQoNZPDMjkXyi4tbxqd/dgQCfZ87Y
Pyk+oK2zwqVzqPGx+hsPDXE=
=hq6z
-----END PGP SIGNATURE-----


More information about the mythtv-dev mailing list