Steal time is the percentage of time a virtual CPU waits for a real CPU while the hypervisor is servicing another virtual processor.

观察

top

image.png

vmstat

  1. [ec2-user@ip-172-31-15-250 ~]$ vmstat
  2. procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
  3. r b swpd free buff cache si so bi bo in cs us sy id wa st
  4. 2 0 0 394080 0 1047612 0 0 2 4 37 12 0 0 100 0 0

出现ST的可能性

  • Depleted CPU credit balance 在积分消耗完以后,CPU会落回到基准线,但是CPU需要的往往比基准线更高,所以就会出现ST。
  • Shared resources 其他实例正在使用,占用了CPU资源
  • VM exits 底层系统正在执行一些操作,也会有相应的提示。

参考链接:
https://supportkb.nwcdcloud.cn/articles/12937
https://supportkb.nwcdcloud.cn/articles/1847