(→Fedora Virtualization List: begin next fwn) |
|||
Line 82: | Line 82: | ||
such as {{package|python-virtinst}} and <code>virt-inspector</code>. LibOSinfo was first proposed<ref>http://fedoraproject.org/wiki/FWN/Issue180#libosinfo:_Library_for_Virt_OS.2Fdistro_Metadata</ref> | such as {{package|python-virtinst}} and <code>virt-inspector</code>. LibOSinfo was first proposed<ref>http://fedoraproject.org/wiki/FWN/Issue180#libosinfo:_Library_for_Virt_OS.2Fdistro_Metadata</ref> | ||
by [[ColeRobinson|Cole Robinson]]. | by [[ColeRobinson|Cole Robinson]]. | ||
<references /> | <references /> |
Revision as of 21:40, 1 November 2009
Virtualization
In this section, we cover discussion of Fedora virtualization technologies on the @fedora-virt and @virt-tools lists..
Contributing Writer: Dale Bewley
Fedora Virtualization List
This section contains the discussion happening on the fedora-virt list.
KSM Tuning
" by default enabled and only with 2000 kernel pages... What I am worried about is that users wont use the ksm tunning script and would just run ksm with this 2000 kernel pages - the result would be that ksm will probably merge just the zero pages (that could be alot of memory) and the user might not know
that much more memory can be saved...
Is it possible to at least make ksm disabled by default? so the users will have to run the ksm tunning script when they want to start ksm?
And if we set it to disabled by default, cant we set the initialized values into more realistic value? (like 1/4 of the memory in the mainline kernels? ) "
"ksm is disabled by default currently"
"Here's the logic we have in the init script[3]:
# unless KSM_MAX_KERNEL_PAGES is set, let ksm munch up to half of total memory. default_max_kernel_pages () { local total pagesize total=`awk '/^MemTotal:/ {print $2}' /proc/meminfo` pagesize=`getconf PAGESIZE` echo $[total * 1024 / pagesize / 2] }
"There are actually 2 init scripts. One to turn on ksm, and one for tuning. The actual ksm init script simply makes sure ksm is turned on in the kernel and sets max_kernel_pages to half of system memory. The ksmtuned script is a bit more involved."
Mark McLoughlin [5] "For Fedora 13, it'll be off by default in the kernel and the recommended way of switching it on is with 'chkconfig ksm on'
For Fedora 12, it's on by default in the kernel, 'chkconfig ksm on' just
changes max pages and the only way of disabling it is by manually
writing zero to /sys/kernel/mm/ksm/run
"
"We'll probably end up with this behaviour in F12 updates at some point anyway when 2.6.32 is pulled in"
Justin Forbes "The limit to half of total memory is because ksm pages are unswappable at this time. To be fixed in a future kernel."
- ↑ http://www.redhat.com/archives/fedora-virt/2009-October/msg00110.html
- ↑ http://www.redhat.com/archives/fedora-virt/2009-October/msg00112.html
- ↑ http://gitorious.org/ksm-control-scripts/ksm-control-scripts
- ↑ http://www.redhat.com/archives/fedora-virt/2009-October/msg00115.html
- ↑ http://www.redhat.com/archives/fedora-virt/2009-October/msg00119.html
Virtualization Tools List
This section contains the discussion happening on the virt-tools-list list.
libosinfo Revisited
Arjun Roy
revived[1]
discussion of a library to track details of OS distributions for use by tools
such as
and python-virtinst
virt-inspector
. LibOSinfo was first proposed[2]
by Cole Robinson.