Linux下Flash的CPU占用率太高 —— 问题解决方案?
发表于 : 2010-06-07 14:58
自从用Linux就开始被这个问题困扰了,虚拟机中的XP都没有问题,说明只是Linux下Flash插件的问题。
这是一个世界范围的问题,不少国外论坛也在讨论,不过解决方案就……
上网搜了不少解决方案,但都没有解决了问题。改写Flash插件?我还不行。
一些方案,都不怎么好,试试吧,谁有好的方案,希望共享。
最新版的 flashplayer10_1_rc7_linux_060210.so.tar.gz,还没正式发布,我这里没太大作用。
Just drop the .so file into /usr/local/lib/firefox-3.0.3/plugins .
一些治标不知本的方案直接无视,不过如果需要的话可以用。
1. Install FlashBlock plugin 安装阻止Flash的插件(有很多,对应不同的浏览器)
2. Disable Java 禁用Java
改配置文件,一些老外说有用,各有各的改法,又说自己有用,我这里一点效果都没有,无语。
限制CPU使用率(不翻译了,Chrome也一样)
Once installed I found the process to work easiest when I did the following.
Start Firefox as normal.
Open a terminal window
ps ax | grep firefox
Note the PID of the Firefox process.
sudo cpulimit -l 40 -p [PID] # -l 40 means 40% of the max CPU.
谁有好的方案,希望共享。
这是一个世界范围的问题,不少国外论坛也在讨论,不过解决方案就……
上网搜了不少解决方案,但都没有解决了问题。改写Flash插件?我还不行。
一些方案,都不怎么好,试试吧,谁有好的方案,希望共享。
最新版的 flashplayer10_1_rc7_linux_060210.so.tar.gz,还没正式发布,我这里没太大作用。
Just drop the .so file into /usr/local/lib/firefox-3.0.3/plugins .
一些治标不知本的方案直接无视,不过如果需要的话可以用。
1. Install FlashBlock plugin 安装阻止Flash的插件(有很多,对应不同的浏览器)
2. Disable Java 禁用Java
改配置文件,一些老外说有用,各有各的改法,又说自己有用,我这里一点效果都没有,无语。
限制CPU使用率(不翻译了,Chrome也一样)
Once installed I found the process to work easiest when I did the following.
Start Firefox as normal.
Open a terminal window
ps ax | grep firefox
Note the PID of the Firefox process.
sudo cpulimit -l 40 -p [PID] # -l 40 means 40% of the max CPU.
谁有好的方案,希望共享。