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); ^ 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 "/etc/nginx/ssl/serverscope-PTYqr1/byte-unixbench/UnixBench" make distr make[2]: Entering directory "/etc/nginx/ssl/serverscope-PTYqr1/byte-unixbench/UnixBench" Checking distribution of files ./pgms exists ./src exists ./testdir exists make[2]: Leaving directory "/etc/nginx/ssl/serverscope-PTYqr1/byte-unixbench/UnixBench" make programs make[2]: Entering directory "/etc/nginx/ssl/serverscope-PTYqr1/byte-unixbench/UnixBench" make[2]: Nothing to be done for "programs". make[2]: Leaving directory "/etc/nginx/ssl/serverscope-PTYqr1/byte-unixbench/UnixBench" make[1]: Leaving directory "/etc/nginx/ssl/serverscope-PTYqr1/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 2 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 2 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 2 x Execl Throughput 1 2 3 2 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 2 x File Copy 256 bufsize 500 maxblocks 1 2 3 2 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 2 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 2 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 2 x Process Creation 1 2 3 2 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 2 x Shell Scripts (1 concurrent) 1 2 3 2 x Shell Scripts (8 concurrent) 1 2 3 ======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: mystra.baldur-it.eu: GNU/Linux OS: GNU/Linux -- 4.4.38-std-1 -- #1 SMP Mon Dec 12 10:45:29 UTC 2016 Machine: x86_64 (x86_64) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: Intel(R) Atom(TM) CPU C2750 @ 2.40GHz (4787.8 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 1: Intel(R) Atom(TM) CPU C2750 @ 2.40GHz (4787.8 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization 07:34:37 up 3:19, 1 user, load average: 7.36, 4.84, 2.46; runlevel 2017-05-13 ------------------------------------------------------------------------ Benchmark Run: Sat May 13 2017 07:34:37 - 08:02:31 2 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 12301900.4 lps (10.0 s, 7 samples) Double-Precision Whetstone 2021.9 MWIPS (10.0 s, 7 samples) Execl Throughput 1548.6 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 425910.1 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 123945.2 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 999161.6 KBps (30.0 s, 2 samples) Pipe Throughput 1116075.2 lps (10.0 s, 7 samples) Pipe-based Context Switching 35652.2 lps (10.0 s, 7 samples) Process Creation 3501.7 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 3090.9 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 676.3 lpm (60.1 s, 2 samples) System Call Overhead 1735896.7 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 12301900.4 1054.1 Double-Precision Whetstone 55.0 2021.9 367.6 Execl Throughput 43.0 1548.6 360.1 File Copy 1024 bufsize 2000 maxblocks 3960.0 425910.1 1075.5 File Copy 256 bufsize 500 maxblocks 1655.0 123945.2 748.9 File Copy 4096 bufsize 8000 maxblocks 5800.0 999161.6 1722.7 Pipe Throughput 12440.0 1116075.2 897.2 Pipe-based Context Switching 4000.0 35652.2 89.1 Process Creation 126.0 3501.7 277.9 Shell Scripts (1 concurrent) 42.4 3090.9 729.0 Shell Scripts (8 concurrent) 6.0 676.3 1127.1 System Call Overhead 15000.0 1735896.7 1157.3 ======== System Benchmarks Index Score 632.4 ------------------------------------------------------------------------ Benchmark Run: Sat May 13 2017 08:02:31 - 08:30:24 2 CPUs in system; running 2 parallel copies of tests Dhrystone 2 using register variables 24642847.7 lps (10.0 s, 7 samples) Double-Precision Whetstone 4045.5 MWIPS (10.0 s, 7 samples) Execl Throughput 2766.7 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 465562.8 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 129983.8 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1283440.4 KBps (30.0 s, 2 samples) Pipe Throughput 2230993.4 lps (10.0 s, 7 samples) Pipe-based Context Switching 171641.1 lps (10.0 s, 7 samples) Process Creation 7903.2 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 4985.0 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 696.1 lpm (60.1 s, 2 samples) System Call Overhead 2650745.9 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 24642847.7 2111.6 Double-Precision Whetstone 55.0 4045.5 735.5 Execl Throughput 43.0 2766.7 643.4 File Copy 1024 bufsize 2000 maxblocks 3960.0 465562.8 1175.7 File Copy 256 bufsize 500 maxblocks 1655.0 129983.8 785.4 File Copy 4096 bufsize 8000 maxblocks 5800.0 1283440.4 2212.8 Pipe Throughput 12440.0 2230993.4 1793.4 Pipe-based Context Switching 4000.0 171641.1 429.1 Process Creation 126.0 7903.2 627.2 Shell Scripts (1 concurrent) 42.4 4985.0 1175.7 Shell Scripts (8 concurrent) 6.0 696.1 1160.2 System Call Overhead 15000.0 2650745.9 1767.2 ======== System Benchmarks Index Score 1074.8
dd if=/dev/zero of=benchmark bs=64K count=32K conv=fdatasync 32768+0 records in 32768+0 records out 2147483648 bytes (2.1 GB, 2.0 GiB) copied, 15.4573 s, 139 MB/s dd if=/dev/zero of=benchmark bs=1M count=2048 conv=fdatasync 2048+0 records in 2048+0 records out 2147483648 bytes (2.1 GB, 2.0 GiB) copied, 12.5286 s, 171 MB/s
./fio --time_based --name=benchmark --size=256M --runtime=60 --randrepeat=1 --iodepth=32 --invalidate=1 --verify=0 --verify_fatal=0 --numjobs=8 --rw=randread --blocksize=4k --group_reporting benchmark: (g=0): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=32 ... fio-2.8 Starting 8 processes benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: (groupid=0, jobs=8): err= 0: pid=19790: Sat May 13 07:31:28 2017 read : io=13271MB, bw=226484KB/s, iops=56620, runt= 60001msec clat (usec): min=2, max=16900, avg=133.53, stdev=207.30 lat (usec): min=2, max=16901, avg=134.33, stdev=207.74 clat percentiles (usec): | 1.00th=[ 3], 5.00th=[ 3], 10.00th=[ 3], 20.00th=[ 4], | 30.00th=[ 4], 40.00th=[ 8], 50.00th=[ 133], 60.00th=[ 165], | 70.00th=[ 197], 80.00th=[ 231], 90.00th=[ 302], 95.00th=[ 370], | 99.00th=[ 548], 99.50th=[ 644], 99.90th=[ 1176], 99.95th=[ 4384], | 99.99th=[ 7328] bw (KB /s): min=14520, max=61496, per=12.48%, avg=28270.78, stdev=9830.01 lat (usec) : 4=18.70%, 10=21.47%, 20=2.66%, 50=1.51%, 100=0.60% lat (usec) : 250=39.00%, 500=14.50%, 750=1.29%, 1000=0.14% lat (msec) : 2=0.05%, 4=0.02%, 10=0.05%, 20=0.01% cpu : usr=6.41%, sys=16.95%, ctx=1897733, majf=2, minf=95 IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0% submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% issued : total=r=3397310/w=0/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0 latency : target=0, window=0, percentile=100.00%, depth=32 Run status group 0 (all jobs): READ: io=13271MB, aggrb=226483KB/s, minb=226483KB/s, maxb=226483KB/s, mint=60001msec, maxt=60001msec Disk stats (read/write): vda: ios=1877808/18, merge=0/19, ticks=183460/10, in_queue=182500, util=98.99%
./fio --time_based --name=benchmark --size=256M --runtime=60 --randrepeat=1 --iodepth=32 --direct=1 --invalidate=1 --verify=0 --verify_fatal=0 --numjobs=8 --rw=randread --blocksize=4k --group_reporting benchmark: (g=0): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=32 ... fio-2.8 Starting 8 processes benchmark: (groupid=0, jobs=8): err= 0: pid=19800: Sat May 13 07:32:28 2017 read : io=8905.2MB, bw=151976KB/s, iops=37994, runt= 60001msec clat (usec): min=59, max=22900, avg=199.83, stdev=96.38 lat (usec): min=60, max=22902, avg=200.95, stdev=96.55 clat percentiles (usec): | 1.00th=[ 102], 5.00th=[ 120], 10.00th=[ 129], 20.00th=[ 147], | 30.00th=[ 163], 40.00th=[ 179], 50.00th=[ 195], 60.00th=[ 205], | 70.00th=[ 213], 80.00th=[ 229], 90.00th=[ 274], 95.00th=[ 314], | 99.00th=[ 442], 99.50th=[ 506], 99.90th=[ 740], 99.95th=[ 1096], | 99.99th=[ 4016] bw (KB /s): min= 48, max=22640, per=12.50%, avg=18996.57, stdev=1252.78 lat (usec) : 100=0.69%, 250=85.07%, 500=13.72%, 750=0.43%, 1000=0.04% lat (msec) : 2=0.03%, 4=0.01%, 10=0.01%, 20=0.01%, 50=0.01% cpu : usr=5.41%, sys=17.90%, ctx=2297869, majf=0, minf=80 IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0% submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% issued : total=r=2279685/w=0/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0 latency : target=0, window=0, percentile=100.00%, depth=32 Run status group 0 (all jobs): READ: io=8905.2MB, aggrb=151976KB/s, minb=151976KB/s, maxb=151976KB/s, mint=60001msec, maxt=60001msec Disk stats (read/write): vda: ios=2276432/14, merge=0/7, ticks=220230/0, in_queue=219360, util=99.57%
./fio --time_based --name=benchmark --size=256M --runtime=60 --filename=benchmark --randrepeat=1 --iodepth=32 --invalidate=1 --verify=0 --verify_fatal=0 --numjobs=8 --rw=randwrite --blocksize=4k --group_reporting benchmark: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=32 ... fio-2.8 Starting 8 processes benchmark: (groupid=0, jobs=8): err= 0: pid=19820: Sat May 13 07:34:30 2017 write: io=29443MB, bw=499752KB/s, iops=124937, runt= 60329msec clat (usec): min=4, max=920134, avg=54.18, stdev=2672.26 lat (usec): min=4, max=920136, avg=55.47, stdev=2678.59 clat percentiles (usec): | 1.00th=[ 5], 5.00th=[ 5], 10.00th=[ 6], 20.00th=[ 6], | 30.00th=[ 6], 40.00th=[ 6], 50.00th=[ 7], 60.00th=[ 7], | 70.00th=[ 7], 80.00th=[ 7], 90.00th=[ 8], 95.00th=[ 9], | 99.00th=[ 25], 99.50th=[ 66], 99.90th=[19840], 99.95th=[30080], | 99.99th=[41728] bw (KB /s): min= 4, max=146907, per=13.11%, avg=65524.23, stdev=21239.16 lat (usec) : 10=96.65%, 20=2.27%, 50=0.46%, 100=0.22%, 250=0.15% lat (usec) : 500=0.03%, 750=0.01%, 1000=0.01% lat (msec) : 2=0.01%, 4=0.01%, 10=0.03%, 20=0.05%, 50=0.09% lat (msec) : 100=0.01%, 500=0.01%, 750=0.01%, 1000=0.01% cpu : usr=7.22%, sys=11.87%, ctx=37031, majf=0, minf=92 IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0% submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% issued : total=r=0/w=7537383/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0 latency : target=0, window=0, percentile=100.00%, depth=32 Run status group 0 (all jobs): WRITE: io=29443MB, aggrb=499751KB/s, minb=499751KB/s, maxb=499751KB/s, mint=60329msec, maxt=60329msec Disk stats (read/write): vda: ios=0/297426, merge=0/859, ticks=0/2926170, in_queue=3031090, util=55.88%
./fio --time_based --name=benchmark --size=256M --runtime=60 --filename=benchmark --randrepeat=1 --iodepth=32 --direct=1 --invalidate=1 --verify=0 --verify_fatal=0 --numjobs=8 --rw=randwrite --blocksize=4k --group_reporting benchmark: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=32 ... fio-2.8 Starting 8 processes benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: (groupid=0, jobs=8): err= 0: pid=19810: Sat May 13 07:33:29 2017 write: io=1155.9MB, bw=19641KB/s, iops=4910, runt= 60262msec clat (usec): min=107, max=581560, avg=1621.07, stdev=7309.14 lat (usec): min=108, max=581561, avg=1621.93, stdev=7309.17 clat percentiles (usec): | 1.00th=[ 116], 5.00th=[ 131], 10.00th=[ 145], 20.00th=[ 163], | 30.00th=[ 187], 40.00th=[ 1288], 50.00th=[ 1576], 60.00th=[ 1720], | 70.00th=[ 1864], 80.00th=[ 2096], 90.00th=[ 2576], 95.00th=[ 3536], | 99.00th=[ 8384], 99.50th=[10304], 99.90th=[33536], 99.95th=[54016], | 99.99th=[403456] bw (KB /s): min= 63, max= 5812, per=12.70%, avg=2493.47, stdev=1159.67 lat (usec) : 250=37.37%, 500=1.66%, 750=0.22%, 1000=0.07% lat (msec) : 2=37.41%, 4=19.19%, 10=3.53%, 20=0.32%, 50=0.18% lat (msec) : 100=0.02%, 250=0.01%, 500=0.02%, 750=0.01% cpu : usr=0.70%, sys=2.94%, ctx=672646, majf=0, minf=82 IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0% submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% issued : total=r=0/w=295895/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0 latency : target=0, window=0, percentile=100.00%, depth=32 Run status group 0 (all jobs): WRITE: io=1155.9MB, aggrb=19640KB/s, minb=19640KB/s, maxb=19640KB/s, mint=60262msec, maxt=60262msec Disk stats (read/write): vda: ios=22/295962, merge=0/2164, ticks=0/49280, in_queue=49720, util=75.29%