<?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>Shlrm.org Blag</title>
	<atom:link href="http://shlrm.org/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://shlrm.org/wordpress</link>
	<description>Linux, Java, Ruby, and Politics.</description>
	<lastBuildDate>Mon, 08 Mar 2010 17:49:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Xen Stats Revised</title>
		<link>http://shlrm.org/wordpress/2010/03/08/xen-stats-revised/</link>
		<comments>http://shlrm.org/wordpress/2010/03/08/xen-stats-revised/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 17:49:54 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[W00t!]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[graphs]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[xen]]></category>
		<category><![CDATA[xen stats]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=345</guid>
		<description><![CDATA[I had reimplemented some monitoring on my network and then I got to wondering if there was a revised version of the original xen-stats stuff I was using. Turns out there is. The site details instructions on how to set it up in cacti, and it works pretty well. I do wish there was a [...]]]></description>
			<content:encoded><![CDATA[<p>I had reimplemented some monitoring on my network and then I got to wondering if there was a revised version of the <a href="http://shlrm.org/wordpress/2008/04/06/xen-stats/">original xen-stats stuff </a>I was using. Turns out <a href="http://run.tournament.org.il/xen-vms-performance-collection/">there is</a>. The site details instructions on how to set it up in <a href="http://www.cacti.net/">cacti</a>, and it works pretty well. I do wish there was a single graph to collect all for the hosts, instead of individual host graphs, but it&#8217;s not bad. Perhaps I&#8217;ll build a template that uses the data source and glues them all into one graph. But it provides reasonably accurate data, and it&#8217;s not difficult to set up.</p>
<p><a title="Graphs" href="http://shlrm.org/cacti/graph_view.php?action=tree&amp;tree_id=1&amp;leaf_id=10">Xen stats FTW</a>!</p>
<p>(The UPS graphs I need to fix too, somethings broken in the PHP datasource it uses. So if you&#8217;ve got a reliable Network UPS Tools graphing source for cacti, <a href="http://www.eric-a-hall.com/software/cacti-nut/">other than this one</a>, lemme know.)</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2010/03/08/xen-stats-revised/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ridiculous amounts of spam</title>
		<link>http://shlrm.org/wordpress/2010/03/02/ridiculous-amounts-of-spam/</link>
		<comments>http://shlrm.org/wordpress/2010/03/02/ridiculous-amounts-of-spam/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 16:33:45 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dspam]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=339</guid>
		<description><![CDATA[I recently repaired the DSPAM statistics on my mail server so I can look at the ridiculous amounts of spam that I receive. I knew the number was rather high, because I kept having to train a bunch of misses. Especially when the spam format dramatically changes. It seems to take more corrective action than [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_340" class="wp-caption alignleft" style="width: 310px"><a href="http://shlrm.org/wordpress/wp-content/uploads/2010/03/LOTSOSPAM.png"><img class="size-medium wp-image-340 " title="LOTSOSPAM" src="https://shlrm.org/wordpress/wp-content/uploads/2010/03/LOTSOSPAM-300x120.png" alt="Lots of Spam" width="300" height="120" /></a><p class="wp-caption-text">Daily Spam Statistics for my email</p></div>
<p>I recently repaired the <a href="http://www.nuclearelephant.com/">DSPAM</a> statistics on my mail server so I can look at the ridiculous amounts of spam that I receive. I knew the number was rather high, because I kept having to train a bunch of misses. Especially when the spam format dramatically changes. It seems to take more corrective action than it used to. I wonder if perhaps I need to clean out the tokens in the database. It&#8217;s possible that I&#8217;ve got a large amount of stale tokens that are leaning higher for other emails than it should be.</p>
<p>These statistics are from my older email server. I&#8217;ve got a new one that has been built, but not put into practice yet. Still trying to figure out how to get the <a href="http://www.dovecot.org/">Dovecot</a> <a href="http://wiki.dovecot.org/LDA/Sieve/">Sieve</a> to actually work. Then I can finally ditch <a href="http://www.procmail.org/">procmail</a> and use a smarter server-side mail filtration language. One that doesn&#8217;t require a shell account. It&#8217;s also possible that I could offer email accounts @shlrm.org. Not that anyone would actually want those. Heh.</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2010/03/02/ridiculous-amounts-of-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xen 4.0.0 Release Candidate 3</title>
		<link>http://shlrm.org/wordpress/2010/02/16/xen-4-0-0-release-candidate-3/</link>
		<comments>http://shlrm.org/wordpress/2010/02/16/xen-4-0-0-release-candidate-3/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 17:08:29 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=335</guid>
		<description><![CDATA[Has been tagged in their Mercurial repository.
Hopefully soon it&#8217;ll go stable, and I can do something with it. I&#8217;m also hoping that fedora will have RPMs for it, even unofficially, so that it&#8217;s easier to install than building by hand. Or maybe better building documentation would help: detailed dependency information or something. Maybe the stuff [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.xen.org/index.php/2010/02/16/xen-4-0-0-release-candidate-3-available-for-test/">Has been tagged in their Mercurial repository.</a></p>
<p>Hopefully soon it&#8217;ll go stable, and I can do something with it. I&#8217;m also hoping that <a href="http://fedoraproject.org/wiki/Features/XenPvopsDom0">fedora will have RPMs for it</a>, even unofficially, so that it&#8217;s easier to install than building by hand. Or maybe better building documentation would help: detailed dependency information or something. Maybe the stuff exists, but it&#8217;s hard to find (or I&#8217;m looking in all the wrong places.)</p>
<p>Or I could install <a href="http://www.centos.org/">CentOS</a> as my domain0 and use that old xen kernel. I don&#8217;t need any of the new features, I think. And I don&#8217;t think they&#8217;ve gotten in online LVM resizing, which is something I&#8217;d really want. I can&#8217;t remember if they got the USB to <a title="Para Virtualized">PV</a> guests either. I don&#8217;t need the overhead of fully virtualized guests, but I would really like to be able to forward a USB device to a specific guest.</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2010/02/16/xen-4-0-0-release-candidate-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Semantic Web</title>
		<link>http://shlrm.org/wordpress/2010/02/03/semantic-web/</link>
		<comments>http://shlrm.org/wordpress/2010/02/03/semantic-web/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 03:49:56 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Coding!]]></category>
		<category><![CDATA[Gripes]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[semantic web]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=331</guid>
		<description><![CDATA[At work I&#8217;m dealing with this &#8220;Semantic Web&#8221; concept thingy. &#8220;Web 3.0&#8243; it is called. Frankly I don&#8217;t see the point in it yet. The goal is to have the internet also contain data to ensure that computers can find relations in the data and such, not just pages with links that people can browse. [...]]]></description>
			<content:encoded><![CDATA[<p>At work I&#8217;m dealing with this &#8220;Semantic Web&#8221; concept thingy. &#8220;Web 3.0&#8243; it is called. Frankly I don&#8217;t see the point in it yet. The goal is to have the internet also contain data to ensure that computers can find relations in the data and such, not just pages with links that people can browse. One of our projects involves taking unstructured data and mining entities and relationships from it. I&#8217;ve picked up a book, the only book, on programming software to (ab)use the semantic web. So far, I am unimpressed. The source code in the book does not match the source code that you can download from the books website. And, the two different packages on the books website (one is just Chapter 2&#8217;s code, the other is all the code for the whole book) also had different code, and the &#8220;all encompassing&#8221; one was even missing the right files needed to run the code!</p>
<p>So yeah, unimpressed.</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2010/02/03/semantic-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xen 4.0 Comin down the Pike!</title>
		<link>http://shlrm.org/wordpress/2009/12/07/xen-4-0-comin-down-the-pike/</link>
		<comments>http://shlrm.org/wordpress/2009/12/07/xen-4-0-comin-down-the-pike/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 04:04:18 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=321</guid>
		<description><![CDATA[http://blog.xen.org/index.php/2009/12/02/xen-4-0-release-information/
It would appear that Xen 4.0 is due out Q1 2010. That&#8217;s not very far off. I will perhaps wait on redoing my Xen network setup until that time. I need to get it working better. I&#8217;ve been having problems suspending VMs. Supposedly this is due to the guest kernel not behaving nicely. Patches have [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.xen.org/index.php/2009/12/02/xen-4-0-release-information/">http://blog.xen.org/index.php/2009/12/02/xen-4-0-release-information/</a></p>
<p>It would appear that Xen 4.0 is due out Q1 2010. That&#8217;s not very far off. I will perhaps wait on redoing my Xen network setup until that time. I need to get it working better. I&#8217;ve been having problems suspending VMs. Supposedly this is due to the guest kernel not behaving nicely. Patches have been submitted upstream from what I&#8217;ve been told and the pull request has been made to Linus to pull it into the kernel.</p>
<p>There&#8217;s lots of good stuff coming in Xen 4.0 too. <a href="http://dsg.cs.ubc.ca/remus/">Remus</a> is particularly interesting. I will have to experiment with that. Live failover of boxes. I don&#8217;t know what I&#8217;d do with that to be honest. I guess you could set up two physical boxes, with the same virtual machines on them, and have 100% uptime, well like 9 9&#8217;s of uptime. (Assuming no stupid admin errors.)</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2009/12/07/xen-4-0-comin-down-the-pike/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Groovy Threading and Java Threading</title>
		<link>http://shlrm.org/wordpress/2009/11/30/groovy-threading-and-java-threading/</link>
		<comments>http://shlrm.org/wordpress/2009/11/30/groovy-threading-and-java-threading/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 05:25:59 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Coding!]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[groovy]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[threads]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=307</guid>
		<description><![CDATA[I must be doing something wrong in groovy. Of course I'm a groovy noob, so that is probably the case.]]></description>
			<content:encoded><![CDATA[<p>I must be doing something wrong regarding my groovy code. I was talking to a friend and fiddling with a tower of hanoi solver code. Just burns in CPU basically. Now I hacked it up in groovy, after he talked about it, just because. Well I came up with a groovy-ish solution that should do the same thing his java code did. However, the Java code actually ran like 8 threads, whereas my groovy code only ran about 3. Based entirely on CPU usage in linux. On the same box. I don&#8217;t understand&#8230; The code follows.<span id="more-307"></span></p>
<p>Groovy Code:</p>
<pre class="brush:groovy">import java.util.concurrent.atomic.AtomicInteger
import java.util.concurrent.Executors
import java.util.concurrent.Callable

def moveSingleDisk(source, dest) {
	//nothing!
}

def moveTower(number, source, dest, temp) {
	if (number &gt; 0) {
		moveTower(number -1, source, temp, dest)
		moveSingleDisk(source, dest)
		moveTower(number - 1, temp, dest, source)
	}
}

AtomicInteger counter = new AtomicInteger()
counter.set(1)

synchronized out(message) {
	println message
}

def logic = {
	start = System.nanoTime()
	moveTower(it, 'A','B','C')
	stop = System.nanoTime()
	out("${it} took ${(stop-start)/ 10**6} milliseconds")
}

def THREADS=16

pool = Executors.newFixedThreadPool(THREADS)
println "Creating a pool for $THREADS threads"

1.upto(64) {
	def value = it
	//out "Submitting job $value"
	task = {c -&gt; pool.submit( c as Callable)}
	task{logic(value)}
}

pool.shutdown()</pre>
<p>Java code:</p>
<pre class="brush:java">/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hanoi2;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 *
 * @author brad
 */
public class Main {

	static private ExecutorService exec = Executors.newFixedThreadPool(8);

	static void moveSingleDisk(char src, char dst) {
		// System.out.println(src + " =&gt; " + dst);
	}

	static void moveTower(int n, char src, char dst, char tmp) {
		if (n &gt; 0) {
			moveTower(n - 1, src, tmp, dst);
			moveSingleDisk(src, dst);
			moveTower(n - 1, tmp, dst, src);
		}
	}

	public void run() {
	}

	public static void main(String[] args) {

		System.out.println("Starting with a thread pool of 8");

		for (int i = 0; i &lt; = 64; i++) {
//      long start, stop;
			final int blah = i;
			exec.submit(new Runnable() {
				public void run() {
					long start = System.nanoTime();
					moveTower(blah, 'A', 'B', 'C');
					long stop = System.nanoTime();
					System.out.println(blah + " took " + ((stop - start) / 1000000) + "ms");

				}
			});
		}
	}
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2009/11/30/groovy-threading-and-java-threading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 12 Xen RPMs</title>
		<link>http://shlrm.org/wordpress/2009/11/17/fedora-12-xen-rpms/</link>
		<comments>http://shlrm.org/wordpress/2009/11/17/fedora-12-xen-rpms/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 20:02:57 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[constantine]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=301</guid>
		<description><![CDATA[I built these on a recently updated Fedora 12 box. I haven&#8217;t yet had an opportunity to test them. If you do use them and they work great, or not, post in the comments please.

 xen-3.4.2-1.fc12.x86_64.rpm
 xen-debuginfo-3.4.2-1.fc12.x86_64.rpm
 xen-devel-3.4.2-1.fc12.x86_64.rpm
 xen-doc-3.4.2-1.fc12.x86_64.rpm
 xen-hypervisor-3.4.2-1.fc12.x86_64.rpm
 xen-libs-3.4.2-1.fc12.x86_64.rpm
 xen-runtime-3.4.2-1.fc12.x86_64.rpm

]]></description>
			<content:encoded><![CDATA[<p>I built these on a recently updated Fedora 12 box. I haven&#8217;t yet had an opportunity to test them. If you do use them and they work great, or not, post in the comments please.</p>
<ul>
<li><a href="http://shlrm.org/rpms/f12/xen/xen-3.4.2-1.fc12.x86_64.rpm"> xen-3.4.2-1.fc12.x86_64.rpm</a></li>
<li><a href="http://shlrm.org/rpms/f12/xen/xen-debuginfo-3.4.2-1.fc12.x86_64.rpm"> xen-debuginfo-3.4.2-1.fc12.x86_64.rpm</a></li>
<li><a href="http://shlrm.org/rpms/f12/xen/xen-devel-3.4.2-1.fc12.x86_64.rpm"> xen-devel-3.4.2-1.fc12.x86_64.rpm</a></li>
<li><a href="http://shlrm.org/rpms/f12/xen/xen-doc-3.4.2-1.fc12.x86_64.rpm"> xen-doc-3.4.2-1.fc12.x86_64.rpm</a></li>
<li><a href="http://shlrm.org/rpms/f12/xen/xen-hypervisor-3.4.2-1.fc12.x86_64.rpm"> xen-hypervisor-3.4.2-1.fc12.x86_64.rpm</a></li>
<li><a href="http://shlrm.org/rpms/f12/xen/xen-libs-3.4.2-1.fc12.x86_64.rpm"> xen-libs-3.4.2-1.fc12.x86_64.rpm</a></li>
<li><a href="http://shlrm.org/rpms/f12/xen/xen-runtime-3.4.2-1.fc12.x86_64.rpm"> xen-runtime-3.4.2-1.fc12.x86_64.rpm</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2009/11/17/fedora-12-xen-rpms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xen 3.4.2 rpms for Fedora 11 x86_64</title>
		<link>http://shlrm.org/wordpress/2009/11/12/xen-3-4-2-rpms-for-fedora-11-x86_64/</link>
		<comments>http://shlrm.org/wordpress/2009/11/12/xen-3-4-2-rpms-for-fedora-11-x86_64/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 15:46:46 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[W00t!]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=297</guid>
		<description><![CDATA[I was using xen 3.4.1 on my fedora 11 Domain0, but I couldn&#8217;t ever suspend anything. xm save always failed. Someone on IRC suggested that it was the guest kernel that was to blame. Turns out it was xen 3.4.1.
After many hours searching the intertubes for a srpm or a spec file for building xen [...]]]></description>
			<content:encoded><![CDATA[<p>I was using xen 3.4.1 on my fedora 11 Domain0, but I couldn&#8217;t ever suspend anything. xm save always failed. Someone on IRC suggested that it was the guest kernel that was to blame. Turns out it was xen 3.4.1.</p>
<p>After many hours searching the intertubes for a srpm or a spec file for building xen 3.4.2 for fedora, I decided that I would hack <a href="http://bderzhavets.wordpress.com/2009/08/20/setup-libvirt-0-7-0-6-xen-3-4-1-dom0-on-to-fedora-11-64-bit/">an existing one</a> to 3.4.2 and hope for the best.</p>
<p>It built after I removed a few patches. The patches mostly complained about being already applied, so I assume the bugs the patches were addressing were fixed in 3.4.2. I have generated <a href="http://shlrm.org/rpms/xen/">rpms for x86_64</a> and put the <a href="http://shlrm.org/rpms/xen/xen-3.4.2.spec">spec file</a> up on my site. Enjoy.</p>
<ul>
<li><a href="http://shlrm.org/rpms/xen/xen-3.4.2-5.fc11.x86_64.rpm"> xen-3.4.2-5.fc11.x86_64.rpm</a></li>
<li><a href="http://shlrm.org/rpms/xen/xen-debuginfo-3.4.2-5.fc11.x86_64.rpm"> xen-debuginfo-3.4.2-5.fc11.x86_64.rpm</a></li>
<li><a href="http://shlrm.org/rpms/xen/xen-devel-3.4.2-5.fc11.x86_64.rpm"> xen-devel-3.4.2-5.fc11.x86_64.rpm</a></li>
<li><a href="http://shlrm.org/rpms/xen/xen-doc-3.4.2-5.fc11.x86_64.rpm"> xen-doc-3.4.2-5.fc11.x86_64.rpm</a></li>
<li><a href="http://shlrm.org/rpms/xen/xen-hypervisor-3.4.2-5.fc11.x86_64.rpm"> xen-hypervisor-3.4.2-5.fc11.x86_64.rpm</a></li>
<li><a href="http://shlrm.org/rpms/xen/xen-libs-3.4.2-5.fc11.x86_64.rpm"> xen-libs-3.4.2-5.fc11.x86_64.rpm</a></li>
<li><a href="http://shlrm.org/rpms/xen/xen-runtime-3.4.2-5.fc11.x86_64.rpm"> xen-runtime-3.4.2-5.fc11.x86_64.rpm</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2009/11/12/xen-3-4-2-rpms-for-fedora-11-x86_64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rewriting a résumé</title>
		<link>http://shlrm.org/wordpress/2009/10/25/rewriting-a-resume/</link>
		<comments>http://shlrm.org/wordpress/2009/10/25/rewriting-a-resume/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 22:06:11 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Coding!]]></category>
		<category><![CDATA[docbook]]></category>
		<category><![CDATA[resume]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=295</guid>
		<description><![CDATA[I even did the special é character in the title. How about that. I wonder if I got it backwards?
Anyways. I had this plan for a long time to write my resume in Docbook. Why Docbook? Because I could collect all my data in one big file, or multiple files, and then apply XSLT filters [...]]]></description>
			<content:encoded><![CDATA[<p>I even did the special <a href="http://en.wikipedia.org/wiki/%C3%89">é</a> character in the title. How about that. I wonder if I got it backwards?<span id="more-295"></span></p>
<p>Anyways. I had this plan for a long time to write my resume in <a href="http://www.docbook.org/">Docbook</a>. Why Docbook? Because I could collect all my data in one big file, or multiple files, and then apply <a href="http://en.wikipedia.org/wiki/XSLT">XSLT</a> filters to prune it down into what I wanted to generate. It sounded great in my head, and it sounds awesome to implement. I mean every programmer&#8217;s dream. A professional looking résumé generated from code. I could push commits to a <a title="They have the most awesome header ever." href="http://git-scm.com/">git</a> repo, and hack up a hook to have it automatically update my résumé in both PDF and HTML formats all at once. Unfortunately, the learning curve for docbook to do such typesetting is rather difficult. I even found a <a title="Native, not java based." href="http://www.syntext.com/products/serna-free/">free, open source docbook editor</a> (only does docbook 4.5, not the new 5.0).</p>
<p>I spent about a day trying to figure it out. I read <a href="http://www.docbook.org/tdg5/"><span style="text-decoration: underline;">Docbook: The Definitive Guide</span></a> and the <a href="http://www.sagehill.net/book-description.html">XSL Guide</a>. I know I could do it, but I don&#8217;t believe it would be a simple task. I&#8217;m not even sure the end result would be worth it. Doing documentation in docbook, that would be worth it. I think that would be a better place to start, writing a short book, or article, in docbook. Something that doesn&#8217;t require lots of special formatting, like a résumé does. Something a bit simpler to get my feet wet.</p>
<p>As an alternative, I have turned to LyX, a LaTeX editor thingy that seems to be more suited to doing it. Certainly their editor is a bit better. As I type this paragraph, however, I wonder if I ever searched the internet for a docbook stylesheet for résumés that someone already created.</p>
<p>Wouldn&#8217;t you know it, <a href="http://xmlresume.sourceforge.net/">it exists</a>. So yeah, I&#8217;m going to go do that now.</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2009/10/25/rewriting-a-resume/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora Domain 0 and Domain U I/O performance</title>
		<link>http://shlrm.org/wordpress/2009/10/22/fedora-domain-0-and-domain-u-io-performance/</link>
		<comments>http://shlrm.org/wordpress/2009/10/22/fedora-domain-0-and-domain-u-io-performance/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 16:07:07 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[IO]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=286</guid>
		<description><![CDATA[I finally got a Fedora 11 domain0 up and running. Built my own kernel using the patches from gentoo-xen-kernel. Specifically, the 2.6.29.6 patches, as I had issues running the 2.6.30 kernel on this particular box. This box does not have the CPU virtualization extensions, so every VM has to be paravirtualized. Here, I discuss a [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got a Fedora 11 domain0 up and running. Built my own kernel using the patches from <a href="http://code.google.com/p/gentoo-xen-kernel/downloads/list">gentoo-xen-kernel</a>. Specifically, the <a href="http://gentoo-xen-kernel.googlecode.com/files/xen-patches-2.6.29-6.tar.bz2">2.6.29.6 patches</a>, as I had issues running the 2.6.30 kernel on this particular box. This box does not have the CPU virtualization extensions, so every VM has to be paravirtualized. Here, I discuss a bit on the awesomeness of pygrub, and then I publis a couple bonnie++ results from the dom0 and the domU.</p>
<p><span id="more-286"></span></p>
<p>First I&#8217;ll rave about pygrub. This allows me to give the owner of a paravirtualized box the ability to install their own kernel. There&#8217;s only one constraint: The kernel must support being a domU. So it doesn&#8217;t quite get you unmodified guest kernel support, but you can still install your own kernel if you want a specific kernel for some reason. Also, vanilla kernels starting from about 2.6.27 onward have support for running in a domU, so long as you turn it on. Fedora 11&#8217;s kernel has this ability, so you can do a bit of configuration, and install a Fedora 11 domU right off the CD. That&#8217;s pretty awesome.</p>
<p>I use LVM backed disks for domains rather than disk image files. I&#8217;ve found that the LVM backed disks perform much better than the file backed ones. The installs that I&#8217;ve done with Fedora 11 are actually using the disk I have given the domU as a physical disk, partitioning it, installing LVM and everything. I was concerned about the performance of two levels of LVM, so I ran bonnie++ on both the domU and the dom0. The dom0 is one level of LVM, and the domU will have two levels of LVM.</p>
<p>Domain 0 IO test result:</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
fedoraxen.shl 1512M 50362  83 41511  11 22227   1 46086  92 72866   0 207.4   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  9622  98 +++++ +++ +++++ +++  9834  99 +++++ +++ +++++ +++</pre>
<p>Fedora 11 DomU (on the same box):</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
TestVM           2G 52894  96 65639  31 29314  14 36553  69 79138  11 189.6   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  7932  82 +++++ +++ 30738  99  9571  99 +++++ +++ 31084  99</pre>
<p>So it seems that performance isn&#8217;t hit that badly, things are a bit slower, as to be expected with two levels of LVM, but not horribly so.</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2009/10/22/fedora-domain-0-and-domain-u-io-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
