- 浏览: 3506650 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
wanglf1207:
EJB的确是个不错的产品,只是因为用起来有点门槛,招来太多人吐 ...
weblogic-ejb-jar.xml的元素解析 -
qwfys200:
总结的不错。
Spring Web Flow 2.0 入门 -
u011577913:
u011577913 写道也能给我发一份翻译文档? 邮件437 ...
Hazelcast 参考文档-4 -
u011577913:
也能给我发一份翻译文档?
Hazelcast 参考文档-4 -
songzj001:
DbUnit入门实战
I thought I would write a little howto on how to get cpu frequency
scaling to work directly with the kernel modules. These modules are
generally more efficient for performance computing and battery life.
Prerequisites
kernel >= 2.6.9
Step 1: Enable BIOS Support
Enter your BIOS at boot and make sure Cool'n'Quiet (AMD) or SpeedStep
(Intel) is enable for you CPU. Some BIOS may not have option at all. If
that is the case it is probably enabled by default. Other BIOS may have
the option but it is listed as another name altogether. If that is the
case check your BIOS manual for more info.
Step 2: Remove Userspace Scaling Software
powernowd
sudo apt-get remove powernowd
cpudyn
sudo apt-get remove cpudyn
Step 3: Install CPU Module
Identify your cpu type by runnig the command
cat /proc/cpuinfo
You can also Check the following links
AMD CPU Chart - http://www.tomshardware.com/2005/11/...05/page20.html
Intel CPU Chart - http://www.tomshardware.com/2005/11/...05/page21.html
AMD Sempron/Athlon/MP ( K7 )
Socket Types: A, Slot A
sudo modprobe powernow-k7
AMD Duron/Sempron/Athlon/Opteron 64 ( K8 )
Socket Types: 754, 939, 940, S1 ( 638 ), AM2 ( 940 ), F ( 1207 )
sudo modprobe powernow-k8
Intel Core Duo
sudo modprobe speedstep-centrino
Intel Pentium M
sudo modprobe speedstep-centrino
Others (Unknown)
I'm not entirely sure which cpus are supported using this module. If
your cpu doesn't work with one of the above methods try this one.
sudo modprobe acpi-cpufreq
Step 4: Scaling Modules
sudo modprobe cpufreq_conservative sudo modprobe cpufreq_ondemand sudo modprobe cpufreq_powersave sudo modprobe cpufreq_stats sudo modprobe cpufreq_userspace
Step 5: Testing/Configuration
Show Available Governors
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
You should see output similar to
powersave conservative ondemand performance
conservative
Description: CPU frequency is scaled based on load in incremental steps up and down.
sudo -s echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Advanced Configuration Options
cd /sys/devices/system/cpu/cpu0/cpufreq/conservative
ondemand
Description: CPU frequency is scaled based on load.
sudo -s echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Advanced Configuration Options
cd /sys/devices/system/cpu/cpu0/cpufreq/ondemand
performance
Description: CPU only runs at max frequency regardless of load.
Configuration Dir: N/A
sudo -s echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave
Description: CPU only runs at min frequency regardless of load.
Configuration Dir: N/A
sudo -s echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Step 6: Load Modules at Boot
Add the following lines to the end of /etc/modules
cpufreq_conservative
cpufreq_ondemand
cpufreq_powersave
cpufreq_stats
cpufreq_userspace
[Module from Step 3]
Step 7: Configure Modules at Boot
This step needs to be done in order for the modules to retain your settings.
Make sure you have sysfsutils installed
sudo apt-get install sysfsutils
Then add the following lines to /etc/sysfs.conf
devices/system/cpu/cpu0/cpufreq/scaling_governor=ondemand
Where ondemand
can be changed to
another governor type (i.e. conservative, powersave, etc.). You can
also add other configuration options that are specific to the governor
selected.
Useful Links
http://ubuntu.wordpress.com/2005/11/...uency-scaling/
http://martin.ankerl.org/category/linux/
http://gentoo-wiki.com/HOWTO_Undervolt_a_Pentium_M_CPU
http://wejp.k.vu/projects/howto_cnq_athlon_64_x2/
发表评论
-
微软内部补丁(非正式发布)之取得方式(20110713)
2011-08-06 13:58 10689http://support.micr ... -
当您尝试登录到 Telnet 服务器正在运行 Windows Server 2003,与 Service Pack 1 或 Service Pack 2 时出现
2011-08-06 13:41 3095http://support.microsoft.com/kb ... -
collectd
2011-08-03 14:27 2284collectd是一个守护(daemon)进程,用来收集系 ... -
rhel5的xen内核无法使用串口的原因和解决方法
2011-03-20 19:10 2495公司有一台服务器安装的了rhel5系统,默认的内核是带 ... -
RDM与VMFS 对比与解释
2010-12-25 17:53 2444在一个存储区域网络 ... -
通过VMWare的Webservice API连接ESX|ESXi主机的JAVA源码
2010-12-25 17:52 5582参考VMWare的Webservice API的文档,连接到E ... -
修改 ESX Server IP 地址
2010-12-25 17:51 11408修改 ESX Server IP 地址 ... -
Debian Linux下如何以root账号登录桌面
2010-12-22 12:51 6259I Debian Linux 方法有两种,一是图 ... -
coLinux
2010-11-02 22:11 9119coLinux是我极其喜爱的一款虚拟机。它快速而灵巧,最为方便 ... -
Linux操作下的进程管理利器 Supervise
2010-10-19 21:02 2834[摘要] Supervise是daemontoo ... -
andLinux介绍:
2010-08-22 20:51 39771:来自linuxtoy:是一个基 ... -
andlinux root 密码修改
2010-08-21 09:54 3172安装andlinux后发现root密码不知道,后发现,输入当前 ... -
RHEL
2010-08-02 17:46 2779Red Hat Enterprise Linux Advan ... -
coLinux ExpandingRootedit
2010-03-18 01:45 2702Contents 1 First backu ... -
AndLinux
2010-03-18 01:05 4084AndLinux (http://andlinux.org ... -
andLinux 在系统重装后手工修复
2010-03-15 22:21 2836话说“家有一老,如有一宝”,而手边有一个linux,也可以 ... -
寻找最快的 ubuntu / debian 源 及 建立局域网deb 更新服务器和安装初步
2010-03-15 01:51 4684寻找最快的 ubuntu / debian 源 寻找最快的 ... -
colinux的安装与网络配置
2010-03-15 00:37 9390在windows上模拟linux ... -
使用colinux在windows上虚拟linux
2010-03-12 13:44 5318Cooperative Linux is th ... -
Linux发行版大全
2010-03-06 03:20 3414基于Debian Adamantix: ...
相关推荐
- 编辑`/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`文件,设置为所选策略。 ##### 4.6 加载内核模块 - 使用`/etc/modules-load.d/cpufreq.conf`配置文件添加所需的模块名称。 - 使用`update-...
要查看CPU当前的工作频率,可以使用`cat`命令读取`/sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq`目录下的文件。例如,`# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq`会显示出所有CPU...
cat /sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies echo "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo "1416000" > /sys/devices/system/cpu/cpu0/cpufreq/...
(CVPR2024) Scaling Up to Excellence: Practicing Model Scaling for Photo-Realistic Image Restoration In the Wild
频率缩放(Frequency Scaling,FS)成像是SAR图像处理中的一种关键算法,其主要思想是调整回波信号的频谱特性,以适应不同的系统参数和成像需求。在条带模式的SAR系统中,由于目标距离的变化,雷达接收到的回波信号...
How to Scale - Scaling Code Embrace Open Source Embrace Standard Data Formats Development Discipline How to Scale - Scaling Infrastructure Layering Micro-Services Google Cloud Datastore Reactive ...
#set CPU modle to userspace,set MAX frep to 1200M,set MIN frep to 60M echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo 1200000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling...
首先,从标题《Data Algorithms: Recipes for Scaling Up with Hadoop and Spark pdf》中我们可以得知,本书主要讲述了如何利用Hadoop和Spark技术来处理海量数据集。本书通过提供一系列“食谱”式的方法(recipes)...
High Performance Spark: Best Practices for Scaling and Optimizing Apache Spark by Holden Karau English | 25 May 2017 | ASIN: B0725YT69J | 358 Pages | AZW3 | 3.09 MB Apache Spark is amazing when ...
通过`echo 268435456 >/proc/sys/kernel/shmall`和`echo 268435456 >/proc/sys/kernel/shmmax`,可以将内核共享内存限制设置为256MB,以支持更大规模的系统活动。 3. **可用代理端口范围**:设置`echo "1024 65000...
kernel.sem = 250 32000 100 128 fs.file-max = 65536 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_max = 262144 net.core.wmem_max = 262144 net.core.netdev_max_backlog = 2000 ...
Operators for adding, scaling sizes, applying CGAffineTransform Shortcut properties for corner and center points Offsetting, insetting and extending methods with multiple ways of specifying ...
这些软件包包括但不限于 binutils、compat-libstdc++-33、elfutils-libelf、elfutils-libelf-devel、gcc、gcc-c++、glibc-common、glibc、glibc-devel、glibc-headers、kernel-headers、ksh、libaio、libaio-devel、...
* 正方形比率:⇧Square Aspect (when scaling) 刷子快捷键 * 新建自定义刷子:New custom brush * 保存 / 载入自定义刷子:⌘B * 切换刷子:⇧ 工具快捷键 * 矩形选择框:Rectangular Marquee * 椭圆选择框:...
### Scalability Rules: 50 Principles for Scaling Web Sites #### 书籍概述 《Scalability Rules: 50 Principles for Scaling Web Sites》是一本由Martin L. Abbott与Michael T. Fisher合著的专业书籍,旨在为...
- CPU Frequency scaling - [ ] CPU frequency translation statistics - [X] Default CPU Freq governor (userspace) - **Networking support** - [ ] Wireless - [*] TCP/IP networking 4. **编译和安装...