[CentOS-virt] Enabling KSM with ksmctl under Centos 5.4

Steven Ellis steven.ellis at bulletin.net
Thu Feb 11 04:23:53 UTC 2010


Are their any good guides out there on how to use ksmctl to enable and
tune KSM performance on Centos/RedHat

At the moment the only guidelines I can find are from the following OLS
paper, plus the Linux Kernel Docs.
 * http://www.kernel.org/doc/ols/2009/ols2009-pages-19-28.pdf
 * http://www.kernel.org/doc/Documentation/vm/ksm.txt

On a basic dual core testbed with 4GB Ram and 4-5 VMs I've tried

  ksmctl  start 60 5000

This resulted in a 5% system cpu load as it tried to recover shared
space. Sadly I can't tell how well it is working as we don't have
/sys/kernel/mm/ksm support in Centos.

Has anyone got some guidelines on how to relate number of pages +
interval to number of CPUs and Ram.

Cheers

Steve
-- 
Bulletin.net <http://www.bulletin.net/>    *Steven Ellis - Director of
Worldwide Engineering,*
    *Bulletin.Net Inc* - http://www.bulletin.net/
    *Ph* +64 9 307 1146  *Fax* +64 9 307 1148
    *Mo* +64 21 321 673
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos-virt/attachments/20100211/31c3057b/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bulletin.png
Type: image/png
Size: 17721 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos-virt/attachments/20100211/31c3057b/attachment.png 


More information about the CentOS-virt mailing list