<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.kerneltrap.org"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>KernelTrap - virtual machine</title>
 <link>http://www.kerneltrap.org/taxonomy/term/353/0</link>
 <description></description>
 <language>en-local</language>
<item>
 <title>Dm-band, Block I/O Bandwidth Controller</title>
 <link>http://www.kerneltrap.org/Linux/Dm-band_Block_IO_Bandwidth_Controller</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;I&#039;m happy to announce that I&#039;ve implemented a Block I/O bandwidth controller,&lt;/i&gt;&quot; &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2008/1/23/594709&quot;&gt;began Ryo Tsuruta&lt;/a&gt;, explaining that it was intended to be used in a cgroup or virtual machine environment, implemented as a device-mapper driver.  He detailed a token-based implementation in which dm-band passes out to the various groups, &quot;&lt;i&gt;a group passes on I/O requests that its job issues to the underlying layer so long as it has tokens left, while requests are blocked if there aren&#039;t any tokens left in the group. One token is consumed each time the group passes on a request. Dm-band will refill groups with tokens once all of groups that have requests on a given physical device use up their tokens.&lt;/i&gt;&quot;  Ryo explained:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;Dm-band is an I/O bandwidth controller implemented as a device-mapper driver. Several jobs using the same physical device have to share the bandwidth of the device. Dm-band gives bandwidth to each job according to its weight, which each job can set its own value to. At this time, a job is a group of processes with the same pid or pgrp or uid. There is also a plan to make it support cgroup. A job can also be a virtual machine such as KVM or Xen.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.org/Linux/Dm-band_Block_IO_Bandwidth_Controller&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/Linux/Dm-band_Block_IO_Bandwidth_Controller#comments</comments>
 <category domain="http://www.kerneltrap.org/taxonomy/term/1170">dm-band</category>
 <category domain="http://www.kerneltrap.org/Linux">Linux</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/1171">Ryo Tsuruta</category>
 <category domain="http://www.kerneltrap.org/virtual_machine">virtual machine</category>
 <category domain="http://www.kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Thu, 24 Jan 2008 15:32:25 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">15331 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>Virtual Machine Time Accounting</title>
 <link>http://www.kerneltrap.org/Linux/Virtual_Machine_Time_Accounting</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;The aim of these four patches is to introduce Virtual Machine time accounting,&lt;/i&gt;&quot; began Laurent Vivier.  &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/9/10/191716&quot;&gt;He described&lt;/a&gt; the first two patches as:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;1) As recent CPUs introduce a third running state, after &#039;user&#039; and &#039;system&#039;, we need a new field, &#039;guest&#039;, in cpustat to store the time used by the CPU to run virtual CPU. Modify /proc/stat to display this new field.&lt;/p&gt;
&lt;p&gt;&quot;2) Like for cpustat, introduce the &#039;gtime&#039; (guest time of the task) and &#039;cgtime&#039; (guest time of the task children) fields for the tasks. Modify signal_struct and task_struct. Modify /proc/&amp;lt;pid&amp;gt;/stat to display these new fields.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Both Ingo Molnar and Rik van Riel responded favorably to the patch.  Ingo replied, &quot;&lt;i&gt;the concept certainly looks sane to me,&lt;/i&gt;&quot; adding, &quot;&lt;i&gt;I&#039;d suggest inclusion into 2.6.24.&lt;/i&gt;&quot;  Regarding concerns that the new information at the end of the line could break utilities such as &lt;code&gt;top&lt;/code&gt; or &lt;code&gt;ps&lt;/code&gt;, Rik assured that it would not, &quot;&lt;i&gt;we have added numbers to the cpu lines in /proc/stat since early 2.6.  All the programs parsing /proc/stat should just scan for a number of numbers from the start of the line, without trying to scan for the terminating newline.&lt;/i&gt;&quot;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.org/Linux/Virtual_Machine_Time_Accounting&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/Linux/Virtual_Machine_Time_Accounting#comments</comments>
 <category domain="http://www.kerneltrap.org/2.6.24">2.6.24</category>
 <category domain="http://www.kerneltrap.org/Ingo_Molnar">Ingo Molnar</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/914">Laurent Vivier</category>
 <category domain="http://www.kerneltrap.org/Linux">Linux</category>
 <category domain="http://www.kerneltrap.org/ps">ps</category>
 <category domain="http://www.kerneltrap.org/Rik_van_Riel">Rik van Riel</category>
 <category domain="http://www.kerneltrap.org/top">top</category>
 <category domain="http://www.kerneltrap.org/virtual_machine">virtual machine</category>
 <category domain="http://www.kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Wed, 12 Sep 2007 17:18:52 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14362 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>Linux:  Xen Merged</title>
 <link>http://www.kerneltrap.org/node/13917</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;The Xen virtual machine monitor was &lt;a href=&quot;http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=5ead97c84fa7d63a6a7a2f4e9f18f452bd109045&quot;&gt;recently merged&lt;/a&gt; into the upcoming &lt;a href=&quot;http://kerneltrap.org/taxonomy/term/371&quot;&gt;2.6.23&lt;/a&gt; Linux kernel in a series of patches from Jeremy Fitzhardinge.  The project was originally started as a &lt;a href=&quot;http://www.cl.cam.ac.uk/research/srg/netos/xen/&quot;&gt;research project&lt;/a&gt; at the University of Cambridge, and has been &lt;a href=&quot;http://lwn.net/Articles/125831/&quot;&gt;repeatedly discussed&lt;/a&gt; as a &lt;a href=&quot;http://lwn.net/Articles/183105/&quot;&gt;merge candidate&lt;/a&gt; for the mainline Linux kernel.  &lt;/p&gt;
