Adakalanya kita ingin mengetahui detail spesifikasi server serta kemampuan server tersebut. Lantas bagaimana caranya kita mengukur kemampuan server terserbut.
Nah mari disimak Mengukur detail spesifikasi server dengan benchmark.
Menggunakan Nench
Bagaimana cara menjalankan nench.sh? Eksekusi salah satu dari 2 perintah ini:
(curl -s bench.wget.racing | bash; curl -s bench.wget.racing | bash) 2>&1 | tee nench.log
Atau
(wget -qO- bench.wget.racing | bash; wget -qO- bench.wget.racing | bash) 2>&1 | tee nench.log
Nanti akan muncul proses benchmark dan informasi seperti berikut:
-------------------------
nench.sh benchmark
2017-03-26 12:08:20 UTC
-------------------------
Processor: Virtual CPU a7769a6388d5
CPU cores: 1
Frequency: 2394.454 MHz
RAM: 992M
Swap: -
Kernel: Linux 3.10.0-514.10.2.el7.x86_64 x86_64
Disks:
vda 25G HDD
CPU: SHA256-hashing 500 MB
4.194 seconds
CPU: bzip2-compressing 500 MB
5.694 seconds
CPU: AES-encrypting 500 MB
2.083 seconds
ioping: seek rate
min/avg/max/mdev = 174.6 us / 263.9 us / 9.62 ms / 163.2 us
ioping: sequential speed
generated 2.32 k requests in 5.00 s, 580.5 MiB, 464 iops, 116.1 MiB/s
dd test
1st run: 345 MB/s
2nd run: 341 MB/s
3rd run: 335 MB/s
average: 340 MB/s
IPv4 speedtests
your IPv4: 45.32.119.161
Cachefly CDN: 107MB/s
Leaseweb (NL): 7.03MB/s
Softlayer DAL (US): 8.52MB/s
Online.net (FR): 6.11MB/s
OVH BHS (CA): 3.58MB/s
IPv6 speedtests
your IPv6: 2001:19f0:4400:457b:5400:ff:fe5f:4fb0
Leaseweb (NL): 7.02MB/s
Softlayer DAL (US): timeout (< 2MB/s)
Online.net (FR): 4.35MB/s
OVH BHS (CA): timeout (< 2MB/s)
-------------------------
Menggunakan Bench
Anda tinggal mengeksekusi perintah berikut:
wget -qO- bench.sh | bash
Kalau lupa harus mengetikkan apa tinggal buka website bench.sh saja kok, itu ada halamannya yang cuma dicantumkan perintah diatas jadi bukan sekedar nama script shell Linux. 🙂 Cukup sederhana kan?
Nanti hasil pengujiannya akan seperti ini:
CPU model : Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
Number of cores : 1
CPU frequency : 2666.935 MHz
Total amount of ram : 512 MB
Total amount of swap : 64 MB
System uptime : 15days, 3:41:11
----------------------------------------------------------------------
Node Name Node IP address Download Speed
CacheFly 205.234.175.175 76.8MB/s
Linode, Tokyo, JP 106.187.96.148 9.80MB/s
Linode, Singapore, SG 139.162.23.4 11.4MB/s
Linode, London, UK 176.58.107.39 7.84MB/s
Linode, Frankfurt, DE 139.162.130.8 6.19MB/s
Linode, Fremont, CA 50.116.14.9 40.1MB/s
Vultr, Dallas, TX 108.61.224.175 55.9MB/s
Vultr, Seattle, WA 108.61.194.105 50.0MB/s
Vultr, Los Angeles, CA 108.61.219.200 77.0MB/s
Vultr, Frankfurt, DE 108.61.210.117 7.14MB/s
Vultr, Tokyo, JP 108.61.201.151 16.7MB/s
Softlayer, Dallas, TX 173.192.68.18 57.4MB/s
Softlayer, Seattle, WA 67.228.112.250 51.9MB/s
Softlayer, Frankfurt, DE 159.122.69.4 4.76MB/s
Softlayer, Singapore, SG 119.81.28.170 11.6MB/s
Softlayer, HongKong, CN 119.81.130.170 12.4MB/s
----------------------------------------------------------------------
I/O speed : 1073741824 bytes (1.1 GB) copied, 2.06775 s, 519 MB/s
Silahkan dicoba…