(reset for 192) |
No edit summary |
||
Line 14: | Line 14: | ||
[http://www.redhat.com/mailman/listinfo/fedora-virt fedora-virt list]. | [http://www.redhat.com/mailman/listinfo/fedora-virt fedora-virt list]. | ||
==== ==== | ==== KSM Tuning Service ==== | ||
A new feature for [[Releases/12 | Fedora 12]], Kernel Samepage Merging<ref>http://fedoraproject.org/wiki/Features/KSM</ref>, | |||
enables KVM guest virtual machines to share identical memory pages. This is especially useful when running multiple guests from the same or similar base operating system image. Because memory is shared, the combined memory usage of the guests is reduced. KSM works by scanning memory, looking for identical pages. | |||
[[DanKenigsberg |Dan Kenigsberg ]] | |||
posted<ref>http://www.redhat.com/archives/fedora-virt/2009-September/msg00023.html</ref> | |||
a KSM control daemon in a | |||
"simple script that controls whether (and with what vigor) should ksm search duplicated memory pages." | |||
"An unattended host running a variable number of qemu-kvm's needs to tune | |||
ksm automatically, since when memory is tight, it's better to spend more | |||
cpu on merging pages. In more relaxed cases, it's just a waste of time." | |||
<references /> | |||
==== Host Iptables Settings for Bridged Guests ==== | |||
[[MarkMcLoughlin|Mark McLoughlin]] | |||
pointed<ref>http://www.redhat.com/archives/fedora-virt/2009-September/msg00014.html</ref> | |||
out that the recommended<ref>http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging</ref> | |||
configuration for configuring iptables on the host to allow traffic to pass to | |||
a bridged guest to disable netfilter on the bridge altogether. | |||
<pre> | |||
# cat >> /etc/sysctl.conf <<EOF | |||
net.bridge.bridge-nf-call-ip6tables = 0 | |||
net.bridge.bridge-nf-call-iptables = 0 | |||
net.bridge.bridge-nf-call-arptables = 0 | |||
EOF | |||
# sysctl -p /etc/sysctl.conf | |||
</pre> | |||
This "will be the default with Fedora 12." | |||
<references /> | <references /> | ||
Revision as of 02:47, 7 September 2009
Virtualization
In this section, we cover discussion of Fedora virtualization technologies on the @fedora-virt, @fedora-xen-list, @libguestfs, @libvirt-list, and @virt-tools-list lists.
Contributing Writer: Dale Bewley
Fedora Virtualization List
This section contains the discussion happening on the fedora-virt list.
KSM Tuning Service
A new feature for Fedora 12, Kernel Samepage Merging[1], enables KVM guest virtual machines to share identical memory pages. This is especially useful when running multiple guests from the same or similar base operating system image. Because memory is shared, the combined memory usage of the guests is reduced. KSM works by scanning memory, looking for identical pages.
Dan Kenigsberg posted[2] a KSM control daemon in a "simple script that controls whether (and with what vigor) should ksm search duplicated memory pages."
"An unattended host running a variable number of qemu-kvm's needs to tune ksm automatically, since when memory is tight, it's better to spend more cpu on merging pages. In more relaxed cases, it's just a waste of time."
Host Iptables Settings for Bridged Guests
Mark McLoughlin pointed[1] out that the recommended[2] configuration for configuring iptables on the host to allow traffic to pass to a bridged guest to disable netfilter on the bridge altogether.
# cat >> /etc/sysctl.conf <<EOF net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptables = 0 net.bridge.bridge-nf-call-arptables = 0 EOF # sysctl -p /etc/sysctl.conf
This "will be the default with Fedora 12."
Fedora Xen List
This section contains the discussion happening on the fedora-xen list.
Virtualization Tools List
This section contains the discussion happening on the virt-tools-list list.
Libguestfs List
This section contains the discussion happening on the libguestfs list.
Libvirt List
This section contains the discussion happening on the libvir-list.