&lt;p&gt;Xen is described in the project&#039;s &lt;a href=&quot;http://wiki.xensource.com/xenwiki/XenFaq&quot;&gt;FAQ&lt;/a&gt; as:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;Xen is a virtual machine monitor (VMM) for x86-compatible computers. Xen can securely execute multiple virtual machines, each running its own OS, on a single physical system with close-to-native performance.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.org/node/13917&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/node/13917#comments</comments>
 <category domain="http://www.kerneltrap.org/2.6.23">2.6.23</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/728">hypervisor</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/729">Jeremy Fitzhardinge</category>
 <category domain="http://www.kerneltrap.org/merge_window">merge window</category>
 <category domain="http://www.kerneltrap.org/virtual_machine">virtual machine</category>
 <category domain="http://www.kerneltrap.org/virtualization">virtualization</category>
 <category domain="http://www.kerneltrap.org/Xen">Xen</category>
 <category domain="http://www.kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Fri, 20 Jul 2007 18:01:45 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">13917 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>Linux: KVM Adds Support For SMP Guests</title>
 <link>http://www.kerneltrap.org/node/11775</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;A &lt;a href=&quot;http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=49c13b51a15f1ba9f6d47e26e4a3886c4f3931e2&quot;&gt;recently merged&lt;/a&gt; KVM patchset included support for guest SMP, various performance improvements, and suspend/resume fixes.  KVM stands for Kernel-based Virtual Machine, &quot;&lt;i&gt;a full virtualization solution for Linux on x86 hardware containing virtualization extensions&lt;/i&gt;&quot;.  In regards to the recently merged guest SMP support which will be part of the upcoming 2.6.23 kernel, Avi Kivity noted:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;Guest smp is fully operational.  Kernel build on 2-way smp is 40% faster than on a up guest.  Expect significant performance improvements from in-kernel apic and from further tuning.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.org/node/11775&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/node/11775#comments</comments>
 <category domain="http://www.kerneltrap.org/2.6.23">2.6.23</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/352">Avi Kivity</category>
 <category domain="http://www.kerneltrap.org/kvm">kvm</category>
 <category domain="http://www.kerneltrap.org/merge_window">merge window</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/330">SMP</category>
 <category domain="http://www.kerneltrap.org/virtual_machine">virtual machine</category>
 <category domain="http://www.kerneltrap.org/virtualization">virtualization</category>
 <category domain="http://www.kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Wed, 18 Jul 2007 15:15:21 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">11775 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>Linux:  Improved KVM Performance, Vista Support</title>
 <link>http://www.kerneltrap.org/node/8148</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;Avi Kivity [&lt;a href=&quot;http://kerneltrap.org/node/view/8088&quot;&gt;interview&lt;/a&gt;] announced significant performance improvements and support for running 32-bit Windows Vista as a guest within the latest release of &lt;a href=&quot;http://kvm.qumranet.com/kvmwiki&quot;&gt;KVM&lt;/a&gt;.  Originally merged into the 2.6.20 mainline Linux kernel [&lt;a href=&quot;http://kerneltrap.org/node/7670&quot;&gt;story&lt;/a&gt;], KVM stands for Kernel-based Virtual Machine, &quot;&lt;i&gt;a full virtualization solution for Linux on x86 hardware containing virtualization extensions&lt;/i&gt;&quot;.  Regarding the new release, Avi announced:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;The happy theme of today&#039;s kvm is the significant performance improvements, brought to you by a growing team of developers.  I&#039;ve clocked kbuild at within 25% of native.  This release also introduces support for 32-bit Windows Vista.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.org/node/8148&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/node/8148#comments</comments>
 <category domain="http://www.kerneltrap.org/2.6.20">2.6.20</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/352">Avi Kivity</category>
 <category domain="http://www.kerneltrap.org/kvm">kvm</category>
 <category domain="http://www.kerneltrap.org/Linux">Linux</category>
 <category domain="http://www.kerneltrap.org/performance">performance</category>
 <category domain="http://www.kerneltrap.org/virtual_machine">virtual machine</category>
 <category domain="http://www.kerneltrap.org/virtualization">virtualization</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/355">Vista</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/261">Windows</category>
 <category domain="http://www.kerne