自己尝试组装服务器

[复制链接]
查看: 2068   回复: 9
发表于 2021-12-19 14:11:37 | 显示全部楼层 |阅读模式
以前就挺想不通一件事,自从买了很多的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)

```
回复

使用道具 举报

发表于 2021-12-19 14:12:22 | 显示全部楼层
直接买洋垃圾hp z420性价比更具优势~
回复 支持 反对

使用道具 举报

发表于 2021-12-19 14:12:29 | 显示全部楼层
不错 实践值得鼓励
回复 支持 反对

使用道具 举报

发表于 2021-12-19 14:13:01 | 显示全部楼层
勾起了往事。。。 十多年前 我也是  自己跑电脑城。。。 自己买配件装的 服务器。。 然后拉到信息港 去托管。。。 一晃 这么多年了。
回复 支持 反对

使用道具 举报

发表于 2021-12-19 14:13:45 | 显示全部楼层
但凡我有个公网ip 我也想,但是我是内网的内网 申请也不让... 搞个反代就差点意思了:'(:'(
回复 支持 反对

使用道具 举报

发表于 2021-12-19 14:14:43 | 显示全部楼层
CPU频率只有1200,你一定是哪里搞错了
回复 支持 反对

使用道具 举报

发表于 2021-12-19 14:15:15 | 显示全部楼层
直接实体云
回复 支持 反对

使用道具 举报

发表于 2021-12-19 14:16:12 | 显示全部楼层
一年前配的,主板还没涨价
硬件:
双为 X97- 265元
cpu E5-2630 v2 70元
cpu风扇 90元
16g 4*4 180
nvme硬盘 128g
sata500g英特尔s3500 360
机械1t+4t
机箱淘宝50
500w长城电源 199
合计约1200元
esxi体验还行吧
回复 支持 反对

使用道具 举报

发表于 2021-12-19 14:16:22 | 显示全部楼层
好麻烦的样子,不过拆自家的机器是真的省钱
回复 支持 反对

使用道具 举报

发表于 2021-12-19 14:17:00 | 显示全部楼层
哈哈哈,是啊,但是24时允许对内存不太友好,所以后面打算换个ecc的自己尝试组装服务器
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则