有关top命令中的%st,sar命令中的%steal

转载自:http://blog.csdn.net/yui/article/details/6395033 html


译文(可能翻译得不是很流利,将就着看吧,实在看不懂了能够看下面的原文)linux

 


st 的全称是 Steal Time ,就是 Xen Hypervisor 分配给运行在其它虚拟机上的任务的实际 CPU 时间。服务器

 

IBM 关于 steal time 的定义至关好:ide

 

%st(Steal time) 是当 hypervisor 服务另外一个虚拟处理器的时候,虚拟 CPU 等待实际 CPU 的时间的百分比。ui

 

那么,这到底是什么意思呢?this

 

Steal 值比较高的话,你须要向主机供应商申请扩容虚拟机。服务器上的另外一个虚拟机可能拥有更大更多的 CPU 时间片,你可能须要申请升级以与之竞争。另外,高 steal 值可能意味着主机供应商在服务器上过量地出售虚拟机。若是升级了虚拟机, steal 值仍是不降的话,你应该寻找另外一家服务供应商。spa

 

 steal 值意味着你的应用程序在目前的虚拟机上运做良好。由于你的虚拟机不会常常地为了 CPU 时间与其它虚拟机激烈竞争,你的虚拟机会更快地响应。这一点也暗示了,你的主机供应商没有过量地出售虚拟服务,绝对是一件好事情。.net

 


原文及原文地址: http://www.91linux.com/html/article/cmd/top/20090417/16525.html翻译

 


st, It turns out that this stands for 'Steal Time' and is the amount of real cpu that the Xen Hypervisor has allocated to tasks other than running your Virtual Machine.orm

 

IBM's definition of steal time is actually pretty good:

 

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

 

So, relatively speaking, what does this mean?

 

A high steal percentage may mean that you may be outgrowing your virtual machine with your hosting company. Other virtual machines may have a larger slice of the CPU’s time and you may need to ask for an upgrade in order to compete. Also, a high steal percentage may mean that your hosting company is overselling virtual machines on your particular server. If you upgrade your virtual machine and your steal percentage doesn’t drop, you may want to seek another provider.

相关文章
相关标签/搜索