wiki:server:testing
Table of Contents
Testing VPS Performance
CPU
CPU information:
cat /proc/cpuinfo
Disk
DD Testing
Without write cache:
dd bs=64k count=4k if=/dev/zero of=test oflag=dsync; rm test
With write cache:
dd bs=64k count=4k if=/dev/zero of=test conv=fdatasync; rm test
HDParm for SSD
HDParm testing does not support OpenVZ containers.
Install hdparm:
apt-get install hdparm
Check df
df -h
Test for device
hdparm -t YOURDEVICE
Replace YOURDEVICE with the disk you want to test.
IOPing Testing
Install IOPing for Disk latency testing:
apt-get install ioping
Without write cache:
ioping -Dc 25 /
With write cache:
ioping -Cc 25 /
Network
Port Speed
Download speed:
wget http://cachefly.cachefly.net/100mb.test;rm 100mb.test
Script
Bench.sh
wget -qO- bench.sh | bash
SuperBench
wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash
SuperSpeed
bash <(curl -Lso- https://git.io/superspeed.sh)
ZBench
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench.sh && bash ZBench.sh
Speedtest.net
wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py chmod +x speedtest-cli ./speedtest-cli --share
LemonBench
Fast Mode
curl -fsSL http://ilemonra.in/LemonBenchIntl | bash -s fast
Or
wget -qO- http://ilemonra.in/LemonBenchIntl | bash -s fast
Full Mode
curl -fsSL http://ilemonra.in/LemonBenchIntl | bash -s full
Or
wget -qO- http://ilemonra.in/LemonBenchIntl | bash -s full
MediaUnlock_Test
bash <(curl -L -s check.unlock.media)
Trace_Test
curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh|bash
or
curl https://cdn.jsdelivr.net/gh/zhucaidan/mtr_trace@main/mtr_trace.sh|bash
Geekbench
curl -sL yabs.sh | bash
or
wget -qO- yabs.sh | bash
UnixBench
wiki/server/testing.txt · Last modified: by maxduke
