<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Fredrik Poller</title>
	
	<link>http://poller.se</link>
	<description>Technical Mumbo Jumbo</description>
	<lastBuildDate>Mon, 30 Jan 2012 11:25:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/poller" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="poller" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Compression benchmark</title>
		<link>http://poller.se/2012/01/compression-benchmark/</link>
		<comments>http://poller.se/2012/01/compression-benchmark/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 11:25:24 +0000</pubDate>
		<dc:creator>Fredrik Poller</dc:creator>
				<category><![CDATA[Benchmarks]]></category>
		<category><![CDATA[bzip2]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[lzop]]></category>
		<category><![CDATA[parallel]]></category>

		<guid isPermaLink="false">http://poller.se/?p=1369</guid>
		<description><![CDATA[A quick compression benchmark, using bzip2, gzip och lzop. Both running single threaded and in parallel. The test was run using the following commands on ten 100MB files generated by urandom, on an Intel Atom D510 with a 7200rpm disk. # time bzip2 -1 * # time bunzip2 * # time ls &#124; parallel bzip2 [...]<p><a href="http://poller.se/2012/01/compression-benchmark/">Compression benchmark</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></description>
			<content:encoded><![CDATA[<p>A quick compression benchmark, using <a href="http://bzip.org/">bzip2</a>, <a href="http://www.gzip.org/">gzip</a> och <a href="http://www.lzop.org/">lzop</a>. Both running single threaded and in <a href="http://www.gnu.org/software/parallel/">parallel</a>.</p>
<p>The test was run using the following commands on ten 100MB files generated by urandom, on an Intel Atom D510 with a 7200rpm disk.</p>
<pre># time bzip2 -1 *
# time bunzip2 *
# time ls | parallel bzip2 -1
# time ls | parallel bunzip2
# time gzip --fast *
# time gunzip *
# time ls | parallel gzip --fast
# time ls | parallel gunzip
# time lzop -U --fast *
# time lzop -U -x *
# time ls | parallel lzop -U --fast
# time ls | parallel lzop -U -x</pre>
</p>
<p>Results:<br />
<img src="http://poller.se/wp-content/uploads/2012/01/compression-benchmark.png" alt="" title="compression-benchmark" width="454" height="281" class="aligncenter size-full wp-image-1371" /></p>
<p>In this test, under these conditions, lzop is the clear winner.</p>
<p><a href="http://poller.se/2012/01/compression-benchmark/">Compression benchmark</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></content:encoded>
			<wfw:commentRss>http://poller.se/2012/01/compression-benchmark/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>World IPv6 Launch</title>
		<link>http://poller.se/2012/01/world-ipv6-launch/</link>
		<comments>http://poller.se/2012/01/world-ipv6-launch/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 09:40:09 +0000</pubDate>
		<dc:creator>Fredrik Poller</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ipv6]]></category>

		<guid isPermaLink="false">http://poller.se/?p=1361</guid>
		<description><![CDATA[World IPv6 Launch is a post from Fredrik Poller<p><a href="http://poller.se/2012/01/world-ipv6-launch/">World IPv6 Launch</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.worldipv6launch.org/"><img class="size-full wp-image-1362 aligncenter" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="World_IPv6_launch_banner_bg_512" src="http://poller.se/wp-content/uploads/2012/01/World_IPv6_launch_banner_bg_512.png" alt="" width="512" height="512" /></a></p>
<p><a href="http://poller.se/2012/01/world-ipv6-launch/">World IPv6 Launch</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></content:encoded>
			<wfw:commentRss>http://poller.se/2012/01/world-ipv6-launch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AWS Route53 vs Rackspace Cloud DNS</title>
		<link>http://poller.se/2011/07/aws-route53-vs-rackspace-cloud-dns/</link>
		<comments>http://poller.se/2011/07/aws-route53-vs-rackspace-cloud-dns/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 11:49:09 +0000</pubDate>
		<dc:creator>Fredrik Poller</dc:creator>
				<category><![CDATA[Cloud computing]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[amazon route53]]></category>
		<category><![CDATA[rackspace]]></category>
		<category><![CDATA[zerigo]]></category>

		<guid isPermaLink="false">http://poller.se/?p=1291</guid>
		<description><![CDATA[Yesterday, Rackspace announced their new Cloud DNS service. This is clearly(?) a response to Amazon&#8217;s Route53 release a while back. With one big difference; Rackspace Cloud DNS is free (in combination with other Rackspace Cloud Products), whereas Route53 is not. I&#8217;ll admit I haven&#8217;t tried the Rackspace service (yet), but here&#8217;s a quick comparison table [...]<p><a href="http://poller.se/2011/07/aws-route53-vs-rackspace-cloud-dns/">AWS Route53 vs Rackspace Cloud DNS</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://poller.se/wp-content/uploads/2011/07/amazon-vs-rackspace.png" alt="" title="amazon-vs-rackspace" width="500" height="44" class="aligncenter size-full wp-image-1292" /></p>
<p>Yesterday, <a href="http://www.rackspace.com/cloud/blog/2011/07/07/rackspace-cloud-dns-beta-now-available-for-us-uk-cloud-customers/">Rackspace announced</a> their new Cloud DNS service. This is clearly(?) a response to Amazon&#8217;s <a href="http://aws.amazon.com/route53">Route53</a> release a while back. With one big difference; Rackspace Cloud DNS is free (in combination with other Rackspace Cloud Products), whereas Route53 <a href="http://aws.amazon.com/route53/pricing/">is not</a>.</p>
<p>I&#8217;ll admit I haven&#8217;t tried the Rackspace service (yet), but here&#8217;s a quick comparison table anyway. Some questions (about branding and distribution) I couldn&#8217;t find answered on the Rackspace information page, so I used the support chat.</p>
<table width="550">
<tr>
<td width="120">&nbsp;</td>
<td><b>Amazon Route53</b></td>
<td><b>Rackspace Cloud DNS</b></td>
</tr>
<tr>
<td><b>Management</b></td>
<td>API*</td>
<td>API*</td>
</tr>
<tr>
<td><b>Distribution</b></td>
<td>Anycast**</td>
<td>Anycast***</td>
</tr>
<tr>
<td><b>IPv6</b></td>
<td>-</td>
<td>Yes</td>
</tr>
<tr>
<td><b>DNSSEC</b></td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td><b>Branding</b></td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td><b>RR Types</b></td>
<td>A, AAAA, CNAME, MX, NS, <b>PTR</b>, <b>SOA</b>, SPF, SRV, TXT &#038; &#8220;Alias&#8221;****</td>
<td>A, AAAA, CNAME, <b>DKIM</b>, MX, NS, SPF, SRV &#038; TXT</td>
</tr>
<tr>
<td><b>Pricing</b></td>
<td><a href="http://aws.amazon.com/route53/pricing/">Cheap</a></td>
<td>Free</td>
</tr>
</table>
<p>* Neither Amazon nor Rackspace has a management interface for the DNS services. <a href="http://www.dns30.com/">DNS30</a> is however availible for Route53.<br />
** 19 locations on 3 continents<br />
*** 3 locations on 2 continents (see comment below)<br />
**** Alias records are used to map resource record sets in your hosted zone to Elastic Load Balancing instances.</p>
<p>If the choice only stood between Route53 and Rackspace I think I&#8217;d go with Rackspace, just because of the IPv6 connectivity. But other providers should also be considered, <a href="http://www.zerigo.com/">Zerigo</a> for example has an excellent <a href="http://www.zerigo.com/managed-dns">DNS service</a>.</p>
<p><b>Update:</b> After the comment below by Daniel Morris at Rackspace I tried to contact the chat support again to get the information about the edge locations. Here&#8217;s the response:</p>
<p><em>Agent:  I&#8217;m sorry but I am not positive I would recommend contacting the support team at 1-877-934-0407 or 0800 054 6345 | +44 20 8734 4345<br />
Agent:  I&#8217;m sorry for any inconvenience this has caused<br />
Agent:  have a great day</em></p>
<p>Not very impressed wit this <a href="http://www.rackspace.com/whyrackspace/support/">fanatical support</a>, to be honest.</p>
<p><a href="http://poller.se/2011/07/aws-route53-vs-rackspace-cloud-dns/">AWS Route53 vs Rackspace Cloud DNS</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></content:encoded>
			<wfw:commentRss>http://poller.se/2011/07/aws-route53-vs-rackspace-cloud-dns/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Quick and dirty WordPress speed comparison</title>
		<link>http://poller.se/2011/07/quick-and-dirty-wordpress-speed-comparison/</link>
		<comments>http://poller.se/2011/07/quick-and-dirty-wordpress-speed-comparison/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 08:07:45 +0000</pubDate>
		<dc:creator>Fredrik Poller</dc:creator>
				<category><![CDATA[Benchmarks]]></category>
		<category><![CDATA[Web hosting]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rackspace]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://poller.se/?p=1264</guid>
		<description><![CDATA[This is just a quick benchmark of WordPress release 2.8.6, 2.9.2, 3.0.6, 3.1.4 and 3.2. The test was done on a 512MB rackspace instance, running Ubuntu 10.10. With the following packages installed with default configuration: libapache2-mod-php5 mysql-server php5-mysql. Benchmark was done with ab, doing 10 000 requests to the front page, over 10 concurrent connections. [...]<p><a href="http://poller.se/2011/07/quick-and-dirty-wordpress-speed-comparison/">Quick and dirty WordPress speed comparison</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></description>
			<content:encoded><![CDATA[<p>This is just a quick benchmark of WordPress release 2.8.6, 2.9.2, 3.0.6, 3.1.4 and 3.2.</p>
<p>The test was done on a 512MB rackspace instance, running Ubuntu 10.10. With the following packages installed with default configuration: libapache2-mod-php5 mysql-server php5-mysql. Benchmark was done with <a href="http://httpd.apache.org/docs/2.0/programs/ab.html">ab</a>, doing 10 000 requests to the front page, over 10 concurrent connections.</p>
<p>This is the result, in requests delivered per second:</p>
<p><img src="http://poller.se/wp-content/uploads/2011/07/wordpress-2.8.6-to-3.2-speedtest-graph.png" alt="" title="wordpress-2.8.6-to-3.2-speedtest-graph" width="511" height="228" class="aligncenter size-full wp-image-1265" /></p>
<p>Clearly, speed isn&#8217;t that much improved with the release of 3.2. However, this benchmark only tested the front page with the sample post.</p>
<p><a href="http://poller.se/2011/07/quick-and-dirty-wordpress-speed-comparison/">Quick and dirty WordPress speed comparison</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></content:encoded>
			<wfw:commentRss>http://poller.se/2011/07/quick-and-dirty-wordpress-speed-comparison/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GeoIP CSV to Bind ACL</title>
		<link>http://poller.se/2011/06/geoip-csv-to-bind-acl/</link>
		<comments>http://poller.se/2011/06/geoip-csv-to-bind-acl/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 17:32:40 +0000</pubDate>
		<dc:creator>Fredrik Poller</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[geoip]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://poller.se/?p=1225</guid>
		<description><![CDATA[Simple perl script for converting a GeoIP CSV file (latest version) to Bind ACL definitions. #!/usr/bin/perl &#160; use strict; use warnings; &#160; use Net::CIDR::Lite; &#160; # Get files my $infile = $ARGV&#91;0&#93;; my $outfile = $ARGV&#91;1&#93;; &#160; # Open infile for reading open&#40;FILE, '&#60;', $infile&#41;; &#160; # Define iplist array my %iplist; &#160; # Loop [...]<p><a href="http://poller.se/2011/06/geoip-csv-to-bind-acl/">GeoIP CSV to Bind ACL</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Simple perl script for converting a <a href="http://www.maxmind.com/app/geolitecountry">GeoIP CSV</a> file (<a href="http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip">latest version</a>) to <a href="http://www.zytrax.com/books/dns/ch7/acl.html">Bind ACL definitions</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">use</span> strict<span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> warnings<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">use</span> Net<span style="color: #339933;">::</span><span style="color: #006600;">CIDR</span><span style="color: #339933;">::</span><span style="color: #006600;">Lite</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Get files</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$infile</span>  <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$outfile</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Open infile for reading</span>
<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span>FILE<span style="color: #339933;">,</span> <span style="color: #ff0000;">'&lt;'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$infile</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Define iplist array</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">%iplist</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Loop infile</span>
<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #009999;">&lt;FILE&gt;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;"># Set start, end and country variables</span>
        <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">@line</span> <span style="color: #339933;">=</span> <span style="color: #000066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/\&quot;/</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$_</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$start_ip</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$line</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$end_ip</span>   <span style="color: #339933;">=</span> <span style="color: #0000ff;">$line</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$country</span>  <span style="color: #339933;">=</span> <span style="color: #0000ff;">$line</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">9</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;"># Use the CIDR class to get networks in the range</span>
        <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$cidr</span> <span style="color: #339933;">=</span> Net<span style="color: #339933;">::</span><span style="color: #006600;">CIDR</span><span style="color: #339933;">::</span><span style="color: #006600;">Lite</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">new</span><span style="color: #339933;">;</span>
        <span style="color: #0000ff;">$cidr</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">add_range</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;$start_ip-$end_ip&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">@networks</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$cidr</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">list</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;"># Put networks in the iplist array</span>
        <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">@networks</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #0000ff;">$iplist</span><span style="color: #009900;">&#123;</span><span style="color: #0000ff;">$country</span><span style="color: #009900;">&#125;</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\t</span>&quot;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">$_</span> <span style="color: #339933;">.</span> <span style="color: #ff0000;">';'</span> <span style="color: #339933;">.</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Close the infile file handle</span>
<span style="color: #000066;">close</span> FILE<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Open outfile for writing</span>
<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span>FILE<span style="color: #339933;">,</span> <span style="color: #ff0000;">'&gt;'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$outfile</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Loop iplist array</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$country</span> <span style="color: #009900;">&#40;</span><span style="color: #000066;">sort</span> <span style="color: #000066;">keys</span> <span style="color: #0000ff;">%iplist</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;"># Write to outfile</span>
        <span style="color: #000066;">print</span> FILE <span style="color: #ff0000;">'acl &quot;'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">$country</span> <span style="color: #339933;">.</span> <span style="color: #ff0000;">'&quot; {'</span> <span style="color: #339933;">.</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #000066;">print</span> FILE <span style="color: #0000ff;">$iplist</span><span style="color: #009900;">&#123;</span><span style="color: #0000ff;">$country</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
        <span style="color: #000066;">print</span> FILE <span style="color: #ff0000;">'};'</span> <span style="color: #339933;">.</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Close the outfile file handle</span>
<span style="color: #000066;">close</span> FILE<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># We're done</span></pre></div></div>

<p>Simple usage:</p>
<pre>$ ./geoip.pl GeoIPCountryWhois.csv countries.acl</pre>
<p>You&#8217;ll need the <a href="http://search.cpan.org/dist/Net-CIDR-Lite/Lite.pm">Net::CIDR::Lite</a> extension for Perl, in Debian/Ubuntu the package is called <em>libnet-cidr-lite-perl</em>.</p>
<p><a href="http://poller.se/2011/06/geoip-csv-to-bind-acl/">GeoIP CSV to Bind ACL</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></content:encoded>
			<wfw:commentRss>http://poller.se/2011/06/geoip-csv-to-bind-acl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.2 beta 1 speedtest</title>
		<link>http://poller.se/2011/05/wordpress-3-2-beta-1-speedtest/</link>
		<comments>http://poller.se/2011/05/wordpress-3-2-beta-1-speedtest/#comments</comments>
		<pubDate>Sat, 14 May 2011 17:45:24 +0000</pubDate>
		<dc:creator>Fredrik Poller</dc:creator>
				<category><![CDATA[Benchmarks]]></category>
		<category><![CDATA[Web hosting]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rackspace]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://poller.se/?p=1204</guid>
		<description><![CDATA[With every new WordPress release, things seems to be getting slower. But not anymore? With the release of WordPress 3.2 developers state that performance is getting better. The test was done on a 512MB rackspace instance, running Ubuntu 10.10. With the following packages installed with default configuration: libapache2-mod-php5 mysql-server php5-mysql. Benchmark was done with ab, [...]<p><a href="http://poller.se/2011/05/wordpress-3-2-beta-1-speedtest/">WordPress 3.2 beta 1 speedtest</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></description>
			<content:encoded><![CDATA[<p>With every new <a href="http://wordpress.org/">WordPress</a> release, things seems to be <a href="http://poller.se/2010/06/wordpress-3-speedtest/">getting slower</a>. But not anymore? With the release of WordPress 3.2 <a href="http://wordpress.org/news/2011/05/wordpress-3-2-beta-1/">developers state</a> that performance is getting better.</p>
<p>The test was done on a 512MB rackspace instance, running Ubuntu 10.10. With the following packages installed with default configuration: libapache2-mod-php5 mysql-server php5-mysql. Benchmark was done with <a href="http://httpd.apache.org/docs/2.0/programs/ab.html">ab</a>, doing 10 000 requests to the front page, over 10 concurrent connections. Both blogs used the Twenty Ten 1.2 theme, and the supplied sample post.</p>
<p>This is the result, in requests delivered per second:</p>
<p><img src="http://poller.se/wp-content/uploads/2011/05/wordpress-3-2-beta-1-graph.png" alt="" title="wordpress-3-2-beta-1-graph" width="311" height="216" class="aligncenter size-full wp-image-1207" /></p>
<p>As you can see, things aren&#8217;t any faster, yet. But this is still a beta, and i only tested the performance of the front page, nothing else. I also tried the Twenty Eleven theme, but that wasn&#8217;t any faster.</p>
<p><a href="http://poller.se/2011/05/wordpress-3-2-beta-1-speedtest/">WordPress 3.2 beta 1 speedtest</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></content:encoded>
			<wfw:commentRss>http://poller.se/2011/05/wordpress-3-2-beta-1-speedtest/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Notifo with Nagios</title>
		<link>http://poller.se/2011/03/using-notifo-with-nagios/</link>
		<comments>http://poller.se/2011/03/using-notifo-with-nagios/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 22:08:22 +0000</pubDate>
		<dc:creator>Fredrik Poller</dc:creator>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[notifo]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://poller.se/?p=1179</guid>
		<description><![CDATA[Notifo is a great service for sending notifications, in this case to a phone using the mobile app. To use Notifo with Nagios there&#8217;s two solutions. The first (and the easiest one), is to configure Nagios to send emails to the email address provided by Notify. The other (and the one described here), is to [...]<p><a href="http://poller.se/2011/03/using-notifo-with-nagios/">Using Notifo with Nagios</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://notifo.com/">Notifo</a> is a great service for sending notifications, in this case to a phone using the <a href="http://notifo.com/mobile_apps">mobile app</a>.</p>
<p>To use Notifo with <a href="http://www.nagios.org/">Nagios</a> there&#8217;s two solutions. The first (and the easiest one), is to configure Nagios to send emails to the email address provided by Notify. The other (and the one described here), is to configure Nagios to execute a scripts that sends a POST request to the Notifo API.</p>
<p>I&#8217;ll asume that you have a working Nagios setup, a Notify account, the client installed and configured on your phone, and your Notifo API key handy.</p>
<p>Lets start by adding two commands to the Nagios configuration, depending on your setup this can be done in many places. If there&#8217;s a commands.cfg file present that&#8217;s probably a good place to put it. Open the file and add the following:</p>
<pre>define command {
    command_name    notify-host-by-notifo
    command_line    /usr/bin/perl /usr/local/bin/notifo -username="$_CONTACTNOTIFO_USERNAME$" -apikey="$_CONTACTNOTIFO_APIKEY$" -title="Host" -msg="$HOSTNAME$ $HOSTSTATE$ '$HOSTOUTPUT$'"
}

define command {
    command_name    notify-service-by-notifo
    command_line    /usr/bin/perl /usr/local/bin/notifo -username="$_CONTACTNOTIFO_USERNAME$" -apikey="$_CONTACTNOTIFO_APIKEY$" -title="Service" -msg="$HOSTNAME$ $SERVICEDESC$ $SERVICESTATE$ '$SERVICEOUTPUT$'"
}</pre>
<p>Then find the file containing the contact you want to use, and add the Notify username and password. Also modify the host and service notification commands. The result should be something like this:</p>
<pre>define contact {
    contact_name                    admin
    alias                           Administrator
    service_notification_period     24x7
    host_notification_period        24x7
    service_notification_options    w,u,c,r
    host_notification_options       d,r
    service_notification_commands   notify-service-by-email,notify-service-by-notifo
    host_notification_commands      notify-host-by-email,notify-host-by-notifo
    email                           &lt;EMAIL&gt;
    _notifo_username                &lt;USERNAME&gt;
    _notifo_apikey                  &lt;APIKEY&gt;
}</pre>
<p>Of course, make sure you use your own name, email and Notifo credentials.</p>
<p>Then save the following script as /usr/local/bin/notifo (or whatever you want, make sure it&#8217;s the same path as the one configured above).</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">use</span> strict<span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> warnings<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">use</span> HTTP<span style="color: #339933;">::</span><span style="color: #006600;">Request</span><span style="color: #339933;">::</span><span style="color: #006600;">Common</span> <span style="color: #000066;">qw</span><span style="color: #009900;">&#40;</span>POST<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> LWP<span style="color: #339933;">::</span><span style="color: #006600;">UserAgent</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> Getopt<span style="color: #339933;">::</span><span style="color: #006600;">Long</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Get options</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">%options</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
GetOptions<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">\%options</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">'username=s'</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">'apikey=s'</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">'title=s'</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">'msg=s'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># URL encode msg</span>
<span style="color: #0000ff;">$options</span><span style="color: #009900;">&#123;</span><span style="color: #ff0000;">'msg'</span><span style="color: #009900;">&#125;</span> <span style="color: #339933;">=~</span> <span style="color: #009966; font-style: italic;">s/([^A-Za-z0-9])/sprintf(&quot;%%%02X&quot;, ord($1))/seg</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># The request</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$req</span> <span style="color: #339933;">=</span> POST <span style="color: #ff0000;">'https://api.notifo.com/v1/send_notification'</span><span style="color: #339933;">,</span>
	<span style="color: #009900;">&#91;</span> <span style="color: #ff0000;">'msg'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">$options</span><span style="color: #009900;">&#123;</span><span style="color: #ff0000;">'msg'</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">'label'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'Nagios'</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">'title'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">$options</span><span style="color: #009900;">&#123;</span><span style="color: #ff0000;">'title'</span><span style="color: #009900;">&#125;</span> <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Add auth to the request</span>
<span style="color: #0000ff;">$req</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">authorization_basic</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$options</span><span style="color: #009900;">&#123;</span><span style="color: #ff0000;">'username'</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$options</span><span style="color: #009900;">&#123;</span><span style="color: #ff0000;">'apikey'</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Do it</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$ua</span> <span style="color: #339933;">=</span> LWP<span style="color: #339933;">::</span><span style="color: #006600;">UserAgent</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">new</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$ua</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">request</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$req</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Make the script executable.</p>
<pre># chmod +x /usr/local/bin/notifo</pre>
<p><strong>Try the script</strong> to make sure it works.</p>
<pre># /usr/bin/perl /usr/local/bin/notifo -username=&lt;USERNAME&gt; -apikey=&lt;APIKEY&gt; -title=Test -msg=Test</pre>
<p>Reload Nagios, depending on your configuration this can be done in many ways, usually it&#8217;s the following command.</p>
<pre># /etc/init.d/nagios3 restart</pre>
<p>That&#8217;s it.</p>
<p><img src="http://poller.se/wp-content/uploads/2011/03/notifo-iphone.jpg" alt="" title="notifo-iphone" width="320" height="240" class="size-full wp-image-1197" /><br />
Now, when something goes wrong, you&#8217;ll be notified immediately.</p>
<p><a href="http://poller.se/2011/03/using-notifo-with-nagios/">Using Notifo with Nagios</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></content:encoded>
			<wfw:commentRss>http://poller.se/2011/03/using-notifo-with-nagios/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Nginx, WordPress, WP Super Cache and Mobile Theme</title>
		<link>http://poller.se/2011/03/nginx-wordpress-wp-super-cache-and-mobile-theme/</link>
		<comments>http://poller.se/2011/03/nginx-wordpress-wp-super-cache-and-mobile-theme/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 16:18:27 +0000</pubDate>
		<dc:creator>Fredrik Poller</dc:creator>
				<category><![CDATA[Web hosting]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wptouch]]></category>

		<guid isPermaLink="false">http://poller.se/?p=1158</guid>
		<description><![CDATA[I&#8217;ve previously written about how to configure WP Super Cache to work with Nginx. When using a mobile theme plugin, WPtouch in my case, the serving of static files (WP Super Cache does that in rewrite mode) needs to be disabled for mobile requests. Otherwise you could end up with static files (containing your standard [...]<p><a href="http://poller.se/2011/03/nginx-wordpress-wp-super-cache-and-mobile-theme/">Nginx, WordPress, WP Super Cache and Mobile Theme</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve <a href="http://poller.se/2010/01/wp-super-cache-with-nginx/">previously written about</a> how to configure WP Super Cache to work with Nginx.</p>
<p>When using a mobile theme plugin, <a href="http://wordpress.org/extend/plugins/wptouch/">WPtouch</a> in my case, the serving of static files (WP Super Cache does that in rewrite mode) needs to be disabled  for mobile requests. Otherwise you could end up with static files (containing your standard theme) being served to mobile users.</p>
<p>WP Super Cache also needs to be configured with Mobile device support to prevent mobile visitors from trigger static files to be generated. So start by enable that feature in the advanced settings for WP Super Cache.</p>
<p><img src="http://poller.se/wp-content/uploads/2011/03/wp-super-cache-mobile-device-support.png" alt="" title="wp-super-cache-mobile-device-support" width="401" height="22" class="alignnone size-full wp-image-1160" /></p>
<p>Then change the Nginx rewrite rules to the following.</p>
<pre># Return existing files
if (-f $request_filename) {
        break;
}

set $supercache_file '';
set $supercache_uri $request_uri;

if ($request_method = POST) {
        set $supercache_uri '';
}

# Bypass cache for requests containing a query string
if ($query_string) {
        set $supercache_uri '';
}

if ($http_cookie ~* "comment_author_|wordpress|wp-postpass_" ) {
        set $supercache_uri '';
}

# Bypass cache for mobile users
if ($http_user_agent ~* "(Android|CUPCAKE|bada|blackberry 9800|blackberry9500|blackberry9520|blackberry9530|blackberry9550|dream|iPhone|iPod|incognito|s8000|webOS|webmate)") {
        set $supercache_uri '';
}

# Specify the cache file
if ($supercache_uri ~ ^(.+)$) {
        set $supercache_file /wp-content/cache/supercache/$http_host/$1index.html;
}

# Serve the cache file, if it exists
if (-f $document_root$supercache_file) {
        rewrite ^(.*)$ $supercache_file break;
}

# Everything else goes to index.php
if (!-e $request_filename) {
        rewrite . /index.php last;
}</pre>
<p>The user agents listed above are the same ones WPtouch sends the mobile theme to. If you change the settings in WPtouch, change the rewrite rules as well.</p>
<p>Reload Nginx.</p>
<p>Install, enable and configure the WPtouch plugin, and that should be it. I&#8217;ve been using this setup for about a month now without any problems, let me know if you run into something.</p>
<p><a href="http://poller.se/2011/03/nginx-wordpress-wp-super-cache-and-mobile-theme/">Nginx, WordPress, WP Super Cache and Mobile Theme</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></content:encoded>
			<wfw:commentRss>http://poller.se/2011/03/nginx-wordpress-wp-super-cache-and-mobile-theme/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CloudFront with origin pull and WP Super Cache</title>
		<link>http://poller.se/2011/02/cloudfront-with-origin-pull-and-wp-super-cache/</link>
		<comments>http://poller.se/2011/02/cloudfront-with-origin-pull-and-wp-super-cache/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 22:40:01 +0000</pubDate>
		<dc:creator>Fredrik Poller</dc:creator>
				<category><![CDATA[Cloud computing]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Web hosting]]></category>
		<category><![CDATA[amazon cloudfront]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[cdn]]></category>
		<category><![CDATA[origin pull]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://poller.se/?p=1132</guid>
		<description><![CDATA[Using AWS CloudFront as a CDN (content delivery network) for your site can be a good way of speeding things up. CloudFront has support for origin pull (this way, there&#8217;s no need to sync files, they&#8217;re fetched on demand from the web server). Configuring this can be a bit tricky, since the AWS web interface [...]<p><a href="http://poller.se/2011/02/cloudfront-with-origin-pull-and-wp-super-cache/">CloudFront with origin pull and WP Super Cache</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Using <a href="http://aws.amazon.com/cloudfront/">AWS CloudFront</a> as a CDN (content delivery network) for your site can be a good way of speeding things up.</p>
<p>CloudFront has support for origin pull (this way, there&#8217;s no need to sync files, they&#8217;re fetched on demand from the web server). Configuring this can be a bit tricky, since the AWS web interface only supports <a href="http://aws.amazon.com/s3/">AWS S3</a> buckets to be configured as backends.</p>
<p>To get a distribution with origin pull up and running we need to do it manually. I&#8217;m assuming you&#8217;re working on some kind of unix/linux system (OS X for example). First of all, you need an AWS account with CloudFront. If you don&#8217;t already have one, get it <a href="http://aws.amazon.com/">here</a>.</p>
<p>Create a file named .aws-secrets containing your AWS Access Keys (these can be found in the <a href="https://aws-portal.amazon.com">AWS Portal</a> under Account -> Security Credentials), in the following format.</p>
<pre>%awsSecretAccessKeys = (
    "my-aws-account" =&gt; {
        id =&gt; "ID goes here",
        key =&gt; "Key goes here",
    },
);</pre>
<p>Create a XML file containing the settings of the new distribution, name it cf.xml.</p>
<pre>&lt;DistributionConfig xmlns="http://cloudfront.amazonaws.com/doc/2010-11-01/"&gt;
&lt;CustomOrigin&gt;
    &lt;DNSName&gt;example.com&lt;/DNSName&gt;
    &lt;HTTPPort&gt;80&lt;/HTTPPort&gt;
    &lt;OriginProtocolPolicy&gt;http-only&lt;/OriginProtocolPolicy&gt;
&lt;/CustomOrigin&gt;
&lt;CallerReference&gt;1234&lt;/CallerReference&gt;
&lt;CNAME&gt;cdn.example.com&lt;/CNAME&gt;
&lt;Comment/&gt;
&lt;Enabled&gt;true&lt;/Enabled&gt;
&lt;DefaultRootObject&gt;index.php&lt;/DefaultRootObject&gt;
&lt;/DistributionConfig&gt;</pre>
<p>Replace example.com with your domain. CNAMES can also be added and changed later via the AWS Management Console.</p>
<p>Download the <a href="http://aws.amazon.com/code/developertools/1878/176-6313592-3829138">cfcurl.pl</a> script.</p>
<p>Execute the following command.</p>
<pre>cfcurl.pl --keyname my-aws-account -- -X POST -H "Content-Type: text/xml; charset=UTF-8" --upload-file cf.xml https://cloudfront.amazonaws.com/2010-11-01/distribution</pre>
<p>Point the cdn domain you entered in the cf.xml file to the domain returned in the  block with a CNAME. You can also get this name from the AWS Management Console.</p>
<p>If you don&#8217;t already have <a href="http://wordpress.org/extend/plugins/wp-super-cache/">WP Super Cache</a> installed, install it now. Then go to Settings -&gt; WP Super Cache -&gt; CDN and enter the cdn domain name as the Off-site URL and check Enable CDN Support.</p>
<p>Clean out the existing cache and visit your front page, content like css, javascript and images should now be loaded from the CDN.</p>
<p><a href="http://poller.se/2011/02/cloudfront-with-origin-pull-and-wp-super-cache/">CloudFront with origin pull and WP Super Cache</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></content:encoded>
			<wfw:commentRss>http://poller.se/2011/02/cloudfront-with-origin-pull-and-wp-super-cache/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Rackspace Cloud Servers, US vs UK</title>
		<link>http://poller.se/2011/01/rackspace-cloud-servers-us-vs-uk/</link>
		<comments>http://poller.se/2011/01/rackspace-cloud-servers-us-vs-uk/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 17:14:21 +0000</pubDate>
		<dc:creator>Fredrik Poller</dc:creator>
				<category><![CDATA[Benchmarks]]></category>
		<category><![CDATA[Cloud computing]]></category>
		<category><![CDATA[rackspace]]></category>
		<category><![CDATA[sysbench]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://poller.se/?p=1076</guid>
		<description><![CDATA[Today, Rackspace opened up the beta for Cloud Servers in the UK. This is a quick performance comparison with the US cloud, using SysBench. The test was done using four servers (two on each site, one 256MB instance and one 512MB). All servers ran Ubuntu 10.10. Without further ado, here&#8217;s the results (less is better). [...]<p><a href="http://poller.se/2011/01/rackspace-cloud-servers-us-vs-uk/">Rackspace Cloud Servers, US vs UK</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Today, Rackspace opened up the beta for <a href="http://www.rackspace.co.uk/cloud_hosting">Cloud Servers in the UK</a>. This is a quick performance comparison with the US cloud, using <a href="http://sysbench.sourceforge.net/">SysBench</a>.</p>
<p>The test was done using four servers (two on each site, one 256MB instance and one 512MB). All servers ran Ubuntu 10.10.</p>
<p>Without further ado, here&#8217;s the results (less is better).</p>
<table width="520px">
<tbody>
<tr>
<td><strong>Product</strong></td>
<td><strong>SysBench CPU</strong></td>
<td><strong>Sysbench Memory</strong></td>
<td><strong>Sysbench File I/O</strong></td>
</tr>
<tr>
<td>US 256</td>
<td>4.0s</td>
<td>184.5s</td>
<td>22.6s</td>
</tr>
<tr>
<td>US 512</td>
<td>4.0s</td>
<td>185.7s</td>
<td>20.3s</td>
</tr>
<tr>
<td>UK 256</td>
<td>4.0s</td>
<td>190.2s</td>
<td>21.4s</td>
</tr>
<tr>
<td>UK 512</td>
<td>4.0s</td>
<td>191.1s</td>
<td>18.5s</td>
</tr>
</tbody>
</table>
<p></p>
<p>There seems to be good capacity at both sites, performance was almost identical.</p>
<p>The following commands where used to do the benching, interesting values was the total time to run the test.</p>
<pre>sysbench --num-threads=4 --test=cpu run
sysbench --num-threads=4 --test=memory run
sysbench --num-threads=4 --test=fileio --file-test-mode=rndrw prepare
sysbench --num-threads=4 --test=fileio --file-test-mode=rndrw run</pre>
<p><a href="http://poller.se/2011/01/rackspace-cloud-servers-us-vs-uk/">Rackspace Cloud Servers, US vs UK</a> is a post from <a href="http://poller.se">Fredrik Poller</a></p>
]]></content:encoded>
			<wfw:commentRss>http://poller.se/2011/01/rackspace-cloud-servers-us-vs-uk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

