Hacker News 中文摘要

RSS订阅

2026年云虚拟机基准测试 -- Cloud VM benchmarks 2026

文章摘要

2026年云虚拟机性能基准测试显示,新CPU在高端性能上表现突出。测试覆盖44种虚拟机类型和多个区域,重点关注CPU性能和性价比,排除突发型实例,分别评估单线程和多线程性能。

文章总结

2026年云虚拟机性能基准测试报告

概述

本文对2026年主流云服务提供商的虚拟机性能进行了全面测试,重点关注CPU性能与性价比。测试覆盖了7家云服务商的44种虚拟机类型,包括AMD EPYC Turin、Intel Granite Rapids等新一代处理器。

核心发现

  1. 性能王者:AMD EPYC Turin表现惊艳,单线程性能领先优势明显,尤其在AWS C8a实例中表现最佳。
  2. ARM阵营崛起:Google Axion和Azure Cobalt 100等ARM架构处理器展现出强劲竞争力,性能接近EPYC Genoa水平。
  3. 性价比之选
    • 预算方案:Oracle免费层和Hetzner共享实例性价比突出
    • 非共享CPU最佳值:Oracle的ARM和x86实例,Azure Dpls_v6和GCP c4a/n4d在长期合约下表现优异
    • 极致性能:AWS C8a Turin实例

测试方法

  • 使用Docker化测试套件,主要指标包括:
    • DKbench单线程/多线程性能
    • Geekbench 5得分
    • 7-zip压缩/解压
    • NGINX网络服务
    • FFmpeg视频编码
    • OpenSSL加密性能

价格模式分析

  1. 按需付费:Oracle和Hetzner领先
  2. 预留实例
    • 1年合约:GCP Turin匹配Oracle
    • 3年合约:GCP Turin超越Oracle
  3. Spot实例:最高性价比选择,Azure Cobalt 100表现最佳

供应商亮点

  • AWS:C8a Turin性能最强,但价格偏高
  • GCP:n4d Turin性价比最优,Axion c4a适合多核负载
  • Azure:Cobalt 100自研ARM芯片表现亮眼
  • Oracle:免费4核ARM实例+付费实例双重优势
  • Hetzner:极致性价比,但需注意区域限制

使用建议

  1. 优先选择新一代CPU机型
  2. 长期项目考虑3年预留实例
  3. 弹性工作负载善用Spot实例
  4. 注意vCPU与物理核心的换算关系(ARM通常1vCPU=1核)

注意事项

选择云服务商还需综合考虑网络成本、区域覆盖等因素,本测试主要针对计算性能与价格。

完整数据表 | 原始讨论

评论总结

以下是评论内容的总结:

  1. AMD处理器表现优异

    • 多位用户称赞AMD Turin和EPYC处理器的性能,认为其性价比高。
    • 引用:
      • "Genoa was a big leap from Milan. Turin is a huge leap again. AMD really is doing spectacularly well at the moment." (nixgeek)
      • "The AMD EPYC 4565p can beat the turin's used on the cloud providers, by as much as 2x in the single core." (zackify)
  2. 自建服务器 vs. 云服务

    • 部分用户认为自建服务器(如Hetzner)成本更低,性能更好,适合CI等场景。
    • 引用:
      • "You can extract a lot of value from bare-metal servers from Hetzner... it is a lot more fun." (pdp)
      • "The machine cost under 2k... you break even in a couple months." (zackify)
    • 另一部分用户认为云服务(如AWS、GCP)能减少运维负担,适合生产环境。
    • 引用:
      • "Cloud's value isn't just compute - it's shifting operational burden." (alex_dev42)
      • "VPS don't offer anything beside basic compute... cloud provider virtualization is way better." (Thaxll)
  3. Hetzner的性价比争议

    • 用户认为Hetzner性能价格比优秀,但近期涨价30%。
    • 引用:
      • "Hetzner has best performance for the price. But also Hetzner just bumped prices like 30%." (OsrsNeedsf2P)
      • "The data on price-performance makes Hetzner look really fantastic." (preserves)
  4. Oracle Cloud的争议

    • 用户质疑Oracle Cloud的锁客策略,但承认其价格优势。
    • 引用:
      • "Oracle has historically used aggressive licenses and legal terms to keep customers locked-in." (boberoni)
      • "Nobody wants to use Oracle and they are trying to buy customers." (jeffbee)
  5. 性能与成本的平衡

    • 用户呼吁关注网络性能、存储成本等隐性费用。
    • 引用:
      • "VM cost isn't where AWS gets you. It's ALLLLLLLL the other nickel and diming." (AtlasBarfed)
      • "What about performance per dollar? Did I miss this part." (metadat)
  6. 桌面CPU与云CPU的比较

    • 桌面CPU(如9800X3D)在单线程和多线程性能上优于云CPU。
    • 引用:
      • "A desktop class CPU is definitely quicker single threaded and multithreaded." (PaulKeeble)

总结:评论主要围绕AMD处理器的性能优势、自建服务器与云服务的成本效益、Hetzner的性价比变化、Oracle Cloud的争议,以及隐性成本的重要性展开讨论。