From mboxrd@z Thu Jan 1 00:00:00 1970 From: Izik Eidus Subject: Re: problems getting KSM running on newer 2.6.32.x kernels Date: Tue, 9 Feb 2010 15:02:17 +0200 Message-ID: <20100209150217.51336c6f@redhat.com> References: <20100201103740.GA4647@develbox.linuxbox.cz> <4B713E43.7000205@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Nikola Ciprich , KVM list , nikola.ciprich@linuxbox.cz To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:23022 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754483Ab0BINCd (ORCPT ); Tue, 9 Feb 2010 08:02:33 -0500 In-Reply-To: <4B713E43.7000205@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, 09 Feb 2010 12:51:47 +0200 Avi Kivity wrote: > On 02/01/2010 12:37 PM, Nikola Ciprich wrote: > > Hello, > > it seems to me that after upgrading to some 2.6.32.x release, KSM stopped working > > for me. I'm not exactly sure which update did this, but enabling KSM doesn't > > seem to do anything, ksmd process just sleeps and doesn't merge any memory. > > Early 2.6.32 versions worked correctly for me, now I'm using 2.6.32.7 and qemu-kvm-0.12.2. > > > > I'm enabling it using: > > > > echo 262144> /sys/kernel/mm/ksm/pages_to_scan > > echo 100> /sys/kernel/mm/ksm/sleep_millisecs > > echo 1> /sys/kernel/mm/ksm/run Is it happen to you just in 2.6.32.x? what happen with 2.6.33.x? I have tested it on 2.6.33.x and it seems to work... > > > > > > Izik? >