V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
cmhonker
V2EX  ›  VPS

AWS 新加坡 + Oracle/甲骨文 新加坡 天下无敌

  •  1
     
  •   cmhonker · 2023-04-06 18:50:27 +08:00 · 4347 次点击
    这是一个创建于 387 天前的主题,其中的信息可能已经有所发展或是发生改变。

    AWS 新加坡 + Oracle/甲骨文 新加坡 全面评测。AWS 新加坡评测,Orace/甲骨文 新加坡评测,其一起是性价比最高的生产机组合。最近甲骨文大善人“开仓放粮”,大家赶紧去申请吧,大户家不差钱且目前为止永久免费。

    一、成本

    AWS 新加坡:5 美金 Lightsail ,11 块左右(吃码:my.cloudcpp.com ) Oracle/甲骨文新加坡:目前依旧是永久免费。

    二、配置

    AWS 新加坡:1 核 1G 内存 2TB 流量 Oracle/甲骨文新加坡:4 核 24GB 内存 10TB 流量

    三、利用

    AWS 新加坡:做前端服务器,比如说 Nginx ,Haproxy ,支持零拷贝的 moto ( github.com/cppla/moto )等等。其对全国大部分地区都非常友好,非常适合跑流量。 Oracle/甲骨文新加坡:做后端服务器

    四、CPU 跑分对比

    
    甲骨文免费 ARM 机器 4H24G ,得分 748
    -----------------------------------------------------------
     
    TEST                                        BASELINE     RESULT      INDEX
     
    Dhrystone 2 using register variables        376783.7 64706097.8     1717.3
    Double-Precision Whetstone                      83.1     3367.0      405.2
    Execl Throughput                               188.3    14278.5      758.3
    File Copy 1024 bufsize 2000 maxblocks         2672.0   403830.0     1511.3
    File Copy 256 bufsize 500 maxblocks           1077.0   106760.0      991.3
    File Read 4096 bufsize 8000 maxblocks        15382.0  4754237.0     3090.8
    Pipe Throughput                             111814.6  5465348.5      488.8
    Pipe-based Context Switching                 15448.6   945318.9      611.9
    Process Creation                               569.3    18215.8      320.0
    Shell Scripts (8 concurrent)                    44.8     3364.0      750.9
    System Call Overhead                        114433.5  2674549.6      233.7
                                                                     =========
         FINAL SCORE                                                     748.0
     
     
    甲骨文免费 AMD 机器 1/8 性能 2H1G ,得分 56
    ----------------------------------------------------------- 
     
    Dhrystone 2 using register variables        376783.7  4604984.9      122.2
    Double-Precision Whetstone                      83.1      454.5       54.7
    Execl Throughput                               188.3     1491.3       79.2
    File Copy 1024 bufsize 2000 maxblocks         2672.0    37827.0      141.6
    File Copy 256 bufsize 500 maxblocks           1077.0     9976.0       92.6
    File Read 4096 bufsize 8000 maxblocks        15382.0   364230.0      236.8
    Pipe Throughput                             111814.6   313324.7       28.0
    Pipe-based Context Switching                 15448.6    20355.7       13.2
    Process Creation                               569.3     2806.2       49.3
    Shell Scripts (8 concurrent)                    44.8      404.5       90.3
    System Call Overhead                        114433.5    85065.7        7.4
                                                                     =========
         FINAL SCORE                                                      56.9
     
    AWS LightSail 1H1G ,得分 137
    -----------------------------------------------------------  
             
    TEST                                        BASELINE     RESULT      INDEX
     
    Dhrystone 2 using register variables        376783.7 12786275.1      339.4
    Double-Precision Whetstone                      83.1     2537.6      305.4
    Execl Throughput                               188.3     2834.1      150.5
    File Copy 1024 bufsize 2000 maxblocks         2672.0    91826.0      343.7
    File Copy 256 bufsize 500 maxblocks           1077.0    25650.0      238.2
    File Read 4096 bufsize 8000 maxblocks        15382.0   672447.0      437.2
    Pipe Throughput                             111814.6   527084.1       47.1
    Pipe-based Context Switching                 15448.6    84778.9       54.9
    Process Creation                               569.3     6234.3      109.5
    Shell Scripts (8 concurrent)                    44.8      788.9      176.1
    System Call Overhead                        114433.5   134513.1       11.8
                                                                     =========
         FINAL SCORE                                                     137.3
     
    微软 B 系列 2H4G ,得分 224
    ----------------------------------------------------------- 
              
    TEST                                        BASELINE     RESULT      INDEX
     
    Dhrystone 2 using register variables        376783.7 25402014.6      674.2
    Double-Precision Whetstone                      83.1     2432.0      292.7
    Execl Throughput                               188.3     5678.8      301.6
    File Copy 1024 bufsize 2000 maxblocks         2672.0   118749.0      444.4
    File Copy 256 bufsize 500 maxblocks           1077.0    31283.0      290.5
    File Read 4096 bufsize 8000 maxblocks        15382.0  1173734.0      763.1
    Pipe Throughput                             111814.6   810634.3       72.5
    Pipe-based Context Switching                 15448.6   183244.4      118.6
    Process Creation                               569.3    11904.9      209.1
    Shell Scripts (8 concurrent)                    44.8     1640.0      366.1
    System Call Overhead                        114433.5   210912.5       18.4
                                                                     =========
         FINAL SCORE                                                     224.0
     
    

    五、性能以及评测.

    5.1 AWS 新加坡:

    CPU:137 分 硬盘 IO:53.0 MB/s

    -----------------------AWS 新加坡 网络测试------------------------------
     Node Name        Upload Speed      Download Speed      Latency     
     Speedtest.net    951.04 Mbps       896.61 Mbps         0.63 ms     
     Los Angeles, US  233.74 Mbps       344.79 Mbps         172.56 ms   
     Dallas, US       256.44 Mbps       390.86 Mbps         212.67 ms   
     Montreal, CA     263.66 Mbps       639.06 Mbps         297.59 ms   
     Paris, FR        261.80 Mbps       358.78 Mbps         148.12 ms   
     Amsterdam, NL    241.85 Mbps       340.63 Mbps         263.03 ms   
     Shanghai, CN     269.90 Mbps       347.34 Mbps         67.71 ms    
     Nanjing, CN      201.18 Mbps       3.10 Mbps           188.51 ms   
     Hongkong, CN     412.45 Mbps       540.34 Mbps         35.24 ms    
     Singapore, SG    909.89 Mbps       849.56 Mbps         1.65 ms     
     Tokyo, JP        251.11 Mbps       404.55 Mbps         66.93 ms    
    ----------------------------------------------------------------------
    

    5.2 Oracle/甲骨文新加坡:

    CPU:748 分 硬盘 IO:104.0 MB/s

    Oracle/甲骨文 新加坡 网络测试:
    
    ------------------Oracle 甲骨文 新加坡 网络测试--------------------------
     Node Name        Upload Speed      Download Speed      Latency     
     Speedtest.net    4011.68 Mbps      3828.92 Mbps        0.80 ms     
     Los Angeles, US  345.95 Mbps       2711.10 Mbps        179.53 ms   
     Dallas, US       381.28 Mbps       2982.82 Mbps        214.38 ms   
     Montreal, CA     318.19 Mbps       927.06 Mbps         254.47 ms   
     Paris, FR        311.65 Mbps       3449.30 Mbps        225.11 ms   
     Amsterdam, NL    304.43 Mbps       3150.14 Mbps        221.45 ms   
     Shanghai, CN     585.53 Mbps       3409.70 Mbps        209.15 ms   
     Nanjing, CN      358.20 Mbps       1567.67 Mbps        202.81 ms   
     Guangzhou, CN    34.68 Mbps        230.22 Mbps         227.03 ms   
     Hongkong, CN     2446.71 Mbps      3966.39 Mbps        34.11 ms    
     Singapore, SG    4010.60 Mbps      3820.74 Mbps        1.03 ms     
     Tokyo, JP        879.77 Mbps       3919.88 Mbps        66.88 ms    
    ----------------------------------------------------------------------
    

    六、网络互 /对拷测试.

    AWS 新加坡 <—-> Oracle 新加坡 [延迟 2ms ,拉满 AWS 带宽限制]

    [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
    [  5]   0.00-1.00   sec   138 MBytes  1.16 Gbits/sec  9634    979 KBytes       
    [  5]   1.00-2.00   sec   138 MBytes  1.15 Gbits/sec  9440   1.32 MBytes       
    [  5]   2.00-3.00   sec   138 MBytes  1.15 Gbits/sec  12678    956 KBytes       
    [  5]   3.00-4.00   sec   134 MBytes  1.12 Gbits/sec  9037    790 KBytes       
    [  5]   4.00-5.00   sec   135 MBytes  1.13 Gbits/sec  8861    899 KBytes       
    [  5]   5.00-6.00   sec   115 MBytes   965 Mbits/sec  5594    945 KBytes       
    [  5]   6.00-7.00   sec   114 MBytes   954 Mbits/sec  4799   1.07 MBytes       
    [  5]   7.00-8.00   sec   114 MBytes   954 Mbits/sec  6111    877 KBytes       
    [  5]   8.00-9.00   sec   114 MBytes   954 Mbits/sec  5159    551 KBytes       
    [  5]   9.00-10.00  sec   114 MBytes   952 Mbits/sec  6690   1.03 MBytes       
    [  5]  10.00-11.00  sec   101 MBytes   851 Mbits/sec  4280    834 KBytes       
    [  5]  11.00-12.00  sec   126 MBytes  1.06 Gbits/sec  3950    724 KBytes       
    [  5]  12.00-13.00  sec   112 MBytes   944 Mbits/sec  4471   1.18 MBytes       
    [  5]  13.00-14.00  sec   115 MBytes   965 Mbits/sec  5027    766 KBytes       
    [  5]  14.00-15.00  sec   112 MBytes   944 Mbits/sec  7116    843 KBytes       
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bitrate         Retr
    [  5]   0.00-15.00  sec  1.78 GBytes  1.02 Gbits/sec  102847             sender
    [  5]   0.00-15.04  sec  1.77 GBytes  1.01 Gbits/sec                  receiver
     
    iperf Done.
    

    Oracle 新加坡 <—-> Oracle 新加坡 [ 4Gbps/s 史上最强免费机器]

    [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
    [  5]   0.00-1.00   sec   500 MBytes  4.19 Gbits/sec    0    629 KBytes       
    [  5]   1.00-2.00   sec   496 MBytes  4.16 Gbits/sec    0    629 KBytes       
    [  5]   2.00-3.00   sec   496 MBytes  4.16 Gbits/sec    0    524 KBytes       
    [  5]   3.00-4.00   sec   496 MBytes  4.16 Gbits/sec    0    612 KBytes       
    [  5]   4.00-5.00   sec   496 MBytes  4.16 Gbits/sec    0    472 KBytes       
    [  5]   5.00-6.00   sec   496 MBytes  4.16 Gbits/sec    0    664 KBytes       
    [  5]   6.00-7.00   sec   496 MBytes  4.16 Gbits/sec    0    472 KBytes       
    [  5]   7.00-8.00   sec   496 MBytes  4.16 Gbits/sec    0    454 KBytes       
    [  5]   8.00-9.00   sec   496 MBytes  4.16 Gbits/sec    0    594 KBytes       
    [  5]   9.00-10.00  sec   498 MBytes  4.17 Gbits/sec    0    577 KBytes       
    [  5]  10.00-11.00  sec   479 MBytes  4.02 Gbits/sec  1933    542 KBytes       
    [  5]  11.00-12.00  sec   474 MBytes  3.97 Gbits/sec  2693    568 KBytes       
    [  5]  12.00-13.00  sec   474 MBytes  3.97 Gbits/sec  2702    594 KBytes       
    [  5]  13.00-14.00  sec   472 MBytes  3.96 Gbits/sec  2691    979 KBytes       
    [  5]  14.00-15.00  sec   474 MBytes  3.97 Gbits/sec  1952    786 KBytes       
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bitrate         Retr
    [  5]   0.00-15.00  sec  7.17 GBytes  4.10 Gbits/sec  11971             sender
    [  5]   0.00-15.04  sec  7.17 GBytes  4.09 Gbits/sec                  receiver
     
    iperf Done.
    

    七、安全

    当然是用异地增量备份了,重要的数据建议每小时备份一次,不重要的数据建议每天备份一次。即能做站,也能做开发,机器性能和机器性价比非常的高。

    有条件、有技术的建议自己折腾实时热备份和冷备份。

    每小时的整点执行一次 0 */1 * * * 你自己的备份命令

    每隔 60 分钟执行一次 */60 * * * * 你自己的备份命令

    每隔 30 分钟执行一次 */30 * * * * 你自己的备份命令

    12 条回复    2023-04-23 13:28:18 +08:00
    BUCKS
        1
    BUCKS  
       2023-04-06 20:40:02 +08:00
    Oracle 我最近都创建不了新的免费服务器。。。三个月了
    daiv
        2
    daiv  
       2023-04-06 20:44:05 +08:00
    AWS 网络感人, 哈哈
    llbqwhtxi
        3
    llbqwhtxi  
       2023-04-06 20:58:31 +08:00
    Oracle 申请数次失败
    Ginruts
        4
    Ginruts  
       2023-04-06 21:10:45 +08:00
    Oracle 申请数次失败
    H97794
        5
    H97794  
       2023-04-06 21:35:43 +08:00
    Oracle 申请失败
    cmhonker
        6
    cmhonker  
    OP
       2023-04-07 09:49:23 +08:00
    升级啊,升级就能开机器了。升级后同样能用 Always Free
    cmhonker
        7
    cmhonker  
    OP
       2023-04-07 09:50:04 +08:00
    @Ginruts 下次换 IP 试试,自己真实资料前天这波放水,多申请几次基本上都过了。
    1nclude
        8
    1nclude  
       2023-04-07 15:57:14 +08:00
    @cmhonker 升级失败,付款的卡都被清掉了怎么解决。。
    cmhonker
        9
    cmhonker  
    OP
       2023-04-07 16:31:54 +08:00
    @1nclude 注册不要挂代理,请用自己的真实信息、真实卡,真实资料 注册。
    fengzone
        10
    fengzone  
       2023-04-10 19:55:55 +08:00
    真香啊~~~
    liuliangyz
        11
    liuliangyz  
       2023-04-21 09:32:11 +08:00
    Oracle 申请失败
    cmhonker
        12
    cmhonker  
    OP
       2023-04-23 13:28:18 +08:00
    @liuliangyz 建议放水的时候用自己真实资料多试,就能过了。关注论坛放水时刻。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1788 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 16:23 · PVG 00:23 · LAX 09:23 · JFK 12:23
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.