Raspberry Pi 3 model B basic benchmarks

As the benchmarks I ran on Raspberry Pi B+ and Raspberry Pi 2 model B, let’s do some basic benchmarks on the latest Raspberry Pi 3.

Let’s have some photos first:

RaspberryPi-3-DSC_0277

RaspberryPi-3-DSC_0278

RaspberryPi-3-DSC_0279

RaspberryPi-3-DSC_0280

My Raspberry Pi 3 crashed during the benchmarking … so I just added a heat sink on it …
RaspberryPi-3-DSC_0281

See:

This is the testing platform:

RASPBIAN JESSIE
Version: February 2016
Release date: 2016-02-26
Kernel version: 4.1

Here are the benchmarks result:

PHP benchmark Script using PHP 5.6.17:

--------------------------------------                                                     
|        PHP BENCHMARK SCRIPT        |                                                          
--------------------------------------                                                          
Start : 2016-03-06 09:32:58                                                                     
Server : @                                                                                      
PHP version : 5.6.17-0+deb8u1                                                                   
Platform : Linux                                                                                
--------------------------------------                                                          
test_math                 : 9.073 sec.                                                          
test_stringmanipulation   : 9.203 sec.                                                          
test_loops                : 4.945 sec.                                                          
test_ifelse               : 3.763 sec.                                                          
--------------------------------------                                                          
Total time:               : 26.984 sec.

閱讀全文

Raspberry Pi (1) Model B+ basic benchmarks

hmmmm … I’ve made some simple and basic benchmarks on Roseapple Pi and Raspberry Pi 2, so here come the very late benchmarks(HardinfosysbenchPHP benchmark Script) on the first generation Raspberry Pi. Actually, I bought the Raspberry Pi Model B very early, and the experience about the performance of it is not so good, to do some benchmarks is just for understanding the performance difference.

I’m using Model B+ here, which has the same chip Broadcom BCM2835 as Model be does, although it has larger main memory than Model A+, due to the benchmarks are very simple, and focus on CPU, so I don’t expect a notable performance difference between model A+ and B+(or model B).

The post about Roseapple Pi benchmark:

https://www.peterdavehello.org/2016/02/roseapple-pi-%E8%93%AE%E9%9C%A7%E6%B4%BE-%E6%95%88%E8%83%BD%E7%B0%A1%E6%B8%AC-benchmark/

The post about Raspberry Pi 2 model B benchmark:

https://www.peterdavehello.org/2016/02/raspberry-pi-2-model-b-basic-benchmark/

In this post, the platform is Raspberry Pi (1st gen) model B+ using Raspbian Jessie.

The info of the Raspbian image I used:

Version: February 2016
Release date: 2016-02-09
Kernel version: 4.1

Here are the test results:

PHP benchmark Script using PHP 5.6.17:

--------------------------------------
|        PHP BENCHMARK SCRIPT        |
--------------------------------------
Start : 2016-02-23 16:52:32
Server : @
PHP version : 5.6.17-0+deb8u1
Platform : Linux
--------------------------------------
test_math                 : 58.099 sec.
test_stringmanipulation   : 60.542 sec.
test_loops                : 14.272 sec.
test_ifelse               : 9.324 sec.
--------------------------------------
Total time:               : 142.237 sec.

PHP benchmark Script using PHP 7.0.3:

--------------------------------------
|        PHP BENCHMARK SCRIPT        |
--------------------------------------
Start : 2016-02-23 17:38:50
Server : @
PHP version : 7.0.3-3
Platform : Linux
--------------------------------------
test_math                 : 16.502 sec.
test_stringmanipulation   : 21.361 sec.
test_loops                : 6.884 sec.
test_ifelse               : 4.747 sec.
--------------------------------------
Total time:               : 49.494 sec.

sysbench v0.4.12 single thread:
(Raspberry Pi 1st gen has only one core, so no multi threads benchmark here)

$ sysbench --test=cpu --cpu-max-prime=20000 run

sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000


Test execution summary:
    total time:                          1331.8571s
    total number of events:              10000
    total time taken by event execution: 1331.7993
    per-request statistics:
         min:                                132.02ms
         avg:                                133.18ms
         max:                                274.74ms
         approx.  95 percentile:             138.84ms

Threads fairness:
    events (avg/stddev):           10000.0000/0.00
    execution time (avg/stddev):   1331.7993/0.00

閱讀全文

Raspberry Pi 2 model B basic benchmarks

