Hello,

Today I was very surprised to see that KVM with enabled HugePages uses
much more memory versus KVM without HugePages enabled.

I have a server with 386Gb memory.
I have a VM image which allocate up to 3.2Gb memory (libvirt <memory/> tag).

Without HugePages enabled on the server I can create up to 235 VM on the server.

With HugePages enabled I can create about 105 VMs on the same server.
I reserve 180000 2Mb pages on the server.

I see that 180000*2Mb / 3.2 Gb = 112.5 VMs.

How KVM without HugePages is able to create 235 VMs? Does KSM help?

Is it possible to tune KVM with HugePages up to support ~200 VMs?

Thanks
-- 
With best regards, Pavel S. Shirshov
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to