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 xe2x80x98mainxe2x80x99:
src/pipe.c:52:2: warning: ignoring return value of xe2x80x98pipexe2x80x99, declared with attribute warn_unused_result [-Wunused-result]
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:0:
src/big.c: In function xe2x80x98dummyxe2x80x99:
src/big.c:109:5: warning: ignoring return value of xe2x80x98freopenxe2x80x99, declared with attribute warn_unused_result [-Wunused-result]
freopen("masterlog.00", "a", stderr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/big.c:197:6: warning: ignoring return value of xe2x80x98freopenxe2x80x99, declared with attribute warn_unused_result [-Wunused-result]
freopen(logname, "w", stderr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/big.c:221:3: warning: ignoring return value of xe2x80x98dupxe2x80x99, declared with attribute warn_unused_result [-Wunused-result]
dup(pvec[0]);
^~~~~~~~~~~~
src/big.c:225:6: warning: ignoring return value of xe2x80x98freopenxe2x80x99, declared with attribute warn_unused_result [-Wunused-result]
freopen(logname, "w", stderr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/big.c:318:4: warning: ignoring return value of xe2x80x98writexe2x80x99, declared with attribute warn_unused_result [-Wunused-result]
write(fcopy, cp->line, p - cp->line + 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/big.c:196:34: warning: xe2x80x98%02dxe2x80x99 directive writing between 2 and 10 bytes into a region of size 5 [-Wformat-overflow=]
sprintf(logname, "masterlog.%02d", firstuser/MAXCHILD);
^~~~
src/big.c:196:23: note: directive argument in the range [-178956970, 178956970]
sprintf(logname, "masterlog.%02d", firstuser/MAXCHILD);
^~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:862:0,
from src/execl.c:25:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: xe2x80x98__builtin___sprintf_chkxe2x80x99 output between 13 and 21 bytes into a destination of size 15
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__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-CQpWi2/byte-unixbench/UnixBench"
make distr
make[2]: Entering directory "/root/serverscope-CQpWi2/byte-unixbench/UnixBench"
Checking distribution of files
./pgms exists
./src exists
./testdir exists
make[2]: Leaving directory "/root/serverscope-CQpWi2/byte-unixbench/UnixBench"
make programs
make[2]: Entering directory "/root/serverscope-CQpWi2/byte-unixbench/UnixBench"
make[2]: Nothing to be done for "programs".
make[2]: Leaving directory "/root/serverscope-CQpWi2/byte-unixbench/UnixBench"
make[1]: Leaving directory "/root/serverscope-CQpWi2/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
12 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10
12 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10
12 x Execl Throughput 1 2 3
12 x File Copy 1024 bufsize 2000 maxblocks 1 2 3
12 x File Copy 256 bufsize 500 maxblocks 1 2 3
12 x File Copy 4096 bufsize 8000 maxblocks 1 2 3
12 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10
12 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10
12 x Process Creation 1 2 3
12 x System Call Overhead 1 2 3 4 5 6 7 8 9 10
12 x Shell Scripts (1 concurrent) 1 2 3
12 x Shell Scripts (8 concurrent) 1 2 3
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: 81-7-15-141: GNU/Linux
OS: GNU/Linux -- 4.15.0-45-generic -- #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6384.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 1: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6384.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 2: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6384.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 3: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6384.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 4: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6384.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 5: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6384.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 6: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6384.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 7: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6384.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 8: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6384.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 9: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6384.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 10: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6384.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 11: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6384.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
20:25:08 up 1:57, 1 user, load average: 7.24, 4.48, 1.91; runlevel 2019-05-01
------------------------------------------------------------------------
Benchmark Run: Wed May 01 2019 20:25:08 - 20:55:27
12 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 57730514.1 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3498.0 MWIPS (23.6 s, 7 samples)
Execl Throughput 7773.8 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1152203.7 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 297923.5 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 3385142.6 KBps (30.0 s, 2 samples)
Pipe Throughput 1627085.7 lps (10.0 s, 7 samples)
Pipe-based Context Switching 209763.1 lps (10.0 s, 7 samples)
Process Creation 2542.5 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3695.1 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2222.6 lpm (60.1 s, 2 samples)
System Call Overhead 1199686.7 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 57730514.1 4946.9
Double-Precision Whetstone 55.0 3498.0 636.0
Execl Throughput 43.0 7773.8 1807.9
File Copy 1024 bufsize 2000 maxblocks 3960.0 1152203.7 2909.6
File Copy 256 bufsize 500 maxblocks 1655.0 297923.5 1800.1
File Copy 4096 bufsize 8000 maxblocks 5800.0 3385142.6 5836.5
Pipe Throughput 12440.0 1627085.7 1307.9
Pipe-based Context Switching 4000.0 209763.1 524.4
Process Creation 126.0 2542.5 201.8
Shell Scripts (1 concurrent) 42.4 3695.1 871.5
Shell Scripts (8 concurrent) 6.0 2222.6 3704.3
System Call Overhead 15000.0 1199686.7 799.8
========
System Benchmarks Index Score 1410.7
------------------------------------------------------------------------
Benchmark Run: Wed May 01 2019 20:55:27 - 21:26:41
12 CPUs in system; running 12 parallel copies of tests
Dhrystone 2 using register variables 480849289.9 lps (10.0 s, 7 samples)
Double-Precision Whetstone 28473.4 MWIPS (28.8 s, 7 samples)
Execl Throughput 54843.9 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1549388.2 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 399119.5 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 4830166.2 KBps (30.0 s, 2 samples)
Pipe Throughput 14004329.8 lps (10.0 s, 7 samples)
Pipe-based Context Switching 2245754.5 lps (10.0 s, 7 samples)
Process Creation 117518.9 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 90693.4 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 13557.2 lpm (60.0 s, 2 samples)
System Call Overhead 10573808.1 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 480849289.9 41203.9
Double-Precision Whetstone 55.0 28473.4 5177.0
Execl Throughput 43.0 54843.9 12754.4
File Copy 1024 bufsize 2000 maxblocks 3960.0 1549388.2 3912.6
File Copy 256 bufsize 500 maxblocks 1655.0 399119.5 2411.6
File Copy 4096 bufsize 8000 maxblocks 5800.0 4830166.2 8327.9
Pipe Throughput 12440.0 14004329.8 11257.5
Pipe-based Context Switching 4000.0 2245754.5 5614.4
Process Creation 126.0 117518.9 9326.9
Shell Scripts (1 concurrent) 42.4 90693.4 21390.0
Shell Scripts (8 concurrent) 6.0 13557.2 22595.3
System Call Overhead 15000.0 10573808.1 7049.2
========
System Benchmarks Index Score 9319.7