gpt4 book ai didi

Azure Spot VM 平均正常运行时间

转载 作者:行者123 更新时间:2023-12-03 02:05:05 28 4
gpt4 key购买 nike

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

有谁知道在哪里可以找到虚拟机的平均可用时间?

最好我想要一条贝尔曲线来估计我的工作完成的概率。

最佳答案

当您的工作负载可以处理突然中断而不会对进程造成太大损害时,通常会使用 Azure 现货虚拟机。

说到百分比,公式如下:

(total_evictions * time_lost) / total_runtime = eviction rate

例如,假设您要运行一个虚拟机 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.10 = 10%

// 2 evictions, each removed 5h of computation time.
(2 * 5) / 100 = 0.10 = 10%

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

关于Azure Spot VM 平均正常运行时间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75098459/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com