<?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>That Chris Brown's Blog &#187; bond</title>
	<atom:link href="http://www.thatchrisbrown.com/tag/bond/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thatchrisbrown.com</link>
	<description>Another Chris Brown &#38; another blog</description>
	<lastBuildDate>Sat, 03 Apr 2010 13:05:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Kernel 2.6.18-164.11.1.el5xen on xen.gz-3.4.1 needs dom0_mem</title>
		<link>http://www.thatchrisbrown.com/2010/kernel-2-6-18-164-11-1-el5xen-on-xen-gz-3-4-1-needs-dom0_mem/</link>
		<comments>http://www.thatchrisbrown.com/2010/kernel-2-6-18-164-11-1-el5xen-on-xen-gz-3-4-1-needs-dom0_mem/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 15:04:55 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[virtualisation]]></category>
		<category><![CDATA[bond]]></category>
		<category><![CDATA[dom0]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.thatchrisbrown.com/?p=136</guid>
		<description><![CDATA[
			
				
			
		
<p>My server runs CentOs 5.x, and uses the Gitco repo to provide later versions of Xen.  I&#8217;ve previously sorted out the issues (at least in earlier Xen and CentOS versions) around bridging guest vifs to a bonded interface (I replaced Xen entwork scripts with stock CentOS ones, which needed patching to bring bonds up [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.thatchrisbrown.com%2F2010%2Fkernel-2-6-18-164-11-1-el5xen-on-xen-gz-3-4-1-needs-dom0_mem%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.thatchrisbrown.com%2F2010%2Fkernel-2-6-18-164-11-1-el5xen-on-xen-gz-3-4-1-needs-dom0_mem%2F&amp;source=thatchrisbrown&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>My server runs CentOs 5.x, and uses the Gitco repo to provide later versions of Xen.  I&#8217;ve previously sorted out the issues (at least in earlier Xen and CentOS versions) around bridging guest vifs to a bonded interface (I replaced Xen entwork scripts with stock CentOS ones, which needed patching to bring bonds up before bridges).  Everything&#8217;s been fine with one small caveat &#8211; any time yum updates a kernel, before rebooting, I need to go check grub.conf to make sure that it&#8217;s using the xen version from gitco not the one matching the centOS kernel version.</p>
<p>So, with the Xen kernel 3.4.1 from Gitco, I did a yum update which included kernel 2.6.18-164.11.1.el5xen and somehow forgot to check grub.conf before rebooting.  I waited and waited, but got no response from my server.</p>
<p>Luckily, I have a remote console on my physical server, so I was able to investigate.  I found that the dom0 startup was hanging at &#8220;Bringing up interface bond0&#8243;.  I hit the virtual reset button and dropped into the grub menu.  I edited the kernel line to use xen.gz-3.4.1 and thought that would be it.</p>
<p>No, same problem.  Same thing booting kernel 2.6.18-164.10.1.el5xen as well, either on its matching Xen kernel version, or 3.4.1 from Gitco.  However, I could boot dom0 into 2.6.18-164.9.1.el5xen against Xen kernel 3.4.1, albeit with terribly slow network performance and &#8220;<strong>xen_net: Memory squeeze in netback driver</strong>&#8221; logged regularly in /var/log/messages, and network access to my guests was so slow that nearly everything timed out.</p>
<p>A bit of research on Google suggested that adding &#8220;<strong>dom0_mem=<em><something></em></strong>&#8221; to the kernel line in grub.conf might help.</p>
<p>Sure enough, it did &#8211; it cured the &#8220;memory squeeze&#8221; messages, and it&#8217;s let me boot dom0 into kernel 2.6.18-164.11.1.el5xen on top of Xen kernel 3.4.1 as well.</p>
<p>My guess is that kernels after 2.6.18-164.9.1.el5xen have some change that means without a restriction on dom0 memory, something somewhere breaks, and one of the side effects is terribly slow networking, possibly only when bonded?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thatchrisbrown.com/2010/kernel-2-6-18-164-11-1-el5xen-on-xen-gz-3-4-1-needs-dom0_mem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
