Vultr Bare Metal Server测试

这几天想试试Proxmox,在KVM上安装总是失败,于是想找个按量付费的独立服务器测试一下,想来想去也就Vultr的最合适了,毕竟可以按小时计费,内存有32G,还有240G的SSD,不过,这都不重要,最主要的是这是独立服务器,可以完全自定义,不需要和别人共享,还能随意安装想要的系统,比如我想要的Proxmox。既然开了,不能浪费不是,肯定要跑个测试脚本记录一下不是。

因为Vultr Bare Metal Server没有提供Proxmox ISO,所以没法直接安装Proxmox相关系统,只能先选择安装Debian 9系统,然后再安装Proxmox,所以,下面的测试是在Debian 9 x64下进行的,测试时间为北京晚上八点半,机房是Los Angeles。

目前为止,官网只有这一款Vultr Bare Metal Server,这是官网给出的配置信息:

2 x 240 GB SSD
$120/mo
$0.179/h
E3-1270v6 Processor
8 CPU @ 3.8Ghz
32768MB Memory
5000GB Bandwidth

如果想要入手的,可以点下面,完成之后后台选择”Deploy New Instance”然后选择”Bare Metal Server”,再选择添加就行。

注册链接:Vultr

Vultr家的服务有个优点就是,可以按小时收费,需要的时候开启,测试完或者用完立马就能删除销毁,对于有的时候需要测试或者折腾什么新技术的时候非常方便,只需要很小的成本就能获得需要的计算资源。

这是创建之后给的IP,大家可用这个IP进行测试。考虑到实际使用情况,如果后面遇到IP不通的情况,可以使用相近的IP代替进行测试。

Vultr Bare Metal Server测试IP:
45.76.171.159

首先,先来个基础信息脚本压压惊:

 CPU Model            : Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz
 CPU Cores            : 8 Cores @ 799.938 MHz x86_64
 CPU Cache            : 8192 KB
 OS                   : Debian GNU/Linux 9 (64 Bit) Dedicated
 Kernel               : 4.9.0-7-amd64
 Total Space          : 221.0 GB (2.4 GB Used)
 Total RAM            : 32003 MB (781 MB Used 1944 MB Buff)
 Total SWAP           : 0 MB (0 MB Used)
 Uptime               : 0 days 0 hour 12 min
 Load Average         : 0.00, 0.10, 0.14
 TCP CC               : bbr
 ASN & ISP            : AS20473, Choopa, LLC
 Organization         : Choopa, LLC
 Location             : California, United States / US
 Region               : California
----------------------------------------------------------------------
 I/O Speed( 1.0GB )   : 295 MB/s
 I/O Speed( 1.0GB )   : 294 MB/s
 I/O Speed( 1.0GB )   : 291 MB/s
 Average I/O Speed    : 293.3 MB/s

说实话,官网给的说是SSD,但是看这IO,实在是低了点,还不如一些VPS。

CPU信息:

root@prox4m1:~# cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 158
model name  : Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz
stepping    : 9
microcode   : 0x84
cpu MHz     : 799.938
cache size  : 8192 KB
physical id : 0
siblings    : 8
core id     : 0
cpu cores   : 4
apicid      : 0
initial apicid  : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb invpcid_single ibrs ibpb stibp kaiser tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 7584.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

...

processor   : 7
vendor_id   : GenuineIntel
cpu family  : 6
model       : 158
model name  : Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz
stepping    : 9
microcode   : 0x84
cpu MHz     : 799.938
cache size  : 8192 KB
physical id : 0
siblings    : 8
core id     : 3
cpu cores   : 4
apicid      : 7
initial apicid  : 7
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb invpcid_single ibrs ibpb stibp kaiser tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 7584.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

CPU其实有8个核心,考虑到篇幅,我这里只复制了一前一后两个核心的信息。

内存信息:

root@prox4m1:~# cat /proc/meminfo
MemTotal:       32771296 kB
MemFree:        29975712 kB
MemAvailable:   31470108 kB
Buffers:           31488 kB
Cached:          1812532 kB
SwapCached:            0 kB
Active:          1067412 kB
Inactive:        1414516 kB
Active(anon):     642256 kB
Inactive(anon):    51960 kB
Active(file):     425156 kB
Inactive(file):  1362556 kB
Unevictable:        5020 kB
Mlocked:            5020 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:               212 kB
Writeback:             0 kB
AnonPages:        642976 kB
Mapped:            80564 kB
Shmem:             52672 kB
Slab:             184164 kB
SReclaimable:     152260 kB
SUnreclaim:        31904 kB
KernelStack:        3408 kB
PageTables:        12624 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    16385648 kB
Committed_AS:    3264764 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      102488 kB
DirectMap2M:     6006784 kB
DirectMap1G:    27262976 kB

