【问题标题】:Azure Spot VM average up timeAzure Spot VM 平均正常运行时间
【发布时间】:2023-01-13 00:29:03
【问题描述】:

我正在尝试评估是否应该使用 Spot VM,Azure 以百分比形式给出了可用性衡量标准。 https://www.linkedin.com/pulse/viewing-eviction-rates-spot-virtual-machines-azure-portal-dave-callan/

有谁知道我在哪里可以找到 VM 可用的平均时间?

理想情况下,我希望有一条贝尔曲线来估计我的工作完成的可能性。

【问题讨论】:

    标签: azure kubernetes azure-virtual-machine preemptive


    【解决方案1】:

    当您的工作负载可以处理突然中断而不会过多损坏进程时,主要使用 Azure 点 VM。

    说到百分比,公式如下所示:

    (total_evictions * time_lost) / total_runtime = eviction rate
    

    因此,例如,假设您要运行 VM 100 小时,并且逐出率为 5%,逐出的次数很难说,但可能类似于以下示例:

    // 50 evictions, each removed 0.1h of computation time.
    (50 * 0.1) / 100 = 0.05 = 5% 
    
    // 10 evictions, each removed 1h of computation time.    
    (10 * 1) / 100 = 0.05 = 5% 
    
    // 2 evictions, each removed 5h of computation time.    
    (2 * 5) / 100 = 0.05 = 5% 
    

    所以你的问题没有确切的答案,也没有平均值,只有猜测和数学:)

    【讨论】:

      猜你喜欢
      • 2010-09-28
      • 2023-04-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-19
      • 1970-01-01
      • 1970-01-01
      • 2020-10-09
      相关资源
      最近更新 更多