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 "/root/serverscope-fBWga8/byte-unixbench/UnixBench" make distr make[2]: Entering directory "/root/serverscope-fBWga8/byte-unixbench/UnixBench" Checking distribution of files ./pgms exists ./src exists ./testdir exists make[2]: Leaving directory "/root/serverscope-fBWga8/byte-unixbench/UnixBench" make programs make[2]: Entering directory "/root/serverscope-fBWga8/byte-unixbench/UnixBench" make[2]: Nothing to be done for "programs". make[2]: Leaving directory "/root/serverscope-fBWga8/byte-unixbench/UnixBench" make[1]: Leaving directory "/root/serverscope-fBWga8/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 4 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 4 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 4 x Execl Throughput 1 2 3 4 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 4 x File Copy 256 bufsize 500 maxblocks 1 2 3 4 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 4 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 4 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 4 x Process Creation 1 2 3 4 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 4 x Shell Scripts (1 concurrent) 1 2 3 4 x Shell Scripts (8 concurrent) 1 2 3 ======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: serverscope: GNU/Linux OS: GNU/Linux -- 4.4.0-21-generic -- #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 Machine: x86_64 (x86_64) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz (7584.0 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 1: Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz (7584.0 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 2: Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz (7584.0 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 3: Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz (7584.0 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET 22:18:35 up 10 min, 1 user, load average: 7.87, 4.51, 1.90; runlevel 2017-04-26 ------------------------------------------------------------------------ Benchmark Run: Wed Apr 26 2017 22:18:35 - 22:47:18 4 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 46623518.8 lps (10.0 s, 7 samples) Double-Precision Whetstone 3941.4 MWIPS (14.1 s, 7 samples) Execl Throughput 6207.9 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 1584458.5 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 422341.6 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 3697190.8 KBps (30.0 s, 2 samples) Pipe Throughput 2746265.5 lps (10.0 s, 7 samples) Pipe-based Context Switching 351452.7 lps (10.0 s, 7 samples) Process Creation 17977.9 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 16907.6 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 5064.5 lpm (60.0 s, 2 samples) System Call Overhead 4817885.7 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 46623518.8 3995.2 Double-Precision Whetstone 55.0 3941.4 716.6 Execl Throughput 43.0 6207.9 1443.7 File Copy 1024 bufsize 2000 maxblocks 3960.0 1584458.5 4001.2 File Copy 256 bufsize 500 maxblocks 1655.0 422341.6 2551.9 File Copy 4096 bufsize 8000 maxblocks 5800.0 3697190.8 6374.5 Pipe Throughput 12440.0 2746265.5 2207.6 Pipe-based Context Switching 4000.0 351452.7 878.6 Process Creation 126.0 17977.9 1426.8 Shell Scripts (1 concurrent) 42.4 16907.6 3987.6 Shell Scripts (8 concurrent) 6.0 5064.5 8440.8 System Call Overhead 15000.0 4817885.7 3211.9 ======== System Benchmarks Index Score 2563.4 ------------------------------------------------------------------------ Benchmark Run: Wed Apr 26 2017 22:47:18 - 23:16:04 4 CPUs in system; running 4 parallel copies of tests Dhrystone 2 using register variables 185613718.4 lps (10.0 s, 7 samples) Double-Precision Whetstone 15639.2 MWIPS (14.3 s, 7 samples) Execl Throughput 27906.8 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 1704069.5 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 452210.4 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 5473419.4 KBps (30.0 s, 2 samples) Pipe Throughput 10974155.1 lps (10.0 s, 7 samples) Pipe-based Context Switching 1318852.1 lps (10.0 s, 7 samples) Process Creation 66627.8 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 54525.5 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 6864.6 lpm (60.0 s, 2 samples) System Call Overhead 12547497.6 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 185613718.4 15905.2 Double-Precision Whetstone 55.0 15639.2 2843.5 Execl Throughput 43.0 27906.8 6489.9 File Copy 1024 bufsize 2000 maxblocks 3960.0 1704069.5 4303.2 File Copy 256 bufsize 500 maxblocks 1655.0 452210.4 2732.4 File Copy 4096 bufsize 8000 maxblocks 5800.0 5473419.4 9436.9 Pipe Throughput 12440.0 10974155.1 8821.7 Pipe-based Context Switching 4000.0 1318852.1 3297.1 Process Creation 126.0 66627.8 5287.9 Shell Scripts (1 concurrent) 42.4 54525.5 12859.8 Shell Scripts (8 concurrent) 6.0 6864.6 11441.0 System Call Overhead 15000.0 12547497.6 8365.0 ======== System Benchmarks Index Score 6543.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, 3.6087 s, 595 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, 3.48454 s, 616 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=26406: Wed Apr 26 22:15:33 2017 read : io=614325MB, bw=10239MB/s, iops=2621.8K, runt= 60001msec clat (usec): min=0, max=20015, avg= 1.93, stdev=89.65 lat (usec): min=0, max=20020, avg= 2.11, stdev=95.15 clat percentiles (usec): | 1.00th=[ 0], 5.00th=[ 0], 10.00th=[ 0], 20.00th=[ 0], | 30.00th=[ 1], 40.00th=[ 1], 50.00th=[ 1], 60.00th=[ 1], | 70.00th=[ 1], 80.00th=[ 1], 90.00th=[ 1], 95.00th=[ 1], | 99.00th=[ 1], 99.50th=[ 2], 99.90th=[ 157], 99.95th=[ 187], | 99.99th=[ 358] bw (MB /s): min= 21, max= 2908, per=12.49%, avg=1278.91, stdev=557.47 lat (usec) : 2=99.08%, 4=0.51%, 10=0.07%, 20=0.01%, 50=0.01% lat (usec) : 100=0.04%, 250=0.28%, 500=0.01%, 750=0.01%, 1000=0.01% lat (msec) : 2=0.01%, 4=0.01%, 10=0.01%, 20=0.01%, 50=0.01% cpu : usr=12.43%, sys=30.56%, ctx=579181, 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=157267192/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=614325MB, aggrb=10239MB/s, minb=10239MB/s, maxb=10239MB/s, mint=60001msec, maxt=60001msec Disk stats (read/write): vda: ios=524288/150, merge=0/773, ticks=72360/260, in_queue=72560, util=18.68%
./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=26416: Wed Apr 26 22:16:33 2017 read : io=12832MB, bw=218996KB/s, iops=54749, runt= 60001msec clat (usec): min=49, max=556969, avg=144.66, stdev=1291.66 lat (usec): min=49, max=556969, avg=144.82, stdev=1291.66 clat percentiles (usec): | 1.00th=[ 93], 5.00th=[ 98], 10.00th=[ 101], 20.00th=[ 108], | 30.00th=[ 116], 40.00th=[ 122], 50.00th=[ 127], 60.00th=[ 135], | 70.00th=[ 149], 80.00th=[ 165], 90.00th=[ 191], 95.00th=[ 219], | 99.00th=[ 290], 99.50th=[ 326], 99.90th=[ 1064], 99.95th=[ 1240], | 99.99th=[ 2928] bw (KB /s): min= 7, max=30752, per=12.56%, avg=27499.57, stdev=3932.75 lat (usec) : 50=0.01%, 100=7.26%, 250=90.39%, 500=2.16%, 750=0.03% lat (usec) : 1000=0.02% lat (msec) : 2=0.11%, 4=0.02%, 10=0.01%, 20=0.01%, 50=0.01% lat (msec) : 500=0.01%, 750=0.01% cpu : usr=1.23%, sys=4.47%, ctx=3287446, majf=0, minf=83 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=3284999/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=12832MB, aggrb=218996KB/s, minb=218996KB/s, maxb=218996KB/s, mint=60001msec, maxt=60001msec Disk stats (read/write): vda: ios=3279734/0, merge=0/0, ticks=450012/0, in_queue=450600, util=99.95%
./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=26439: Wed Apr 26 22:18:34 2017 write: io=248720MB, bw=4145.3MB/s, iops=1061.2K, runt= 60001msec clat (usec): min=0, max=55998, avg= 6.77, stdev=274.80 lat (usec): min=0, max=55999, avg= 6.90, stdev=275.78 clat percentiles (usec): | 1.00th=[ 1], 5.00th=[ 1], 10.00th=[ 1], 20.00th=[ 1], | 30.00th=[ 1], 40.00th=[ 2], 50.00th=[ 2], 60.00th=[ 3], | 70.00th=[ 3], 80.00th=[ 3], 90.00th=[ 4], 95.00th=[ 4], | 99.00th=[ 5], 99.50th=[ 7], 99.90th=[ 18], 99.95th=[ 28], | 99.99th=[16064] bw (KB /s): min=113087, max=779960, per=12.51%, avg=530829.43, stdev=61476.35 lat (usec) : 2=31.40%, 4=56.68%, 10=11.58%, 20=0.27%, 50=0.03% lat (usec) : 100=0.01%, 250=0.01%, 500=0.01%, 750=0.01%, 1000=0.01% lat (msec) : 2=0.01%, 4=0.01%, 10=0.01%, 20=0.02%, 50=0.01% lat (msec) : 100=0.01% cpu : usr=5.63%, sys=32.85%, ctx=364213, majf=0, minf=90 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=63672203/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=248720MB, aggrb=4145.3MB/s, minb=4145.3MB/s, maxb=4145.3MB/s, mint=60001msec, maxt=60001msec Disk stats (read/write): vda: ios=0/14439, merge=0/35, ticks=0/597952, in_queue=597952, util=8.23%
./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=26426: Wed Apr 26 22:17:33 2017 write: io=6485.2MB, bw=110678KB/s, iops=27669, runt= 60001msec clat (usec): min=26, max=251275, avg=288.01, stdev=4792.94 lat (usec): min=26, max=251276, avg=288.24, stdev=4792.94 clat percentiles (usec): | 1.00th=[ 29], 5.00th=[ 30], 10.00th=[ 31], 20.00th=[ 31], | 30.00th=[ 32], 40.00th=[ 32], 50.00th=[ 33], 60.00th=[ 34], | 70.00th=[ 35], 80.00th=[ 36], 90.00th=[ 41], 95.00th=[ 45], | 99.00th=[ 153], 99.50th=[ 8512], 99.90th=[79360], 99.95th=[142336], | 99.99th=[158720] bw (KB /s): min= 21, max=47750, per=12.56%, avg=13903.13, stdev=7406.57 lat (usec) : 50=96.92%, 100=1.77%, 250=0.45%, 500=0.02%, 750=0.02% lat (usec) : 1000=0.02% lat (msec) : 2=0.06%, 4=0.09%, 10=0.20%, 20=0.17%, 50=0.12% lat (msec) : 100=0.07%, 250=0.09%, 500=0.01% cpu : usr=0.50%, sys=2.01%, ctx=3326688, 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=1660201/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=6485.2MB, aggrb=110678KB/s, minb=110678KB/s, maxb=110678KB/s, mint=60001msec, maxt=60001msec Disk stats (read/write): vda: ios=2/1657989, merge=0/880, ticks=0/49440, in_queue=49332, util=82.22%