原文:https://www.oplog.cn/archives/206.html
前言
本次测试服务器由云筏科技CloudRaft提供,测试环境CentOS7.7 20:00PM左右,配置如下使用服务器请遵守云筏TOS
购买链接
地域选择NAT-EU即为本测试同款机型https://my.cloudraft.cn/server/buy.html
相关测试
Superbench测试
Superbench脚本出现问题,无法测试网络,因此此次Superbench脚本只给出硬盘测试参考
这速度300MB 妥妥的SSD了,丝毫不用担心
LemonBench测试
这里贴部分跑分,具体成绩可以看https://paste.ubuntu.com/p/ps6J6YCyhn/
<code class="line-numbers"> <span class="pun">-></span> <span class="typ">System</span> <span class="typ">Information</span><span class="pln"> OS </span><span class="typ">Release</span><span class="pun">:</span> <span class="typ">CentOS</span> <span class="typ">Linux</span><span class="pln"> release </span><span class="pun">(</span><span class="pln">x86_64</span><span class="pun">)</span><span class="pln"> CPU </span><span class="typ">Model</span><span class="pun">:</span> <span class="typ">Intel</span><span class="pun">(</span><span class="pln">R</span><span class="pun">)</span> <span class="typ">Xeon</span><span class="pun">(</span><span class="pln">R</span><span class="pun">)</span><span class="pln"> CPU E5</span><span class="pun">-</span><span class="lit">1650</span><span class="pln"> v3 </span><span class="pun">@</span> <span class="lit">3.50GHz</span> <span class="lit">3.49</span> <span class="typ">GHz</span><span class="pln"> CPU </span><span class="typ">Cache</span> <span class="typ">Size</span><span class="pun">:</span> <span class="lit">15360</span><span class="pln"> KB CPU </span><span class="typ">Number</span><span class="pun">:</span> <span class="lit">1</span><span class="pln"> vCPU </span><span class="typ">Virt</span> <span class="typ">Type</span><span class="pun">:</span> <span class="typ">Microsoft</span> <span class="typ">Hyper</span><span class="pun">-</span><span class="pln">V </span><span class="typ">Memory</span> <span class="typ">Usage</span><span class="pun">:</span> <span class="lit">416.25</span><span class="pln"> MB </span><span class="pun">/</span> <span class="lit">908.06</span><span class="pln"> MB </span><span class="typ">Swap</span> <span class="typ">Usage</span><span class="pun">:</span> <span class="pun">[</span> <span class="typ">No</span> <span class="typ">Swapfile</span> <span class="pun">/</span> <span class="typ">Swap</span><span class="pln"> partition </span><span class="pun">]</span> <span class="typ">Disk</span> <span class="typ">Usage</span><span class="pun">:</span> <span class="lit">1.82</span><span class="pln"> GB </span><span class="pun">/</span> <span class="lit">41.15</span><span class="pln"> GB </span><span class="typ">Boot</span> <span class="typ">Device</span><span class="pun">:</span> <span class="str">/dev/</span><span class="pln">sda1 </span><span class="typ">Load</span> <span class="pun">(</span><span class="lit">1</span><span class="pun">/</span><span class="lit">5</span><span class="pun">/</span><span class="lit">15min</span><span class="pun">):</span> <span class="lit">1.03</span> <span class="lit">0.35</span> <span class="lit">0.23</span><span class="pln"> CPU </span><span class="typ">Usage</span><span class="pun">:</span> <span class="lit">6.2</span><span class="pun">%</span><span class="pln"> used</span><span class="pun">,</span> <span class="lit">0.0</span><span class="pun">%</span><span class="pln"> iowait</span><span class="pun">,</span> <span class="lit">0.0</span><span class="pun">%</span><span class="pln"> steal </span><span class="typ">Kernel</span> <span class="typ">Version</span><span class="pun">:</span> <span class="lit">3.10</span><span class="pun">.</span><span class="lit">0</span><span class="pun">-</span><span class="lit">1062.4</span><span class="pun">.</span><span class="lit">3.el7.x86</span><span class="pln">_64 </span><span class="typ">Network</span><span class="pln"> CC </span><span class="typ">Method</span><span class="pun">:</span><span class="pln"> cubic </span> <span class="pln"> pfifo_fast </span><span class="pun">-></span> <span class="typ">Network</span> <span class="typ">Information</span><span class="pln"> IPV4 </span><span class="pun">-</span><span class="pln"> IP </span><span class="typ">Address</span><span class="pun">:</span> <span class="pun">[</span><span class="pln">DE</span><span class="pun">]</span> <span class="lit">195.201</span><span class="pun">.</span><span class="lit">82.</span><span class="pun">*</span><span class="pln"> IPV4 </span><span class="pun">-</span><span class="pln"> ASN </span><span class="typ">Info</span><span class="pun">:</span> <span class="lit">24940</span> <span class="pun">(</span><span class="pln">HETZNER</span><span class="pun">-</span><span class="pln">AS </span><span class="pun">-</span> <span class="typ">Hetzner</span> <span class="typ">Online</span> <span class="typ">GmbH</span><span class="pun">,</span><span class="pln"> DE</span><span class="pun">)</span><span class="pln"> IPV4 </span><span class="pun">-</span> <span class="typ">Region</span><span class="pun">:</span> <span class="typ">Germany</span> <span class="typ">Saxony</span> <span class="typ">Falkenstein</span><span class="pln"> IPV6 </span><span class="pun">-</span><span class="pln"> IP </span><span class="typ">Address</span><span class="pun">:</span> <span class="pun">[</span><span class="pln">DE</span><span class="pun">]</span> <span class="lit">2a01</span><span class="pun">:</span><span class="lit">4f8</span><span class="pun">:</span><span class="lit">13b</span><span class="pun">:</span><span class="lit">3f06</span><span class="pun">:</span><span class="lit">9156</span><span class="pun">:</span><span class="pln">fb42</span><span class="pun">:</span><span class="pln">bce6</span><span class="pun">:*</span><span class="pln"> IPV6 </span><span class="pun">-</span><span class="pln"> ASN </span><span class="typ">Info</span><span class="pun">:</span> <span class="lit">24940</span> <span class="pun">(</span><span class="pln">HETZNER</span><span class="pun">-</span><span class="pln">AS </span><span class="pun">-</span> <span class="typ">Hetzner</span> <span class="typ">Online</span> <span class="typ">GmbH</span><span class="pun">,</span><span class="pln"> DE</span><span class="pun">)</span><span class="pln"> IPV6 </span><span class="pun">-</span> <span class="typ">Region</span><span class="pun">:</span> <span class="typ">Germany</span> <span class="typ">Germany</span> <span class="pun">-></span> <span class="typ">Media</span> <span class="typ">Unlock</span> <span class="typ">Test</span><span class="pln"> HBO </span><span class="typ">Now</span><span class="pun">:</span> <span class="typ">No</span> <span class="typ">Bahamut</span> <span class="typ">Anime</span><span class="pun">:</span> <span class="typ">No</span> <span class="typ">Abema</span><span class="pun">.</span><span class="pln">TV</span><span class="pun">:</span> <span class="typ">No</span> <span class="typ">Princess</span> <span class="typ">Connect</span> <span class="typ">Re</span><span class="pun">:</span><span class="typ">Dive</span> <span class="typ">Japan</span><span class="pun">:</span> <span class="typ">No</span><span class="pln"> BBC</span><span class="pun">:</span> <span class="typ">No</span> <span class="typ">Bilibili</span> <span class="typ">China</span> <span class="typ">Mainland</span> <span class="typ">Only</span><span class="pun">:</span> <span class="typ">No</span> <span class="typ">Bilibili</span> <span class="typ">Hongkong</span><span class="pun">/</span><span class="typ">Macau</span><span class="pun">/</span><span class="typ">Taiwan</span><span class="pun">:</span> <span class="typ">No</span> <span class="typ">Bilibili</span> <span class="typ">Taiwan</span> <span class="typ">Only</span><span class="pun">:</span> <span class="typ">No</span> <span class="pun">-></span><span class="pln"> CPU </span><span class="typ">Performance</span> <span class="typ">Test</span> <span class="pun">(</span><span class="typ">Fast</span> <span class="typ">Mode</span><span class="pun">,</span> <span class="lit">1</span><span class="pun">-</span><span class="typ">Pass</span> <span class="pun">@</span> <span class="lit">5sec</span><span class="pun">)</span> <span class="lit">1</span> <span class="typ">Thread</span> <span class="typ">Test</span><span class="pun">:</span> <span class="lit">193</span> <span class="typ">Scores</span> <span class="pun">-></span> <span class="typ">Memory</span> <span class="typ">Performance</span> <span class="typ">Test</span> <span class="pun">(</span><span class="typ">Fast</span> <span class="typ">Mode</span><span class="pun">,</span> <span class="lit">1</span><span class="pun">-</span><span class="typ">Pass</span> <span class="pun">@</span> <span class="lit">5sec</span><span class="pun">)</span> <span class="lit">1</span> <span class="typ">Thread</span> <span class="pun">-</span> <span class="typ">Read</span> <span class="typ">Test</span> <span class="pun">:</span> <span class="lit">4280.41</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="lit">1</span> <span class="typ">Thread</span> <span class="pun">-</span> <span class="typ">Write</span> <span class="typ">Test</span><span class="pun">:</span> <span class="lit">3089.58</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="pun">-></span> <span class="typ">Disk</span> <span class="typ">Speed</span> <span class="typ">Test</span> <span class="pun">(</span><span class="lit">4K</span> <span class="typ">Block</span><span class="pun">/</span><span class="lit">1M</span> <span class="typ">Block</span><span class="pun">,</span> <span class="typ">Direct</span> <span class="typ">Mode</span><span class="pun">)</span> <span class="typ">Test</span> <span class="typ">Name</span> <span class="typ">Write</span> <span class="typ">Speed</span> <span class="typ">Read</span> <span class="typ">Speed</span> <span class="lit">100MB</span><span class="pun">-</span><span class="lit">4K</span> <span class="typ">Block</span> <span class="lit">3.1</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="pun">(</span><span class="lit">753</span><span class="pln"> IOPS</span><span class="pun">,</span> <span class="lit">33.99</span><span class="pln"> s</span><span class="pun">)</span> <span class="lit">3.1</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="pun">(</span><span class="lit">748</span><span class="pln"> IOPS</span><span class="pun">,</span> <span class="lit">34.19</span><span class="pln"> s</span><span class="pun">)</span> <span class="lit">1GB</span><span class="pun">-</span><span class="lit">1M</span> <span class="typ">Block</span> <span class="lit">597</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="pun">(</span><span class="lit">568</span><span class="pln"> IOPS</span><span class="pun">,</span> <span class="lit">1.76</span><span class="pln"> s</span><span class="pun">)</span> <span class="lit">610</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="pun">(</span><span class="lit">581</span><span class="pln"> IOPS</span><span class="pun">,</span> <span class="lit">1.72</span><span class="pln"> s</span><span class="pun">)</span> <span class="pun">-></span> <span class="typ">Speedtest</span><span class="pun">.</span><span class="pln">net </span><span class="typ">Network</span> <span class="typ">Speed</span> <span class="typ">Test</span> <span class="typ">Node</span> <span class="typ">Name</span> <span class="typ">Upload</span> <span class="typ">Speed</span> <span class="typ">Download</span> <span class="typ">Speed</span> <span class="typ">Ping</span> <span class="typ">Latency</span> <span class="typ">Server</span> <span class="typ">Name</span> <span class="typ">Speedtest</span> <span class="typ">Default</span> <span class="lit">3.48</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="lit">93.77</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="lit">0.67</span><span class="pln"> ms </span><span class="typ">Spacken</span><span class="pun">.</span><span class="pln">net </span><span class="pun">(</span><span class="typ">Germany</span> <span class="typ">Hagen</span><span class="pun">)</span> <span class="typ">China</span><span class="pun">,</span> <span class="typ">Shanghai</span><span class="pln"> CU </span><span class="lit">3.31</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="lit">43.79</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="lit">234.56</span><span class="pln"> ms </span><span class="typ">China</span> <span class="typ">Unicom</span> <span class="lit">5G</span> <span class="pun">(</span><span class="typ">China</span> <span class="typ">ShangHai</span><span class="pun">)</span> <span class="typ">China</span><span class="pun">,</span> <span class="typ">Jiangsu</span><span class="pln"> CM </span><span class="lit">0.37</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="lit">7.36</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="lit">243.27</span><span class="pln"> ms </span><span class="typ">China</span> <span class="typ">Mobile</span><span class="pln"> jiangsu </span><span class="lit">5G</span> <span class="pun">(</span><span class="typ">China</span> <span class="typ">Nanjing</span><span class="pun">)</span> <span class="typ">China</span><span class="pun">,</span> <span class="typ">Guangzhou</span><span class="pln"> CT </span><span class="lit">0.23</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="lit">6.18</span><span class="pln"> MB</span><span class="pun">/</span><span class="pln">s </span><span class="lit">222.63</span><span class="pln"> ms </span><span class="typ">ChinaTelecom</span> <span class="lit">5G</span> <span class="pun">(</span><span class="typ">China</span> <span class="typ">Guangzhou</span><span class="pun">)</span></code>
具体玩法
由于本NAT云筏给了一个独立的IPv6,因此多了很多玩法,甚至可以搭配Cloudflare建站
如何获取IPv6地址
方法有很多,可以参考云筏的官方文档
安装宝塔面板
链接SSH(方法不用我说吧),如果是Centos可以输入
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
直接安装,如果是别的系统请自行去宝塔官网查看
映射宝塔端口
在云筏后台点击申请公网端口
然后如下配置
接着你就可以在端口管理里面看到你的8888所对应的公网端口
你现在就可以用“公网IP:公网端口”的格式来访问宝塔了
安装环境并创建网站
这个我就不多讲了,如果不会的话可以百度一下,建议安装LNMP环境
使用Cloudflare CDN实现IPv4访问
为站点启用Cloudflare CDN,在回源IP填写你的IPv6地址,解析类型选择AAAA即可使IPv4正常访问
演示站点
Typecho演示站点:https://cloudraft.oplog.cn
速度还算不错,基本建站需求可以满足了,而且9元的价格真心不贵,硬盘速度很快,可以推荐