memory: 客户机最大使用的物理机内存上限。物理机器在boot使用的最大内存。

currentMemory: 如果设置的话,一旦机器被boot起来之后,相应模块被加载了,客户机就会调整它的内存到这个值。

若客户机为linux,即使有一个balloon驱动,也不会像期望的那样运行,当memory被设置高于currentMemory,客户机就不会“看到”,也不会使用它应该有的内存。理想情况下,客户机报告的Used Memory应该被客户机可见和使用。

 

实验证明,当memory设置的比currentMemory大的时候,free -m 报告的可见内存要小于currentMemory

链接

http://braastad.org/blog/2012/09/kvmxen-and-libvirt-currentmemory-memory-and-ballooning-where-did-my-memory-go/

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2021-11-11
  • 2021-05-22
  • 2021-11-08
  • 2021-07-07
  • 2021-08-17
猜你喜欢
  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
相关资源
相似解决方案