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-y0DSGH/byte-unixbench/UnixBench" make distr make[2]: Entering directory "/root/serverscope-y0DSGH/byte-unixbench/UnixBench" Checking distribution of files ./pgms exists ./src exists ./testdir exists make[2]: Leaving directory "/root/serverscope-y0DSGH/byte-unixbench/UnixBench" make programs make[2]: Entering directory "/root/serverscope-y0DSGH/byte-unixbench/UnixBench" make[2]: Nothing to be done for "programs". make[2]: Leaving directory "/root/serverscope-y0DSGH/byte-unixbench/UnixBench" make[1]: Leaving directory "/root/serverscope-y0DSGH/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 ======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: localhost: GNU/Linux OS: GNU/Linux -- 4.9.36-x86_64-linode85 -- #1 SMP Thu Jul 6 15:31:23 UTC 2017 Machine: x86_64 (x86_64) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz (4601.6 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET 09:46:27 up 7 min, 0 users, load average: 8.88, 4.93, 2.06; runlevel 2017-09-16 ------------------------------------------------------------------------ Benchmark Run: Sat Sep 16 2017 09:46:27 - 10:14:40 1 CPU in system; running 1 parallel copy of tests Dhrystone 2 using register variables 23186960.4 lps (10.0 s, 7 samples) Double-Precision Whetstone 3038.8 MWIPS (9.9 s, 7 samples) Execl Throughput 3701.1 lps (29.8 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 785747.7 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 245734.3 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1196058.2 KBps (30.0 s, 2 samples) Pipe Throughput 1991005.0 lps (10.0 s, 7 samples) Pipe-based Context Switching 240463.4 lps (10.0 s, 7 samples) Process Creation 9332.1 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 6148.9 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 769.7 lpm (60.1 s, 2 samples) System Call Overhead 2961945.4 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 23186960.4 1986.9 Double-Precision Whetstone 55.0 3038.8 552.5 Execl Throughput 43.0 3701.1 860.7 File Copy 1024 bufsize 2000 maxblocks 3960.0 785747.7 1984.2 File Copy 256 bufsize 500 maxblocks 1655.0 245734.3 1484.8 File Copy 4096 bufsize 8000 maxblocks 5800.0 1196058.2 2062.2 Pipe Throughput 12440.0 1991005.0 1600.5 Pipe-based Context Switching 4000.0 240463.4 601.2 Process Creation 126.0 9332.1 740.6 Shell Scripts (1 concurrent) 42.4 6148.9 1450.2 Shell Scripts (8 concurrent) 6.0 769.7 1282.8 System Call Overhead 15000.0 2961945.4 1974.6 ======== System Benchmarks Index Score 1253.4
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, 4.03948 s, 532 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, 4.90181 s, 438 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=18422: Sat Sep 16 09:43:22 2017 read : io=4225.2MB, bw=72104KB/s, iops=18025, runt= 60004msec clat (usec): min=1, max=310955, avg=405.81, stdev=949.80 lat (usec): min=1, max=310955, avg=409.71, stdev=954.03 clat percentiles (usec): | 1.00th=[ 3], 5.00th=[ 112], 10.00th=[ 133], 20.00th=[ 159], | 30.00th=[ 181], 40.00th=[ 209], 50.00th=[ 245], 60.00th=[ 290], | 70.00th=[ 354], 80.00th=[ 470], 90.00th=[ 812], 95.00th=[ 1272], | 99.00th=[ 2672], 99.50th=[ 3376], 99.90th=[ 5216], 99.95th=[ 6240], | 99.99th=[14400] bw (KB /s): min= 2696, max=18653, per=12.50%, avg=9009.57, stdev=1721.84 lat (usec) : 2=0.01%, 4=2.21%, 10=0.88%, 20=0.06%, 50=0.01% lat (usec) : 100=0.58%, 250=47.58%, 500=30.33%, 750=7.31%, 1000=3.65% lat (msec) : 2=5.33%, 4=1.79%, 10=0.26%, 20=0.01%, 50=0.01% lat (msec) : 100=0.01%, 250=0.01%, 500=0.01% cpu : usr=0.92%, sys=9.21%, ctx=1169926, 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=1081629/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=4225.2MB, aggrb=72103KB/s, minb=72103KB/s, maxb=72103KB/s, mint=60004msec, maxt=60004msec Disk stats (read/write): sda: ios=1041745/9, merge=0/4, ticks=193326/18970, in_queue=211526, util=89.36%
./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=18433: Sat Sep 16 09:44:22 2017 read : io=4537.6MB, bw=77438KB/s, iops=19359, runt= 60002msec clat (usec): min=54, max=103967, avg=375.43, stdev=901.14 lat (usec): min=54, max=103967, avg=379.26, stdev=905.99 clat percentiles (usec): | 1.00th=[ 98], 5.00th=[ 119], 10.00th=[ 133], 20.00th=[ 155], | 30.00th=[ 175], 40.00th=[ 201], 50.00th=[ 235], 60.00th=[ 278], | 70.00th=[ 330], 80.00th=[ 426], 90.00th=[ 692], 95.00th=[ 1096], | 99.00th=[ 2416], 99.50th=[ 3152], 99.90th=[ 4896], 99.95th=[ 5920], | 99.99th=[13632] bw (KB /s): min= 3968, max=22096, per=12.50%, avg=9682.88, stdev=2935.63 lat (usec) : 100=1.17%, 250=52.46%, 500=30.83%, 750=6.57%, 1000=3.12% lat (msec) : 2=4.30%, 4=1.33%, 10=0.21%, 20=0.01%, 50=0.01% lat (msec) : 100=0.01%, 250=0.01% cpu : usr=0.96%, sys=9.12%, ctx=1298910, 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=1161610/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=4537.6MB, aggrb=77438KB/s, minb=77438KB/s, maxb=77438KB/s, mint=60002msec, maxt=60002msec Disk stats (read/write): sda: ios=1160652/8, merge=0/5, ticks=204360/2067, in_queue=205507, util=88.61%
./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=18456: Sat Sep 16 09:46:23 2017 write: io=19510MB, bw=332884KB/s, iops=83221, runt= 60014msec clat (usec): min=0, max=93545, avg=82.57, stdev=1415.02 lat (usec): min=0, max=96517, avg=84.79, stdev=1458.86 clat percentiles (usec): | 1.00th=[ 2], 5.00th=[ 2], 10.00th=[ 2], 20.00th=[ 3], | 30.00th=[ 3], 40.00th=[ 3], 50.00th=[ 3], 60.00th=[ 3], | 70.00th=[ 4], 80.00th=[ 4], 90.00th=[ 4], 95.00th=[ 5], | 99.00th=[ 27], 99.50th=[ 105], 99.90th=[26496], 99.95th=[32128], | 99.99th=[42240] bw (KB /s): min= 7, max=62438, per=12.51%, avg=41627.16, stdev=6742.66 lat (usec) : 2=0.04%, 4=60.76%, 10=37.24%, 20=0.42%, 50=0.72% lat (usec) : 100=0.30%, 250=0.11%, 500=0.01%, 750=0.01%, 1000=0.01% lat (msec) : 2=0.01%, 4=0.02%, 10=0.06%, 20=0.14%, 50=0.18% lat (msec) : 100=0.01% cpu : usr=1.28%, sys=5.26%, ctx=42302, 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=4994432/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=19510MB, aggrb=332884KB/s, minb=332884KB/s, maxb=332884KB/s, mint=60014msec, maxt=60014msec Disk stats (read/write): sda: ios=0/1401412, merge=0/941, ticks=0/2169150, in_queue=2162643, util=91.31%
./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=18443: Sat Sep 16 09:45:23 2017 write: io=1039.9MB, bw=17745KB/s, iops=4436, runt= 60006msec clat (usec): min=68, max=182953, avg=1797.77, stdev=8906.57 lat (usec): min=68, max=182954, avg=1798.37, stdev=8906.66 clat percentiles (usec): | 1.00th=[ 86], 5.00th=[ 96], 10.00th=[ 104], 20.00th=[ 115], | 30.00th=[ 125], 40.00th=[ 137], 50.00th=[ 151], 60.00th=[ 171], | 70.00th=[ 203], 80.00th=[ 249], 90.00th=[ 342], 95.00th=[ 1096], | 99.00th=[52480], 99.50th=[59648], 99.90th=[74240], 99.95th=[80384], | 99.99th=[99840] bw (KB /s): min= 625, max= 4432, per=12.52%, avg=2222.18, stdev=619.07 lat (usec) : 100=7.05%, 250=73.28%, 500=12.90%, 750=1.12%, 1000=0.51% lat (msec) : 2=0.99%, 4=0.78%, 10=0.15%, 20=0.01%, 50=1.95% lat (msec) : 100=1.27%, 250=0.01% cpu : usr=0.39%, sys=1.97%, ctx=541182, 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=0/w=266201/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=1039.9MB, aggrb=17744KB/s, minb=17744KB/s, maxb=17744KB/s, mint=60006msec, maxt=60006msec Disk stats (read/write): sda: ios=83/266028, merge=22/2236, ticks=1994/48607, in_queue=50423, util=72.28%