From: Gilles PIETRI <contact+dev@gilouweb.com>
To: Nikola Ciprich <extmaillist@linuxbox.cz>
Cc: kvm@vger.kernel.org
Subject: Re: KSM not working on 2.6.28.7 and qemu-kvm 0.12.2 ?
Date: Mon, 22 Feb 2010 22:02:28 +0100 [thread overview]
Message-ID: <4B82F0E4.5030609@gilouweb.com> (raw)
In-Reply-To: <20100222054031.GD30897@develbox.linuxbox.cz>
Le 22/02/2010 06:40, Nikola Ciprich a écrit :
> Hi Gilles, maybe You have the same problem I experienced?
> see http://www.mail-archive.com/kvm@vger.kernel.org/msg28572.html
> nik
>
Hi,
The linux headers do include the MADV_MERGEABLE settings, and the libc
is the debian one which happened to work fine earlier in this regard.
Anyway I still added the flags just to make sure, and nothing more happens.
Cheers,
Gilou
> On Sun, Feb 21, 2010 at 10:35:06PM +0100, Gilles PIETRI wrote:
>> Hi,
>>
>> I'm running a 2.6.32.7 kernel with KSM enabled (CONFIG_KSM=y), with
>> qemu-kvm 0.12.2 that has support for KSM (exec.c checks for
>> MADV_MERGEABLE)..
>>
>> So I have KSM running, /sys/kernel/mm/ksm/run is at 1, and after a
>> few hours running a dozen of VMs, many of them running the same
>> OS/base image, I see no page being shared, KSM seems inactive.
>>
>> Values are pretty much to their default value, and it seems KSM is
>> simply not working.. I see ksmd in the process list though, but here
>> are the sysfs values reported:
>> ==> /sys/kernel/mm/ksm/full_scans <==
>> 0
>>
>> ==> /sys/kernel/mm/ksm/max_kernel_pages <==
>> 1027257
>>
>> ==> /sys/kernel/mm/ksm/pages_shared <==
>> 0
>>
>> ==> /sys/kernel/mm/ksm/pages_sharing <==
>> 0
>>
>> ==> /sys/kernel/mm/ksm/pages_to_scan <==
>> 100
>>
>> ==> /sys/kernel/mm/ksm/pages_unshared <==
>> 0
>>
>> ==> /sys/kernel/mm/ksm/pages_volatile <==
>> 0
>>
>> ==> /sys/kernel/mm/ksm/run <==
>> 1
>>
>> ==> /sys/kernel/mm/ksm/sleep_millisecs <==
>> 20
>>
>> Any clues?
>>
>> Cheers,
>> Gilou
>> --
>> 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
>>
>
next prev parent reply other threads:[~2010-02-22 21:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4B81A70A.1010407@gilouweb.com>
2010-02-22 5:40 ` KSM not working on 2.6.28.7 and qemu-kvm 0.12.2 ? Nikola Ciprich
2010-02-22 21:02 ` Gilles PIETRI [this message]
2010-02-23 18:21 ` Gilles PIETRI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B82F0E4.5030609@gilouweb.com \
--to=contact+dev@gilouweb.com \
--cc=extmaillist@linuxbox.cz \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox