Skip to content

Instantly share code, notes, and snippets.

@kazuho
Last active October 23, 2023 23:25
Show Gist options
  • Save kazuho/f5e7aec2824167513cbeedd54f65fa46 to your computer and use it in GitHub Desktop.
Save kazuho/f5e7aec2824167513cbeedd54f65fa46 to your computer and use it in GitHub Desktop.
UnixBench Results

Summary of SystemBenchmarks Index Score:

single-core multi-core
Oculus Quest 3 (termux) 551.4 2086.0
Oculus Quest 3 (termux + proot(manjaro)) 254.0 1197.9
Ryzen 4750G (ubuntu 22.04) 2181.5 18262.5
MacBook Pro 16" 2019 (VMware Fusion + ubuntu 22.04) 684.8 3142.1

Oculus Quest 3 (termux)

Note: This system uses clang + musl libc, compared to others using GCC + glibc.

Benchmark Run: Tue Oct 24 2023 05:00:05 - 05:39:55
5 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       46261391.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     5641.9 MWIPS (11.6 s, 7 samples)
Execl Throughput                                306.4 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        525336.6 KBps  (44.2 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          231540.6 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1554032.8 KBps  (35.1 s, 2 samples)
Pipe Throughput                              854135.4 lps   (15.0 s, 7 samples)
Pipe-based Context Switching                 103596.3 lps   (14.1 s, 7 samples)
Process Creation                                619.5 lps   (61.7 s, 2 samples)
Shell Scripts (1 concurrent)                    524.1 lpm   (95.8 s, 2 samples)
Shell Scripts (8 concurrent)                    512.0 lpm   (93.8 s, 2 samples)
System Call Overhead                         892246.2 lps   (12.4 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   46261391.1   3964.1
Double-Precision Whetstone                       55.0       5641.9   1025.8
Execl Throughput                                 43.0        306.4     71.3
File Copy 1024 bufsize 2000 maxblocks          3960.0     525336.6   1326.6
File Copy 256 bufsize 500 maxblocks            1655.0     231540.6   1399.0
File Copy 4096 bufsize 8000 maxblocks          5800.0    1554032.8   2679.4
Pipe Throughput                               12440.0     854135.4    686.6
Pipe-based Context Switching                   4000.0     103596.3    259.0
Process Creation                                126.0        619.5     49.2
Shell Scripts (1 concurrent)                     42.4        524.1    123.6
Shell Scripts (8 concurrent)                      6.0        512.0    853.3
System Call Overhead                          15000.0     892246.2    594.8
                                                                   ========
System Benchmarks Index Score                                         551.4

------------------------------------------------------------------------
Benchmark Run: Tue Oct 24 2023 05:39:55 - 06:18:29
5 CPUs in system; running 5 parallel copies of tests

Dhrystone 2 using register variables      219764282.0 lps   (10.2 s, 7 samples)
Double-Precision Whetstone                    19232.5 MWIPS (15.8 s, 7 samples)
Execl Throughput                               1630.6 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       2196634.9 KBps  (39.5 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          667655.8 KBps  (39.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       5169778.0 KBps  (33.4 s, 2 samples)
Pipe Throughput                             4225249.5 lps   (14.7 s, 7 samples)
Pipe-based Context Switching                 278274.5 lps   (12.8 s, 7 samples)
Process Creation                               2648.4 lps   (41.8 s, 2 samples)
Shell Scripts (1 concurrent)                   3845.3 lpm   (83.5 s, 2 samples)
Shell Scripts (8 concurrent)                    566.8 lpm   (103.4 s, 2 samples)
System Call Overhead                        4804201.9 lps   (10.7 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  219764282.0  18831.6
Double-Precision Whetstone                       55.0      19232.5   3496.8
Execl Throughput                                 43.0       1630.6    379.2
File Copy 1024 bufsize 2000 maxblocks          3960.0    2196634.9   5547.1
File Copy 256 bufsize 500 maxblocks            1655.0     667655.8   4034.2
File Copy 4096 bufsize 8000 maxblocks          5800.0    5169778.0   8913.4
Pipe Throughput                               12440.0    4225249.5   3396.5
Pipe-based Context Switching                   4000.0     278274.5    695.7
Process Creation                                126.0       2648.4    210.2
Shell Scripts (1 concurrent)                     42.4       3845.3    906.9
Shell Scripts (8 concurrent)                      6.0        566.8    944.7
System Call Overhead                          15000.0    4804201.9   3202.8
                                                                   ========
System Benchmarks Index Score                                        2086.0

Oculus Quest 3 (termux + proot(manjaro))

Benchmark Run: Mon Oct 23 2023 15:38:13 - 16:15:49
6 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       45567621.7 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     6587.7 MWIPS (8.3 s, 7 samples)
Execl Throughput                                125.5 lps   (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        617794.7 KBps  (38.9 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          223211.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1802730.7 KBps  (30.0 s, 2 samples)
Pipe Throughput                              822032.8 lps   (15.8 s, 7 samples)
Pipe-based Context Switching                 109304.3 lps   (13.3 s, 7 samples)
Process Creation                                436.3 lps   (48.3 s, 2 samples)
Shell Scripts (1 concurrent)                    204.1 lpm   (94.8 s, 2 samples)
Shell Scripts (8 concurrent)                    102.7 lpm   (82.3 s, 2 samples)
System Call Overhead                           2353.8 lps   (15.7 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   45567621.7   3904.7
Double-Precision Whetstone                       55.0       6587.7   1197.8
Execl Throughput                                 43.0        125.5     29.2
File Copy 1024 bufsize 2000 maxblocks          3960.0     617794.7   1560.1
File Copy 256 bufsize 500 maxblocks            1655.0     223211.5   1348.7
File Copy 4096 bufsize 8000 maxblocks          5800.0    1802730.7   3108.2
Pipe Throughput                               12440.0     822032.8    660.8
Pipe-based Context Switching                   4000.0     109304.3    273.3
Process Creation                                126.0        436.3     34.6
Shell Scripts (1 concurrent)                     42.4        204.1     48.1
Shell Scripts (8 concurrent)                      6.0        102.7    171.2
System Call Overhead                          15000.0       2353.8      1.6
                                                                   ========
System Benchmarks Index Score                                         254.0

------------------------------------------------------------------------
Benchmark Run: Mon Oct 23 2023 16:15:49 - 16:45:08
6 CPUs in system; running 6 parallel copies of tests

Dhrystone 2 using register variables      212370292.3 lps   (10.2 s, 7 samples)
Double-Precision Whetstone                    34861.5 MWIPS (8.6 s, 7 samples)
Execl Throughput                                769.6 lps   (33.4 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       2776668.7 KBps  (30.3 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          833845.1 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       6015941.2 KBps  (30.0 s, 2 samples)
Pipe Throughput                             4502080.7 lps   (10.1 s, 7 samples)
Pipe-based Context Switching                 387844.6 lps   (10.1 s, 7 samples)
Process Creation                               2801.0 lps   (30.2 s, 2 samples)
Shell Scripts (1 concurrent)                   1356.2 lpm   (60.2 s, 2 samples)
Shell Scripts (8 concurrent)                    264.9 lpm   (61.0 s, 2 samples)
System Call Overhead                          15715.1 lps   (10.2 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  212370292.3  18198.0
Double-Precision Whetstone                       55.0      34861.5   6338.5
Execl Throughput                                 43.0        769.6    179.0
File Copy 1024 bufsize 2000 maxblocks          3960.0    2776668.7   7011.8
File Copy 256 bufsize 500 maxblocks            1655.0     833845.1   5038.3
File Copy 4096 bufsize 8000 maxblocks          5800.0    6015941.2  10372.3
Pipe Throughput                               12440.0    4502080.7   3619.0
Pipe-based Context Switching                   4000.0     387844.6    969.6
Process Creation                                126.0       2801.0    222.3
Shell Scripts (1 concurrent)                     42.4       1356.2    319.9
Shell Scripts (8 concurrent)                      6.0        264.9    441.6
System Call Overhead                          15000.0      15715.1     10.5
                                                                   ========
System Benchmarks Index Score                                        1197.9

Ryzen 4750G (ubuntu 22.04)

Benchmark Run: 火 10月 24 2023 00:50:16 - 01:18:11
16 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       53845399.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     9634.6 MWIPS (10.0 s, 7 samples)
Execl Throughput                               6424.9 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1465298.4 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          419480.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2921853.1 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2311613.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  79148.4 lps   (10.0 s, 7 samples)
Process Creation                               8120.4 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  13349.3 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                  10023.0 lpm   (60.0 s, 2 samples)
System Call Overhead                        2450160.3 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   53845399.8   4614.0
Double-Precision Whetstone                       55.0       9634.6   1751.8
Execl Throughput                                 43.0       6424.9   1494.2
File Copy 1024 bufsize 2000 maxblocks          3960.0    1465298.4   3700.2
File Copy 256 bufsize 500 maxblocks            1655.0     419480.5   2534.6
File Copy 4096 bufsize 8000 maxblocks          5800.0    2921853.1   5037.7
Pipe Throughput                               12440.0    2311613.2   1858.2
Pipe-based Context Switching                   4000.0      79148.4    197.9
Process Creation                                126.0       8120.4    644.5
Shell Scripts (1 concurrent)                     42.4      13349.3   3148.4
Shell Scripts (8 concurrent)                      6.0      10023.0  16705.0
System Call Overhead                          15000.0    2450160.3   1633.4
                                                                   ========
System Benchmarks Index Score                                        2181.5

------------------------------------------------------------------------
Benchmark Run: 火 10月 24 2023 01:18:11 - 01:46:08
16 CPUs in system; running 16 parallel copies of tests

Dhrystone 2 using register variables      571283865.9 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                   129405.2 MWIPS (10.0 s, 7 samples)
Execl Throughput                              46391.3 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       9440841.4 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks         4139507.0 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       9498485.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                            25517945.3 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                2848305.7 lps   (10.0 s, 7 samples)
Process Creation                              91833.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                 106791.5 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                  14147.2 lpm   (60.0 s, 2 samples)
System Call Overhead                       26909331.3 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  571283865.9  48953.2
Double-Precision Whetstone                       55.0     129405.2  23528.2
Execl Throughput                                 43.0      46391.3  10788.7
File Copy 1024 bufsize 2000 maxblocks          3960.0    9440841.4  23840.5
File Copy 256 bufsize 500 maxblocks            1655.0    4139507.0  25012.1
File Copy 4096 bufsize 8000 maxblocks          5800.0    9498485.5  16376.7
Pipe Throughput                               12440.0   25517945.3  20512.8
Pipe-based Context Switching                   4000.0    2848305.7   7120.8
Process Creation                                126.0      91833.3   7288.4
Shell Scripts (1 concurrent)                     42.4     106791.5  25186.7
Shell Scripts (8 concurrent)                      6.0      14147.2  23578.6
System Call Overhead                          15000.0   26909331.3  17939.6
                                                                   ========
System Benchmarks Index Score                                       18262.5

MacBook Pro 16" 2019 (VMware Fusion (ubuntu 22.04))

This VM has been assigned 6 cores and 6GB of RAM. CPU is Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz.

Benchmark Run: 火 10月 24 2023 01:22:15 - 01:50:16
6 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       48380122.0 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     8317.4 MWIPS (9.9 s, 7 samples)
Execl Throughput                               1087.2 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        296197.9 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           76163.4 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        969464.3 KBps  (30.0 s, 2 samples)
Pipe Throughput                              671817.8 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  25641.4 lps   (10.0 s, 7 samples)
Process Creation                               4910.2 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5516.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1633.4 lpm   (60.0 s, 2 samples)
System Call Overhead                         366240.2 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   48380122.0   4145.7
Double-Precision Whetstone                       55.0       8317.4   1512.3
Execl Throughput                                 43.0       1087.2    252.8
File Copy 1024 bufsize 2000 maxblocks          3960.0     296197.9    748.0
File Copy 256 bufsize 500 maxblocks            1655.0      76163.4    460.2
File Copy 4096 bufsize 8000 maxblocks          5800.0     969464.3   1671.5
Pipe Throughput                               12440.0     671817.8    540.0
Pipe-based Context Switching                   4000.0      25641.4     64.1
Process Creation                                126.0       4910.2    389.7
Shell Scripts (1 concurrent)                     42.4       5516.6   1301.1
Shell Scripts (8 concurrent)                      6.0       1633.4   2722.3
System Call Overhead                          15000.0     366240.2    244.2
                                                                   ========
System Benchmarks Index Score                                         684.8

------------------------------------------------------------------------
Benchmark Run: 火 10月 24 2023 01:50:16 - 02:18:24
6 CPUs in system; running 6 parallel copies of tests

Dhrystone 2 using register variables      230486225.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    46909.3 MWIPS (10.2 s, 7 samples)
Execl Throughput                               2820.9 lps   (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1361153.9 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          355189.6 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       4682839.0 KBps  (30.0 s, 2 samples)
Pipe Throughput                             3504128.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 727167.6 lps   (10.0 s, 7 samples)
Process Creation                              29646.7 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  13175.2 lpm   (60.2 s, 2 samples)
Shell Scripts (8 concurrent)                   1769.9 lpm   (60.1 s, 2 samples)
System Call Overhead                        1910634.7 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  230486225.2  19750.3
Double-Precision Whetstone                       55.0      46909.3   8529.0
Execl Throughput                                 43.0       2820.9    656.0
File Copy 1024 bufsize 2000 maxblocks          3960.0    1361153.9   3437.3
File Copy 256 bufsize 500 maxblocks            1655.0     355189.6   2146.2
File Copy 4096 bufsize 8000 maxblocks          5800.0    4682839.0   8073.9
Pipe Throughput                               12440.0    3504128.7   2816.8
Pipe-based Context Switching                   4000.0     727167.6   1817.9
Process Creation                                126.0      29646.7   2352.9
Shell Scripts (1 concurrent)                     42.4      13175.2   3107.4
Shell Scripts (8 concurrent)                      6.0       1769.9   2949.9
System Call Overhead                          15000.0    1910634.7   1273.8
                                                                   ========
System Benchmarks Index Score                                        3142.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment