Pages

9/30/2010

Ubuntu: additional configurations today

Flash::

sudo su
mkdir /etc/adobe
echo "OverrideGPUValidation=true" > /etc/adobe/mms.cfg
http://ubuntuforums.org/showthread.php?t=1259102&page=23


try to add this to "/etc/rc.local" just before "end" line
If you have more cores then you must do this for every core ( cpu1, cpu2, cpu3, ...).


Quote:
Originally Posted by 00ber n00b View Post
So, since I have a dual core amd processor it should read...

Code:
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load
echo 50 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
echo 1 > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/ignore_nice_load
echo 50 > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/up_threshold
And exactly what does this do?
"ignore_nice_load=1" - ignore processes which has "nice" positive value when counting how much processor is loaded with work.
For example BOINC client ( any other background programs and system daemon ) without this would bash processor to 100% of usage but with "nice=19" it uses processor only when it is free from other task so why to speedup processor for it since it not need it and not consume processor for itself.

"up_treshold=50" - state precentage of processor ocupation above which kernel frequency manager will speedup core to higher frequency.
So if you have processor which could scale his speed from 1GHz to 2GHz when it's counted usage is below 50% stays in 1GHz mode but when it's usage past 50% then it speedup to 2GHz.

My processor will scale on values: 1000MHz, 1600MHz, 1800MHz and 22000MHz.
When it's usage past 50% it speedup to 2200MHz, but at 2200MHz mode when it's usage is below 50% then it slow down to 1800MHz. If it still below 50% then slow down to 1600MHz and so on. That's "OnDemand" kernel processor sheduler.
There's others which make's things differently.

I changed the up_threshold to 60 though.


Just found out that global plugin directory doesn't have new flash lib, so I did this:
sudo cp /opt/google/chrome/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/

No comments:

Post a Comment