$ sudo apt update
$ sudo apt install g++-12
$ sudo apt --reinstall install libc6-dev
$ sudo update-alternatives --install /usr/bin/gcc gcc
/usr/bin/gcc-11 11
$ sudo update-alternatives --install /usr/bin/gcc gcc
/usr/bin/gcc-12 12
$ gcc --version
gcc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying
conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
$ sudo apt install git
$ git clone https://github.com/kdlucas/byte-unixbench.git
$ cd $HOME/byte-unixbench/UnixBench
$ ./Run
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: luckfox: GNU/Linux
OS: GNU/Linux -- 5.10.110 -- #1 Fri Dec 29
14:34:18 HKT 2023
Machine: armv7l (armv7l)
Language: en_US.utf8
(charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968")
CPU 0: ARMv7 Processor rev 5 (v7l) (69.8
bogomips)
07:31:27 up 14 min, 3 users, load
average: 0.38, 0.25, 0.15; runlevel Nov
------------------------------------------------------------------------
Benchmark Run: Thu May 02 2024 07:31:27 - 07:59:39
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register
variables
4730955.0 lps (10.0 s, 7 samples)
Double-Precision
Whetstone
1088.2 MWIPS (10.0 s, 7 samples)
Execl
Throughput
450.1 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000
maxblocks
100939.8 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500
maxblocks
33634.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000
maxblocks
255346.5 KBps (30.0 s, 2 samples)
Pipe
Throughput
352454.7 lps (10.0 s, 7 samples)
Pipe-based Context
Switching
87081.9 lps (10.0 s, 7 samples)
Process
Creation
1506.1 lps (30.0 s, 2 samples)
Shell Scripts (1
concurrent)
1186.0 lpm (60.0 s, 2 samples)
Shell Scripts (8
concurrent)
154.1 lpm (60.3 s, 2 samples)
System Call
Overhead
829129.9 lps (10.0 s, 7 samples)
System Benchmarks Index
Values
BASELINE
RESULT INDEX
Dhrystone 2 using register
variables
116700.0 4730955.0
405.4
Double-Precision
Whetstone
55.0
1088.2 197.8
Execl
Throughput
43.0
450.1 104.7
File Copy 1024 bufsize 2000
maxblocks
3960.0 100939.8
254.9
File Copy 256 bufsize 500
maxblocks
1655.0
33634.0 203.2
File Copy 4096 bufsize 8000
maxblocks
5800.0 255346.5
440.3
Pipe
Throughput
12440.0 352454.7
283.3
Pipe-based Context
Switching
4000.0
87081.9 217.7
Process
Creation
126.0
1506.1 119.5
Shell Scripts (1
concurrent)
42.4
1186.0 279.7
Shell Scripts (8
concurrent)
6.0
154.1 256.9
System Call
Overhead
15000.0 829129.9
552.8
========
System Benchmarks Index
Score
248.7
|