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

AWS Lightsail 全面升级质的飞跃,全面普及 4Gbps

  •  
  •   cmhonker · 2023-07-03 16:56:30 +08:00 · 3026 次点击
    这是一个创建于 515 天前的主题,其中的信息可能已经有所发展或是发生改变。
    AWS 于昨天升级了 Lightsail 的 CPU 配置,月付 10 美元及以下机器由单核升级为双核。CPU 在性能上有所加强,由 E5-2676 v3 @ 2.40GHz 变为 Platinum 8175M / 8259CL @ 2.50GHz 。Xen 虚拟化变化为 KVM 。

    自甲骨文之后全面普及 4Gpbs

    ## 一、如何升级

    创建快照,从快照中恢复机器,转移 IP 完成

    ## 二、网络质的飞跃,本地 Speedtest

    ```
    Testing download speed................................................................................
    Download: 1564.00 Mbit/s
    Testing upload speed......................................................................................................
    Upload: 2186.79 Mbit/s
    ```

    ## 三、网络质的飞跃,跨区域对拷

    ```
    [ ID] Interval Transfer Bitrate Retr Cwnd
    [ 5] 0.00-1.00 sec 421 MBytes 3.53 Gbits/sec 399 1.76 MBytes
    [ 5] 1.00-2.00 sec 430 MBytes 3.61 Gbits/sec 547 1.31 MBytes
    [ 5] 2.00-3.00 sec 449 MBytes 3.77 Gbits/sec 262 1.98 MBytes
    [ 5] 3.00-4.00 sec 456 MBytes 3.83 Gbits/sec 133 1.88 MBytes
    [ 5] 4.00-5.00 sec 458 MBytes 3.83 Gbits/sec 310 1.57 MBytes
    [ 5] 5.00-6.00 sec 464 MBytes 3.90 Gbits/sec 276 1.35 MBytes
    [ 5] 6.00-7.01 sec 438 MBytes 3.65 Gbits/sec 432 1.35 MBytes
    [ 5] 7.01-8.00 sec 468 MBytes 3.94 Gbits/sec 954 1.57 MBytes
    [ 5] 8.00-9.00 sec 454 MBytes 3.80 Gbits/sec 463 1.42 MBytes
    [ 5] 9.00-10.00 sec 459 MBytes 3.85 Gbits/sec 561 35.0 KBytes
    [ 5] 10.00-11.00 sec 390 MBytes 3.27 Gbits/sec 359 1.59 MBytes
    [ 5] 11.00-12.00 sec 474 MBytes 3.97 Gbits/sec 603 1.48 MBytes
    [ 5] 12.00-13.00 sec 456 MBytes 3.83 Gbits/sec 714 1.26 MBytes
    [ 5] 13.00-14.00 sec 471 MBytes 3.95 Gbits/sec 244 1.54 MBytes
    [ 5] 14.00-15.00 sec 488 MBytes 4.09 Gbits/sec 369 1.25 MBytes
    [ 5] 15.00-16.00 sec 471 MBytes 3.95 Gbits/sec 628 1.28 MBytes
    [ 5] 16.00-17.00 sec 465 MBytes 3.89 Gbits/sec 408 1.45 MBytes
    [ 5] 17.00-18.00 sec 439 MBytes 3.69 Gbits/sec 674 1.16 MBytes
    [ 5] 18.00-19.00 sec 470 MBytes 3.94 Gbits/sec 604 1.25 MBytes
    [ 5] 19.00-20.00 sec 462 MBytes 3.88 Gbits/sec 909 1.28 MBytes
    [ 5] 20.00-21.00 sec 382 MBytes 3.21 Gbits/sec 405 1.08 MBytes
    [ 5] 21.00-22.00 sec 460 MBytes 3.86 Gbits/sec 664 1.37 MBytes
    [ 5] 22.00-23.00 sec 466 MBytes 3.91 Gbits/sec 807 1.36 MBytes
    [ 5] 23.00-24.00 sec 485 MBytes 4.07 Gbits/sec 542 1.18 MBytes
    [ 5] 24.00-25.00 sec 468 MBytes 3.92 Gbits/sec 637 1.35 MBytes
    [ 5] 25.00-26.00 sec 464 MBytes 3.89 Gbits/sec 818 1.37 MBytes
    [ 5] 26.00-27.00 sec 475 MBytes 3.99 Gbits/sec 294 1.31 MBytes
    [ 5] 27.00-28.00 sec 449 MBytes 3.76 Gbits/sec 787 1.38 MBytes
    [ 5] 28.00-29.00 sec 476 MBytes 3.99 Gbits/sec 659 1.89 MBytes
    [ 5] 29.00-30.00 sec 459 MBytes 3.85 Gbits/sec 481 1.23 MBytes
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval Transfer Bitrate Retr
    [ 5] 0.00-30.00 sec 13.3 GBytes 3.82 Gbits/sec 15943 sender
    [ 5] 0.00-30.04 sec 13.3 GBytes 3.81 Gbits/sec receiver
    ```

    ## 四、升级后 Benchmark

    ```
    -------------------- A Bench.sh Script By Teddysun -------------------
    Version : v2023-06-10
    Usage : wget -qO- bench.sh | bash
    ----------------------------------------------------------------------
    CPU Model : Intel(R) Xeon(R) Platinum 8259CL CPU [url=home.php?mod=space&uid=175]@[/url] 2.50GHz
    CPU Cores : 2 @ 2500.006 MHz
    CPU Cache : 36608 KB
    AES-NI : Enabled
    VM-x/AMD-V : Disabled
    Total Disk : 38.7 GB (1.7 GB Used)
    Total Mem : 941.2 MB (183.0 MB Used)
    System uptime : 0 days, 0 hour 21 min
    Load average : 0.30, 0.14, 0.05
    OS : Ubuntu 22.04.1 LTS
    Arch : x86_64 (64 Bit)
    Kernel : 5.15.0-1030-aws
    TCP CC : bbr
    Virtualization : KVM
    IPv4/IPv6 : Online / Offline
    Organization : AS16509 Amazon.com, Inc.
    Location : Tokyo / JP
    Region : Tokyo
    ----------------------------------------------------------------------
    I/O Speed(1st run) : 46.4 MB/s
    I/O Speed(2nd run) : 65.3 MB/s
    I/O Speed(3rd run) : 98.6 MB/s
    I/O Speed(average) : 70.1 MB/s
    ----------------------------------------------------------------------
    Node Name Upload Speed Download Speed Latency
    Speedtest.net 4652.25 Mbps 4506.08 Mbps 2.26 ms
    Los Angeles, US 744.50 Mbps 1782.74 Mbps 110.71 ms
    Dallas, US 575.07 Mbps 1560.84 Mbps 142.25 ms
    Montreal, CA 282.59 Mbps 139.64 Mbps 179.68 ms
    Paris, FR 375.48 Mbps 1641.43 Mbps 213.69 ms
    Amsterdam, NL 363.35 Mbps 1739.98 Mbps 228.69 ms
    Shanghai, CN 2069.80 Mbps 3660.03 Mbps 58.07 ms
    Nanjing, CN 1553.30 Mbps 2589.14 Mbps 53.30 ms
    Guangzhou, CN 28.22 Mbps 446.63 Mbps 154.67 ms
    Hongkong, CN 786.73 Mbps 3998.02 Mbps 100.54 ms
    Singapore, SG 1195.30 Mbps 3509.08 Mbps 75.17 ms
    Tokyo, JP 497.00 Mbps 4383.58 Mbps 2.86 ms
    ----------------------------------------------------------------------
    Finished in : 6 min 48 sec
    Timestamp : 2023-07-03 04:11:10 UTC
    ----------------------------------------------------------------------
    ```

    ## 五、CPU Geekbench 5

    单核跑分:729

    多核跑分:901




    升级之后,网络太顶了。在甲骨文之后廉价机器再次被顶到 4Gbps ,其他厂商没一家能做到廉价鸡内网 4Gbps 甚至于物理机内网都做不到 4Gbps 的。

    吃码:my.cloudcpp.com
    20 条回复    2023-07-05 09:39:23 +08:00
    Salticey
        1
    Salticey  
       2023-07-03 17:03:22 +08:00 via Android
    回去升级下
    northbrunv
        2
    northbrunv  
       2023-07-03 17:08:17 +08:00
    3.5 刀也是双核吗
    cmhonker
        3
    cmhonker  
    OP
       2023-07-03 17:10:40 +08:00
    @northbrunv 是的,重点是网络,自甲骨文之后全面普及 4Gbps

    全网第二家廉价机标配 4Gbps
    titanium98118
        4
    titanium98118  
       2023-07-03 17:16:47 +08:00
    @cmhonker #3 oracle 也是要重建 instance ,还是直接就升级了?
    leadfast
        5
    leadfast  
       2023-07-03 17:17:40 +08:00
    Snapshotting... 都 20 分钟了,要这么慢的么
    lerry
        6
    lerry  
       2023-07-03 17:28:29 +08:00
    测了下我用的 vultr 的 6 刀机器,不过是单核心

    -------------------- A Bench.sh Script By Teddysun -------------------
    Version : v2023-06-10
    Usage : wget -qO- bench.sh | bash
    ----------------------------------------------------------------------
    CPU Model : AMD EPYC-Rome Processor
    CPU Cores : 1 @ 2794.748 MHz
    CPU Cache : 512 KB
    AES-NI : Enabled
    VM-x/AMD-V : Disabled
    Total Disk : 23.4 GB (13.1 GB Used)
    Total Mem : ( Used)
    Total Swap : ( Used)
    System uptime : 15 days, 10 hour 59 min
    Load average : 0.06, 0.01, 0.00
    OS : Debian GNU/Linux 11
    Arch : x86_64 (64 Bit)
    Kernel : 5.10.0-23-amd64
    TCP CC : bbr
    Virtualization : KVM
    IPv4/IPv6 : Online / Online
    Organization : AS20473 The Constant Company, LLC
    Location : Los Angeles / US
    Region : California
    ----------------------------------------------------------------------
    I/O Speed(1st run) : 1073741824 字节( 1.1 GB ,1.0 GiB )已复制,1.30604 s ,822 MB/s
    I/O Speed(2nd run) : 1073741824 字节( 1.1 GB ,1.0 GiB )已复制,1.08865 s ,986 MB/s
    I/O Speed(3rd run) : 1073741824 字节( 1.1 GB ,1.0 GiB )已复制,1.15204 s ,932 MB/s
    awk: 1: unexpected character 0xe5
    awk: line 1: runaway regular expression / 3} ...
    I/O Speed(average) : MB/s
    ----------------------------------------------------------------------
    Node Name Upload Speed Download Speed Latency
    Speedtest.net 10102.43 Mbps 10023.36 Mbps 0.24 ms
    cmhonker
        7
    cmhonker  
    OP
       2023-07-03 17:35:25 +08:00
    @lerry 小鸡和小鸡之间的速度呢?
    cmhonker
        8
    cmhonker  
    OP
       2023-07-03 17:35:50 +08:00
    @titanium98118 Oracle ARM 4 核默认就是 4Gbps 啊。
    titanium98118
        9
    titanium98118  
       2023-07-03 17:47:15 +08:00
    @cmhonker #8 哦,我以为 X86 也提升了。
    FabricPath
        10
    FabricPath  
       2023-07-03 17:53:23 +08:00
    cpu baseline 改成多少了?之前$3.5 单核的实例只有 5%的 CPU 性能,对于梯子来说略微不够,稍微看会儿视频,积分就被用光了
    cmhonker
        11
    cmhonker  
    OP
       2023-07-03 17:58:44 +08:00
    @FabricPath 还是那样,积分制, 只适合突发性的应用。 长期占用 CPU 需要大号 LightSail 或者 EC2 。

    话说回来你确定你看一会儿视频积分就没了???
    ZedRover
        12
    ZedRover  
       2023-07-03 18:04:15 +08:00
    问一下上海联通到 日本、新加坡和韩国的 lightsail 哪个延迟最低呢?
    ZedRover
        13
    ZedRover  
       2023-07-03 18:11:56 +08:00   ❤️ 1
    freeman12
        14
    freeman12  
       2023-07-03 18:22:00 +08:00
    CPU Model : Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
    CPU Cores : 2 @ 2499.998 MHz
    CPU Cache : 36608 KB
    AES-NI : Enabled
    VM-x/AMD-V : Disabled
    Total Disk : 19.6 GB (1.3 GB Used)
    Total Mem : 453.6 MB (77.9 MB Used)
    System uptime : 0 days, 0 hour 15 min
    Load average : 0.00, 0.00, 0.01
    OS : Debian GNU/Linux 11
    Arch : x86_64 (64 Bit)
    Kernel : 5.10.0-23-cloud-amd64
    TCP CC :
    Virtualization : Dedicated
    IPv4/IPv6 : Online / Online
    Organization : AS16509 Amazon.com, Inc.
    Location : Singapore / SG
    Region : Singapore
    ----------------------------------------------------------------------
    I/O Speed(1st run) : 106 MB/s
    I/O Speed(2nd run) : 135 MB/s
    I/O Speed(3rd run) : 134 MB/s
    I/O Speed(average) : 125.0 MB/s
    ----------------------------------------------------------------------
    Node Name Upload Speed Download Speed Latency
    Speedtest.net 4618.20 Mbps 4602.99 Mbps 1.09 ms
    Los Angeles, US 511.42 Mbps 692.87 Mbps 175.85 ms
    Dallas, US 436.66 Mbps 618.11 Mbps 212.14 ms
    Montreal, CA 357.29 Mbps 940.64 Mbps 237.51 ms
    Paris, FR 1113.04 Mbps 460.66 Mbps 147.06 ms
    Amsterdam, NL 493.22 Mbps 630.07 Mbps 184.24 ms
    Shanghai, CN 2266.74 Mbps 1976.11 Mbps 66.02 ms
    Hongkong, CN 2452.84 Mbps 1464.89 Mbps 34.39 ms
    Singapore, SG 4651.67 Mbps 4419.29 Mbps 1.82 ms
    Tokyo, JP 446.31 Mbps 1944.35 Mbps 66.21 ms
    ----------------------------------------------------------------------
    Finished in : 5 min 22 sec
    Timestamp : 2023-07-03 10:18:39 UTC
    ----------------------------------------------------------------------
    新加坡的看起来好点
    freeman12
        15
    freeman12  
       2023-07-03 18:23:25 +08:00
    另外想问下楼上的网速算快吗,看油管 4k 快进会加载很久,是 light sail 的问题还是我自身的网络问题
    cmhonker
        16
    cmhonker  
    OP
       2023-07-03 18:41:48 +08:00
    @freeman12 如果是电信网络就算了,丢包比较高,QOS 严重; 联通爽歪歪。
    Yosomi
        17
    Yosomi  
       2023-07-04 02:50:32 +08:00
    @ZedRover 谢谢 好东西
    muxw6
        18
    muxw6  
       2023-07-04 13:19:08 +08:00
    用快照恢复了,通过局域网和 ipv6 连新机器都可以连接,但是用 ipv4 地址一直连不上,有大佬知道什么原因么。
    cmhonker
        19
    cmhonker  
    OP
       2023-07-04 14:01:06 +08:00
    @muxw6 如果 IP 没被屏蔽,重置一下 sshd 服务~
    krixaar
        20
    krixaar  
       2023-07-05 09:39:23 +08:00
    @FabricPath #10 就梯子那点占用积分都不带动的……你确定不是部署的别的什么业务出问题了?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2839 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 03:53 · PVG 11:53 · LAX 19:53 · JFK 22:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.