Cara Melakukan Benchmark VPS Linux

Skrip Bench.sh adalah alat yang sederhana namun sangat berguna untuk mengevaluasi performa VPS Linux Anda.
Cara Melakukan Benchmark VPS Linux dengan Bench.sh

Apa Itu Bench.sh?

Bench.sh adalah skrip shell sederhana yang dirancang untuk mengukur performa VPS Anda dengan memberikan hasil mengenai:

  • Informasi sistem (CPU, RAM, sistem operasi)
  • Kecepatan jaringan
  • Kecepatan disk I/O

Cara Benchmark

Salah satu alat yang bisa digunakan untuk benchmarking adalah Bench.sh. Berikut adalah panduan untuk melakukan benchmark VPS Linux menggunakan skrip Bench.sh.

  1. Sebelum memulai, pastikan server VPS Anda telah memiliki akses root dan sudah terinstal wget.
    sudo apt update && sudo apt install wget -y
  2. Jalankan perintah berikut untuk mengunduh dan menjalankan skrip Bench.sh.
    wget -qO- bench.sh | bash
  3. Setelah selesai, hasil benchmark akan ditampilkan dalam format seperti ini.
    -------------------- A Bench.sh Script By Teddysun -------------------
     Version            : v2024-11-11
     Usage              : wget -qO- bench.sh | bash
    ----------------------------------------------------------------------
     CPU Model          : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
     CPU Cores          : 4 @ 2097.573 MHz
     CPU Cache          : 20480 KB
     AES-NI             : ✓ Enabled
     VM-x/AMD-V         : ✗ Disabled
     Total Disk         : 507.2 GB (8.6 GB Used)
     Total Mem          : 7.8 GB (470.8 MB Used)
     Total Swap         : 20.0 GB (0 Used)
     System uptime      : 0 days, 1 hour 2 min
     Load average       : 1.15, 0.70, 0.41
     OS                 : Ubuntu 20.04.6 LTS
     Arch               : x86_64 (64 Bit)
     Kernel             : 5.4.0-100-generic
     TCP CC             : cubic
     Virtualization     : Dedicated
     IPv4/IPv6          : ✓ Online / ✗ Offline
     Organization       : AS147131 PT Global Sarana Elektronika
     Location           : Pamanukan / ID
     Region             : West Java
    ----------------------------------------------------------------------
     I/O Speed(1st run) : 262 MB/s
     I/O Speed(2nd run) : 1.0 GB/s
     I/O Speed(3rd run) : 1.0 GB/s
     I/O Speed(average) : 770.0 MB/s
    ----------------------------------------------------------------------
     Node Name        Upload Speed      Download Speed      Latency     
     Speedtest.net    93.41 Mbps        93.32 Mbps          3.14 ms     
     Los Angeles, US  28.70 Mbps        2.90 Mbps           278.86 ms   
     Dallas, US       28.21 Mbps        2.41 Mbps           243.48 ms   
     Montreal, CA     44.21 Mbps        2.00 Mbps           243.64 ms   
     Paris, FR        68.73 Mbps        100.72 Mbps         179.29 ms   
     Amsterdam, NL    58.77 Mbps        8.00 Mbps           171.00 ms   
     Beijing, CN      20.14 Mbps        89.20 Mbps          238.04 ms   
     Hong Kong, CN    92.21 Mbps        69.94 Mbps          45.44 ms    
     Singapore, SG    93.97 Mbps        95.00 Mbps          15.61 ms    
     Tokyo, JP        66.81 Mbps        99.35 Mbps          94.24 ms    
    ----------------------------------------------------------------------
     Finished in        : 4 min 46 sec
     Timestamp          : 2024-12-12 00:17:07 WIB
    ----------------------------------------------------------------------

Dengan informasi yang diperoleh, Anda dapat memastikan apakah server Anda mampu menangani beban kerja yang diharapkan atau jika diperlukan peningkatan sumber daya.

Posting Komentar