EC2 中的 CPU 积分余额是什么? [英] What is CPU Credit Balance in EC2?
问题描述
我在 EC2 监控中遇到了 CPU 信用余额.什么是CPU 信用余额?
I came across CPU Credit Balance in EC2 monitoring . What is CPU Credit Balance?
推荐答案
AWS EC2
有 2 种不同类型的实例:固定性能实例(例如 M3、C3 等)和突发性能实例(例如 T2).Fixed Performance Instances
提供一致的 CPU 性能,而 Burstable Performance Instances
在正常工作负载下提供 baseline CPU 性能
.但是当工作负载增加时Burstable Performance Instances
有爆发的能力,即提高CPU性能.
AWS EC2
has 2 different type of instances: Fixed Performance Instances(e.g. M3, C3 etc) and Burstable Performance Instances (e.g. T2). Fixed Performance Instances
provides a consistent CPU performance whereas Burstable Performance Instances
provide a baseline CPU performance
under normal workload. But when the workload increases Burstable Performance Instances
have the ability to burst, i.e. increase the CPU performance.
CPU Credit 调节实例的 CPU 爆发量.您可以使用此 CPU Credit 来提高 Burst 期间的 CPU 性能.假设您以 100% CPU 性能运行实例 5 分钟,您将花费 5(i.e. 5*1.0)
CPU Credit.同样,如果您以 50% CPU 性能运行实例 5 分钟,您将花费 2.5(i.e. 5*0.5)
CPU Credits.
CPU Credit regulates the amount CPU burst of an instance. You can spend this CPU Credit to increase the CPU performance during the Burst period. Suppose you are operating the instance at 100% of CPU performance for 5 minutes, you will spend 5(i.e. 5*1.0)
CPU Credit. Similarly if you run an instance at 50% CPU performance for 5 minutes you will spend 2.5(i.e. 5*0.5)
CPU Credits.
CPU 积分余额 只是您帐户中随时可用的 CPU 积分金额.
CPU Credit Balance is simply the amount of CPU Credit available in your account at any moment.
当您创建实例时,您将获得初始 CPU 积分.每小时您将自动获得一定数量的 CPU 积分(该数量取决于实例类型).如果您不突破 CPU 性能,CPU 积分将添加到您帐户的 CPU 积分余额中.如果您的 CPU Credit 用完(即 CPU Credit Balance 变为 0),您的实例将在基准性能上运行.
When you create an instance you will get an initial CPU Credit. In every hour you will get certain amount of CPU credits automatically(this amount depends on the type of instance). If you don't burst the CPU performance the CPU Credit will be added to your CPU Credit Balance of your account. If you are out of CPU Credit(i.e. CPU Credit Balance turns into 0) your instance will work on baseline performance.
这篇关于EC2 中的 CPU 积分余额是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!