Azure: vCPU与ACU之间的关系是什么?

huangapple go评论67阅读模式
英文:

Azure: What is the relationship between vCPU and ACU?

问题

在Azure函数的高级计划中,我需要选择一个应用服务计划,我选择了Elastic Premium EP1;它显示:总共 210 ACU,3.5 GB 内存,1 vCPU

关于ACU:
ACU 目前以标准的 Small (Standard_A1) VM 为基准,该 VM 的 ACU 为 100,然后其他所有 SKU 大致表示该 SKU 可以运行标准基准测试的速度有多快;例如,我的开发 VM:Standard_D2s_v3,ACU 为 160,并且具有以下规格:

vCPUs: 2
CPU 架构:x64
内存:8 GiB
Hyper-V 世代:V1,V2
Azure 计算单元 (ACUs): 160

我无法理解这一点:我的 VM 具有 2 个 vCPU,但只有 160 的 ACU;与此同时,Azure 函数的 EP1 中的单个 vCPU 提供了总共 210 的 ACU。

为什么?

Azure 函数的 EP1 使用的单个 1 个 vCPU 是否与我的开发 VM 中使用的 2 个 vCPU 有很大不同?

它们有何不同?它们在底层使用不同的硬件吗?

英文:

In Azure Function's Premium plan, I need to choose an App Service Plan and I chose the Elastic Premium EP1; It says: 210 total ACU, 3.5 GB Memory, 1 vCPU;

About the ACU:
ACU is currently standardized on a Small (Standard_A1) VM being 100 and all other SKUs then represent approximately how much faster that SKU can run a standard benchmark; For example, my dev VM: Standard_D2s_v3 , has an ACU of 160 and below specifications:

vCPUs:	2
CPU Architecture:	x64
Memory:	8 GiB
Hyper-V Generations:	V1,V2
Azure Compute Units (ACUs): 	160

I cannot understand this: my VM has 2 vCPUs and only an ACU of 160; meanwhile a single vCPU in Azure function's EP1 gives 210 total ACU.

Why?

Is the single 1 vCPU that Azure Function's EP1 is using a lot different from the 2 vCPUs that my dev VM is using?

How are they different? Do they use different hardware under the hood?

答案1

得分: 1

根据此文档,Azure ACU 用于比较不同 Azure SKU 的性能。然后,所有其他 SKU 通常指示该 SKU 相对于通用基准测试可以完成得更快多少。目前,ACU 的标准基准是标准化在 Small (Standard_A1) VM 上,其 ACU 为 100。对于不同的工作负载,结果可能会有显著差异。

根据您的查询,弹性高级 EP1 SKU 具有 1 个虚拟 CPU,3.5 GB 内存,和总共 210 ACU。您的开发 VM,Standard_D2s_v3,有两个虚拟 CPU(vCPU)和 160 ACU。这是因为:

ACU 通过使用 Intel® Turbo 技术提高 CPU 频率来提高性能。性能的程度取决于 VM 的大小、工作负载和活动主机。因此,在 Azure Function 的 EP1 中的单个虚拟 CPU 和您的开发 VM 中的两个虚拟 CPU 之间可能没有太大差异。ACU 是比较它们性能的更好方法,因为它们使用不同的硬件。

此外,根据文档,如果弹性高级 EPI 计划具有 210 ACU,则它属于支持 195-210 ACU 的 SKU。

Azure: vCPU与ACU之间的关系是什么?

英文:

According to this Document.

Azure ACU is used to compare performance across Azure SKU's. Then, all other SKUs generally indicate how much faster that SKU can complete a common benchmark. At the moment, ACU is standardised on a Small (Standard_A1) VM being 100. For different workloads the results may vary significantly.

In response to your inquiry, the Elastic Premium EP1 SKU has 1 vCPU, 3.5 GB Memory, and 210 total ACU. Your development VM, Standard_D2s_v3, has two virtual CPUs (vCPUs) and an ACU of 160. This is because:-

The ACUs boost performance by increasing CPU frequency using Intel® Turbo technology. And the degree of performance varies according to the size, workload, and active hosts of the VM. As a result, there may not be much of a difference between the single virtual CPU in Azure Function's EP1 and the two virtual CPUs in your development VM. The ACU is a better approach to compare their performance because they use different hardware inside.

Also, As per the document, If the The Elastic Premium EPI plan has 210 ACU's then it falls under SKU's that support 195-210 ACU's.

Azure: vCPU与ACU之间的关系是什么?

huangapple
  • 本文由 发表于 2023年7月20日 11:21:43
  • 转载请务必保留本文链接:https://go.coder-hub.com/76726479.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定