<?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; VMware</title>
	<atom:link href="http://www.thattommyhall.com/category/vmware/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>How many IOPS can a single disk provide?</title>
		<link>http://www.thattommyhall.com/2010/02/15/iops/</link>
		<comments>http://www.thattommyhall.com/2010/02/15/iops/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 18:34:55 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://www.thattommyhall.com/?p=140</guid>
		<description><![CDATA[[edit] I wish I could retract that comment about adding:- at the point the seek is done, you need to wait for the platter to spin into place, on average half a turn (the latency time). They do therefore happen in sequence! (If it was not for those pesky disks always spinning, I&#8217;d have been [...]]]></description>
			<content:encoded><![CDATA[<p>[edit]<br />
I wish I could retract that comment about adding:- at the point the seek is done, you need to wait for the platter to spin into place, on average half a turn (the latency time). They do therefore happen in sequence! (If it was not for those pesky disks always spinning, I&#8217;d have been right!). Lesson learned: don&#8217;t let intuition lead you astray, don&#8217;t blog in haste, and realise that sometimes oft repeated advice is true. I am keeping the post up out of intellectual honesty, but will be blogging furiously to get it off the front page.<br />
[/edit]</p>
<p>I have just read an article on roughly how many IOPs you can expect from a single disk and encountered what I consider to be a frequently repeated mistake in the calculation.</p>
<p>Before I begin I want to point out that it is only an approximation anyway and caching in enterprise storage systems makes it perhaps a moot point anyway.</p>
<p>The article is <a href="http://blogs.techrepublic.com.com/datacenter/?p=2182&#038;tag=nl.e040">here </a> if you want to go and see it.<br />
<span id="more-140"></span><br />
He says there are 3 factors that influence the number of random IOPS you can do with one disk (the assumption throughout is that these are random)</p>
<li>Rotational speed</li>
<li>Average latency</li>
<li>Average seek time</li>
<p>and I agree, but would like to point out that 1 and 2 are related: </p>
<p>Average latency = how long 1/2 a turn takes</p>
<p><strong>So, a 15000 RPM disk:</strong></p>
<li>Turns 15000/60 = 250 times a second</li>
<li>One turn takes 1000/250 = 4ms</li>
<li>1/2 a turn takes 2ms (your average latency)<br />
And lets say for arguments sake your seek time is 5ms<br />
<P><br />
<strong>How do you work out IOPS (IO operations per second)?</strong><br />
There are 1000ms in a second so<br />
<center><img src="http://www.codecogs.com/eq.latex?IOPS = \frac{1000}{t}" alt="" /></center><br />
where t is the average time taken to do an IO operation.</p>
<p>For example:<br />
If the average IO takes 5ms, you would have 200 IOPS as you could do 200 of them in 1 sec (200&#215;5=1000)</p>
<p><em>EVERYONE AGREES UP TO HERE</em><br />
<strong><br />
What is more important, latency or seek time?</strong><br />
Well you have to do both, wait for the disk to spin into position and move the head. These two things are in parallel and both need to happen so I would say your average IO takes the worst of the two, ie<br />
<code>t = max{seek time,average latency}</code><br />
I have seen people say that<br />
<code>t = seek time</code><br />
Which matches my thoughts with all disks I have ever seen</p>
<p>Or that<br />
<code>t = latency</code><br />
as a max, as you can get heads to match any latency you like, but it is expensive. (Jeff Bonwick says so <a href="http://blogs.smugmug.com/don/2007/10/08/hdd-iops-limiting-factor-seek-or-rpm/">here</a> )</p>
<p>The thing that I hate seeing is:<br />
<code>t = latency + seek time</code><br />
By adding those two times together you are saying that your average IO time is the time it takes to do both bits added together. The only physical interpretation of this is that they happen one after the other with no overlap, which is clearly not true.</p>
<p>This fallacy is made explicit <a href="http://blogs.zdnet.com/Ou/?p=322">here on ZDnet</a></p>
<blockquote><p>Since the overall access time is determined by the sum of the average rotational latency (2ms) and the average seek time (3.7ms), this high-end 15000 RPM hard drive has an average access time of 5.7 milliseconds.</p></blockquote>
<p>Why the sum?</p>
<p>It comes up unchallenged in Duncans otherwise excellent article about the <a href="http://www.yellow-bricks.com/2009/12/23/iops/">RAID IOPS penalty</a> (interestingly he references the same article, saying</p>
<blockquote><p>In short; It is based on “average seek time” and the half of the time a single rotation takes. These two values added up result in the time an average IO takes.</p></blockquote>
<p>Again, why the sum?</p>
<p>I think it does not really make all that much difference, so long as you have a rule of thumb for roughly how many IOPS a disk has and understand how the way you combine them in RAID impacts it.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.thattommyhall.com/2010/02/15/iops/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thattommyhall.com/2010/02/15/iops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting VMware Certified Professional (VCP) on vSphere 4</title>
		<link>http://www.thattommyhall.com/2009/09/28/getting-vmware-certified-professional-vcp-on-vsphere-4/</link>
		<comments>http://www.thattommyhall.com/2009/09/28/getting-vmware-certified-professional-vcp-on-vsphere-4/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 16:17:27 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.thattommyhall.com/?p=88</guid>
		<description><![CDATA[On Saturday I took and passed the VCP410 exam to get VCP4. It was not really that hard, though I have been reading about vSphere since before it shipped, follow loads of blogs on VMware, installed it as soon as it came into beta and migrated my companies clusters to it relatively early. I would [...]]]></description>
			<content:encoded><![CDATA[<p>On Saturday I took and passed the VCP410 exam to get VCP4. </p>
<p>It was not really that hard, though I have been reading about vSphere since before it shipped, follow loads of blogs on VMware, installed it as soon as it came into beta and migrated my companies clusters to it relatively early. I would say if you have VCP3 and have used vSphere you should be OK.</p>
<p>The frustrating thing about the exam was the questions on the config max document, in my view if you are approaching the maximums you could just look it up and memorisation is a pointless exercise. A lot of the maximums are just decisions someone in vmware made, how many NFS stores by default ? (8), max? (64). What it the tree-depth per resource pool? (12&#8230; unless you use DRS, then it&#8217;s 10). This kind of memorisation is stupid, pointless, hoop-jumping and will be the difference between passing and failing for lots of people.</p>
<p>The exam (like most IT certs) is multiple choice so the questions are fairly mundane and of course there is only 1 correct answer. When interviewing candidates, I always prefer questions that start &#8220;what is <em>your</em>&#8221; rather than &#8220;what <em>is</em>&#8221; as anything that is so unsubtle as to only have one answer is probably too uninteresting to spend time discussing.</p>
<p>I did do a nights worth of revision however, using:</p>
<ul>
<li>Vmware&#8217;s <a href="http://mylearn.vmware.com/quiz.cfm?item=15211">mock exam</a></li>
<li>Simon Longs <a href="http://www.simonlong.co.uk/blog/vcp-vsphere-4-practice-exam/">practice exams</a></li>
<li>The <a href="www.vmware.com/pdf/vsphere4/r40/vsp_40_config_max.pdf">config max</a> doc &#8211; YAWN</li>
<li>My own <a href="http://dl.getdropbox.com/u/2039069/ConfigMax.mm">mind map</a> (using <a href="http://freemind.sourceforge.net/wiki/index.php/Main_Page">FreeMind</a>, or use the <a href="http://dl.getdropbox.com/u/2039069/ConfigMax.pdf">pdf version</a>) of config max and a few of Simons questions</li>
<li>vReference&#8217;s <a href="http://www.vreference.com/vsphere4-card/">card</a></li>
</ul>
<p>Also worth considering are </p>
<ul>
<li><a href="http://www.trainsignal.com/VMware-vSphere-Training-P76.aspx">Trainsignals videos</a> (I may still get myself a copy)</li>
<li>The <a href="http://pubs.vmware.com/vsp40_i/">Exam Blueprint</a></li>
<li>The <a href="http://www.vmware.com/support/pubs/">VMware Doc&#8217;s</a></li>
<li>vReference&#8217;s <a href="http://www.vreference.com/vsphere4-notes/">vSphere4 notes</a> (these look excellent but I did not have time to read them)</li>
<li>Mike Laverick&#8217;s book <a href="http://www.amazon.co.uk/gp/product/0071664521?ie=UTF8&#038;tag=tomsblog-21&#038;linkCode=as2&#038;camp=1634&#038;creative=19450&#038;creativeASIN=0071664521">VMware vSphere 4 Implementation</a> (I have it pre-ordered)</li>
<li>Scott Lowes book <a href="http://www.amazon.co.uk/gp/product/0470481382?ie=UTF8&#038;tag=tomsblog-21&#038;linkCode=as2&#038;camp=1634&#038;creative=19450&#038;creativeASIN=0470481382">Mastering VMware VSphere 4</a> (seems to be the most popular one released so far)</li>
</ul>
<p>You may like to see the things I have <a href="http://delicious.com/thattommyhall/vmware">added to delicious</a> on vmware over the last few years.</p>
<p>Good luck if you take it too!</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.thattommyhall.com/2009/09/28/getting-vmware-certified-professional-vcp-on-vsphere-4/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thattommyhall.com/2009/09/28/getting-vmware-certified-professional-vcp-on-vsphere-4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
