<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux and Virtualization &#187; performance</title>
	<atom:link href="http://fclose.com/b/linux/tag/performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://fclose.com/b/linux</link>
	<description>Clear solutions, tutorials and tips on Linux and virtualization from the author&#039;s experience with clusters.</description>
	<lastBuildDate>Thu, 09 Feb 2012 14:49:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Xen DomU&#8217;s I/O Performance of LVM and loopback Backed VBDs</title>
		<link>http://fclose.com/b/linux/2260/xen-domus-io-performance-of-lvm-and-loopback-backed-vbds/</link>
		<comments>http://fclose.com/b/linux/2260/xen-domus-io-performance-of-lvm-and-loopback-backed-vbds/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 16:04:15 +0000</pubDate>
		<dc:creator>Zhiqiang Ma</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[dom0]]></category>
		<category><![CDATA[domu]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://pkill.info/b/?p=2260</guid>
		<description><![CDATA[This posts list benchmark (using bonnie++) result of I/O performance of Xen LVM and loopback backed VBDs. The configuration of machines Dom0 VCPU: 2 (Intel(R) Xeon(R) CPU E5520  @ 2.27GHz) Memory: 2GB Xen and Linux kernel: Xen 3.4.3 with Xenified 2.6.32.13 kernel DomU VCPU: 2 Memory: 2GB Linux kernel: Fedora (2.6.32.19-163.fc12.x86_64) DomU&#8217;s profile: name="10.0.1.200" vcps=2 [...]]]></description>
			<content:encoded><![CDATA[<p>This posts list benchmark (using bonnie++) result of I/O performance of Xen LVM and loopback backed VBDs.</p>
<h3>The configuration of machines</h3>
<h4>Dom0</h4>
<p>VCPU: 2 (Intel(R) Xeon(R) CPU E5520  @ 2.27GHz)<br />
Memory: 2GB<br />
Xen and Linux kernel: <a href="http://fclose.com/b/2405/setting-up-stable-xen-dom0-with-fedora-xen-3-4-3-with-xenified-linux-kernel-2-6-32-13-in-fedora-12/">Xen 3.4.3 with Xenified 2.6.32.13 kernel</a></p>
<h4>DomU</h4>
<p>VCPU: 2<br />
Memory: 2GB<br />
Linux kernel: Fedora (2.6.32.19-163.fc12.x86_64)</p>
<p>DomU&#8217;s profile:</p>
<pre>name="10.0.1.200"
vcps=2
memory=2048
disk = ['phy:vg_xen/vm-10.0.1.150/vmdisk0,xvda,w']
#disk = ['tap:aio:/lhome/xen/vm0-f12/vmdisk0,xvda,w']
#disk = ['file:/lhome/xen/vm0-f12/vmdisk0,xvda,w']

vif=['bridge=eth0']
bootloader="/usr/bin/pygrub"
#extra="single"
on_reboot='restart'
on_crash='restart'
</pre>
<p>The &#8220;disk&#8221; lines is changed depending on the driver used.</p>
<h3>Benchmark method</h3>
<p>We use Bonnie++ to test the performance of I/O:</p>
<pre># bonnie++ -u root</pre>
<p>We run bonnie++ on one single VM. We also test the performance change after making a snapshot of LVM for a new VM. For the file backed VMs, we also run two VMs together on the same hard disk and run bonnie++ on them.</p>
<p>Bonnie++&#8217;s result is in this format:</p>
<pre>Version 1.03e       ------Sequential Output------ --Sequential Input- --Random-
 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
localhost.locald 4G 76999  98 107423  21 47522  13 73347  91 159847  16 266.0   0
 ------Sequential Create------ --------Random Create--------
 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
 files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
localhost.localdomain,4G,76999,98,107423,21,47522,13,73347,91,159847,16,266.0,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
</pre>
<p>We only list the last line which contains all the result in the result section in this post.</p>
<h3>Benchmark result</h3>
<h4>LVM backed VBD</h4>
<pre>localhost.localdomain,4G,76999,98,107423,21,47522,13,73347,91,159847,16,266.0,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
localhost.localdomain,4G,79588,98,120078,22,46140,13,75343,94,150167,15,248.7,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
localhost.localdomain,4G,81942,98,113617,22,47736,13,75947,94,152110,15,262.1,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++</pre>
<h4>New LVM logical volume made by snapshot</h4>
<pre>localhost.localdomain,4G,11846,15,12044,2,27133,7,71510,92,141408,14,262.7,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
localhost.localdomain,4G,12200,15,18147,3,33086,9,66687,89,146550,14,251.9,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
localhost.localdomain,4G,58521,73,58482,10,33880,9,69399,90,144237,14,267.4,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
localhost.localdomain,4G,62553,78,57576,11,32755,9,70037,89,143462,14,259.9,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
localhost.localdomain,4G,66031,84,65640,12,34357,9,66036,86,152171,15,266.4,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
localhost.localdomain,4G,58666,75,60092,11,34826,9,72821,91,141328,14,259.7,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
</pre>
<h4>File backed VBD</h4>
<pre>vm112,4G,20865,27,23559,4,32913,9,63006,81,128395,13,217.9,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
vm112,4G,23022,30,18611,3,30086,8,63784,82,125736,13,197.7,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
vm112,4G,21485,27,20366,3,29587,8,72130,92,140957,14,239.6,0,16,+++++,+++,+++++,+++,30751,52,+++++,+++,+++++,+++,+++++,+++
vm112,4G,22375,32,21716,3,30300,8,65488,87,128625,13,221.4,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
vm112,4G,21968,28,19298,3,29007,8,68469,88,122111,12,222.5,0,16,26967,94,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
vm112,4G,21477,28,20463,3,38395,10,49312,63,154206,15,241.0,0,16,+++++,+++,+++++,+++,32699,56,+++++,+++,+++++,+++,+++++,+++
</pre>
<h4>Two VMs on the same disk running together</h4>
<p>A:</p>
<pre>vm112,4G,10645,13,9498,1,9606,2,30866,41,86911,8,100.1,0,16,9181,22,20583,6,+++++,+++,+++++,+++,+++++,+++,+++++,+++
vm112,4G,10623,13,10143,1,10485,2,26013,35,77362,7,116.3,0,16,25701,66,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
vm112,4G,10824,14,9558,1,12028,3,27503,36,57196,5,92.1,0,16,9679,28,+++++,+++,9294,15,+++++,+++,+++++,+++,+++++,+++
vm112,4G,15098,19,10485,1,12536,3,22771,30,64679,6,142.2,0,16,32006,82,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
vm112,4G,11315,14,9674,1,12052,3,26453,35,68206,7,121.1,0,16,23789,62,32446,13,+++++,+++,+++++,+++,+++++,+++,+++++,+++
vm112,4G,11865,15,11564,2,11508,3,24945,34,61946,6,102.6,0,16,13297,34,21805,7,+++++,+++,+++++,+++,+++++,+++,+++++,+++
</pre>
<p>B:</p>
<pre>vm119,4G,8963,11,9255,1,10909,3,36446,48,70485,7,125.1,0,16,19701,52,23649,8,9574,16,+++++,+++,+++++,+++,+++++,+++
vm119,4G,9074,12,8410,1,12898,3,35266,47,68469,7,107.4,0,16,6585,17,3206,1,+++++,+++,+++++,+++,+++++,+++,+++++,+++
vm119,4G,9151,13,8664,1,10285,2,20120,28,58011,5,90.9,0,16,22894,59,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
vm119,4G,9053,11,10406,1,12852,3,27618,37,55405,5,108.8,0,16,10144,24,22599,7,+++++,+++,+++++,+++,+++++,+++,+++++,+++
vm119,4G,8987,11,11464,1,12123,3,19278,26,59274,6,104.8,0,16,5357,13,23010,7,+++++,+++,7922,18,+++++,+++,+++++,+++
vm119,4G,9593,12,11450,1,30598,8,57078,73,119884,12,222.2,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
</pre>
<h3>Conclusion</h3>
<p>From the evaluation result, we can see that LVM backed VBD of Xen DomU has a much better performance that file backed. From out experiment in our cluster, LVM backed VBD is also quite stable.</p>
]]></content:encoded>
			<wfw:commentRss>http://fclose.com/b/linux/2260/xen-domus-io-performance-of-lvm-and-loopback-backed-vbds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xen Solutions</title>
		<link>http://fclose.com/b/linux/2367/xen-solutions/</link>
		<comments>http://fclose.com/b/linux/2367/xen-solutions/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 20:00:31 +0000</pubDate>
		<dc:creator>Zhiqiang Ma</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Solution]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Client config]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Server config]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://pkill.info/b/?p=2367</guid>
		<description><![CDATA[The Xen solutions including installing and configuring Dom0 and DomU are summarized here. This post will be updated when our solution changes. Only the latest tested stable solutions are listed here. LVM volumes as backing for DomU’s file system is an appealing solution to Xen VBD. LVM volumes can dynamically grow/shrink and snapshot. These features [...]]]></description>
			<content:encoded><![CDATA[<p>The Xen solutions including installing and configuring Dom0 and DomU are summarized here. This post will be updated when our solution changes. Only the latest tested stable solutions are listed here.</p>
<p>LVM volumes as backing for DomU’s file system is an appealing solution to Xen VBD. LVM volumes can dynamically grow/shrink and snapshot. These features make it simple and fast to duplicate DomU and adding storage to DomU. LVM backed DomU is recommended.</p>
<h3>Dom0 installation and configuration</h3>
<p>Stable Dom0 solution:</p>
<p><a href="2405/setting-up-stable-xen-dom0-with-fedora-xen-3-4-3-with-xenified-linux-kernel-2-6-32-13-in-fedora-12/">Setting up Stable Xen Dom0 with Fedora: Xen 3.4.3 with Xenified Linux Kernel 2.6.32.13 in Fedora 12</a></p>
<h3>DomU installation and configuration</h3>
<p>LVM backed Xen DomU is quite stable with high performance that uses unmodified Fedora <em>pv_ops</em> kernel:</p>
<p><a href="2544/setting-up-lvm-backed-xen-domu/">Setting Up LVM Backed Xen DomU</a></p>
<p><a href="2256/setting-up-stable-xen-domu-with-fedora-unmodified-fedora-12-on-top-of-xenified-fedora-12-dom0-with-xen-4-0-0/">Setting up Stable Xen DomU with Fedora: Unmodified Fedora 12 on top of Xenified Fedora 12 Dom0 with Xen</a></p>
<p><a href="3208/setting-up-ubuntu-domu-on-xen-use-ubuntu-10-10-on-fedora-xen-dom0/">Setting Up Ubuntu DomU on Xen: Use Ubuntu 10.10 on Fedora Xen Dom0</a></p>
<h3>Dom0 management</h3>
<p>Dom0&#8242;s CPU and memory configuration advises:</p>
<p><a href="2258/managing-xen-dom0s-cpu-and-memory/">Managing Xen Dom0′s CPU and Memory</a></p>
<h3>DomU management</h3>
<p><a href="2546/duplicating-lvm-backed-xen-domu/">Duplicating LVM Backed Xen DomU</a></p>
<p><a href="2611/duplicating-and-backing-up-lvm-backed-xen-domu-from-a-remote-server/">Duplicating and Backing Up LVM Backed Xen DomU from a Remote Server</a></p>
<p><a href="210/create-and-manage-virtual-machines-on-xen/">Create and manage virtual machines on Xen</a></p>
<p><a href="605/how-to-duplicate-xen-domu-virtual-machines/">How to Duplicate Xen DomU Virtual Machines</a></p>
<p><a href="824/automatically-backing-up-xen-file-backed-domu/">Automatically backing up Xen File-backed DomU</a></p>
<p><a href="820/unified-xen-domu-configuration-file/">Unified Xen DomU configuration file</a></p>
<h3>LVM with Xen</h3>
<p>A summary of tutorials related to Xen and LVM:<a href="2613/xen-with-lvm/"><br />
</a></p>
<p><a href="2613/xen-with-lvm/">Xen with LVM</a></p>
<h3>Problems</h3>
<p>Some problems that may happen and their solution:</p>
<p><a href="2354/problems-during-installing-xen-dom0-in-fedora/">Problems during Installing Xen Dom0 in Fedora</a></p>
]]></content:encoded>
			<wfw:commentRss>http://fclose.com/b/linux/2367/xen-solutions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Setting up Stable Xen Dom0 with Fedora: Xen 3.4.3 with Xenified Linux Kernel 2.6.31.12 in Fedora 12</title>
		<link>http://fclose.com/b/linux/2356/setting-up-stable-xen-dom0-with-fedora-xen-3-4-3-with-xenified-linux-kernel-2-6-31-12-in-fedora-12/</link>
		<comments>http://fclose.com/b/linux/2356/setting-up-stable-xen-dom0-with-fedora-xen-3-4-3-with-xenified-linux-kernel-2-6-31-12-in-fedora-12/#comments</comments>
		<pubDate>Sun, 15 Aug 2010 16:05:54 +0000</pubDate>
		<dc:creator>Zhiqiang Ma</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[dom0]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Server config]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://pkill.info/b/?p=2356</guid>
		<description><![CDATA[Please refer to Xen solution for the latest stable Xen Dom0 solution. How to set up Xen Dom0 with Xenified Linux kernel in Fedora 12 will be introduced in this post. We use Xen 3.4.3 from xen.org and Xenified Linux kernel 2.6.31.12. Hardware: Dom0&#8242;s hardware platform: Motherboard: INTEL S5500BC S5500 Quad Core Xeon Server Board [...]]]></description>
			<content:encoded><![CDATA[<p>Please refer to</p>
<p><a href="2367/xen-solutions/">Xen solution</a></p>
<p>for the latest stable Xen Dom0 solution.</p>
<hr />
<p>How to set up Xen Dom0 with <em>Xenified</em> Linux kernel in Fedora 12 will be introduced in this post. We use Xen 3.4.3 from xen.org and Xenified Linux kernel 2.6.31.12.</p>
<h3>Hardware:</h3>
<p>Dom0&#8242;s hardware platform:</p>
<p>Motherboard<em>: INTEL S5500BC S5500 Quad Core Xeon Server Board</em><br />
CPU<em>: 2 x Intel Quad Core Xeon E5520 2.26G (5.86GT/sec,8M,Socket  1366)</em><br />
Memory<em>: 8 x Kingston DDR-3 1333MHz 4GB ECC REG. CL9 DIMM  w/Parity &amp;  Thermal Sensor</em><br />
HD<em>: 4 x WD WD10EARS 1 TB, SATA II 3Gb/s, 64 MB Cache</em></p>
<h3>Linux system:</h3>
<p>Fedora 12 x86_64</p>
<p>SELinux is disabled. Please refer here for detail: <a href="1233/disable-selinux-in-fedora/" target="_blank">Disabled SELinux on Fedora</a>.</p>
<p><em>ext3</em> is recommended for the file system of disk partition for <em>/boot</em>.</p>
<p>Update the system:</p>
<pre># yum update</pre>
<p>The Xen and libvirt packages in Fedora should not be installed to avoid conflict.</p>
<pre># yum erase xen* libvirt</pre>
<h3>Build and install Xen hypervisor and tools</h3>
<h4>Download Xen 3.4.3</h4>
<pre>$ wget http://bits.xensource.com/oss-xen/release/3.4.3/xen-3.4.3.tar.gz
$ tar xf xen-3.4.3.tar.gz</pre>
<h4>Build Xen and tools</h4>
<pre>$ make xen
$ make tools</pre>
<p>You may need to install packages depended by this. You can try this for solving the dependencies:</p>
<pre># yum groupinstall "Development Libraries";
yum groupinstall "Development Tools";
yum install transfig texi2html
libaio-devel dev86 glibc-devel
e2fsprogs-devel gitk mkinitrd
iasl xz-devel bzip2-devel
pciutils-libs pciutils-devel
SDL-devel libX11-devel gtk2-devel
bridge-utils PyXML qemu-common
qemu-img mercurial</pre>
<h4>Install Xen and tools</h4>
<pre>$ make install-xen
$ make install-tools</pre>
<h3>Build and install xenified Linux kernel</h3>
<h4>Download Linux kernel 2.6.31.12</h4>
<pre>$ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.12.tar.bz2
$ tar xf linux-2.6.31.12.tar.bz2</pre>
<h4>Download 2.6.31 Xen patches v14</h4>
<pre>$ wget http://gentoo-xen-kernel.googlecode.com/files/xen-patches-2.6.31-14.tar.bz2
$ mkdir xen-patches-2.6.31-14
$ tar xf xen-patches-2.6.31-14.tar.bz2 -C xen-patches-2.6.31-14</pre>
<h4>Apply Xen patches</h4>
<p>Apply all the patches downloaded above following the patch number. This patch.sh script can be used (we assume the patch and the kernel are in the same directory):</p>
<p>patch.sh:</p>
<pre>#!/bin/bash
for P in `ls ../xen-patches-2.6.31-14/6*.patch1 | sort`
do
    patch -p1 -s -i $P
    if [ $? = 0 ]; then
        echo $P applied
    else
        echo "Error processing "$P
        exit 1
    fi
done</pre>
<p>Put this script into Linux source directory and execute:</p>
<pre>$ sh ./patch.sh</pre>
<h4>Configure Xenified Linux kernel</h4>
<p>A working configuration file that I used can be downloaded directly from here:</p>
<p><a href="https://docs.google.com/a/pkill.info/uc?id=0BxXe2zOqYbxmM2FmODQxMzEtNmZkZS00ZTNkLWEyN2ItMDI0MjY3YTRjYTk5&amp;export=download&amp;hl=en" target="_blank">config-2.6.31.12-xenified</a></p>
<p>Just download this file, put it into the kernel source code file directory and rename it to <em>.config</em> .</p>
<p>Other than use my configuration file, you can also configure it by yourself by using “<em>make menuconfig”</em>.</p>
<p>Make sure you build the kernel with these components enabled:</p>
<pre>Processor type and features  ---&gt;
 [*] Symmetric multi-processing support
 [*] Support sparse irq numbering
<strong> [*] Enable Xen compatible kernel</strong>
<strong> </strong>
Device Drivers  ---&gt;
 XEN  ---&gt;
<strong> [*] Privileged Guest (domain 0)</strong>
 &lt;*&gt; Backend driver support (NEW)
 &lt;*&gt;   Block-device backend driver (NEW)
<strong> &lt;*&gt;   Block-device tap backend driver (NEW)</strong>
<strong> &lt;*&gt;   Block-device tap backend driver 2 (NEW)</strong>
<strong> &lt;*&gt;   Network-device backend driver (NEW)</strong>
 (8)     Maximum simultaneous transmit requests (as a power of 2) (NEW)
 [ ]     Pipelined transmitter (DANGEROUS) (NEW)
 &lt;*&gt;     Network-device loopback driver (NEW)
 &lt; &gt;   PCI-device backend driver (NEW)
 &lt; &gt;   TPM-device backend driver (NEW)
 &lt; &gt;   SCSI backend driver (NEW)
 &lt; &gt;   USB backend driver (NEW)
 &lt; &gt; Block-device frontend driver
 &lt; &gt; Network-device frontend driver
 &lt; &gt; SCSI frontend driver (NEW)
 &lt; &gt; USB frontend driver (NEW)
 &lt;*&gt; User-space granted page access driver (NEW)
 &lt;*&gt; Framebuffer-device frontend driver (NEW)
 &lt;*&gt;   Keyboard-device frontend driver (NEW)
 [*] Disable serial port drivers (NEW)
 &lt;*&gt; Export Xen attributes in sysfs (NEW)
 (256) Number of guest devices (NEW)
<strong> </strong>Xen version compatibility (3.0.2 and later)  ---&gt;</pre>
<h4>Build kernel</h4>
<pre>$ make -j16</pre>
<p>-jN: N may be 16 or other numbers depending on the number of processors in the system.</p>
<h4>Install modules and kernel</h4>
<pre># make modules_install install</pre>
<h3>Configure grub</h3>
<p>Add one entry for Xen in <em>/boot/grub/grub.conf</em>. This is an example entry:</p>
<pre>title Xen 3.4.3 - Xenified Linux 2.6.31.12
  root (hd0,0)
  kernel /xen-3.4.3.gz console=vga vga=ask noreboot
  module /vmlinuz-2.6.31.12 ro root=/dev/mapper/VolGroup-LogVol_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us
  module /initramfs-2.6.31.12.img</pre>
<p>The root and other parameters may be different depending on the configuration.</p>
<h3>Make Xend and Xendomains services automatically start when system boots</h3>
<pre># cd /etc/init.d/
# chkconfig --add xend
# chkconfig --add xendomains</pre>
<p>Check whether Xend and Xendomains services are automatically started in level 3-5:</p>
<pre># chkconfig --list | grep xend</pre>
<p>It should be like this:</p>
<pre>xend               0:off    1:off    2:off    3:on    4:on    5:on    6:off
xendomains         0:off    1:off    2:off    3:on    4:on    5:on    6:off</pre>
<h3>Enjoy the fun now!</h3>
<p>After booting the system, you can try to use <em>xm</em> to check xen info</p>
<pre># xm info</pre>
<p>Then <em>xm</em> command can be used to start up DomUs.</p>
<p>This is one working configuration file for one DomU that I use:</p>
<pre>name="10.0.1.201"
vcpus=2
memory=2048
disk = ['tap:aio:/lhome/xen/vm-10.0.1.201/vmdisk0,xvda,w' ]
# disk = ['file:/lhome/xen/vm-10.0.1.201/vmdisk0,xvda,w' ]
vif = ['bridge=eth0']
bootloader = "/usr/bin/pygrub"
on_reboot = 'restart'
on_crash = 'restart'</pre>
<p>Here we use the <em>blktap </em>backed VBD device which has much better performance than Linux blkback backed VBD device.</p>
<h3>Making the performance more stable</h3>
<p>Allocating dedicated CPU core and memory for Dom0 may provide more stable performance for the Xen platform. Please refer to <a href="2258/managing-xen-dom0s-cpu-and-memory/" target="_blank">Managing Xen Dom0&#8242;s CPU and Memory/</a> for detailed instruction.</p>
<h3>Problems</h3>
<p>A list of common problems and tips can be found in <a href="2354/problems-during-installing-xen-dom0-in-fedora/" target="_blank">Problems during Installing Xen Dom0 in Fedora</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://fclose.com/b/linux/2356/setting-up-stable-xen-dom0-with-fedora-xen-3-4-3-with-xenified-linux-kernel-2-6-31-12-in-fedora-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An I/O Performance Comparison Between loopback Backed and blktap Backed Xen File-backed VBD</title>
		<link>http://fclose.com/b/linux/810/an-io-performance-comparison-between-loopback-backed-and-blktap-backed-xen-file-backed-vbd/</link>
		<comments>http://fclose.com/b/linux/810/an-io-performance-comparison-between-loopback-backed-and-blktap-backed-xen-file-backed-vbd/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 16:13:37 +0000</pubDate>
		<dc:creator>Zhiqiang Ma</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[domu]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://zhiqiangma.info/?p=810</guid>
		<description><![CDATA[I have done some I/O performance benchmark test of Xen DomU. For easier management, our DomU VMs are all using file-backed VBDs. Previously, our VMs are using Loopback-mounted file-backed VBDs. But blktap-based support are recommended by Xen community. Before considering changing from loopback based VBD to blktap based VBD, I have done this performance bench [...]]]></description>
			<content:encoded><![CDATA[<p>I have done some I/O performance benchmark test of Xen DomU. For easier management, our DomU VMs are all using file-backed VBDs. Previously, our VMs are using Loopback-mounted file-backed VBDs. But blktap-based support are recommended by Xen community. Before considering changing from loopback based VBD to blktap based VBD, I have done this performance bench comparison.</p>
<p><strong>The hardware platform:</strong></p>
<p>DomU:</p>
<p>CPU: 2 x Intel(R) Xeon(R) CPU E5520 @ 2.27GHz</p>
<p>Memory: 1G</p>
<p>HD:</p>
<pre>Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
              ext4     16G  2.0G   13G  14% /
/dev/xvda1    ext3    194M   23M  162M  13% /boot
tmpfs        tmpfs    517M     0  517M   0% /dev/shm
</pre>
<p>Dom0:</p>
<p>The raw image file is stored on a ext4 partition.</p>
<p>More details can be found <a href="197/set-up-xen-341-dom0-on-top-of-fedora-11-with-kernel-2-6-29/" target="_blank">here</a>.</p>
<p><strong>Test method</strong></p>
<p>Bonnie++ 1.03c</p>
<p>Using default parameter.</p>
<p><strong>Result</strong></p>
<p>Loopback driver backed:</p>
<pre>Version 1.03c       ------Sequential Output------ --Sequential Input- --Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
vm101         2064M 25511  35 18075   3 199488  47 71094  98 937880  86 +++++ +++
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
vm101,2064M,25511,35,18075,3,199488,47,71094,98,937880,86,+++++,+++,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++</pre>
<p>blktap driver backed:</p>
<pre>Version 1.03c       ------Sequential Output------ --Sequential Input- --Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
vm101         2064M 69438  96 93549  20 38118  10 54955  76 131645   8 249.1   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16 29488  79 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
vm101,2064M,69438,96,93549,20,38118,10,54955,76,131645,8,249.1,0,16,29488,79,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++</pre>
<p>From the result we can see that the loopback backed VBD has better read performance with high CPU usage while it has worse write performance. The blktap backed VBD has a more balanced performance. It has a much better write speed than the loopback backed one. With a bit worse read performance, we can get a much better over all performance. So from the view of performance, blktap driver is better than the loopback driver for Xen DomU&#8217;s VBD usage.</p>
<p>There are some other benefits we can get by using blktap driver. The loopback file-backed VBDs may not be appropriate for backing   I/O-intensive domains because this approach is known to experience substantial slowdowns under heavy I/O workloads, due to the I/O handling by the loopback block device used to support file-backed VBDs in dom0 [1]. Another reason is the blktap can provides better scalability than loopback backed driver. Linux only support at most eight loopback file-backed VBDs across all domains by default. If we want to have more than eight loopback devices, the <em>max_loop=n</em> boot option should be passed to the kernel or module depends on whether CONFIG_BLK_DEV_LOOP is conpiled as a module of the Dom0 kernel. The method can be found <a href="223/add-more-loop-device-on-linux/" target="_blank">here</a>. And some other advantages such as easily support for metadata disk formats such as Copy-on-Write, encrypted disks, sparse formats and other compression features, avoid the flushing dirty pages problem which are present in the Linux loopback driver, and some more [2].</p>
<p><strong>Referrences</strong></p>
<p>[1] http://www.cl.cam.ac.uk/research/srg/netos/xen/readmes/user/<br />
[2] http://wiki.xensource.com/xenwiki/blktap</p>
]]></content:encoded>
			<wfw:commentRss>http://fclose.com/b/linux/810/an-io-performance-comparison-between-loopback-backed-and-blktap-backed-xen-file-backed-vbd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MPlayer Startup Volume and Postion</title>
		<link>http://fclose.com/b/linux/805/mplayer-startup-volume-and-postion/</link>
		<comments>http://fclose.com/b/linux/805/mplayer-startup-volume-and-postion/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 13:47:26 +0000</pubDate>
		<dc:creator>Zhiqiang Ma</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[blktap]]></category>
		<category><![CDATA[Client config]]></category>
		<category><![CDATA[loopback]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[vbd]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://zhiqiangma.info/?p=805</guid>
		<description><![CDATA[I like to set the volume of mplayer to 28% of the volume instead of the 100% which is too large for me. And I also want mplayer to put to video window on the left top of the screen. This is the method: Add these lines to the ~/.mplayer/config file: For setting the startup [...]]]></description>
			<content:encoded><![CDATA[<p>I like to set the volume of mplayer to 28% of the volume instead of the 100% which is too large for me. And I also want mplayer to put to video window on the left top of the screen.</p>
<p>This is the method:</p>
<p>Add these lines to the ~/.mplayer/config file:</p>
<p>For setting the startup default volume:</p>
<pre>
volume=28
</pre>
<p>For setting the startup position to (0,0) (top left):</p>
<pre>
geometry=0:0
</pre>
]]></content:encoded>
			<wfw:commentRss>http://fclose.com/b/linux/805/mplayer-startup-volume-and-postion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Simple CPU and Memory Performance Test of Xen Dom0 and DomU</title>
		<link>http://fclose.com/b/linux/615/a-simple-cpu-and-memory-performance-test-of-xen-dom0-and-domu/</link>
		<comments>http://fclose.com/b/linux/615/a-simple-cpu-and-memory-performance-test-of-xen-dom0-and-domu/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 07:25:33 +0000</pubDate>
		<dc:creator>Zhiqiang Ma</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[CPU]]></category>
		<category><![CDATA[dom0]]></category>
		<category><![CDATA[domu]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://zhiqiangma.info/a-simple-cpu-and-memory-performance-test-of-xen-dom0-and-domu/</guid>
		<description><![CDATA[Please refer to here for the platform of this test. I have done some simple performance test on DomU and Dom0 and compare with the performance on physical machines. These test are simple, but it can provides some performance factor of xen. I test the CPU bound, memory write and memory read performance of Dom0, [...]]]></description>
			<content:encoded><![CDATA[<p>Please refer to <a href="197/set-up-xen-341-dom0-on-top-of-fedora-11-with-kernel-2-6-29/">here</a> for the platform of this test.</p>
<p>I have done some simple performance test on DomU and Dom0 and compare with the performance on physical machines. These test are simple, but it can provides some performance factor of xen. I test the CPU bound, memory write and memory read performance of Dom0, DomU and compare them with the result of the test on physical machine. Each test are done for 50 times and the the Average (E), Standard deviation (SD) and SD/E are calculated.</p>
<p><strong>Test method:</strong></p>
<p>I only past the C code here because I think it is clear enough.</p>
<p>1) CPU bound:<br />
The code:</p>
<pre>  const int test_limit = 100000;
  cout &lt;&lt; "-----------------------------" &lt;&lt; endl;
  cout &lt;&lt; "cpu bound test begins." &lt;&lt; endl;
  clock_t begin_time = clock();
  register int a = 0;
  for (register int i = 0; i &lt; test_limit; i++) {
    for (register int j = 0; j &lt; test_limit; j++) {
      a += i + j;
    }
  }
  clock_t end_time = clock();
  do_nothing(a);
  int time = (end_time - begin_time) / (CLOCKS_PER_SEC / 1000);</pre>
<p>2) Memory read:</p>
<p>The code:</p>
<pre>  const int test_times = 1000000;
  const int data_size = 1000000000;
  const int data_interval = 1000000;
  int* array_read = new int[data_size];
  cout &lt;&lt; "----------------------" &lt;&lt; endl
       &lt;&lt; "Memory read bound test begins." &lt;&lt; endl;

  register int read_value = 0;
  long read_begin =0;
  long read_end = 0;
  int data_range = data_size - test_times;

  read_begin = clock();
  for (register int t = 0; t &lt; test_times; t++) {
    for (register int i = 0; i &lt; data_range; i += data_interval) {
      read_value = array_read[i + t];
    }
  }

  read_end = clock();
  do_nothing(read_value);
  int time = (read_end - read_begin) / (CLOCKS_PER_SEC / 1000);</pre>
<p>3) Memory write:</p>
<p>The code:</p>
<pre>  const int test_times = 1000000;
  const int data_size = 1000000000;
  const int data_interval = 1000000;

  int* array_write = new int[data_size];

  cout &lt;&lt; "----------------------" &lt;&lt; endl
       &lt;&lt; "Memory write bound test begins." &lt;&lt; endl;

  long write_begin = 0;
  long write_end = 0;
  int data_range = data_size - test_times;
  write_begin = clock();

  for (register int t = 0; t &lt; test_times; t++) {
    for (register int i = 0; i &lt; data_range; i += data_interval) {
      array_write[i + t] = 528283;
    }
  }

  write_end = clock();
  int time = (write_end - write_begin) / (CLOCKS_PER_SEC / 1000);</pre>
<p><strong>The result:</strong></p>
<p>Performance result on the physical machine:<br />
<!--        BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Liberation Sans"; font-size:x-small } --></p>
<table border="0" cellspacing="0" rules="none">
<col width="86"></col>
<col width="56"></col>
<col width="91"></col>
<col width="95"></col>
<tbody>
<tr>
<td style="border: 1px solid" width="86" height="16" align="center"><strong><span style="font-family: Liberation Serif"><br />
</span></strong></td>
<td style="border: 1px solid" colspan="3" width="242" align="center"><strong><span style="font-family: Liberation Serif">Physical machines test fedora kernel:</span></strong></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="right"><strong><span style="font-family: Liberation Serif"><br />
</span></strong></td>
<td style="border: 1px solid" align="right"><strong><span style="font-family: Liberation Serif">cpu</span></strong></td>
<td style="border: 1px solid" align="right"><strong><span style="font-family: Liberation Serif">memory read</span></strong></td>
<td style="border: 1px solid" align="right"><strong><span style="font-family: Liberation Serif">memory write</span></strong></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif">Average:</span></strong></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">13257.6</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">21449.6</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">22243.8</span></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif">Standard deviation:</span></strong></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">4.72</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">17.2</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">18.96</span></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif">SD/E:</span></strong></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">0</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">0</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">0</span></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif"><br />
</span></strong></td>
<td style="border: 1px solid" align="left"><span style="font-family: Liberation Serif"><br />
</span></td>
<td style="border: 1px solid" align="left"><span style="font-family: Liberation Serif"><br />
</span></td>
<td style="border: 1px solid" align="left"><span style="font-family: Liberation Serif"><br />
</span></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif">Perf/Perf on Phy:</span></strong></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">100.00%</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">100.00%</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">100.00%</span></td>
</tr>
</tbody>
</table>
<p>Performance result on Dom0:<br />
<!--        BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Liberation Sans"; font-size:x-small } --></p>
<table border="0" cellspacing="0" rules="none">
<col width="86"></col>
<col width="56"></col>
<col width="91"></col>
<col width="95"></col>
<tbody>
<tr>
<td style="border: 1px solid" width="86" height="16" align="left"><span style="font-family: Liberation Serif"><br />
</span></td>
<td style="border: 1px solid" colspan="3" width="242" align="center"><strong><span style="font-family: Liberation Serif">Dom0 suse kernel test</span></strong></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><span style="font-family: Liberation Serif"><br />
</span></td>
<td style="border: 1px solid" align="right"><strong><span style="font-family: Liberation Serif">cpu</span></strong></td>
<td style="border: 1px solid" align="right"><strong><span style="font-family: Liberation Serif">memory read</span></strong></td>
<td style="border: 1px solid" align="right"><strong><span style="font-family: Liberation Serif">memory write</span></strong></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif">Average:</span></strong></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">13283</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">23059</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">23856.6</span></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif">Standard deviation:</span></strong></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">4.58</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">22.38</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">18.07</span></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif">SD/E:</span></strong></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">0</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">0</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif">0</span></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif"><br />
</span></strong></td>
<td style="border: 1px solid" align="left"><span style="font-family: Liberation Serif"><br />
</span></td>
<td style="border: 1px solid" align="left"><span style="font-family: Liberation Serif"><br />
</span></td>
<td style="border: 1px solid" align="left"><span style="font-family: Liberation Serif"><br />
</span></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif">Perf/Perf on Phy:</span></strong></td>
<td style="border: 1px solid" align="right"><span style="color: #ff0000"><span style="font-family: Liberation Serif">99.81%</span></span></td>
<td style="border: 1px solid" align="right"><span style="color: #ff0000"><span style="font-family: Liberation Serif">93.02%</span></span></td>
<td style="border: 1px solid" align="right"><span style="color: #ff0000"><span style="font-family: Liberation Serif">93.24%</span></span></td>
</tr>
</tbody>
</table>
<p>Performance result on DomU:<br />
<!--        BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Liberation Sans"; font-size:x-small } --></p>
<table border="0" cellspacing="0" rules="none">
<col width="86"></col>
<col width="56"></col>
<col width="91"></col>
<col width="95"></col>
<tbody>
<tr>
<td style="border: 1px solid" width="86" height="16" align="left"><span style="font-family: Liberation Serif"><br />
</span></td>
<td style="border: 1px solid" colspan="3" width="242" align="center"><strong><span style="font-family: Liberation Serif">DomU fedora kernel test</span></strong></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><span style="font-family: Liberation Serif"><br />
</span></td>
<td style="border: 1px solid" align="right"><strong><span style="font-family: Liberation Serif">cpu</span></strong></td>
<td style="border: 1px solid" align="right"><strong><span style="font-family: Liberation Serif">memory read</span></strong></td>
<td style="border: 1px solid" align="right"><strong><span style="font-family: Liberation Serif">memory write</span></strong></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif">Average:</span></strong></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif,Times New Roman">13307.6</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif,Times New Roman">23667.8</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif,Times New Roman">24459.2</span></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif">Standard deviation:</span></strong></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif,Times New Roman">13.2</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif,Times New Roman">33.96</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif,Times New Roman">37.19</span></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif">SD/E:</span></strong></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif,Times New Roman">0</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif,Times New Roman">0</span></td>
<td style="border: 1px solid" align="right"><span style="font-family: Liberation Serif,Times New Roman">0</span></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif"><br />
</span></strong></td>
<td style="border: 1px solid" align="left"><span style="font-family: Liberation Serif"><br />
</span></td>
<td style="border: 1px solid" align="left"><span style="font-family: Liberation Serif"><br />
</span></td>
<td style="border: 1px solid" align="left"><span style="font-family: Liberation Serif"><br />
</span></td>
</tr>
<tr>
<td style="border: 1px solid" height="16" align="left"><strong><span style="font-family: Liberation Serif">Perf/Perf on Phy:</span></strong></td>
<td style="border: 1px solid" align="right"><span style="color: #ff0000"><span style="font-family: Liberation Serif">99.62%</span></span></td>
<td style="border: 1px solid" align="right"><span style="color: #ff0000"><span style="font-family: Liberation Serif">90.63%</span></span></td>
<td style="border: 1px solid" align="right"><span style="color: #ff0000"><span style="font-family: Liberation Serif">90.94%</span></span></td>
</tr>
</tbody>
</table>
<p>From the test, we can see that the CPU performance is nearly 100%. But the memory performance is not so good especially for the DomU. This maybe because of the memory validation of Xen. But the CPU and memory performance of Xen VM is pretty good as a virtual machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://fclose.com/b/linux/615/a-simple-cpu-and-memory-performance-test-of-xen-dom0-and-domu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