网卡信息:

root@prox4m1:~# ifconfig
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 45.76.171.159  netmask 255.255.254.0  broadcast 45.76.171.255
        inet6 fe80::ec4:7aff:fe8f:68f6  prefixlen 64  scopeid 0x20<link>
        inet6 2001:19f0:6001:5d4a:ec4:7aff:fe8f:68f6  prefixlen 64  scopeid 0x0<global>
        ether 0c:c4:7a:8f:68:f6  txqueuelen 1000  (Ethernet)
        RX packets 933834  bytes 1362348577 (1.2 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 288680  bytes 348550520 (332.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 188  bytes 29631 (28.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 188  bytes 29631 (28.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

创建的时候看Vultr提供了IPv6,于是顺手选择了启用IPv6,聊胜于无吧哈哈哈。

硬盘信息:

root@prox4m1:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev
tmpfs           3.2G  8.8M  3.2G   1% /run
/dev/sda1       221G  2.4G  207G   2% /
tmpfs            16G   43M   16G   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            16G     0   16G   0% /sys/fs/cgroup
tmpfs           3.2G     0  3.2G   0% /run/user/0
/dev/fuse        30M   16K   30M   1% /etc/pve

机器型号:

root@prox4m1:~# dmidecode | grep "Product Name"
    Product Name: Super Server
    Product Name: X11SSE-F

对了,和Vultr家其他类型主机一样,Vultr Bare Metal Server也是提供一个基于网页的远程管理工具,可以直接通过网页进行进入BIOS等操作。

至于Vultr Bare Metal Server的UnixBench测试:

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   49786336.4   4266.2
Double-Precision Whetstone                       55.0       3895.6    708.3
Execl Throughput                                 43.0       1337.1    310.9
File Copy 1024 bufsize 2000 maxblocks          3960.0    1097987.5   2772.7
File Copy 256 bufsize 500 maxblocks            1655.0     283075.5   1710.4
File Copy 4096 bufsize 8000 maxblocks          5800.0    3024143.2   5214.0
Pipe Throughput                               12440.0    1636469.6   1315.5
Pipe-based Context Switching                   4000.0     207795.1    519.5
Process Creation                                126.0      16258.4   1290.3
Shell Scripts (1 concurrent)                     42.4      15218.7   3589.3
Shell Scripts (8 concurrent)                      6.0       7350.9  12251.6
System Call Overhead                          15000.0    1166475.3    777.7
                                                                   ========
System Benchmarks Index Score                                        1726.3

Dhrystone 2 using register variables      271224722.0 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    27808.9 MWIPS (15.1 s, 7 samples)
Execl Throughput                              38746.5 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1542566.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          404609.7 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       4699468.8 KBps  (30.0 s, 2 samples)
Pipe Throughput                             9779671.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                1456005.8 lps   (10.0 s, 7 samples)
Process Creation                              93793.7 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  74640.2 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   9752.4 lpm   (60.0 s, 2 samples)
System Call Overhead                        7418977.2 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  271224722.0  23241.2
Double-Precision Whetstone                       55.0      27808.9   5056.2
Execl Throughput                                 43.0      38746.5   9010.8
File Copy 1024 bufsize 2000 maxblocks          3960.0    1542566.8   3895.4
File Copy 256 bufsize 500 maxblocks            1655.0     404609.7   2444.8
File Copy 4096 bufsize 8000 maxblocks          5800.0    4699468.8   8102.5
Pipe Throughput                               12440.0    9779671.2   7861.5
Pipe-based Context Switching                   4000.0    1456005.8   3640.0
Process Creation                                126.0      93793.7   7443.9
Shell Scripts (1 concurrent)                     42.4      74640.2  17603.8
Shell Scripts (8 concurrent)                      6.0       9752.4  16254.0
System Call Overhead                          15000.0    7418977.2   4946.0
                                                                   ========
System Benchmarks Index Score                                        7344.4



======= Script description and score comparison completed! =======