From: David Martin Subject: Re: hugetlbfs and KSM Date: Thu, 8 Apr 2010 14:36:47 -0500 (CDT) Message-ID: <2131463606.2172.1270755407668.JavaMail.root@mail1.martinsales.net> References: <579435996.2170.1270755367936.JavaMail.root@mail1.martinsales.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: berni@berkenwald.de To: kvm@vger.kernel.org Return-path: Received: from 64-198-110-146.ip.mcleodusa.net ([64.198.110.146]:39975 "EHLO mail1.martinsales.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757170Ab0DHTqu (ORCPT ); Thu, 8 Apr 2010 15:46:50 -0400 In-Reply-To: <579435996.2170.1270755367936.JavaMail.root@mail1.martinsales.net> Sender: kvm-owner@vger.kernel.org List-ID: I asked this question quite a while ago, it seems huge pages do not get scanned for merging. David Martin ----- "Bernhard Schmidt" wrote: > 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 majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html