From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikola Ciprich Subject: problems getting KSM running on newer 2.6.32.x kernels Date: Mon, 1 Feb 2010 11:37:41 +0100 Message-ID: <20100201103740.GA4647@develbox.linuxbox.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: nikola.ciprich@linuxbox.cz To: KVM list Return-path: Received: from gwu.lbox.cz ([62.245.111.132]:41346 "EHLO gwu.lbox.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752430Ab0BAKhZ (ORCPT ); Mon, 1 Feb 2010 05:37:25 -0500 Received: from linuxbox.linuxbox.cz (server.linuxbox.cz [10.76.66.10]) by gwu.lbox.cz (Sendmail) with ESMTP id o11AbNYh010075 for ; Mon, 1 Feb 2010 11:37:23 +0100 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: 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 there anything else I could check? Thanks a lot for any hints with best regards nik -- ------------------------------------- Ing. Nikola CIPRICH LinuxBox.cz, s.r.o. 28. rijna 168, 709 01 Ostrava tel.: +420 596 603 142 fax: +420 596 621 273 mobil: +420 777 093 799 www.linuxbox.cz mobil servis: +420 737 238 656 email servis: servis@linuxbox.cz -------------------------------------