查看: 12520|回复: 19
收起左侧

[其它] RPi 加强模式:免费的50%性能提升[转帖:搬运自RPi官方论坛]

2012-9-19 22:42:40 | 显示全部楼层 |阅读模式
原帖地址:http://www.raspberrypi.org/archives/2008

RPi 加强模式:免费的50%性能提升
原文大意:
自从RPi发布,我们就一直提供通过修改config.txt的方法进行RPi超频。提高电压能够提供更大的超频空间,但出于保证芯片的使用寿命,这将使RPi失去保修。我们在BCM2835芯片里面做了手脚,以便留意RPi是否进有过超电压运行。
我们做了很多工作,研究了电压、温度对于芯片寿命的影响,现在能够提供一种“加强模式”——通过CPU频率驱动动态控制超频频率和电压提高芯片性能,而且这完全不影响保修。系统繁忙时会自动进行超频,当芯片内部温度接近85度时,超频模式会被自动进行限制,这意味着‘超频模式’对芯片寿命的影响几乎是察觉不到的。
现在你可以从5种超频设置中选择一种,最高的运行频率将达到1GHz。超频后最终的稳定运行频率与你的RPi体制(拼人品了)、以及电源供电质量有密切联系。我们建议使用Quake3(雷神之锤3)进行压力测试,检测你的Pi能够稳定运行在哪个超频频率下。如果你选择的超频频率过高,Pi可能启动失败,请选择一个低一些的频率测试。(感觉像x86CPU超频,基本上人品很重要)

与默认700MHz运行的Pi相比,装载1GHz加强模式镜像的Pi将有大约52%的整数性能提升和64%的浮点性能提升以及55%内存性能提升。

[两张表就不翻了]

新固件的其他变化
添加温度和频率小工具
降低USB中断频率,提高大约10%整体性能(不明白是USB还是整块板子)
RTL8188US方案的WIFI驱动已经整合
提高音频质量
添加了SmartSim和RenguinsPuzzle两款软件


如果你在使用老的wheezy镜像,你可以使用
“sudo apt-get update && sudo apt-get upgrade”
升级这些新的特性。



----------------原文分割线----------------------


Introducing turbo mode: up to 50% more performance for free

Posted on September 19, 2012 by eben

