gcc -o pgms/arithoh -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Darithoh src/arith.c
gcc -o pgms/register -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Ddatum="register int" src/arith.c
gcc -o pgms/short -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Ddatum=short src/arith.c
gcc -o pgms/int -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Ddatum=int src/arith.c
gcc -o pgms/long -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Ddatum=long src/arith.c
gcc -o pgms/float -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Ddatum=float src/arith.c
gcc -o pgms/double -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Ddatum=double src/arith.c
gcc -o pgms/hanoi -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/hanoi.c
gcc -o pgms/syscall -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/syscall.c
gcc -o pgms/context1 -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/context1.c
gcc -o pgms/pipe -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/pipe.c
src/pipe.c: In function ‘main’:
src/pipe.c:52:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result]
52 | pipe(pvec);
| ^~~~~~~~~~
gcc -o pgms/spawn -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/spawn.c
gcc -o pgms/execl -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/execl.c
In file included from src/execl.c:34:
src/big.c: In function ‘dummy’:
src/big.c:109:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
109 | freopen("masterlog.00", "a", stderr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/big.c:197:6: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
197 | freopen(logname, "w", stderr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/big.c:221:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
221 | dup(pvec[0]);
| ^~~~~~~~~~~~
src/big.c:225:6: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
225 | freopen(logname, "w", stderr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/big.c:318:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
318 | write(fcopy, cp->line, p - cp->line + 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/big.c:196:34: warning: ‘%02d’ directive writing between 2 and 10 bytes into a region of size 5 [-Wformat-overflow=]
196 | sprintf(logname, "masterlog.%02d", firstuser/MAXCHILD);
| ^~~~
src/big.c:196:23: note: directive argument in the range [-178956970, 178956970]
196 | sprintf(logname, "masterlog.%02d", firstuser/MAXCHILD);
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from src/execl.c:25:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 13 and 21 bytes into a destination of size 15
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -o pgms/dhry2 -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -DHZ= ./src/dhry_1.c ./src/dhry_2.c
gcc -o pgms/dhry2reg -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -DHZ= -DREG=register ./src/dhry_1.c ./src/dhry_2.c
gcc -o pgms/looper -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/looper.c
gcc -o pgms/fstime -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/fstime.c
gcc -o pgms/whetstone-double -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -DDP -DUNIX -DUNIXBENCH src/whets.c -lm
make all
make[1]: Entering directory "/root/serverscope-08_w5tgc/byte-unixbench/UnixBench"
make distr
make[2]: Entering directory "/root/serverscope-08_w5tgc/byte-unixbench/UnixBench"
Checking distribution of files
./pgms exists
./src exists
./testdir exists
make[2]: Leaving directory "/root/serverscope-08_w5tgc/byte-unixbench/UnixBench"
make programs
make[2]: Entering directory "/root/serverscope-08_w5tgc/byte-unixbench/UnixBench"
make[2]: Nothing to be done for "programs".
make[2]: Leaving directory "/root/serverscope-08_w5tgc/byte-unixbench/UnixBench"
make[1]: Leaving directory "/root/serverscope-08_w5tgc/byte-unixbench/UnixBench"
sh: 1: 3dinfo: not found
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
January 13, 2011 johantheghost at yahoo period com
1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10
1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10
1 x Execl Throughput 1 2 3
1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3
1 x File Copy 256 bufsize 500 maxblocks 1 2 3
1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3
1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10
1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10
1 x Process Creation 1 2 3
1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10
1 x Shell Scripts (1 concurrent) 1 2 3
1 x Shell Scripts (8 concurrent) 1 2 3
8 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10
8 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10
8 x Execl Throughput 1 2 3
8 x File Copy 1024 bufsize 2000 maxblocks 1 2 3
8 x File Copy 256 bufsize 500 maxblocks 1 2 3
8 x File Copy 4096 bufsize 8000 maxblocks 1 2 3
8 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10
8 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10
8 x Process Creation 1 2 3
8 x System Call Overhead 1 2 3 4 5 6 7 8 9 10
8 x Shell Scripts (1 concurrent) 1 2 3
8 x Shell Scripts (8 concurrent) 1 2 3
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: f434: GNU/Linux
OS: GNU/Linux -- 5.4.0-113-generic -- #127-Ubuntu SMP Wed May 18 14:30:56 UTC 2022
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: AMD Opteron(tm) Processor 3365 (4600.0 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
CPU 1: AMD Opteron(tm) Processor 3365 (4600.0 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
CPU 2: AMD Opteron(tm) Processor 3365 (4600.0 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
CPU 3: AMD Opteron(tm) Processor 3365 (4600.0 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
CPU 4: AMD Opteron(tm) Processor 3365 (4600.0 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
CPU 5: AMD Opteron(tm) Processor 3365 (4600.0 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
CPU 6: AMD Opteron(tm) Processor 3365 (4600.0 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
CPU 7: AMD Opteron(tm) Processor 3365 (4600.0 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
09:37:09 up 12:27, 1 user, load average: 8.90, 5.69, 3.03; runlevel 2022-06-03
------------------------------------------------------------------------
Benchmark Run: Sat Jun 04 2022 09:37:09 - 10:05:48
8 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 24802940.2 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4730.3 MWIPS (9.9 s, 7 samples)
Execl Throughput 3133.1 lps (29.5 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 441432.9 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 131215.3 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 947642.9 KBps (30.0 s, 2 samples)
Pipe Throughput 882548.4 lps (10.0 s, 7 samples)
Pipe-based Context Switching 47958.1 lps (10.0 s, 7 samples)
Process Creation 3336.6 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3442.7 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2051.7 lpm (60.0 s, 2 samples)
System Call Overhead 824249.1 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 24802940.2 2125.4
Double-Precision Whetstone 55.0 4730.3 860.1
Execl Throughput 43.0 3133.1 728.6
File Copy 1024 bufsize 2000 maxblocks 3960.0 441432.9 1114.7
File Copy 256 bufsize 500 maxblocks 1655.0 131215.3 792.8
File Copy 4096 bufsize 8000 maxblocks 5800.0 947642.9 1633.9
Pipe Throughput 12440.0 882548.4 709.4
Pipe-based Context Switching 4000.0 47958.1 119.9
Process Creation 126.0 3336.6 264.8
Shell Scripts (1 concurrent) 42.4 3442.7 811.9
Shell Scripts (8 concurrent) 6.0 2051.7 3419.5
System Call Overhead 15000.0 824249.1 549.5
========
System Benchmarks Index Score 797.4
------------------------------------------------------------------------
Benchmark Run: Sat Jun 04 2022 10:05:48 - 10:34:42
8 CPUs in system; running 8 parallel copies of tests
Dhrystone 2 using register variables 51011043.0 lps (10.0 s, 7 samples)
Double-Precision Whetstone 27963.4 MWIPS (9.8 s, 7 samples)
Execl Throughput 13119.7 lps (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 271978.3 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 74172.7 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 918161.8 KBps (30.0 s, 2 samples)
Pipe Throughput 4163895.6 lps (10.0 s, 7 samples)
Pipe-based Context Switching 542560.4 lps (10.0 s, 7 samples)
Process Creation 21652.3 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 22024.8 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 3145.3 lpm (60.1 s, 2 samples)
System Call Overhead 1381080.2 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 51011043.0 4371.1
Double-Precision Whetstone 55.0 27963.4 5084.3
Execl Throughput 43.0 13119.7 3051.1
File Copy 1024 bufsize 2000 maxblocks 3960.0 271978.3 686.8
File Copy 256 bufsize 500 maxblocks 1655.0 74172.7 448.2
File Copy 4096 bufsize 8000 maxblocks 5800.0 918161.8 1583.0
Pipe Throughput 12440.0 4163895.6 3347.2
Pipe-based Context Switching 4000.0 542560.4 1356.4
Process Creation 126.0 21652.3 1718.4
Shell Scripts (1 concurrent) 42.4 22024.8 5194.5
Shell Scripts (8 concurrent) 6.0 3145.3 5242.2
System Call Overhead 15000.0 1381080.2 920.7
========
System Benchmarks Index Score 2077.5