<?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>thattommyhall.com &#187; Uncategorized</title>
	<atom:link href="http://www.thattommyhall.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thattommyhall.com</link>
	<description>A Random Walk Through Idea Space</description>
	<lastBuildDate>Tue, 20 Jul 2010 19:13:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>FusionIO ioDrive</title>
		<link>http://www.thattommyhall.com/2009/07/06/fusionio-iodrive/</link>
		<comments>http://www.thattommyhall.com/2009/07/06/fusionio-iodrive/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 21:11:54 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.thattommyhall.com/?p=74</guid>
		<description><![CDATA[Well, I got my hands on one of the fusion-io ioDrives a couple of weeks ago. unfortunately they do not work in the version of VMware ESX that we are using, though they are working on drivers for the 64bit ESX4. I did not have time to set up a physical machine to test on [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I got my hands on one of the fusion-io ioDrives a couple of weeks ago. unfortunately they do not work in the version of VMware ESX that we are using, though they are working on drivers for the 64bit ESX4. I did not have time to set up a physical machine to test on our application running SQL server 2005 so I have just quickly done some IO benchmarks in Linux at home. I was going to test btrfs and its SSD mode at the same time it but hit too many problems trying to get the drivers and the btrfs module in the kernel together.</p>
<p>First setup a 4 drive raid0 array for comparison</p>
<p>root@George:/home/tom# fdisk -l | grep 500<br />
Disk /dev/sdb doesn&#8217;t contain a valid partition table<br />
Disk /dev/sdc doesn&#8217;t contain a valid partition table<br />
Disk /dev/sdd doesn&#8217;t contain a valid partition table<br />
Disk /dev/sde doesn&#8217;t contain a valid partition table<br />
Disk /dev/sdb: 500.1 GB, 500107862016 bytes<br />
Disk /dev/sdc: 500.1 GB, 500107862016 bytes<br />
Disk /dev/sdd: 500.1 GB, 500107862016 bytes<br />
Disk /dev/sde: 500.1 GB, 500107862016 bytes</p>
<pre class="brush: plain;">
root@George:/home/tom# mdadm --create /dev/md0 -l 0 -n 4 /dev/sd[bcde]
mdadm: array /dev/md0 started.
</pre>
<pre class="brush: plain;">root@George:/home/tom# mkfs.ext2 /dev/md0
root@George:/home/tom# mkfs.ext2 /dev/fioa
</pre>
<p>fio:<br />
I was looking for an iometer-a-like for linux to quickly get some semi-meaningful results (bonnie++ was returning results saying it was too quick to measure or something)<br />
Fio lets you create a text file description of a workload, with a choice of IO libs and loads of options, you can set concurrent jobs also, see <a href="http://www.linux.com/archive/feature/131063">this</a> excellent linux.com article for more info</p>
<p>random-read-test-aio-32thread-20G.fio </p>
<pre class="brush: plain;">
[random-read]
rw=randread
size=20G
ioengine=libaio
iodepth=32
direct=1
invalidate=1
</pre>
<pre class="brush: plain;">
root@George:/fusionio# fio /fio/random-read-test-aio-32thread-20G.fio
random-read: (g=0): rw=randread, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=32
Starting 1 process
random-read: Laying out IO file(s) (1 file(s) / 20480MiB)
Jobs: 1 (f=1): [r] [100.0% done] [139M/0K /s] [35K/0 iops] [eta 00m:00s]
random-read: (groupid=0, jobs=1): err= 0: pid=25705
  read : io=20480MiB, bw=157614KiB/s, iops=39403, runt=133056msec
    slat (usec): min=4096, max=4096, avg=4096.00, stdev= 0.00
    clat (usec): min=324, max=325739, avg=788.05, stdev=1238.41
    bw (KiB/s) : min=45800, max=196536, per=100.24%, avg=157996.42, stdev=22439.38
  cpu          : usr=9.23%, sys=71.81%, ctx=2180058, majf=1, minf=698
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=100.0%, &gt;=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, &gt;=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.1%, 64=0.0%, &gt;=64=0.0%
     issued r/w: total=5242880/0, short=0/0
     lat (usec): 500=0.01%, 750=78.27%, 1000=10.86%
     lat (msec): 2=9.31%, 4=1.11%, 10=0.30%, 20=0.10%, 50=0.04%
     lat (msec): 100=0.01%, 500=0.01%
</pre>
<pre class="brush: plain;">
Run status group 0 (all jobs):
READ: io=20480MiB, aggrb=157614KiB/s, minb=157614KiB/s, maxb=157614KiB/s, mint=133056msec, maxt=133056msec
</pre>
<pre class="brush: plain;">Disk stats (read/write):
  fioa: ios=5244775/2, merge=0/0, ticks=303464/0, in_queue=0, util=0.00%
</pre>
<p>random-write-test-aio-32thread-20G.fio </p>
<pre class="brush: plain;">
[random-write]
rw=randwrite
size=20G
ioengine=libaio
iodepth=32
direct=1
invalidate=1</pre>
<pre class="brush: plain;">
root@George:/fusionio# fio /fio/random-write-test-aio-32thread-20G.fio
random-write: (g=0): rw=randwrite, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=32
Starting 1 process
random-write: Laying out IO file(s) (1 file(s) / 20480MiB)
Jobs: 1 (f=1): [w] [100.0% done] [0K/18210K /s] [0/4446 iops] [eta 00m:00s]
random-write: (groupid=0, jobs=1): err= 0: pid=7105
  write: io=20480MiB, bw=23406KiB/s, iops=5851, runt=895978msec
    slat (usec): min=4096, max=4096, avg=4096.00, stdev= 0.00
    clat (msec): min=1, max=322, avg= 5.30, stdev= 6.29
    bw (KiB/s) : min=    0, max=94080, per=99.99%, avg=23404.82, stdev=13749.60
  cpu          : usr=3.19%, sys=27.08%, ctx=5303118, majf=0, minf=4369
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=100.0%, &gt;=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, &gt;=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.1%, 64=0.0%, &gt;=64=0.0%
     issued r/w: total=0/5242880, short=0/0
     lat (msec): 2=14.96%, 4=46.44%, 10=17.79%, 20=20.45%, 50=0.23%
     lat (msec): 100=0.06%, 250=0.06%, 500=0.01%
Run status group 0 (all jobs):
  WRITE: io=20480MiB, aggrb=23406KiB/s, minb=23406KiB/s, maxb=23406KiB/s, mint=895978msec, maxt=895978msec
Disk stats (read/write):
  fioa: ios=164/5339709, merge=0/0, ticks=28/961368, in_queue=0, util=0.00%
</pre>
<p>Now the RAID0 array,took all night to complete the same tests.</p>
<pre class="brush: plain;">
root@George:/raid0# fio /fio/random-read-test-aio-32thread-20G.fio ;
random-read: (g=0): rw=randread, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=32
Starting 1 process
Jobs: 1 (f=1): [r] [100.0% done] [4136K/0K /s] [1010/0 iops] [eta 00m:00s]
random-read: (groupid=0, jobs=1): err= 0: pid=20079
  read : io=20480MiB, bw=3475KiB/s, iops=868, runt=6033707msec
    slat (usec): min=4096, max=4096, avg=4096.00, stdev= 0.00
    clat (usec): min=3, max=1048K, avg=36802.65, stdev=37338.47
    bw (KiB/s) : min=  982, max= 4367, per=100.10%, avg=3478.65, stdev=279.09
  cpu          : usr=0.55%, sys=1.84%, ctx=4607245, majf=0, minf=30634
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=100.0%, &gt;=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, &gt;=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.1%, 64=0.0%, &gt;=64=0.0%
     issued r/w: total=5242880/0, short=0/0
     lat (usec): 4=0.01%, 50=0.01%, 100=0.01%, 250=0.03%, 500=0.09%
     lat (usec): 750=0.01%, 1000=0.01%
     lat (msec): 2=0.02%, 4=0.93%, 10=16.14%, 20=26.65%, 50=32.57%
     lat (msec): 100=16.79%, 250=6.56%, 500=0.19%, 750=0.01%, 1000=0.01%
     lat (msec): 2000=0.01%
Run status group 0 (all jobs):
   READ: io=20480MiB, aggrb=3475KiB/s, minb=3475KiB/s, maxb=3475KiB/s, mint=6033707msec, maxt=6033707msec
Disk stats (read/write):
  md0: ios=5242880/4900, merge=0/0, ticks=0/0, in_queue=0, util=0.00%, aggrios=0/0, aggrmerge=0/0, aggrticks=0/0, aggrin_queue=0, aggrutil=0.00%
    sdb: ios=0/0, merge=0/0, ticks=0/0, in_queue=0, util=nan%
    sdc: ios=0/0, merge=0/0, ticks=0/0, in_queue=0, util=nan%
    sdd: ios=0/0, merge=0/0, ticks=0/0, in_queue=0, util=nan%
    sde: ios=0/0, merge=0/0, ticks=0/0, in_queue=0, util=nan%
</pre>
<p>root@George:/raid0# fio /fio/random-write-test-aio-32thread-20G.fio</p>
<pre class="brush: plain;">
random-write: (g=0): rw=randwrite, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=32
Starting 1 process
random-write: Laying out IO file(s) (1 file(s) / 20480MiB)
Jobs: 1 (f=1): [w] [100.0% done] [0K/9427K /s] [0/2301 iops] [eta 00m:00s]
random-write: (groupid=0, jobs=1): err= 0: pid=2789
  write: io=20480MiB, bw=10075KiB/s, iops=2518, runt=2081336msec
    slat (usec): min=4096, max=4096, avg=4096.00, stdev= 0.00
    clat (msec): min=1, max=773, avg=12.31, stdev= 7.27
    bw (KiB/s) : min=    0, max=20552, per=100.09%, avg=10083.67, stdev=2143.10
  cpu          : usr=1.62%, sys=11.61%, ctx=5332417, majf=0, minf=10120
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=100.0%, &gt;=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, &gt;=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.1%, 64=0.0%, &gt;=64=0.0%
     issued r/w: total=0/5242880, short=0/0
     lat (msec): 2=0.01%, 4=0.01%, 10=23.86%, 20=75.38%, 50=0.70%
     lat (msec): 100=0.04%, 250=0.01%, 500=0.01%, 750=0.01%, 1000=0.01%
Run status group 0 (all jobs):
  WRITE: io=20480MiB, aggrb=10075KiB/s, minb=10075KiB/s, maxb=10075KiB/s, mint=2081336msec, maxt=2081336msec
Disk stats (read/write):
  md0: ios=159/5353967, merge=0/0, ticks=0/0, in_queue=0, util=0.00%, aggrios=0/0, aggrmerge=0/0, aggrticks=0/0, aggrin_queue=0, aggrutil=0.00%
    sdb: ios=0/0, merge=0/0, ticks=0/0, in_queue=0, util=nan%
    sdc: ios=0/0, merge=0/0, ticks=0/0, in_queue=0, util=nan%
    sdd: ios=0/0, merge=0/0, ticks=0/0, in_queue=0, util=nan%
    sde: ios=0/0, merge=0/0, ticks=0/0, in_queue=0, util=nan%
</pre>
<p>Key figures are IOPS, bw (bandwith) and completion time.</p>
<p>IOPS:<br />
read &#8211; 39403/868 ~45x<br />
write &#8211; 5851/2518 ~2x</p>
<p>bw<br />
read &#8211; 157614/3475 ~45x<br />
write &#8211; 23406/10075 ~2x</p>
<p>Time:<br />
read &#8211; 133/6033 ~45x<br />
write &#8211; 895/2081 ~2x</p>
<p>I am surprised the array wrote so fast ~800 IOPS for read and write was my expectation, I did not have time to repeat with a different IO lib and cant explain why random writes would be 3x faster than random reads on a RAID0 array so I think its to do with libaio.</p>
<p>In short my home PC temporarily had read IOPS equivalent to 200 hard disks spinning at 15&#8217;000 RPM, ace.</p>
<p>Prices are as follows:<br />
80GB ioDrive (SLC) US$3,600<br />
160GB ioDrive (SLC) US$7,200<br />
320GB ioDrive (MLC) US$14,400<br />
320GB ioDrive Duo (SLC) US$11,900<br />
640GB ioDrive Duo (MLC) US$9,795</p>
<p>See <a href="http://www.fusionio.com/Products.aspx">http://www.fusionio.com/Products.aspx</a> for more information.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.thattommyhall.com/2009/07/06/fusionio-iodrive/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thattommyhall.com/2009/07/06/fusionio-iodrive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Edinburgh</title>
		<link>http://www.thattommyhall.com/2008/09/13/edinburgh/</link>
		<comments>http://www.thattommyhall.com/2008/09/13/edinburgh/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 14:46:52 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[comedy]]></category>

		<guid isPermaLink="false">http://www.thattommyhall.com/2008/09/13/edinburgh/</guid>
		<description><![CDATA[I have recently returned from Edinburgh, I caught the tail end of the Fringe festival. It was a good trip, and the first time I have had more than a day off work since February. I saw quite a few acts in the final 3 day.It&#8217;s been ages since I blogged and I&#8217;m out of [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently returned from Edinburgh, I caught the tail end of the Fringe festival. It was a good trip, and the first time I have had more than a day off work since February. I saw quite a few acts in the final 3 day.It&#8217;s been ages since I blogged and I&#8217;m out of the habit so I&#8217;ll just post loads of vids.<br />
<span id="more-68"></span></p>
<p>Glen Wool. A bloody funny Canadian, saw him do edinburgh preview in the Oak in Headingly so had seen most of the show but he was funny anyway</p>
<p><object height="344" width="425"><param value="http://www.youtube.com/v/JGpMDOw7gmM&amp;hl=en&amp;fs=1" name="movie"></param><param value="true" name="allowFullScreen"></param><embed src="http://www.youtube.com/v/JGpMDOw7gmM&amp;hl=en&amp;fs=1" height="344" width="425" allowfullscreen="true" type="application/x-shockwave-flash"></embed></object></p>
<p><object height="344" width="425"><param value="http://www.youtube.com/v/uXojj06KSPo&amp;hl=en&amp;fs=1" name="movie"></param><param value="true" name="allowFullScreen"></param><embed src="http://www.youtube.com/v/uXojj06KSPo&amp;hl=en&amp;fs=1" height="344" width="425" allowfullscreen="true" type="application/x-shockwave-flash"></embed></object></p>
<p>Nina Conti. I thought she was really funny, but finding some videos on youtube made me think perhaps she has not varied her act very much over the last few years.<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/E25ebRjx8w0&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/E25ebRjx8w0&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Ed Burns. Funny, I liked him since I say this &#8220;Ironic&#8221;gag a while ago.<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/nT1TVSTkAXg&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/nT1TVSTkAXg&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Sammy J and the Forest of Dreams, puppets that swear are fucking funny apparantly<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/KUTUGpMPkAE&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/KUTUGpMPkAE&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>And missed out on:</p>
<p>Tim Minchin<br />
<object height="344" width="425"><param value="http://www.youtube.com/v/RFO6ZhUW38w&amp;hl=en&amp;fs=1" name="movie"></param><param value="true" name="allowFullScreen"></param><embed src="http://www.youtube.com/v/RFO6ZhUW38w&amp;hl=en&amp;fs=1" height="344" width="425" allowfullscreen="true" type="application/x-shockwave-flash"></embed></object></p>
<p>Jon Richardson<br />
<object height="344" width="425"><param value="http://www.youtube.com/v/j6yPZu5IBoY&amp;hl=en&amp;fs=1" name="movie"></param><param value="true" name="allowFullScreen"></param><embed src="http://www.youtube.com/v/j6yPZu5IBoY&amp;hl=en&amp;fs=1" height="344" width="425" allowfullscreen="true" type="application/x-shockwave-flash"></embed></object></p>
<p>Reginald D Hunter, though he is here in December.<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/bFFDdgRj3nE&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/bFFDdgRj3nE&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/YGUq7xbmSos&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/YGUq7xbmSos&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Tim Vine<br />
<object height="344" width="425"><param value="http://www.youtube.com/v/eshR-WpdYDM&amp;hl=en&amp;fs=1" name="movie"></param><param value="true" name="allowFullScreen"></param><embed src="http://www.youtube.com/v/eshR-WpdYDM&amp;hl=en&amp;fs=1" height="344" width="425" allowfullscreen="true" type="application/x-shockwave-flash"></embed></object></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.thattommyhall.com/2008/09/13/edinburgh/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thattommyhall.com/2008/09/13/edinburgh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why are people so credulous?</title>
		<link>http://www.thattommyhall.com/2008/03/30/why-are-people-so-credulous/</link>
		<comments>http://www.thattommyhall.com/2008/03/30/why-are-people-so-credulous/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 03:07:42 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.thattommyhall.com/2008/03/30/why-are-people-so-credulous/</guid>
		<description><![CDATA[What a load of shit, she clearly cannot make a single correct statement. Share on Facebook]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/C0c5yClip4o&#038;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/C0c5yClip4o&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<p>What a load of shit, she clearly cannot make a single correct statement.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.thattommyhall.com/2008/03/30/why-are-people-so-credulous/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thattommyhall.com/2008/03/30/why-are-people-so-credulous/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
