Updated mythtv-fixes port

Alexander Leidinger Alexander at Leidinger.net
Sat Mar 24 13:56:05 UTC 2007

Quoting Geoff Buckingham <geoffb at chuggalug.clues.com> (Fri, 23 Mar 2007 18:15:58 +0000):

> I have updated my mythtv-fixes port to include cpu detection/tuning. On my test 
> machine the resultant binary used ~12% CPU instead of ~30% to play a recorded
> DVB-T mpeg stream from a remote backend.
> Under linux this cpu detection uses /proc/cpuinfo, while my patch will use
> /compat/linux/proc/cpuinfo if available, the results are dependant on
> cpinfo providing a model name.(It doesn't allways do this)
> If you don't have linprocfs mounted it will fall back on /var/run/dmesg.boot.
> (This probably works better ATM, but may cause trouble later depending on
> what new linux-centric logic is atted to configure upstream)
> If you have linprocfs mounted do "make configure" check the results, if a
>  specific CPU wasn't detected, unmount linprocfs and "make configure" again.
> (You can then remount)

Why not add a configure option to allow to hardwire to a specific CPU?

There's also "sysctl hw.model", but it may not work everywhere. The
configure-option is a much better fallback.


Hey, waiter!  I want a NEW SHIRT and a PONY TAIL with lemon sauce!
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137

More information about the freebsd-multimedia mailing list