Just want to compare Raspberry Pi 2’s performance with Roseapple Pi’s, not only which one is faster, but also how faster, so I just did the same basic benchmarks on Raspberry Pi 2, and maybe will also do the same benchmarks (Hardinfo 、sysbench、PHP benchmark Script) on the 1st generation of Raspberry Pi.

Roseapple Pi benchmark:

https://www.peterdavehello.org/2016/02/roseapple-pi-%e8%93%ae%e9%9c%a7%e6%b4%be-%e6%95%88%e8%83%bd%e7%b0%a1%e6%b8%ac-benchmark/

The platform is Raspberry Pi 2 model B using Raspbian Jessie, no Android this time.
Full desktop image based on Debian Jessie

Version: February 2016
Release date: 2016-02-09
Kernel version: 4.1

 

PHP benchmark Script using PHP 5.6.17:

--------------------------------------
| PHP BENCHMARK SCRIPT |
--------------------------------------
Start : 2016-02-23 22:47:00
Server : @
PHP version : 5.6.17-0+deb8u1
Platform : Linux
--------------------------------------
test_math : 15.713 sec.
test_stringmanipulation : 16.238 sec.
test_loops : 8.794 sec.
test_ifelse : 6.379 sec.
--------------------------------------
Total time: : 47.124 sec.

PHP benchmark Script using PHP 7.0.3 (Using Raspbian testing repository):

--------------------------------------
| PHP BENCHMARK SCRIPT |
--------------------------------------
Start : 2016-02-23 23:03:53
Server : @
PHP version : 7.0.3-3
Platform : Linux
--------------------------------------
test_math : 4.325 sec.
test_stringmanipulation : 6.012 sec.
test_loops : 4.241 sec.
test_ifelse : 2.784 sec.
--------------------------------------
Total time: : 17.362 sec.

 

sysbench v0.4.12 single thread:

$ sysbench --test=cpu --cpu-max-prime=20000 run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000


Test execution summary:
    total time:                          764.9781s
    total number of events:              10000
    total time taken by event execution: 764.9617
    per-request statistics:
         min:                                 76.40ms
         avg:                                 76.50ms
         max:                                 92.16ms
         approx.  95 percentile:              76.50ms

Threads fairness:
    events (avg/stddev):           10000.0000/0.00
    execution time (avg/stddev):   764.9617/0.00

閱讀全文

Roseapple Pi 蓮霧派 效能簡測 (benchmark)

有關之前玩的蓮霧派(Roseapple Pi):

https://www.peterdavehello.org/2016/02/roseapple-pi-rapi-a-clone-of-raspberry-pi/

原先是想做一些仔細的效能測試,無奈最近實在太忙,身不由己,懶得詳測了 … 直接上圖吧,分別是在 Debian 底下用 Hardinfo 、sysbench、PHP benchmark Script 以及在 Android 底下用 QuadrantAntutu (安兔兔) 的效能”簡”測結果,比較詳細的測試,以後有緣再說囉。

系統環境的部份都和上一篇的開箱環境基本上都相同,也就是 Debian 8.1 和 Android 5.1.1,相關的映像檔資訊有需要請直接參考上面的連結。

先看在 Debian 8.1 Jessie 底下的測試結果:

Debian, Hardinfo, 直接看圖:

Debian, PHP benchmark Script using php 5.6.17:

--------------------------------------
| PHP BENCHMARK SCRIPT |
--------------------------------------
Start : 2016-02-22 13:51:08
Server : @
PHP version : 5.6.17-0+deb8u1
Platform : Linux
--------------------------------------
test_math : 8.409 sec.
test_stringmanipulation : 8.321 sec.
test_loops : 6.907 sec.
test_ifelse : 4.479 sec.
--------------------------------------
Total time: : 28.116 sec.

Debian, PHP benchmark Script using php 7.0.3 (Using Debian testing repository):

--------------------------------------
| PHP BENCHMARK SCRIPT |
--------------------------------------
Start : 2016-02-22 14:15:05
Server : @
PHP version : 7.0.3-3
Platform : Linux
--------------------------------------
test_math : 2.422 sec.
test_stringmanipulation : 3.245 sec.
test_loops : 3.002 sec.
test_ifelse : 1.955 sec.
--------------------------------------
Total time: : 10.624 sec.

上面兩個結果可以看出 PHP 7.0 的效能進步真的很大!有在寫 PHP 或 Web 相關應用的人可以當作參考。

Debian, sysbench --test=cpu --cpu-max-prime=20000 run (single-thread, 單核心):

閱讀全文