什么是EC2中的CPU信用余额? [英] What is CPU Credit Balance in EC2?

查看:614
本文介绍了什么是EC2中的CPU信用余额?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在EC2监控中遇到了 CPU信用余额。什么是 CPU信用余额

I came across CPU Credit Balance in EC2 monitoring . What is CPU Credit Balance?

推荐答案

AWS EC2 有2种不同的实例类型:固定性能实例(例如M3,C3等)和可突发性能实例(例如T2)。 固定性能实例提供一致的CPU性能,而可突发性能实例提供基准CPU性能在正常工作量下。但是,当工作负载增加时,可突发性能实例就具有爆发能力,即提高了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积分来提高Burst期间的CPU性能。假设您以100%的CPU性能运行实例5分钟,您将花费 5(即5 * 1.0) CPU积分。同样,如果您以50%的CPU性能运行实例5分钟,您将花费 2.5(即5 * 0.5) CPU积分。

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信用用尽(即CPU信用余额变为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.

有关可突发性能实例的CPU信用和基准性能

这篇关于什么是EC2中的CPU信用余额?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