|
发表于 2011-10-7 08:08:42
|
显示全部楼层
Post by RichardGv;2153153
- $ man make.conf
- PORTAGE_NICENESS = [number]
- The value of this variable will be added to the current nice level that emerge is run‐
- ning at. In other words, this will not set the nice level, it will increment it. For
- more information about nice levels and what are acceptable ranges, see nice(1).
复制代码
这个设定只会降低emerge及其运行的进程的优先级,使其他正在运行的进程占用更多的CPU时间,而不会使CPU更空闲,对降低编译时的温度几乎没有丝毫帮助。
但是配合/sys/devices/system/cpu/cpufreq/conservative/ignore_nice_load,再把CPU频率调节设为conservative,编译时就可以让CPU以最低频率运行。缺点则是编译时间会大幅增加。 |
|