hi there,
i have noticed when i was trying to play HD media
both in mplayer or vlc, the video was always getting
out of sync. in /etc/rc.conf.local i have:
apmd_flags=-C
because per the man page
-C Start apmd in cool running performance adjustment mode. In this
mode, when CPU idle time falls below 10%, apmd raises hw.setperf
as much as necessary. Otherwise when CPU idle time is above 30%,
apmd lowers hw.setperf as much as possible to reduce heat, noise,
and power consumption.
while watching the media (out of sync) i have noticed that:
hw.cpuspeed=1000
hw.setperf=0
and in top shows:
load averages: 1.20, 0.82, 0.62
58 processes: 3 running, 53 idle, 2 on processor
CPU0 states: 3.4% user, 0.0% nice, 14.8% system, 0.2% interrupt, 81.6% idle
CPU1 states: 13.4% user, 0.0% nice, 15.6% system, 0.0% interrupt, 71.0% idle
load averages: 1.08, 0.82, 0.62
58 processes: 57 idle, 1 on processor
CPU0 states: 5.0% user, 0.0% nice, 20.0% system, 0.0% interrupt, 75.0% idle
CPU1 states: 15.8% user, 0.0% nice, 15.8% system, 0.0% interrupt, 68.4% idle
sometimes as low as ~ 10% idle, but never really going under 10%, thus apmd
not raising hw.setperf, although mplayer is starved slowly.
what is the solution to this problem? should i simply use apmd -A?
the problem with -A is that it keeps hw.setperf=100 thus the fan on
while i am on AC, and mostly i am. but i really need that kind of
performance only when watching anything bigger than 720x{480,400},
and that is rare.
i like -C. but if it doesnt increase setperf while watching HD,
when does it do it then? its heuristic is off a bit.
-f
--
monotheism is a gift from the gods.