|
以前就挺想不通一件事,自从买了很多的vps,评判vps的性能应该怎么定义,所以自己就索性整一个玩玩,测测性能。(我偏爱性能高的vps,网络情况无所谓)
硬件:
主板 X99-8-F 华南主板 400元
cpu E5-2680 v4 750元
cpu风扇 90元
16g DDR4内存条拆自家的。。非ECC,2400mhz
两块硬盘,共820GB。。。拆自家的 老硬盘
机箱和300w电源。。拆自家的
合计约1200元
---
过程:先去debian10官方下个iso镜像,以为用pe就可以简单的安装linux系统,但是pe工具没有自带能引导linux系统,然后尝试了映射光驱,安装win32-loader的时候报错,而且还没办法选择安装路径,之后再去下载专门安装linux的软件,检测不到盘,我很懵逼,然后就格式化十几次磁盘,换了十几次硬盘格式,还是检测不到。最后只能用烧录工具把iso镜像写到u盘上,通过u盘启动成功进入到了安装界面。
没做过磁盘阵列的时候io只有70,用500g做磁盘阵列提升到了91,最后拿了750g做了磁盘阵列,io是100出头。这个有点沙雕,这么做阵列。。。
经过自己这几天的折腾和使用,感觉还不错,install速度和编译速度都挺喜欢,唯独有点小失望的是unixbench才1300不到。
之前只有一个硬盘,没有弄磁盘阵列且在桌面界面跑unixbench是1100,我怀疑可能是硬盘拖速度了。再一个是内存也不是ecc,这会导致开机的时候会提示检测不到ecc内存的警告,但是还能够正常使用,之后会想考虑换个硬盘和换个ecc的内存吧。
试过了bbr没有加速作用,而且还让我的屏幕多了一些错误,界面会卡死。导致我只能从其他电脑ssh进入
下面是全部的测试
bench.sh
```
----------------------------------------------------------------------
CPU Model : Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
CPU Cores : 28
CPU Frequency : 1200.528 MHz
CPU Cache : 35840 KB
Total Disk : 63.5 GB (2.8 GB Used)
Total Mem : 15846 MB (2564 MB Used)
Total Swap : 976 MB (0 MB Used)
System uptime : 0 days, 2 hour 26 min
Load average : 0.00, 0.00, 0.00
OS : Debian GNU/Linux 11
Arch : x86_64 (64 Bit)
Kernel : 5.10.0-9-amd64
TCP CC : cubic
Virtualization : Dedicated
Organization : AS4694 IDC Frontier Inc.
Location : Osaka / JP
Region : Ōsaka
----------------------------------------------------------------------
I/O Speed(1st run) : 100 MB/s
I/O Speed(2nd run) : 102 MB/s
I/O Speed(3rd run) : 103 MB/s
Average I/O speed : 101.7 MB/s
----------------------------------------------------------------------
Node Name Upload Speed Download Speed Latency
Speedtest.net 31.53 Mbps 13.05 Mbps 79.41 ms
Shanghai CT 49.34 Mbps 8.05 Mbps 44.92 ms
Shanghai CU 49.51 Mbps 13.66 Mbps 42.89 ms
Guangzhou CT 52.49 Mbps 36.14 Mbps 34.95 ms
Guangzhou CU 48.55 Mbps 16.16 Mbps 21.88 ms
Hongkong CN 4.78 Mbps 4.74 Mbps 21.09 ms
Tokyo JP 51.18 Mbps 37.88 Mbps 82.72 ms
----------------------------------------------------------------------
```
unixbench
```
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 40462010.7 3467.2
Double-Precision Whetstone 55.0 7402.2 1345.9
Execl Throughput 43.0 4769.5 1109.2
File Copy 1024 bufsize 2000 maxblocks 3960.0 646907.6 1633.6
File Copy 256 bufsize 500 maxblocks 1655.0 166665.5 1007.0
File Copy 4096 bufsize 8000 maxblocks 5800.0 2235148.6 3853.7
Pipe Throughput 12440.0 879486.1 707.0
Pipe-based Context Switching 4000.0 124375.6 310.9
Process Creation 126.0 5230.8 415.1
Shell Scripts (1 concurrent) 42.4 8102.5 1911.0
Shell Scripts (8 concurrent) 6.0 6010.4 10017.3
System Call Overhead 15000.0 493556.4 329.0
========
System Benchmarks Index Score 1277.3
------------------------------------------------------------------------
Benchmark Run: Sun Oct 10 2021 03:19:06 - 03:19:06
28 CPUs in system; running 28 parallel copies of tests
```
硬盘读写IO测试
```
dd if=/dev/zero of=test bs=8k count=256k conv=fdatasync
dd if=/dev/zero of=test bs=64k count=4k oflag=dsync
262144+0 records in
262144+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 22.3103 s, 96.3 MB/s
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 129.787 s, 2.1 MB/s
```
yabs
```
Processor : Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
CPU cores : 28 @ 1197.679 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM : 15.5 GiB
Swap : 977.0 MiB
Disk : 62.5 GiB
fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k (IOPS) | 64k (IOPS)
------ | --- ---- | ---- ----
Read | 516.00 KB/s (129) | 7.38 MB/s (115)
Write | 541.00 KB/s (135) | 7.75 MB/s (121)
Total | 1.05 MB/s (264) | 15.13 MB/s (236)
| |
Block Size | 512k (IOPS) | 1m (IOPS)
------ | --- ---- | ---- ----
Read | 27.44 MB/s (53) | 34.48 MB/s (33)
Write | 29.45 MB/s (57) | 37.37 MB/s (36)
Total | 56.89 MB/s (110) | 71.85 MB/s (69)
iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 50.1 Mbits/sec | 4.11 Mbits/sec
Online.net | Paris, FR (10G) | busy | 540 Kbits/sec
WorldStream | The Netherlands (10G) | 49.7 Mbits/sec | 680 Kbits/sec
WebHorizon | Singapore (1G) | 49.6 Mbits/sec | 12.5 Mbits/sec
Clouvider | NYC, NY, US (10G) | 50.3 Mbits/sec | 4.14 Mbits/sec
Velocity Online | Tallahassee, FL, US (10G) | 48.5 Mbits/sec | 3.29 Mbits/sec
Clouvider | Los Angeles, CA, US (10G) | 51.3 Mbits/sec | 4.76 Mbits/sec
Iveloz Telecom | Sao Paulo, BR (2G) | busy | 3.53 Mbits/sec
Geekbench 5 Benchmark Test:
---------------------------------
Test | Value
|
Single Core | 926
Multi Core | 8571
Full Test | https://browser.geekbench.com/v5/cpu/10336373
```
LemonBench部分测试结果
```
-> System Information
OS Release: Debian GNU/Linux "Sid (Testing)" 11.1 (x86_64)
CPU Model: Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz 1.20~2.90 GHz
CPU Cache Size: 35840 KB
CPU Number: 1 Physical CPU, 14 Cores, 28 Threads
VirtReady: Yes (Based on VT-x)
Virt Type: Dedicated with American Megatrends Inc. BIOS
Memory Usage: 2.75 GB / 15.47 GB
Swap Usage: 0 KB / 977.00 MB
Boot Device: /dev/sda2
Disk Usage: 3.16 GB / 65.05 GB
CPU Usage: 0.2% used, 0.0% iowait, 0.0% steal
Load (1/5/15min): 3.07 4.02 2.52
Uptime: 0 Days, 3 Hours, 20 Minutes, 44 Seconds
Kernel Version: 5.10.0-9-amd64
Network CC Method: cubic + pfifo_fast
-> Network Infomation
IPV4 - IP Address: [JP] 差点被看到ip
IPV4 - ASN Info: AS4694 (IDCF - IDC Frontier Inc., JP)
IPV4 - Region: Japan Fukuoka Kitakyushu-shi
IPV6 - IP Address: [CN] 差点被看到ip
IPV6 - ASN Info: AS9808 (CMNET-GD - China Mobile, CN)
IPV6 - Region: 差点被看到
-> Media Unlock Test
HBO Now: No
Bahamut Anime: No
Abema.TV: No
Princess Connect Re:Dive Japan: Yes
BBC: No
BiliBili China Mainland Only: Yes
BiliBili Hongkong/Macau/Taiwan: No
Bilibili Taiwan Only: No
-> CPU Performance Test (Fast Mode, 1-Pass @ 5sec)
1 Thread Test: 1047 Scores
28 Threads Test: 20631 Scores
-> Memory Performance Test (Fast Mode, 1-Pass @ 5sec)
1 Thread - Read Test : 21685.30 MB/s
1 Thread - Write Test: 17110.94 MB/s
-> Disk Speed Test (4K Block/1M Block, Direct Mode)
Test Name Write Speed Read Speed
100MB-4K Block 40.2 MB/s (9807 IOPS, 2.61s) 50.9 MB/s (12431 IOPS, 2.06s)
1GB-1M Block 108 MB/s (103 IOPS, 9.69s) 109 MB/s (104 IOPS, 9.58s)
-> Speedtest.net Network Speed Test
Test Name Write Speed Read Speed
100MB-4K Block 40.2 MB/s (9807 IOPS, 2.61s) 50.9 MB/s (12431 IOPS, 2.06s)
1GB-1M Block 108 MB/s (103 IOPS, 9.69s) 109 MB/s (104 IOPS, 9.58s)
-> Speedtest.net Network Speed Test
Node Name Upload Speed Download Speed Ping Latency Server Name
Speedtest Default 5.90 MB/s 2.27 MB/s 85.27 ms kdatacenter.com (South Korea Seoul)
China, Beijing CU Fail: Timeout Exceeded after 60 seconds
China, Shanghai CT 5.89 MB/s 1.04 MB/s 44.94 ms China Telecom (China Shanghai)
China, Hangzhou CM 6.20 MB/s 6.08 MB/s 39.92 ms China Mobile Group Zhejiang Co.,Ltd (China Hangzhou)
-> Traceroute Test (IPV4)
``` |
|