Raspberry Pi 树莓派性能测试(3)

包括WVGA(480p30) 或 720p20的VP8/WEBM

ioquake3(雷神之锤3修改版) 源码 https://github.com/raspberrypi/quake3 编译/运行 - Download source, compile as delivered - Start game - Runs at display's native res, in my case 1280x1024 - Bitdepth stuck at 16bpp, not sure how to change, values in q3config.cfg seem to be ignored - In-game console commands: \timedemo 1 \demo four 结果 armel "driver info" : armel timedemo score: 20.2fps armhf "driver info" : armhf timedemo score: 28.5fps IO USB总线

所有的IO都用同一个总线, 所以所有IO的总和不可能超过设计的60MB/s速度;

高速USB盘的测试结果显示速度可达30 MB/s:

root@raspberrypi:~# dd if=/dev/sda of=/dev/null bs=32M count=10 iflag=direct 10+0 records in 10+0 records out 335544320 bytes (336 MB) copied, 10.6428 s, 31.5 MB/s SD卡

这部分已经移到

NIC(网卡) 编译/运行

局域网中:

iperf -s

树莓派中:

iperf -t 60 -c <SERVER_IP_ADDRESS> -d 结果 宽带 (Mbit/s)CPU使用率 (峰值)发行版内核备注
52.1 + 46.4   5.1%us, 66.2%sy, 28.7%si   Debian Squeeze "debian6-19-04-2012"   Linux raspberrypi 3.1.9+ #95 PREEMPT      
91.8 + 36.8   1.6%us, 60.8%sy, 37.5%si   Debian Wheezy "Raspbian"   Linux raspbian 3.1.9+ #101 PREEMPT      
65.1 + 48.8   1.3%us, 61.9%sy, 36.8%si   Arch Linux 2012-04-29   Linux alarmpi 3.1.9-12+ #5 Sat Apr 28 04:49:38 UTC 2012 armv6l ARMv6-compatible processor rev 7 (v6l) BCM2708 GNU/Linux   Remote host connected at gigabit  
69.5 + 29.1   0.6%us, 55.5%sy, 40.0%si   Debian Wheezy "Raspbian"   Linux rpi 3.1.9+ #168 PREEMPT   Remote connected at gigabit, values for si between 30 and 55 %  
90.8 + 91.4   0.3%us, 62.2%sy, 37.5%si   Gentoo Linux ARM   Linux genpi 3.2.23-bootc #1   Remote host connected at gigabit, vm.min_free_kbytes = 4096  
路由 方法

一台带两个lan口的OpenBSD 5.2电脑在不同域用两个lan口直接连接树莓派.

在OpenBSD上的一个接口跑iperf -s, 另一个跑iperf -t 300 -c, 树莓派负责在中间路由.

iperf v2.0.5.

测试150秒后树莓派系统负载.

结果 宽带 (Mbit/s)CPU使用率 (峰值)发行版内核备注
50.2 Mbps   0.0%us, 0.1%sy, 99.8%si   Debian Wheezy "Raspbian"   Linux raspberrypi 3.6.11+ #366 PREEMPT   Stock clock  
85.5 Mbps   0.0%us, 2.8%sy, 69.7%si   Debian Wheezy "Raspbian"   Linux raspberrypi 3.6.11+ #366 PREEMPT   Overclocked via raspi_config "turbo"  
87.1 Mbps   4.3%us, 4.3%sy, 52.1%si   Debian Wheezy "Raspbian"   Linux raspberrypi 3.6.11+ #366 PREEMPT   Overclocked arm_freq 1100 core_freq 500 sdram_freq 600 over_voltage 6  
62.1 Mbps   0.0%us, 0.1%sy, 99.2%si   Debian Wheezy "Raspbian"   Linux raspberrypi 3.6.11+ #366 PREEMPT   Overclocked arm_freq 1100 core_freq 500 sdram_freq 600 over_voltage 6 - SNAT enabled  
电源

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/19582.html