Skip to contentSkip to conversation

hugetlbfs and KSM

DISCUSSION David Martin 1 participant 1 message Apr 8, 2010 1 message not in the archive KVM

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

I asked this question quite a while ago, it seems huge pages do not get scanned for merging.

David Martin

Quoted 25 lines · ----- "Bernhard Schmidt

Hi,

running Debian Squeeze with a 2.6.32-3-amd64 kernel and qemu-kvm 0.12.3
I enabled hugetlbfs on a rather small box with about five similar VMs today (all Debian Squeeze amd64, but different services)

Pro:
* system load on the host has gone way down (by about 50%)

Contra:
* KSM seems to be largely ineffective (100MB saved -> 1.3MB saved)

Am I doing something wrong? Is this a bug? Is this generally impossible
with large pages (which might explain the lower load on the host, if large pages are not scanned)? Or is it just way less likely to have identical pages at that size?

Bernhard

--
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