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-V4o3zN/byte-unixbench/UnixBench" make distr make[2]: Entering directory "/root/serverscope-V4o3zN/byte-unixbench/UnixBench" Checking distribution of files ./pgms exists ./src exists ./testdir exists make[2]: Leaving directory "/root/serverscope-V4o3zN/byte-unixbench/UnixBench" make programs make[2]: Entering directory "/root/serverscope-V4o3zN/byte-unixbench/UnixBench" make[2]: Nothing to be done for "programs". make[2]: Leaving directory "/root/serverscope-V4o3zN/byte-unixbench/UnixBench" make[1]: Leaving directory "/root/serverscope-V4o3zN/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: ip-172-31-19-174: GNU/Linux OS: GNU/Linux -- 4.4.0-1049-aws -- #58-Ubuntu SMP Fri Jan 12 23:17:09 UTC 2018 Machine: x86_64 (x86_64) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz (4800.1 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET 01:23:50 up 5:11, 1 user, load average: 8.42, 4.93, 2.16; runlevel 2018-03-26 ------------------------------------------------------------------------ Benchmark Run: Tue Mar 27 2018 01:23:50 - 01:52:00 1 CPU in system; running 1 parallel copy of tests Dhrystone 2 using register variables 31682368.4 lps (10.0 s, 7 samples) Double-Precision Whetstone 3369.1 MWIPS (9.9 s, 7 samples) Execl Throughput 4937.3 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 780792.2 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 203492.5 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 2442383.7 KBps (30.0 s, 2 samples) Pipe Throughput 1093742.3 lps (10.0 s, 7 samples) Pipe-based Context Switching 156129.8 lps (10.0 s, 7 samples) Process Creation 13609.5 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 8979.9 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1179.8 lpm (60.0 s, 2 samples) System Call Overhead 840842.4 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 31682368.4 2714.9 Double-Precision Whetstone 55.0 3369.1 612.6 Execl Throughput 43.0 4937.3 1148.2 File Copy 1024 bufsize 2000 maxblocks 3960.0 780792.2 1971.7 File Copy 256 bufsize 500 maxblocks 1655.0 203492.5 1229.6 File Copy 4096 bufsize 8000 maxblocks 5800.0 2442383.7 4211.0 Pipe Throughput 12440.0 1093742.3 879.2 Pipe-based Context Switching 4000.0 156129.8 390.3 Process Creation 126.0 13609.5 1080.1 Shell Scripts (1 concurrent) 42.4 8979.9 2117.9 Shell Scripts (8 concurrent) 6.0 1179.8 1966.3 System Call Overhead 15000.0 840842.4 560.6 ======== System Benchmarks Index Score 1265.5
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, 32.6834 s, 65.7 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, 33.4891 s, 64.1 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=22865: Tue Mar 27 01:20:47 2018 read : io=746448KB, bw=12440KB/s, iops=3110, runt= 60003msec clat (usec): min=207, max=20806, avg=2568.85, stdev=376.42 lat (usec): min=207, max=20806, avg=2569.30, stdev=376.42 clat percentiles (usec): | 1.00th=[ 346], 5.00th=[ 2544], 10.00th=[ 2576], 20.00th=[ 2576], | 30.00th=[ 2608], 40.00th=[ 2608], 50.00th=[ 2608], 60.00th=[ 2608], | 70.00th=[ 2640], 80.00th=[ 2640], 90.00th=[ 2640], 95.00th=[ 2672], | 99.00th=[ 2736], 99.50th=[ 2768], 99.90th=[ 4048], 99.95th=[ 4896], | 99.99th=[16512] bw (KB /s): min= 1477, max= 4638, per=12.51%, avg=1556.49, stdev=279.28 lat (usec) : 250=0.01%, 500=1.97%, 750=0.04%, 1000=0.02% lat (msec) : 2=0.12%, 4=97.74%, 10=0.09%, 20=0.01%, 50=0.01% cpu : usr=0.17%, sys=0.56%, ctx=186954, majf=0, minf=81 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=186612/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=746448KB, aggrb=12440KB/s, minb=12440KB/s, maxb=12440KB/s, mint=60003msec, maxt=60003msec Disk stats (read/write): xvda: ios=185959/54, merge=0/44, ticks=477124/72, in_queue=477176, util=99.89%
./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=22875: Tue Mar 27 01:21:47 2018 read : io=737932KB, bw=12298KB/s, iops=3074, runt= 60002msec clat (usec): min=220, max=18523, avg=2597.42, stdev=266.65 lat (usec): min=220, max=18524, avg=2597.88, stdev=266.65 clat percentiles (usec): | 1.00th=[ 2448], 5.00th=[ 2544], 10.00th=[ 2576], 20.00th=[ 2576], | 30.00th=[ 2608], 40.00th=[ 2608], 50.00th=[ 2608], 60.00th=[ 2608], | 70.00th=[ 2640], 80.00th=[ 2640], 90.00th=[ 2640], 95.00th=[ 2672], | 99.00th=[ 2736], 99.50th=[ 2736], 99.90th=[ 3184], 99.95th=[ 5024], | 99.99th=[12736] bw (KB /s): min= 1495, max= 2408, per=12.51%, avg=1538.32, stdev=75.58 lat (usec) : 250=0.01%, 500=0.69%, 750=0.04%, 1000=0.01% lat (msec) : 2=0.07%, 4=99.11%, 10=0.05%, 20=0.02% cpu : usr=0.15%, sys=0.52%, ctx=184790, majf=0, minf=81 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=184483/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=737932KB, aggrb=12298KB/s, minb=12298KB/s, maxb=12298KB/s, mint=60002msec, maxt=60002msec Disk stats (read/write): xvda: ios=184206/0, merge=0/0, ticks=478152/0, in_queue=478164, util=99.84%
./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=22895: Tue Mar 27 01:23:48 2018 write: io=5314.4MB, bw=90689KB/s, iops=22672, runt= 60006msec clat (usec): min=1, max=650190, avg=334.97, stdev=8372.57 lat (usec): min=1, max=650190, avg=336.55, stdev=8380.17 clat percentiles (usec): | 1.00th=[ 1], 5.00th=[ 2], 10.00th=[ 2], 20.00th=[ 2], | 30.00th=[ 2], 40.00th=[ 2], 50.00th=[ 2], 60.00th=[ 2], | 70.00th=[ 2], 80.00th=[ 3], 90.00th=[ 3], 95.00th=[ 3], | 99.00th=[ 12], 99.50th=[ 1320], 99.90th=[187392], 99.95th=[216064], | 99.99th=[403456] bw (KB /s): min= 0, max=53625, per=13.14%, avg=11914.33, stdev=5574.73 lat (usec) : 2=1.54%, 4=94.07%, 10=3.28%, 20=0.41%, 50=0.14% lat (usec) : 100=0.03%, 250=0.01%, 500=0.01%, 750=0.01%, 1000=0.01% lat (msec) : 2=0.04%, 4=0.06%, 10=0.12%, 20=0.07%, 50=0.07% lat (msec) : 100=0.04%, 250=0.09%, 500=0.02%, 750=0.01% cpu : usr=0.39%, sys=0.93%, ctx=24630, 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=1360464/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=5314.4MB, aggrb=90688KB/s, minb=90688KB/s, maxb=90688KB/s, mint=60006msec, maxt=60006msec Disk stats (read/write): xvda: ios=17/279933, merge=0/10598, ticks=72/1485692, in_queue=1485856, util=99.75%
./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=22885: Tue Mar 27 01:22:47 2018 write: io=395088KB, bw=6584.2KB/s, iops=1646, runt= 60006msec clat (usec): min=477, max=367034, avg=4855.98, stdev=31135.79 lat (usec): min=478, max=367035, avg=4856.54, stdev=31135.80 clat percentiles (usec): | 1.00th=[ 516], 5.00th=[ 532], 10.00th=[ 540], 20.00th=[ 556], | 30.00th=[ 564], 40.00th=[ 572], 50.00th=[ 580], 60.00th=[ 596], | 70.00th=[ 604], 80.00th=[ 620], 90.00th=[ 652], 95.00th=[ 724], | 99.00th=[228352], 99.50th=[240640], 99.90th=[261120], 99.95th=[268288], | 99.99th=[325632] bw (KB /s): min= 12, max= 1724, per=12.49%, avg=822.20, stdev=408.24 lat (usec) : 500=0.19%, 750=95.36%, 1000=1.48% lat (msec) : 2=0.82%, 4=0.27%, 10=0.03%, 20=0.01%, 50=0.01% lat (msec) : 100=0.01%, 250=1.58%, 500=0.26% cpu : usr=0.09%, sys=0.40%, ctx=199501, majf=0, minf=81 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=98772/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=395088KB, aggrb=6584KB/s, minb=6584KB/s, maxb=6584KB/s, mint=60006msec, maxt=60006msec Disk stats (read/write): xvda: ios=0/98683, merge=0/404, ticks=0/59168, in_queue=59160, util=98.56%
Downloaded 104857600 bytes in 3.862 sec Downloaded 104857600 bytes in 11.900 sec Downloaded 104857600 bytes in 11.847 sec Downloaded 104857600 bytes in 11.944 sec Downloaded 104857600 bytes in 11.853 sec Finished! Average download speed is 77.81 Mbit/s
Retrieving speedtest.net configuration... Retrieving speedtest.net server list... Testing from Amazon ... Selecting 15 servers that are not too close: 1. PT Telekomunikasi Indonesia (Batam) [30.88 km]: 132.205 ms 2. PT. Telekomunikasi Indonesia (Pekanbaru) [280.50 km]: 156.714 ms 3. WANXP (Pekanbaru) [280.50 km]: 164.18 ms 4. Dashnet (Pekanbaru) [280.50 km]: 49.19 ms 5. Hutchison 3 Indonesia - PKU (Pekanbaru) [281.63 km]: 96.156 ms 6. Celcom Axiata (Kuantan) [286.55 km]: 8.928 ms 7. UNIVERSITI TENAGA NASIONAL (Putrajaya) [300.93 km]: 15.766 ms 8. IP Core Sdn Bhd (Cyberjaya) [304.19 km]: 16.519 ms 9. NTT Arcnet (Cyberjaya) [304.35 km]: 18.578 ms 10. MYREN (Cyberjaya) [304.35 km]: 12.375 ms 11. Global Forway Sdn Bhd (Cyberjaya) [304.35 km]: 21.506 ms 12. IX Telecom (Cyberjaya) [304.35 km]: 52.448 ms 13. Setia Haruman Technology (Cyberjaya) [304.35 km]: 18.472 ms 14. REDtone Telecommunications Sdn Bhd (Puchong) [314.15 km]: 61.637 ms 15. Digi (Petaling Jaya) [315.74 km]: 14.765 ms Testing upload speeds 1. PT Telekomunikasi Indonesia (Batam): ......................... 486.51 Mbit/s 2. PT. Telekomunikasi Indonesia (Pekanbaru): ......................... 134.33 Mbit/s 3. WANXP (Pekanbaru): ......................... 73.63 Mbit/s 4. Dashnet (Pekanbaru): ......................... 31.36 Mbit/s 5. Hutchison 3 Indonesia - PKU (Pekanbaru): ......................... 149.08 Mbit/s 6. Celcom Axiata (Kuantan): ......................... 437.22 Mbit/s 7. UNIVERSITI TENAGA NASIONAL (Putrajaya): ......................... 158.76 Mbit/s 8. IP Core Sdn Bhd (Cyberjaya): ......................... 212.89 Mbit/s 9. NTT Arcnet (Cyberjaya): ......................... 145.59 Mbit/s 10. MYREN (Cyberjaya): ......................... 259.91 Mbit/s 11. Global Forway Sdn Bhd (Cyberjaya): ......................... 252.58 Mbit/s 12. IX Telecom (Cyberjaya): ......................... 0.00 Mbit/s 13. Setia Haruman Technology (Cyberjaya): ......................... 217.11 Mbit/s 14. REDtone Telecommunications Sdn Bhd (Puchong):......................... 108.93 Mbit/s 15. Digi (Petaling Jaya): ......................... 280.71 Mbit/s Average upload speed is 196.57 Mbit/s