Benchmark for Raspberry Pi 2

From Leo's Notes
Last edited on 8 January 2020, at 16:30.

This test excluded the spawn test by removing the spawn item in pgms/index.base. The spawn test would otherwise randomly hang as the parent process waits for a futex resulting in the child process turning into a zombie.


Results Overview

Hardware Raspberry Pi 2 Model B v1.1
CPU BCM2836 @ 900MHz
Memory 1 GB
Disk 16 GB Kingston SD
Operating System Arch Linux
Score 229.5 / 645.5 (without spawn test)

Raw Output

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: : GNU/Linux
   OS: GNU/Linux -- 4.19.86-1-ARCH -- #1 SMP PREEMPT Sat Nov 30 18:54:27 UTC 2019
   Machine: armv7l (unknown)
   Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968")
   CPU 0: ARMv7 Processor rev 4 (v7l) (0.0 bogomips)

   CPU 1: ARMv7 Processor rev 4 (v7l) (0.0 bogomips)

   CPU 2: ARMv7 Processor rev 4 (v7l) (0.0 bogomips)

   CPU 3: ARMv7 Processor rev 4 (v7l) (0.0 bogomips)

   07:04:47 up 2 days,  4:35,  1 user,  load average: 0.00, 0.00, 0.00; runlevel

------------------------------------------------------------------------
Benchmark Run: Wed Jan 08 2020 07:04:47 - 07:31:20
4 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables        3841816.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                      982.7 MWIPS (10.0 s, 7 samples)
Execl Throughput                                739.6 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        115998.3 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           38888.6 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        283707.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                              181394.3 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  33359.7 lps   (10.0 s, 7 samples)
Shell Scripts (1 concurrent)                   1046.8 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    330.2 lpm   (60.1 s, 2 samples)
System Call Overhead                         248224.7 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    3841816.2    329.2
Double-Precision Whetstone                       55.0        982.7    178.7
Execl Throughput                                 43.0        739.6    172.0
File Copy 1024 bufsize 2000 maxblocks          3960.0     115998.3    292.9
File Copy 256 bufsize 500 maxblocks            1655.0      38888.6    235.0
File Copy 4096 bufsize 8000 maxblocks          5800.0     283707.5    489.2
Pipe Throughput                               12440.0     181394.3    145.8
Pipe-based Context Switching                   4000.0      33359.7     83.4
Shell Scripts (1 concurrent)                     42.4       1046.8    246.9
Shell Scripts (8 concurrent)                      6.0        330.2    550.4
System Call Overhead                          15000.0     248224.7    165.5
                                                                   ========
System Benchmarks Index Score                                         229.5

------------------------------------------------------------------------
Benchmark Run: Wed Jan 08 2020 07:31:20 - 07:57:54
4 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables       15319935.6 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3926.1 MWIPS (10.0 s, 7 samples)
Execl Throughput                               1829.6 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        290008.4 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           94383.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        674448.9 KBps  (30.0 s, 2 samples)
Pipe Throughput                              721417.1 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 124146.0 lps   (10.0 s, 7 samples)
Shell Scripts (1 concurrent)                   2562.4 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                    357.3 lpm   (60.5 s, 2 samples)
System Call Overhead                         969677.4 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   15319935.6   1312.8
Double-Precision Whetstone                       55.0       3926.1    713.8
Execl Throughput                                 43.0       1829.6    425.5
File Copy 1024 bufsize 2000 maxblocks          3960.0     290008.4    732.3
File Copy 256 bufsize 500 maxblocks            1655.0      94383.5    570.3
File Copy 4096 bufsize 8000 maxblocks          5800.0     674448.9   1162.8
Pipe Throughput                               12440.0     721417.1    579.9
Pipe-based Context Switching                   4000.0     124146.0    310.4
Shell Scripts (1 concurrent)                     42.4       2562.4    604.3
Shell Scripts (8 concurrent)                      6.0        357.3    595.4
System Call Overhead                          15000.0     969677.4    646.5
                                                                   ========
System Benchmarks Index Score                                         645.5