[PVE-User] KSM not working?

Fred Supinski fred at vmu.ca
Tue Dec 29 16:04:46 CET 2009


/usr/sbin/ksmtuned apears to run fine, and ksmd starts doing it's thing.

I will take some time this evening to take a look at the init script.

Thanks,

Fred


-------- Original Message  --------
Subject: Re: [PVE-User] KSM not working?
From: Dietmar Maurer <dietmar at proxmox.com>
To: Fred Supinski <fred at vmu.ca>
Cc: proxmoxve <pve-user at pve.proxmox.com>
Date: Tue Dec 29 2009 09:57:01 GMT-0500 (Eastern Standard Time)
>
> So please can you try to debug the init script? Also try to start the
> daemon manually to test whats wrong (ksmtuned)
>
>  
>
> - Dietmar
>
>  
>
> *From:* Fred Supinski [mailto:fred at vmu.ca]
> *Sent:* Dienstag, 29. Dezember 2009 15:53
> *To:* Dietmar Maurer
> *Cc:* proxmoxve
> *Subject:* Re: [PVE-User] KSM not working?
>
>  
>
> vm0:/var/log# ls /sys/kernel/mm/ksm/
> full_scans  max_kernel_pages  pages_shared  pages_sharing 
> pages_to_scan  pages_unshared  pages_volatile  run  sleep_millisecs
>
> -Fred
>
> -------- Original Message  --------
> Subject: Re: [PVE-User] KSM not working?
> From: Dietmar Maurer <dietmar at proxmox.com> <mailto:dietmar at proxmox.com>
> To: Fred Supinski <fred at vmu.ca> <mailto:fred at vmu.ca>, proxmoxve
> <pve-user at pve.proxmox.com> <mailto:pve-user at pve.proxmox.com>
> Date: Tue Dec 29 2009 09:46:08 GMT-0500 (Eastern Standard Time)
>
> What is the output of:
>
>  
>
> # ls /sys/kernel/mm/ksm/
>
>  
>
> And, yes, "test -x $prox || exit 0" is a bug -- will fix it.
>
>  
>
> - Dietmar
>
>  
>
> *From:* Fred Supinski [mailto:fred at vmu.ca]
> *Sent:* Dienstag, 29. Dezember 2009 15:15
> *To:* Dietmar Maurer; proxmoxve
> *Subject:* Re: [PVE-User] KSM not working?
>
>  
>
> Hi Dietmar,
>
> It doesn't appear to start or give any output at all.
>
> vm0:/var/log# ps aux | grep ksm
> root        54  0.0  0.0      0     0 ?        SN   Dec28   0:00 [ksmd]
> root     15063  0.0  0.0   3880   640 pts/1    S+   08:32   0:00 grep ksm
> vm0:/var/log# /etc/init.d/ksmtuned start
> vm0:/var/log# /etc/init.d/ksmtuned status
> vm0:/var/log# ps aux | grep ksm
> root        54  0.0  0.0      0     0 ?        SN   Dec28   0:00 [ksmd]
> root     15069  0.0  0.0   3880   640 pts/1    S+   08:32   0:00 grep ksm
> vm0:/var/log#
>
> /etc/init.d/ksmtuned Line 42:
> test -x $prox || exit 0
>
> I am guessing this should be:
> test -x $prog || exit 0
>
> I'm have skimmed over the reset but nothing is popping out at me.  I
> have tested with the above change, and it still does nothing.
>
> It doesn't appear to log any failures either.
>
> Thanks again,
> -
> Fred
>
>
>
> -------- Original Message  --------
> Subject: Re: [PVE-User] KSM not working?
> From: Dietmar Maurer <dietmar at proxmox.com> <mailto:dietmar at proxmox.com>
> To: Fred Supinski <fred at vmu.ca> <mailto:fred at vmu.ca>,
> pve-user at pve.proxmox.com <mailto:pve-user at pve.proxmox.com>
> <pve-user at pve.proxmox.com> <mailto:pve-user at pve.proxmox.com>
> Date: Tue Dec 29 2009 03:23:17 GMT-0500 (Eastern Standard Time)
>
>
> is the ksm control daemon running ('ksmtuned')?, If not, start with:
>
>  
>
> # /etc/init.d/ksmtuned start
>
>  
>
> - Dietmar
>
>  
>
>  
>
> *From:* pve-user-bounces at pve.proxmox.com
> <mailto:pve-user-bounces at pve.proxmox.com>
> [mailto:pve-user-bounces at pve.proxmox.com] *On Behalf Of *Fred Supinski
> *Sent:* Montag, 28. Dezember 2009 22:56
> *To:* pve-user at pve.proxmox.com <mailto:pve-user at pve.proxmox.com>
> *Subject:* Re: [PVE-User] KSM not working?
>
>  
>
> As an additional note, I am running 8 VMs on this box.  4x Ubuntu 9.10
> Server, 3x Windows Server 2003, and 1x Windows XP.
>
> -Fred
>
> Fred Supinski wrote on 12/28/2009 2:31 PM:
>
> Hi Dietmar,
>
> That doesn't appear to be the issue:
> vm0:/# free
>              total       used       free     shared    buffers     cached
> Mem:       8180404    8129008      51396          0      95952    2316360
> -/+ buffers/cache:    5716696    2463708
> Swap:      7340024    1135688    6204336
>
> Anything else I should try checking out?
>
> Thanks,
> -
> Fred
>
> -------- Original Message  --------
> Subject: Re: [PVE-User] KSM not working?
> From: Dietmar Maurer <dietmar at proxmox.com> <mailto:dietmar at proxmox.com>
> To: Fred Supinski <fred at vmu.ca> <mailto:fred at vmu.ca>, proxmoxve
> <pve-user at pve.proxmox.com> <mailto:pve-user at pve.proxmox.com>
> Date: Mon Dec 28 2009 14:05:34 GMT-0500 (Eastern Standard Time)
>
>
>
> KSM only starts when you use more than half of your physical memory.
>
>  
>
> - Dietmar
>
>  
>
>  
>
> *From:* pve-user-bounces at pve.proxmox.com
> <mailto:pve-user-bounces at pve.proxmox.com>
> [mailto:pve-user-bounces at pve.proxmox.com] *On Behalf Of *Fred Supinski
> *Sent:* Montag, 28. Dezember 2009 19:00
> *To:* proxmoxve
> *Subject:* [PVE-User] KSM not working?
>
>  
>
> I have just started testing KSM and it doesn't appear to be working on
> my server.  ( 0 shared pages )
>
> I have verified that the kernel is configured to boot with the option
> enabled, and I show the ksmd process running.
>
> vm0:/# pveversion -v
> pve-manager: 1.5-1 (pve-manager/1.5/4561)
> running kernel: 2.6.32-1-pve
> proxmox-ve-2.6.32: 1.5-2
> pve-kernel-2.6.32-1-pve: 2.6.32-2
> pve-kernel-2.6.24-9-pve: 2.6.24-18
> pve-kernel-2.6.24-8-pve: 2.6.24-16
> qemu-server: 1.1-10
> pve-firmware: 1.0-2
> libpve-storage-perl: 1.0-6
> vncterm: 0.9-2
> vzctl: 3.0.23-1pve3
> vzdump: 1.2-5
> vzprocps: 2.0.11-1dso2
> vzquota: 3.0.11-1
> pve-qemu-kvm: 0.11.1-1
> ksm-control-daemon: 1.0-1
>
> Any ideas of what I might need to do to get it working?
>
> Thanks,
>
> Fred
>
>
>
>
>
>  
>  
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com <mailto:pve-user at pve.proxmox.com>
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>   
>
>  
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20091229/4d1512d9/attachment.htm>


More information about the pve-user mailing list