Forums » Linux
update.rlb 80-90% CPU usage
Hi
I'm playing on Ubuntu 9.04 and i noticed that after i launch VO update.rlb consumes 80-90% CPU so after a while i must shut down VO cus my lappy getting really hot.
I'm playing on Ubuntu 9.04 and i noticed that after i launch VO update.rlb consumes 80-90% CPU so after a while i must shut down VO cus my lappy getting really hot.
You can throttle down some cpus to keep them cool. Via cpufrequtils, sysfs and a few other ways.
for example this forces my cpu to run at 2ghz:
cpufreq-set -g userspace; cpufreq-set -f 2000
or with automatic scaling, this shuld adjust the frequency automatically between the minumum and 2ghz, depending on load.. It doesn't work here for some reason.
cpufreq-set -g ondemand; cpufreq-set -u 2000
here's the same thing via sysfs .. which oddly does work.
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 2000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
cpufreq-info will show you the current settings if you want to restore the original ones without rebooting.
Another thing that might help would be enabling vsync if your video driver supports it.
for example this forces my cpu to run at 2ghz:
cpufreq-set -g userspace; cpufreq-set -f 2000
or with automatic scaling, this shuld adjust the frequency automatically between the minumum and 2ghz, depending on load.. It doesn't work here for some reason.
cpufreq-set -g ondemand; cpufreq-set -u 2000
here's the same thing via sysfs .. which oddly does work.
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 2000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
cpufreq-info will show you the current settings if you want to restore the original ones without rebooting.
Another thing that might help would be enabling vsync if your video driver supports it.
Hm. That doesn't really make sense, though. update.rlb should only run for a few seconds. What is it doing when it's hurting your CPU? Downloading? Patching? Hanging?
I've encountered this before as well... it seems to hang sometimes... vendetta binary uses it's own cpu cycles, update.rlb should not be running once vo starts up as far as I know.
in cases where i've seen this happen I just quit vo, kill everything related (update/vendetta/etc, if they are still in the top list), then start again. I've gotten into a habit of running htop on the second screen every time I play VO :p
in cases where i've seen this happen I just quit vo, kill everything related (update/vendetta/etc, if they are still in the top list), then start again. I've gotten into a habit of running htop on the second screen every time I play VO :p