[ubuntu-cloud] Eucalyptus on Ubuntu 10.04 with KSM enabled on Linux and KVM.

Martinx - ジェームズ thiagocmartinsc at gmail.com
Mon Apr 26 15:45:34 BST 2010


Hello!

Personally, as many may know, Ubuntu Lucid 10.04 have the Linux and the KVM
with support for KSM enabled, look:

martinx at tcmc-air:~$ lsb_release -ra
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu lucid (development branch)
Release:        10.04
Codename:       lucid

martinx at tcmc-air:~$ grep KSM /boot/config-`uname -r`
CONFIG_KSM=y

martinx at tcmc-air:~$ cat /sys/kernel/mm/ksm/run
1

martinx at tcmc-air:~$ cat /sys/kernel/mm/ksm/max_kernel_pages
125721

The KSM allows us to increase the density of virtual machines per
hypervisor.

See the following news:

http://blog.dustinkirkland.com/2010/02/ksm-now-enabled-in-ubuntu-lucid.html

http://events.linuxfoundation.org/lc09d22

http://www.linux-kvm.com/content/using-ksm-kernel-samepage-merging-kvm

My questions are:

1) The Eucalyptus (eucalyptus-nc?) can "see" that the KSM is acting and
thus, be able to start more instances than normal (without KSM) that the
hypervisor (Linux + KVM + KSM) will manage the memory behind the scenes?

2) The Eucalyptus, knowing that there is the KSM acting at the nodes, it can
try to start the same EMI always on the same hypervisor... Using more and
more the KSM feature... Where this control can be done? Within the plugin
that controls where the instances will be started?

Thanks!
Thiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-cloud/attachments/20100426/253b1f7d/attachment.htm 


More information about the Ubuntu-cloud mailing list