英文:
EC2 burstable instance
问题
基线性能是指实例每小时赚取的学分数量,可以表示为CPU利用率的百分比。例如,一个具有两个虚拟CPU(vCPU)的t3.nano实例每小时赚取六个学分,从而获得每个vCPU 5%(3/60分钟)的基线性能。同样,一个具有四个vCPU的t3.xlarge实例每小时赚取96个学分,从而获得每个vCPU 40%(24/60分钟)的基线性能。
英文:
I am trying to understand what does baseline performance means in this article https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-credits-baseline-concepts.html
Specifically the last section
Baseline Performance
The number of credits that an instance earns per hour can be expressed as a percentage of CPU utilization. It is known as the baseline performance, and sometimes just as the baseline. For example, a t3.nano instance, with two vCPUs, earns six credits per hour, resulting in a baseline performance of 5% (3/60 minutes) per vCPU. A t3.xlarge instance, with four vCPUs, earns 96 credits per hour, resulting in a baseline performance of 40% (24/60 minutes) per vCPU.
What does 5% per vcpu means?
答案1
得分: 4
对于 t3.nano 实例类型,基准性能为 vcpu 的 5%。当 CPU 利用率低于 5% 时,您以给定速率获得 CPU 学分(每小时 6 个学分)。当超过此利用率时,您将需要使用已累积的学分(如果有的话)。如果您的 CPU 学分为 0,EC2 将只允许实例使用 5% 的 CPU 利用率。
另一种思考方式是,对于这个实例类型,您只能在进入 CPU 爆发计算之前使用 5% 的 CPU。超过 5% 的任何使用都受到实例的 CPU 学分帐户的限制。
英文:
For the t3.nano instance type baseline performance is 5% of vcpu. When cpu utilization is below 5% you earn cpu credits at the given rate (6 credits per hour). When you exceed this utilization rate, you will need spend accrued credits, if any. If you have 0 cpu credits accrued, EC2 will only allow the instance 5% cpu utilization.
Another way to think about it is that, for this instance type, you can only use 5% of the cpu before you cross into cpu burst accounting. Any use above 5% is subject to your CPU credit account for the instance.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论