Since launch, we’ve supported overclocking and overvolting your Raspberry Pi by editing config.txt. Overvolting provided more overclocking headroom, but voided your warranty because we were concerned it would decrease the lifetime of the SoC; we set a sticky bit inside BCM2835 to allow us to spot boards which have been overvolted.
We’ve been doing a lot of work to understand the impact of voltage and temperature on lifetime, and are now able to offer a “turbo mode”, which dynamically enables overclock and overvolt under the control of a cpufreq driver, without affecting your warranty. We are happy that the combination of only applying turbo when busy, and limiting turbo when the BCM2835′s internal temperature reaches 85°C, means there will be no measurable reduction in the lifetime of your Raspberry Pi.
You can now choose from one of five overclock presets in raspi-config, the highest of which runs the ARM at 1GHz. The level of stable overclock you can achieve will depend on your specific Pi and on the quality of your power supply; we suggest that Quake 3 is a good stress test for checking if a particular level is completely stable. If you choose too high an overclock, your Pi may fail to boot, in which case holding down the shift key during boot up will disable the overclock for that boot, allowing you to select a lower level.
What does this mean? Comparing the new image with 1GHz turbo enabled, against the previous image at 700MHz, nbench reports 52% faster on integer, 64% faster on floating point and 55% faster on memory.
Previous image (2012-08-16-wheezy-raspbian):BYTEmark* Native Mode Benchmark ver. 2 (10/95)Index-split by Andrew D. Balsa (11/97)Linux/Unix* port by Uwe F. Mayer (12/96,11/97)TEST                : Iterations/sec.  : Old Index   : New Index:                  : Pentium 90* : AMD K6/233*--------------------:------------------:-------------:------------NUMERIC SORT        :          222.08  :       5.70  :       1.87STRING SORT         :          31.659  :      14.15  :       2.19BITFIELD            :      7.1294e+07  :      12.23  :       2.55FP EMULATION        :          44.808  :      21.50  :       4.96FOURIER             :          2188.1  :       2.49  :       1.40ASSIGNMENT          :          2.6545  :      10.10  :       2.62IDEA                :          671.41  :      10.27  :       3.05HUFFMAN             :           414.2  :      11.49  :       3.67NEURAL NET          :          2.9586  :       4.75  :       2.00LU DECOMPOSITION    :          77.374  :       4.01  :       2.89=====================ORIGINAL BYTEMARK RESULTS=====================INTEGER INDEX       : 11.414FLOATING-POINT INDEX: 3.619Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, ...=========================LINUX DATA BELOW==========================CPU                 2 Cache            :OS                  : Linux 3.1.9+C compiler          : arm-linux-gnueabihf-gcclibc                : staticMEMORY INDEX        : 2.447INTEGER INDEX       : 3.192FLOATING-POINT INDEX: 2.007Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, ..* Trademarks are property of their respective holder.
New image, with 1GHz turbo enabled:BYTEmark* Native Mode Benchmark ver. 2 (10/95)Index-split by Andrew D. Balsa (11/97)Linux/Unix* port by Uwe F. Mayer (12/96,11/97)TEST                : Iterations/sec.  : Old Index   : New Index:                  : Pentium 90* : AMD K6/233*--------------------:------------------:-------------:------------NUMERIC SORT        :           340.8  :       8.74  :       2.87STRING SORT         :           47.52  :      21.23  :       3.29BITFIELD            :        1.05e+08  :      18.01  :       3.76FP EMULATION        :           66.32  :      31.82  :       7.34FOURIER             :            3431  :       3.90  :       2.19ASSIGNMENT          :          4.5311  :      17.24  :       4.47IDEA                :          991.67  :      15.17  :       4.50HUFFMAN             :          615.08  :      17.06  :       5.45NEURAL NET          :            4.76  :       7.65  :       3.22LU DECOMPOSITION    :          135.12  :       7.00  :       5.05=====================ORIGINAL BYTEMARK RESULTS=====================INTEGER INDEX       : 17.356FLOATING-POINT INDEX: 5.933Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, ...=========================LINUX DATA BELOW==========================CPU                 2 Cache            :OS                  : Linux 3.2.27+C compiler          : arm-linux-gnueabihf-gcclibc                : staticMEMORY INDEX        : 3.810INTEGER INDEX       : 4.768FLOATING-POINT INDEX: 3.291Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, ..* Trademarks are property of their respective holder.
Other changes to the latest firmware include:
Temperature and frequency widgets
You can enable a core temperature widget for the lxde taskbar to see how close to 85°C you get (in the UK, it’s not very), and a cpufreq widget that will show the current ARM frequency when you hover over it. See here for more details.
USB interrupt rate reduction
We have enabled Gordon’s “FIQ Fix” in the USB driver, which reduces the USB interrupt rate, improving general performance by about 10%.
WiFi is now supported out of the box
If your WiFi driver is supported by the default linux tree, or is based on the popular RTL8188CUS chipset, then WiFi should work out of the box. Boot the image with the WiFi dongle plugged in (a powered hub is recommended). Run startx and select “WiFi Config”. You can scan for wireless networks and enter your wireless password and connect from the GUI. No need to install additional packages or scripts.
Improved analogue audio
Analogue audio quality has been improved.
Extra software installed by default
SmartSim and PenguinsPuzzle are pre-installed.
If you are using an older wheezy image, you can upgrade: “sudo apt-get update && sudo apt-get upgrade” will get almost all these improvements.
Thanks to MrEngman for his amazing work supporting users with various WiFi dongle, Dorian Peake for the cpufreq and temperature drivers, and Dmitry Dudkin for his work on the USB and SD card drivers.
Alex has started a forum thread for further discussion – pile in!

评分

参与人数 1 +25 收起 理由
树老大 + 25 感谢分享翻译

查看全部评分

回复

使用道具 举报

2012-9-19 22:57:51 | 显示全部楼层
感谢分享翻译
回复 支持 反对

使用道具 举报

2012-9-19 23:20:22 | 显示全部楼层
升级后是自动开启,还是手动开启呢?应该是自动的吧…
回复 支持 反对

使用道具 举报

2012-9-19 23:31:57 | 显示全部楼层
现在就去试试~
回复 支持 反对

使用道具 举报

2012-9-20 08:47:25 | 显示全部楼层
回复 支持 反对

使用道具 举报

2012-9-20 09:21:50 | 显示全部楼层
很不错,有时间可以试试
回复 支持 反对

使用道具 举报

2012-9-20 09:23:28 | 显示全部楼层
支持合理超频。
支持楼主共享。
回复 支持 反对

使用道具 举报

2012-9-20 09:40:17 | 显示全部楼层

回 ukonline2000 的帖子

ukonline2000:很不错,有时间可以试试  (2012-09-20 09:21) 
快去试试装了散热片的可以稳定的超到多少
回复 支持 反对

使用道具 举报

2012-9-20 09:43:18 | 显示全部楼层
大家觉得是直接刷新镜像好呢?还是去一步步升级好?
回复 支持 反对

使用道具 举报

2012-9-20 14:38:24 | 显示全部楼层
稳定性是个问题,我的超到850m一个小时左右会死机,cpu装了散热片。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

热点推荐

关注我们,了解更多

官方微信

服务时间:10:00-16:00

13714503811

公司地址:深圳市龙岗区南湾街道东门头路8号

Copyright © 2012-2020 Powered by 树莓派论坛 2019.4  粤ICP备15075382号-1
快速回复 返回列表 返回顶部