Linux 4.1: Full DynTicks For KVM Guests To Become Possible

Written by Michael Larabel in Virtualization on 15 April 2015 at 10:43 AM EDT. Add A Comment
VIRTUALIZATION
While full DynTicks support has been part of the mainline Linux kernel for quite a while, it's now become possible to use it with KVM guest virtual machines.

Full dynticks support for KVM guests will be possible with Linux 4.1 to support disabling the timer tick on the guest, per this NOHZ pull request by veteran kernel developer Ingo Molnar.

The patch finishing up this support explains, "The host kernel is not doing anything while the CPU is executing
a KVM guest VCPU, so it can be marked as being in an extended quiescent state, identical to that used when running user space code. The only exception to that rule is when the host handles an interrupt, which is already handled by the irq code, which calls rcu_irq_enter and rcu_irq_exit."

Those unfamiliar with the full dynticks support for the Linux kernel can see the kernel's NO_HZ documentation.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week