脚本一:bench.sh
官方介绍:一键测试脚本bench.sh | 秋水逸冰 (teddysun.com)
使用方法
wget -qO- bench.sh | bash
或者
curl -Lso- bench.sh | bash
输出结果示例
-------------------- A Bench.sh Script By Teddysun -------------------
Version : v2022-06-01
Usage : wget -qO- bench.sh | bash
----------------------------------------------------------------------
CPU Model : Intel Core Processor (Haswell, no TSX)
CPU Cores : 1 @ 2593.992 MHz
CPU Cache : 16384 KB
AES-NI : Enabled
VM-x/AMD-V : Enabled
Total Disk : 19.3 GB (4.0 GB Used)
Total Mem : 1.9 GB (197.1 MB Used)
Total Swap : 2.0 GB (0 Used)
System uptime : 0 days, 0 hour 5 min
Load average : 0.35, 0.30, 0.17
OS : Ubuntu 22.04.1 LTS
Arch : x86_64 (64 Bit)
Kernel : 5.15.0-56-generic
TCP CC : bbr
Virtualization : KVM
Organization : AS16276 OVH SAS
Location : Washington / US
Region : Washington, D.C.
----------------------------------------------------------------------
I/O Speed(1st run) : 624 MB/s
I/O Speed(2nd run) : 950 MB/s
I/O Speed(3rd run) : 1.0 GB/s
I/O Speed(average) : 866.0 MB/s
----------------------------------------------------------------------
Node Name Upload Speed Download Speed Latency
Speedtest.net 98.04 Mbps 97.91 Mbps 0.77 ms
Los Angeles, US 97.92 Mbps 97.93 Mbps 26.14 ms
Dallas, US 99.54 Mbps 99.31 Mbps 58.44 ms
Montreal, CA 100.30 Mbps 99.69 Mbps 66.86 ms
Paris, FR 97.64 Mbps 99.97 Mbps 159.14 ms
Amsterdam, NL 97.66 Mbps 99.88 Mbps 152.95 ms
Shanghai, CN 48.25 Mbps 21.57 Mbps 278.63 ms
Nanjing, CN 98.76 Mbps 99.92 Mbps 153.18 ms
Guangzhou, CN 3.85 Mbps 43.33 Mbps 178.49 ms
Hongkong, CN 96.55 Mbps 94.87 Mbps 177.44 ms
Seoul, KR 95.71 Mbps 99.62 Mbps 145.15 ms
Singapore, SG 93.70 Mbps 98.45 Mbps 185.04 ms
Tokyo, JP 93.27 Mbps 100.03 Mbps 122.16 ms
----------------------------------------------------------------------
Finished in : 6 min 27 sec
Timestamp : 2022-12-31 23:32:43 CST
----------------------------------------------------------------------
脚本二:yabs.sh
官方介绍:YABS – a simple bash script to estimate Linux server performance
使用方法
wget -qO- yabs.sh | bash
或者
curl -sL yabs.sh | bash
输出结果示例
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
# Yet-Another-Bench-Script #
# v2022-12-04 #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
Sat Dec 31 23:36:51 CST 2022
Basic System Information:
---------------------------------
Uptime : 0 days, 0 hours, 16 minutes
Processor : Intel Core Processor (Haswell, no TSX)
CPU cores : 1 @ 2593.992 MHz
AES-NI : ? Enabled
VM-x/AMD-V : ? Enabled
RAM : 1.9 GiB
Swap : 1.9 GiB
Disk : 19.3 GiB
Distro : Ubuntu 22.04.1 LTS
Kernel : 5.15.0-56-generic
fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k (IOPS) | 64k (IOPS)
------ | --- ---- | ---- ----
Read | 16.01 MB/s (4.0k) | 257.71 MB/s (4.0k)
Write | 16.04 MB/s (4.0k) | 259.07 MB/s (4.0k)
Total | 32.05 MB/s (8.0k) | 516.79 MB/s (8.0k)
| |
Block Size | 512k (IOPS) | 1m (IOPS)
------ | --- ---- | ---- ----
Read | 1.16 GB/s (2.2k) | 1.24 GB/s (1.2k)
Write | 1.23 GB/s (2.4k) | 1.33 GB/s (1.3k)
Total | 2.40 GB/s (4.6k) | 2.58 GB/s (2.5k)
iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider | Location (Link) | Send Speed | Recv Speed | Ping
----- | ----- | ---- | ---- | ----
Clouvider | London, UK (10G) | 89.8 Mbits/sec | 93.6 Mbits/sec | 141 ms
Scaleway | Paris, FR (10G) | 88.6 Mbits/sec | 93.4 Mbits/sec | 148 ms
NovoServe | North Holland, NL (40G) | 87.4 Mbits/sec | 89.5 Mbits/sec | 153 ms
Uztelecom | Tashkent, UZ (10G) | 80.6 Mbits/sec | 84.7 Mbits/sec | 235 ms
Clouvider | NYC, NY, US (10G) | 94.5 Mbits/sec | 96.5 Mbits/sec | 72.0 ms
Clouvider | Dallas, TX, US (10G) | 95.4 Mbits/sec | 97.0 Mbits/sec | 55.2 ms
Clouvider | Los Angeles, CA, US (10G) | 98.0 Mbits/sec | 97.9 Mbits/sec | 21.8 ms
Geekbench 5 Benchmark Test:
---------------------------------
Test | Value
|
Single Core | 705
Multi Core | 738
Full Test | https://browser.geekbench.com/v5/cpu/19620531
YABS completed in 7 min 7 sec