<?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>Looking for the paradigm &#187; computers</title>
	<atom:link href="http://www.evanhoffman.com/evan/tag/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evanhoffman.com/evan</link>
	<description>So I can pass it off</description>
	<lastBuildDate>Thu, 26 Jan 2012 22:17:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Macbook Pro locks up with SSD installed.</title>
		<link>http://www.evanhoffman.com/evan/2011/08/23/macbook-pro-locks-up-with-ssd-installed/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=macbook-pro-locks-up-with-ssd-installed</link>
		<comments>http://www.evanhoffman.com/evan/2011/08/23/macbook-pro-locks-up-with-ssd-installed/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 16:04:54 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[beach ball]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[MC118LL/A]]></category>
		<category><![CDATA[pro]]></category>
		<category><![CDATA[slow]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[spinning]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=1563</guid>
		<description><![CDATA[TweetA few weeks ago I switched from my trusty old HP nc8430 to a Macbook Pro (MC118LL/A) that was left spare when another employee left. I mostly enjoyed using Linux but I was tired of dealing with weird quirks like having X lock up, essentially forcing me to do a hard reboot. To transition, I [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2011/08/23/macbook-pro-locks-up-with-ssd-installed/&via=EvanHoffman&text=Macbook Pro locks up with SSD installed.&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2011/08/23/macbook-pro-locks-up-with-ssd-installed/"></g:plusone></div><p>A few weeks ago I switched from my trusty old <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16834147346">HP nc8430</a> to a <a href="http://www.amazon.com/gp/product/B002C744K6/ref=as_li_ss_tl?ie=UTF8&#038;tag=evanhoffmasho-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399369&#038;creativeASIN=B002C744K6">Macbook Pro</a> (MC118LL/A) that was left spare when another employee left.  I mostly enjoyed using Linux but I was tired of dealing with weird quirks like having X lock up, essentially forcing me to do a hard reboot.  </p>
<p>To transition, I copied my documents from Linux to Mac, then turned off the Linux laptop.  Surprisingly I found I didn&#8217;t need to turn Linux back on at all.<br />
<span id="more-1563"></span><br />
Last week, I decided to put the final nail in Linux&#8217;s coffin by taking the SSD (<a href="http://www.amazon.com/gp/product/B002CI41US/ref=as_li_ss_tl?ie=UTF8&#038;tag=evanhoffmasho-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399369&#038;creativeASIN=B002CI41US">Corsair CMFSSD-128GBG2D</a>)out of it and putting it in my Macbook.  The Macbook was pretty fast (Core 2 Duo @ 2.5 GHz) but some things were noticeably slower on its 7200RPM disk than on Linux with an SSD, especially running Windows VMs.</p>
<p>I booted Linux to Knoppix and zeroed out the disk, then removed it.  I backed my Mac up with Time Machine, shut it down, then undid the ~12 tiny screws, removed the bottom plate of the Macbook and popped the SSD in.  I booted from the Mac DVD, restored from Time Machine and went home (it took ~4 hours to restore).</p>
<p>When I got in the next day, the restore was complete, though I had to click &#8220;Restart&#8221; to finish, which was annoying.  Everything worked fine, and I was pretty impressed.  The machine was kind of sluggish due to Spotlight indexing but once that was done I was pretty amazed at the transformation.  Every app opened in under 1 second.  Windows VMs were super snappy.  Things were going well.  </p>
<p>But then I started noticing periods of extended hanging.  In the middle of some task, I&#8217;d get the <b>beachball</b> and the whole computer would become unresponsive (cursor would spin &#038; move around but I couldn&#8217;t click anything).  This would last about 30-60 seconds.  I assumed it was some behind-the-scenes optimization, or some residual spotlight indexing.  </p>
<p>Unfortunately, it hasn&#8217;t gone away.  Earlier today I copied a 3 GB zip file from our file server to my laptop and it beachballed me on and off (about 60-70% of the time) for about 15 minutes as it copied.  What&#8217;s odd is that the transfer speeds were pretty good, it appeared to be my computer itself that was bottlenecking it.  After the download completed, I attempted to unzip it and was beachballed again.  I checked Activity Monitor and it was peaking at 30 MB/s, but had extended periods of zeroes.  I ran iostat and got basically the same information:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
</pre></td><td class="code"><pre class="log" style="font-family:monospace;">EvanMBP:~ root# iostat -Kw 3
          disk0           disk1       cpu     load average
    KB/t tps  MB/s     KB/t tps  MB/s  us sy id   1m   5m   15m
    9.33   3  0.03     0.00   0  0.00   9  4 87  0.25 0.28 0.32
    0.00   0  0.00     0.00   0  0.00  13  5 82  0.23 0.27 0.32
   20.00   0  0.01     0.00   0  0.00  15  5 80  0.23 0.27 0.32
   36.00   1  0.02     0.00   0  0.00  16  6 77  0.21 0.27 0.32
    0.00   0  0.00     0.00   0  0.00  12  5 83  0.21 0.27 0.32
   20.02  60  1.18     0.00   0  0.00  17 10 74  0.19 0.26 0.32
   24.60 363  8.72     0.00   0  0.00  18 13 69  0.17 0.26 0.31
   25.40 307  7.60     0.00   0  0.00  14 11 75  0.17 0.26 0.31
   21.95 426  9.14     0.00   0  0.00  15 12 73  0.32 0.29 0.32
   82.50 352 28.35     0.00   0  0.00  17 11 73  0.32 0.29 0.32
  809.70  84 66.41     0.00   0  0.00  22  9 69  0.29 0.28 0.32
    0.00   0  0.00     0.00   0  0.00   9  5 86  0.27 0.28 0.32
    0.00   0  0.00     8.89  11  0.09   9  5 86  0.27 0.28 0.32
    0.00   0  0.00     0.00   0  0.00   9  5 87  0.33 0.29 0.32
    0.00   0  0.00     0.00   0  0.00  12  7 81  0.33 0.29 0.32
    0.00   0  0.00     0.00   0  0.00  14  8 78  0.38 0.30 0.33
    0.00   0  0.00     0.00   0  0.00  11  6 83  0.35 0.29 0.33
    0.00   0  0.00     0.00   0  0.00  10  6 84  0.35 0.29 0.33
    0.00   0  0.00     0.00   0  0.00  10  5 84  0.32 0.29 0.32
    0.00   0  0.00     0.00   0  0.00  11  6 84  0.32 0.29 0.32
          disk0           disk1       cpu     load average
    KB/t tps  MB/s     KB/t tps  MB/s  us sy id   1m   5m   15m
    0.00   0  0.00     0.00   0  0.00  10  5 84  0.30 0.28 0.32
    0.00   0  0.00     0.00   0  0.00  11  6 84  0.27 0.28 0.32
    0.00   0  0.00     0.00   0  0.00  11  5 84  0.27 0.28 0.32
    0.00   0  0.00     0.00   0  0.00   9  5 85  0.25 0.27 0.32
    0.00   0  0.00     0.00   0  0.00  10  5 85  0.25 0.27 0.32
    0.00   0  0.00     0.00   0  0.00  10  5 85  0.31 0.29 0.32
    0.00   0  0.00     0.00   0  0.00  10  5 85  0.45 0.31 0.33
    0.00   0  0.00     0.00   0  0.00  10  5 85  0.45 0.31 0.33
    0.00   0  0.00     0.00   0  0.00  10  5 85  0.41 0.31 0.33
    0.00   0  0.00     0.00   0  0.00  10  5 85  0.41 0.31 0.33
  384.49  10  3.85    10.00   0  0.00  12  6 82  0.32 0.29 0.32
  291.73 126 35.78     0.00   0  0.00  23 13 64  0.38 0.31 0.33
  236.65 338 78.20     0.00   0  0.00  30 17 53  0.34 0.30 0.33
  397.61  21  8.02     0.00   0  0.00  15  8 77  0.34 0.30 0.33
    0.00   0  0.00     0.00   0  0.00  11  6 83  0.32 0.30 0.32
    0.00   0  0.00     0.00   0  0.00  12  7 81  0.32 0.30 0.32
    0.00   0  0.00     0.00   0  0.00  12  6 82  0.29 0.29 0.32
    0.00   0  0.00     0.00   0  0.00  11  6 83  0.35 0.30 0.33
    0.00   0  0.00     0.00   0  0.00  13  6 80  0.35 0.30 0.33
    0.00   0  0.00     0.00   0  0.00  11  6 83  0.32 0.30 0.32
          disk0           disk1       cpu     load average
    KB/t tps  MB/s     KB/t tps  MB/s  us sy id   1m   5m   15m
    0.00   0  0.00     0.00   0  0.00  13  8 78  0.32 0.30 0.32
    0.00   0  0.00     0.00   0  0.00  11  7 82  0.29 0.29 0.32
    0.00   0  0.00     0.00   0  0.00  10  5 86  0.35 0.30 0.33
  148.94 124 18.03     0.00   0  0.00  18  8 73  0.35 0.30 0.33
  267.73 121 31.72     0.00   0  0.00  17  8 76  0.32 0.30 0.32
  355.54 162 56.35     0.00   0  0.00  22  8 69  0.32 0.30 0.32
  738.07  38 27.38     0.00   0  0.00  16  6 78  0.30 0.29 0.32
  512.42  67 33.52     0.00   0  0.00  20  7 73  0.27 0.29 0.32
  835.74  61 50.05     0.00   0  0.00  19  7 73  0.27 0.29 0.32
  536.83  69 36.17     0.00   0  0.00  17  6 76  0.49 0.33 0.34
  543.89  83 43.90     0.00   0  0.00  20  8 72  0.49 0.33 0.34
  720.70  59 41.74     0.00   0  0.00  18  7 76  0.45 0.33 0.33
  541.23 124 65.70     0.00   0  0.00  22  9 70  0.41 0.32 0.33
  260.54 210 53.37     0.00   0  0.00  22  9 70  0.41 0.32 0.33
  806.93  73 57.78     0.00   0  0.00  20  8 72  0.46 0.33 0.34
  874.98  43 37.02     0.00   0  0.00  13  7 80  0.46 0.33 0.34
    0.00   0  0.00     0.00   0  0.00  11  4 85  0.42 0.33 0.33
    0.00   0  0.00     0.00   0  0.00   8  4 88  0.39 0.32 0.33
    0.00   0  0.00     0.00   0  0.00   9  4 87  0.39 0.32 0.33
    0.00   0  0.00     0.00   0  0.00   8  4 88  0.44 0.33 0.33
          disk0           disk1       cpu     load average
    KB/t tps  MB/s     KB/t tps  MB/s  us sy id   1m   5m   15m
    0.00   0  0.00     0.00   0  0.00  11  5 84  0.44 0.33 0.33
    0.00   0  0.00     0.00   0  0.00  13  6 81  0.48 0.34 0.34
    0.00   0  0.00     0.00   0  0.00  10  4 86  0.44 0.34 0.34
    0.00   0  0.00     0.00   0  0.00   8  4 88  0.44 0.34 0.34
    0.00   0  0.00     0.00   0  0.00   8  4 88  0.41 0.33 0.33
    0.00   0  0.00     0.00   0  0.00   8  4 88  0.41 0.33 0.33
    0.00   0  0.00     0.00   0  0.00   8  4 87  0.38 0.32 0.33
    0.00   0  0.00     0.00   0  0.00   7  4 89  0.35 0.32 0.33
    0.00   0  0.00     0.00   0  0.00   8  4 87  0.35 0.32 0.33
    0.00   0  0.00     0.00   0  0.00   7  3 89  0.32 0.31 0.33
    0.00   0  0.00     0.00   0  0.00   8  4 88  0.32 0.31 0.33
    0.00   0  0.00     0.00   0  0.00   7  3 90  0.29 0.31 0.33
  347.11  92 31.29     0.00   0  0.00  20  8 72  0.43 0.34 0.33
   49.98 656 32.03     0.00   0  0.00  32 10 59  0.43 0.34 0.33
  113.45 351 38.90     0.00   0  0.00  40 15 45  0.47 0.35 0.34
  819.41  34 27.20     0.00   0  0.00  26 12 63  0.47 0.35 0.34
  686.99  50 33.76     0.00   0  0.00  18  7 76  0.52 0.36 0.34
  878.17  23 20.01     0.00   0  0.00  20  8 72  0.47 0.35 0.34
    0.00   0  0.00     0.00   0  0.00   8  4 87  0.47 0.35 0.34
    0.00   0  0.00     0.00   0  0.00   8  4 88  0.44 0.34 0.34</pre></td></tr></table></div>

<p>You can see in the MB/s column, lots of &#8220;0.00&#8243; followed by some bursts of ~30 MB/s.  The zeros didn&#8217;t actually print at the time, but flooded the screen in bursts when the bottleneck cleared up.  It seems to me like it might be some problem with queueing or caching, or maybe the SATA controller on this Mac just isn&#8217;t up to the task of SSDs.  I&#8217;m not sure, but at this point I&#8217;m afraid I might have to go back to the 7200 RPM Seagate that came with the Mac.  30-second hangups are far more annoying than having lots of things be slower.  Kind of a strange amortization, if you think about it.  Anyway, I&#8217;ll keep looking into it, now that I know how to reproduce the problem (unzip a huge file).</p>
<p><ins datetime="2011-08-23T20:19:03+00:00">Updated</ins>: A quick Google search for &#8220;beach ball mac SSD&#8221; turned up  <a href="http://crucial.lithium.com/t5/Solid-State-Drives-SSD/MacBook-Pro-Spinning-Beach-Ball-Help/td-p/42328">this thread</a> which seems to be about this same problem, with a different model SSD.  Also referenced in <a href="https://discussions.apple.com/thread/3110516?start=0&#038;tstart=0">this thread</a> on Apple.com.  It feels like the problem may be due to an &#8220;old&#8221; SSD.</p>
<p><ins datetime="2011-08-24T13:04:41+00:00">Updated again</ins>: Here&#8217;s someone having the problem with a Corsair 128 GB SSD: <a href="http://forum.corsair.com/v3/showthread.php?t=91061">http://forum.corsair.com/v3/showthread.php?t=91061</a>.</p>
<p><ins datetime="2011-08-24T16:48:08+00:00">Updated again</ins>: According to <a href="http://forum.crucial.com/t5/Solid-State-Drives-SSD/M4-SSD-with-8GB-DDR3-PC3-8500-on-MBP-5-5-13-2-53-GHz-Mid-2009/m-p/58702/highlight/true#M18141">this post</a>, this appears to be a problem with the SATA controller in the 2009 Macbooks.  Bah.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2011/08/23/macbook-pro-locks-up-with-ssd-installed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript: The Good Parts</title>
		<link>http://www.evanhoffman.com/evan/2011/04/26/javascript-the-good-parts/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=javascript-the-good-parts</link>
		<comments>http://www.evanhoffman.com/evan/2011/04/26/javascript-the-good-parts/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 21:20:21 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=1197</guid>
		<description><![CDATA[TweetI just finished reading JavaScript: The Good Parts, one of the best programming books I&#8217;ve read. The ending is fantastic: We see a lot of feature-driven product design in which the cost of features is not properly accounted. Features can have a negative value to consumers because they make the products more difficult to understand [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2011/04/26/javascript-the-good-parts/&via=EvanHoffman&text=JavaScript: The Good Parts&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2011/04/26/javascript-the-good-parts/"></g:plusone></div><p>I just finished reading <a href="http://www.amazon.com/gp/product/0596517742/ref=as_li_ss_tl?ie=UTF8&#038;tag=evanhoffmasho-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399349&#038;creativeASIN=0596517742">JavaScript: The Good Parts</a>, one of the best programming books I&#8217;ve read.  The ending is fantastic:</p>
<blockquote><p>We see a lot of feature-driven product design in which the cost of features is not properly accounted. Features can have a negative value to consumers because they make the products more difficult to understand and use. We are finding that people like products that just work. It turns out that designs that just work are much harder to produce than designs that assemble long lists of features.</p>
<p>Features have a specification cost, a design cost, and a development cost. There is a testing cost and a reliability cost. The more features there are, the more likely one will develop problems or will interact badly with another. In software systems, there is a storage cost, which was becoming negligible, but in mobile applications is becoming significant again. There are ascending performance costs because Moore&#8217;s Law doesn&#8217;t apply to batteries.</p>
<p>Features have a documentation cost. Every feature adds pages to the manual, increasing training costs. Features that offer value to a minority of users impose a cost on all users. So, in designing products and programming languages, we want to get the core features—the good parts—right because that is where we create most of the value.</p>
<p>We all find the good parts in the products that we use. We value simplicity, and when simplicity isn&#8217;t offered to us, we make it ourselves. My microwave oven has tons of features, but the only ones I use are cook and the clock. And setting the clock is a struggle. We cope with the complexity of feature-driven design by finding and sticking with the good parts.</p>
<p>It would be nice if products and programming languages were designed to have only good parts.</p></blockquote>
<p><span id="more-1197"></span></p>
<p><iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=evanhoffmasho-20&#038;o=1&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=ss_til&#038;asins=0596517742" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2011/04/26/javascript-the-good-parts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The bright side of Compellent</title>
		<link>http://www.evanhoffman.com/evan/2010/09/22/the-bright-side-of-compellent/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-bright-side-of-compellent</link>
		<comments>http://www.evanhoffman.com/evan/2010/09/22/the-bright-side-of-compellent/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 20:07:46 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[compellent]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[expand]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[managment]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[price]]></category>
		<category><![CDATA[pricing]]></category>
		<category><![CDATA[san]]></category>
		<category><![CDATA[sata]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=647</guid>
		<description><![CDATA[TweetSince I was bemoaning Compellent&#8217;s pricing recently I figured it would be unfair of me not to highlight the upside. Their tagline is (or was when we purchased it) &#8220;The only SAN so sophisticated it&#8217;s simple.&#8221; While I can&#8217;t say whether they&#8217;re the ONLY one, the idea is definitely true. This is the first SAN [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2010/09/22/the-bright-side-of-compellent/&via=EvanHoffman&text=The bright side of Compellent&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2010/09/22/the-bright-side-of-compellent/"></g:plusone></div><p>Since I was bemoaning Compellent&#8217;s pricing recently I figured it would be unfair of me not to highlight the upside.  Their tagline is (or was when we purchased it) &#8220;The only SAN so sophisticated it&#8217;s simple.&#8221;  While I can&#8217;t say whether they&#8217;re the ONLY one, the idea is definitely true.  This is the first SAN I&#8217;ve ever used, and aside from the learning curve for iSCSI itself (targets, spinup delay, etc.) it&#8217;s totally simple and intuitive.  Create LUNs, map them to servers.  Don&#8217;t worry about things like RAID levels or hot disks.  We&#8217;re into our second year with Compellent and it&#8217;s definitely lived up to its promise of simplicity.</p>
<p>I don&#8217;t know how much management the average SAN requires but our sales rep recently asked me how much time per week we spend managing the SAN.  I crinkled my brow, because I don&#8217;t really spend <i>any</i> time managing the SAN.  I&#8217;ve logged in to the web interface a lot more over the past few weeks than I normally do because the SAN filled up quickly due to our experimentation with Hadoop, and I wanted to make sure we didn&#8217;t get to 100% before I was able to order more disks.  But aside from that incident I think the only times I&#8217;ve logged in to the management console have been to add a LUN or map a datastore to a new ESX host.</p>
<p>I was reminded about this simplicity when we finally added the disks last week.  We went to the datacenter Wednesday to move some servers around in the racks to ensure there would be enough power in the SAN rack for the new enclosure (16x 2TB disks).  We also updated a firmware update for the SAN (required so it would recognize the new 2TB drives).  We have redundant controllers, so we were told there shouldn&#8217;t be any downtime.  I don&#8217;t tend to trust those types of statements &#8211; if someone says something will be down for an hour I budget for 4.  If it&#8217;s 8 hours I budget for a day.  If it&#8217;s zero I just think they&#8217;re lying and it&#8217;s going to explode and kill people.</p>
<p>So all things considered I was rather impressed.  We have dual controllers, so the update was installed on one controller first, and that controller rebooted.  When it rebooted, the iSCSI traffic did actually fail over properly to the secondary controller.  This wasn&#8217;t completely flawless &#8211; the console on some of the machines showed some iSCSI errors, but the machines seemed to be working fine (I rebooted them just to be safe).  A couple of the VMs (whose data/swap drives are all on the SAN) barfed and had to be rebooted &#8211; I think our Jabber server was the only casualty, but that was back up in under a minute.  When the second controller updated itself, its traffic failed back over to the first one.  When it was all done (took about 30 mins total) there was a warning about the ports being unbalanced, which was rectified by clicking the &#8220;rebalance ports&#8221; button.  So all in all, I&#8217;d say there was &#8220;pretty much&#8221; no downtime.  After the update, we racked the new enclosure and called it a day.</p>
<p>This week a tech from Compellent came onsite to do the actual install for the enclosure (hooking up the fibre loops and installing the new license).  This was really zero downtime.  I got some alerts that one of the loops was down, but it didn&#8217;t affect anything.  Pop the disks in, wire it up, install license, and we&#8217;ve got another 32 TB usable space.  It&#8217;s been over a day and the data is in the process of moving from our tier 1 (32x 15krpm FC disks) down to tier 3 (SATA).  All in all it was a pretty painless procedure.  Sure, it would have been easier had we not had to do the firmware update, but I guess when a new type of drive is introduced that&#8217;s to be expected.</p>
<p>So in conclusion, I guess this just reinforces my theory that the only bad thing about Compellent is the price.  And if that&#8217;s the worst thing someone can say about your product, that&#8217;s probably a pretty good place to be.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2010/09/22/the-bright-side-of-compellent/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Oh, Compellent&#8230; again with the disk prices.</title>
		<link>http://www.evanhoffman.com/evan/2010/08/25/oh-compellent-again-with-the-disk-prices/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=oh-compellent-again-with-the-disk-prices</link>
		<comments>http://www.evanhoffman.com/evan/2010/08/25/oh-compellent-again-with-the-disk-prices/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 04:57:04 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[compellent]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[price]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[san]]></category>
		<category><![CDATA[sata]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=562</guid>
		<description><![CDATA[TweetTime to expand the SAN again. I planned and budgeted for this this year but it still pisses me off. Look, I realize these guys have to make money, but the bottom line is they&#8217;re charging over $1.40/GB for SATA storage. There are 7200 RPM 2TB SATA drives on Amazon and Newegg ranging in price [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2010/08/25/oh-compellent-again-with-the-disk-prices/&via=EvanHoffman&text=Oh, Compellent... again with the disk prices.&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2010/08/25/oh-compellent-again-with-the-disk-prices/"></g:plusone></div><p>Time to expand the SAN again.<br />
<span id="more-562"></span></p>
<p>I planned and budgeted for this this year but it still pisses me off.  Look, I realize these guys have to make money, but the bottom line is they&#8217;re charging over $1.40/GB for SATA storage.  There are 7200 RPM 2TB SATA drives on <a href="http://amzn.com/B002D5DWZU?tag=evanhoffmasho-20">Amazon</a> and <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822145298">Newegg</a> ranging in price from $130 to $220.  That&#8217;s as low as $0.065/GB.  There was even a 2TB WD &#8220;Green&#8221; drive (sub-7200 RPM, I think 5900 RPM) <a href="http://slickdeals.net/permadeal/38317">on Slickdeals</a> today for $99.  That&#8217;s 5 cents per gig.</p>
<p>Like I said, I realize these guys are running a business and they want to make money, but this type of price gouging is just infuriating.  Assuming a 2TB SATA disk retails for $200, and they tack on 100% markup, so $6400 for 16 disks.  $5000 for the enclosure.  $10,000 for their &#8220;special sauce.&#8221;  That&#8217;s about $21,000 for 32TB, or $0.65/GB, which is still about a pretty healthy profit.  This doesn&#8217;t take into account the insane annual support contracts you&#8217;re paying for in perpetuity.</p>
<p>I don&#8217;t know.  I guess I&#8217;m just cheap.  I&#8217;ve complained about this before, and I complained about it again this time to our reseller.  The SAN vendor is Compellent, and while the product is very good, the pricing certainly doesn&#8217;t scale the way they made it sound during the sales pitch.  They kept saying how they&#8217;re able to leverage commodity hardware in order to keep costs low.  Well, maybe they meant their own costs.  It&#8217;s certainly not getting passed on to us.</p>
<p>Though maybe I&#8217;m jaded because this is the first SAN I&#8217;ve worked with.  I&#8217;ve heard lots of horror stories about SANs and carving luns and having to restripe arrays and worrying about hot disks, etc.  With Compellent I don&#8217;t have to worry about any of that.  It is a nice product.  I just wish it was cheaper.  My reseller&#8217;s response to my complaint was basically &#8220;It&#8217;s definitely expensive, but at least it&#8217;s good; all SAN vendors mark up their prices wildly but the product often sucks.&#8221;</p>
<p>Anyway, I guess when you have <a href="http://www.google.com/finance?q=NYSE:CML">shareholders</a> to please, if you can milk people, you&#8217;d better do it.  I suppose my advice would be to buy what you need up front and don&#8217;t expect to be able to leverage falling costs of storage.  The savings don&#8217;t get passed on to you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2010/08/25/oh-compellent-again-with-the-disk-prices/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>I almost forgot that I hate computers.</title>
		<link>http://www.evanhoffman.com/evan/2010/05/31/i-almost-forgot-that-i-hate-computers/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=i-almost-forgot-that-i-hate-computers</link>
		<comments>http://www.evanhoffman.com/evan/2010/05/31/i-almost-forgot-that-i-hate-computers/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 03:29:39 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[barracuda]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[hdd]]></category>
		<category><![CDATA[seagate]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=403</guid>
		<description><![CDATA[TweetI&#8217;d almost forgotten that I hate computers. Then I came home from Memorial Day weekend and woke my desktop up from Sleep in order to extract the pics I&#8217;d taken. The computer looked ok for about 15 seconds, then kind of froze. The cursor would move but it didn&#8217;t do anything. I watched it do [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2010/05/31/i-almost-forgot-that-i-hate-computers/&via=EvanHoffman&text=I almost forgot that I hate computers.&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2010/05/31/i-almost-forgot-that-i-hate-computers/"></g:plusone></div><p>I&#8217;d almost forgotten that I hate computers.  Then I came home from Memorial Day weekend and woke my desktop up from Sleep in order to extract the pics I&#8217;d taken.  The computer looked ok for about 15 seconds, then kind of froze.  The cursor would move but it didn&#8217;t do anything.  I watched it do (apparently) nothing for about 2 minutes when I hit the hard-reboot button.  It hung at POST with the HDD light on solid.  I couldn&#8217;t get into the BIOS, so I tried plugging into a different SATA port on the mobo, and finally got the thing to post by &#8230; unplugging the drive completely.  I got into the bios, did a &#8220;load failsafe defaults&#8221; and tried plugging the drive back in and booting.  It made it through POST this time but gave me the &#8220;INSERT SYSTEM DISK&#8221; error.  After about an hour of messing around with it I turned it off and came upstairs to go to bed.  The drive is a Seagate Barracuda 7200.11, 1000 GB, purchased less than 18 months ago (Christmas 2008).  I know things die, but this is just dumb.  Maybe tomorrow I&#8217;ll see if anything shows up using a USB-to-SATA adapter.  Sigh.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2010/05/31/i-almost-forgot-that-i-hate-computers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generate a report of Exchange mailbox sizes broken out by department and location</title>
		<link>http://www.evanhoffman.com/evan/2010/04/29/generate-a-report-of-exchange-mailbox-sizes-broken-out-by-department-and-location/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=generate-a-report-of-exchange-mailbox-sizes-broken-out-by-department-and-location</link>
		<comments>http://www.evanhoffman.com/evan/2010/04/29/generate-a-report-of-exchange-mailbox-sizes-broken-out-by-department-and-location/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 15:44:44 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[vbscript]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=380</guid>
		<description><![CDATA[TweetI found a script a few months ago that generated a CSV report of mailbox size, which included the Mailbox Name (usually the user&#8217;s name), size in Kbytes, number of items, which server it&#8217;s on, etc. This was very helpful, but I wanted to see which department within the company used the most space on [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2010/04/29/generate-a-report-of-exchange-mailbox-sizes-broken-out-by-department-and-location/&via=EvanHoffman&text=Generate a report of Exchange mailbox sizes broken out by department and location&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2010/04/29/generate-a-report-of-exchange-mailbox-sizes-broken-out-by-department-and-location/"></g:plusone></div><p>I found a script a few months ago that generated a CSV report of mailbox size, which included the Mailbox Name (usually the user&#8217;s name), size in Kbytes, number of items, which server it&#8217;s on, etc.  This was very helpful, but I wanted to see which department within the company used the most space on the mail server, and the department wasn&#8217;t one of the pieces of data included in the report.  It took a while but I figured out how to do LDAP lookups in vbscript and was able to add that info, so the report now has the user&#8217;s department, office location, and quota limit in it as well as the other fields.  This makes it very easy to do a PivotChart in Excel to generate a pie chart of the size by department.  The script is attached &#8211; change the extension to .vbs to run it.  You&#8217;ll need to plug in your Exchange server and domain controller where the placeholders currently are.</p>
<p><a href='http://evanhoffman.com/evan/wp-content/uploads/2010/04/EmailSizeByDepartment.vbs_.txt'>EmailSizeByDepartment.vbs</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2010/04/29/generate-a-report-of-exchange-mailbox-sizes-broken-out-by-department-and-location/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgraded to Fedora Core 12</title>
		<link>http://www.evanhoffman.com/evan/2010/04/20/upgraded-to-fedora-core-12/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=upgraded-to-fedora-core-12</link>
		<comments>http://www.evanhoffman.com/evan/2010/04/20/upgraded-to-fedora-core-12/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 21:24:14 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[fc12]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[radeon]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=373</guid>
		<description><![CDATA[TweetI upgraded my work laptop from FC11 to FC12 yesterday using the &#8220;preupgrade&#8221; tool. It was pretty simple, though it took a lot longer than I expected. There was some funkiness with my screen going crazy after the upgrade &#8211; my external monitor and the laptop&#8217;s LCD both did this crazy wavy-line thing. I tried [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2010/04/20/upgraded-to-fedora-core-12/&via=EvanHoffman&text=Upgraded to Fedora Core 12&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2010/04/20/upgraded-to-fedora-core-12/"></g:plusone></div><p>I upgraded my work laptop from FC11 to FC12 yesterday using the &#8220;preupgrade&#8221; tool.  It was pretty simple, though it took a lot longer than I expected.  There was some funkiness with my screen going crazy after the upgrade &#8211; my external monitor and the laptop&#8217;s LCD both did this crazy wavy-line thing.  I tried changing the refresh rate, running system-config-display, nothing worked.  I found a post that suggested passing &#8220;nomodeset&#8221; to the kernel boot options &#8211; that solved it.  Yay!</p>
<p>The other problem I had was reinstalling VMware Workstation &#8211; I couldn&#8217;t.  I got this error: <b>/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:240: error: ‘TASK_INTERRUPTIBLE’ </b>&#8230; etc.  I ended up having to edit the vmplayer source files directly (!!!) to get them to compile &#8211; instructions found <a href="http://osvn.pastebin.com/hPpCZEXe">here</a></p>
<p>So far FC12 seems exactly like FC11.  But that&#8217;s fine &#8211; I only upgraded because I didn&#8217;t want to be on a dead-end version once FC13 is released.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2010/04/20/upgraded-to-fedora-core-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passwordless SSH Everywhere</title>
		<link>http://www.evanhoffman.com/evan/2010/03/30/passwordless-ssh-everywhere/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=passwordless-ssh-everywhere</link>
		<comments>http://www.evanhoffman.com/evan/2010/03/30/passwordless-ssh-everywhere/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 19:18:22 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssh-agent]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=357</guid>
		<description><![CDATA[TweetI&#8217;ve known about ssh keys for a long time and frequently use them, most frequently so that a script can transfer a file between two servers without having to do some mumbo-jumbo where I try to pipe a password into it or some other wacky thing. I hadn&#8217;t fully embraced ssh keys, though, because I [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2010/03/30/passwordless-ssh-everywhere/&via=EvanHoffman&text=Passwordless SSH Everywhere&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2010/03/30/passwordless-ssh-everywhere/"></g:plusone></div><p>I&#8217;ve known about ssh keys for a long time and frequently use them, most frequently so that a script can transfer a file between two servers without having to do some mumbo-jumbo where I try to pipe a password into it or some other wacky thing.  I hadn&#8217;t fully embraced ssh keys, though, because I didn&#8217;t like the idea that if I lost my laptop, I&#8217;d be losing a free key into my servers.  Then I discovered ssh-agent.  This isn&#8217;t new, so I&#8217;m kind of embarrassed I didn&#8217;t know about it, but I&#8217;ve  been using it for a few months now and I can&#8217;t imagine going back.</p>
<p><span id="more-357"></span></p>
<p>Using <a href="http://www.unixwiz.net/techtips/ssh-agent-forwarding.html">ssh-agent</a>, you can wrap your private ssh key in a password and the only time you&#8217;ll need to enter your password is when you add the key to the agent.  Once that&#8217;s done ssh essentially behaves as if your key wasn&#8217;t password-protected &#8211; you don&#8217;t get prompted for it again.</p>
<p>If you enable agent forwarding, and put your public key on all the servers you connect to, life gets even better.  If your machine is A, and you put your key on B, C, D, and E, using ssh agent forwarding you can go A -> B -> C -> D -> E without being prompted for a password.  It&#8217;s sweet!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2010/03/30/passwordless-ssh-everywhere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lotsa downtime.</title>
		<link>http://www.evanhoffman.com/evan/2010/03/18/lotsa-downtime/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=lotsa-downtime</link>
		<comments>http://www.evanhoffman.com/evan/2010/03/18/lotsa-downtime/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 06:23:02 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[fios]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[lipa]]></category>
		<category><![CDATA[long island]]></category>
		<category><![CDATA[money]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=354</guid>
		<description><![CDATA[TweetLots of power outages lately. Not the greatest time to move my site. Good thing I don&#8217;t need 99.99%+ uptime. Or even 95%&#8230;]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2010/03/18/lotsa-downtime/&via=EvanHoffman&text=Lotsa downtime.&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2010/03/18/lotsa-downtime/"></g:plusone></div><p>Lots of power outages lately.  Not the greatest time to move my site. <img src='http://www.evanhoffman.com/evan/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />   Good thing I don&#8217;t need 99.99%+ uptime.  Or even 95%&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2010/03/18/lotsa-downtime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sped up WordPress by adding 1 index.</title>
		<link>http://www.evanhoffman.com/evan/2010/03/17/sped-up-wordpress-by-adding-1-index/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sped-up-wordpress-by-adding-1-index</link>
		<comments>http://www.evanhoffman.com/evan/2010/03/17/sped-up-wordpress-by-adding-1-index/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 08:35:41 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=352</guid>
		<description><![CDATA[TweetI noticed WP was taking a long time to load since I moved it. I added an index to the &#8220;autoload&#8221; column on wp_options and it seems to be much faster. I still hate MySQL though. Postgres is so much better.]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2010/03/17/sped-up-wordpress-by-adding-1-index/&via=EvanHoffman&text=Sped up WordPress by adding 1 index.&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2010/03/17/sped-up-wordpress-by-adding-1-index/"></g:plusone></div><p>I noticed WP was taking a long time to load since I moved it.  I added an index to the &#8220;autoload&#8221; column on wp_options and it seems to be much faster.</p>
<p>I still hate MySQL though.  Postgres is so much better.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2010/03/17/sped-up-wordpress-by-adding-1-index/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More fun with ovftool</title>
		<link>http://www.evanhoffman.com/evan/2009/09/20/more-fun-with-ovftool/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=more-fun-with-ovftool</link>
		<comments>http://www.evanhoffman.com/evan/2009/09/20/more-fun-with-ovftool/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 18:28:11 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[ovftool]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=164</guid>
		<description><![CDATA[TweetI tried restoring my .ova into vCenter and it failed. It said something like &#8220;Device &#8216;virtual disk&#8217; uses a controller that is not supported. this is a general limitation of the virtual hardware version.&#8221; This kind of pissed me off, especially when I couldn&#8217;t really find anything in Google about what the error meant, but [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2009/09/20/more-fun-with-ovftool/&via=EvanHoffman&text=More fun with ovftool&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2009/09/20/more-fun-with-ovftool/"></g:plusone></div><p>I tried restoring my .ova into vCenter and it failed.  It said something like &#8220;Device &#8216;virtual disk&#8217; uses a controller that is not supported. this is a general limitation of the virtual hardware version.&#8221;  This kind of pissed me off, especially when I couldn&#8217;t really find anything in Google about what the error meant, but it turned out to be pretty easy to fix &#8211; I just clicked &#8220;upgrade virtual hardware&#8221; in VMWare Server to upgrade the hardware version from 4 to 7.  I then created another .ova, uploaded it to the datacenter and successfully deployed it in vCenter in its own resource pool.  Yay!</p>
<p>I think the real problem was that some of our VMs were created with the BusLogic driver rather than the LSI Logic driver (which is recommended for Linux guests).</p>
<p>Ovftool also turned out to be a pretty sweet way to backup VMs.  Once in .ova format you can use ovftool to convert back to .vmx just by specifying the .ova file as the source and something .vmx as the target.  Because it so nicely shrinks the .vmdk (my 20 gig VM became a 2.5 gig .ova) and is pretty quick to run (seemed like < 10 minutes per 20-gig VM) it seems like a decent choice for backing up VMs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2009/09/20/more-fun-with-ovftool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporting VMWare Server VMs to OVA/OVF with ovftool</title>
		<link>http://www.evanhoffman.com/evan/2009/09/11/exporting-vmware-server-vms-to-ovaovf-with-ovftoo/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=exporting-vmware-server-vms-to-ovaovf-with-ovftoo</link>
		<comments>http://www.evanhoffman.com/evan/2009/09/11/exporting-vmware-server-vms-to-ovaovf-with-ovftoo/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 22:56:25 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[ovftool]]></category>
		<category><![CDATA[updated]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=161</guid>
		<description><![CDATA[TweetWell, I thought this was going to be a huge pain in the ass, but it turns out not to be a really big deal. I found this post which includes instructions and a link to download VMWare&#8217;s &#8220;ovftool&#8221;. There&#8217;s a win32 version and a 32-bit and 64-bit linux version: -rwxr--r-- 1 evan evan 19326184 [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2009/09/11/exporting-vmware-server-vms-to-ovaovf-with-ovftoo/&via=EvanHoffman&text=Exporting VMWare Server VMs to OVA/OVF with ovftool&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2009/09/11/exporting-vmware-server-vms-to-ovaovf-with-ovftoo/"></g:plusone></div><p>Well, I thought this was going to be a huge pain in the ass, but it turns out not to be a really big deal.  I found <a href="http://www.thoughtpolice.co.uk/vmware/howto/create-and-convert-ovf-files.html">this post</a> which includes instructions and a link to download VMWare&#8217;s &#8220;ovftool&#8221;.  There&#8217;s a win32 version and a 32-bit and 64-bit linux version:</p>
<p><span id="more-161"></span></p>

<div class="wp_syntax"><div class="code"><pre class="txt" style="font-family:monospace;">-rwxr--r-- 1 evan evan 19326184 Sep 11 17:16 VMware-ovftool-installer-1.0.0-166674-lin.i386.sh*
-rwxr--r-- 1 evan evan 17212108 Sep 11 17:16 VMware-ovftool-installer-1.0.0-166674-lin.x86_64.sh*
-rwxr-xr-x 1 evan evan 43833393 Sep 11 17:33 jdk-1_5_0_13-linux-amd64.bin*</pre></div></div>

<p>I installed JDK 1.5.0_r13 because that&#8217;s what I had laying around.  The 64-bit installer for ovftool ran without a hitch.  I haven&#8217;t yet tried importing the .ova to my vCenter cluster (the export was from our Vmware Server (free) environment) but the conversion itself seemed fine.  The one problem I encountered was that it was complaining that the cdrom was connected.  The VM in question had an ISO configured as its cdrom drive, but it wasn&#8217;t connected, yet the ovftool still complained about it.  I shutdown the VM, deleted the device completely, and then the conversion went fine.</p>

<div class="wp_syntax"><div class="code"><pre class="txt" style="font-family:monospace;">[root@thardus ~]# /opt/vmware/ovftool/ovftool /nfsroot/VM/Monitoring/Monitoring.vmx /nfsroot/OVF/test.ova
Opening VMX source: /nfsroot/VM/Monitoring/Monitoring.vmx
Opening OVA target: /nfsroot/OVF/test.ova
Target: /nfsroot/OVF/test.ova
Disk Transfer Completed
Completed successfully</pre></div></div>

<p>The whole thing took about 10-15 minutes I guess for a 20 gig VM.  Actually that&#8217;s another interesting thing: the source directory with the VMDKs was ~20 gigs:</p>

<div class="wp_syntax"><div class="code"><pre class="txt" style="font-family:monospace;">[root@thardus ~]# du -sh /nfsroot/VM/Monitoring/
21G     /nfsroot/VM/Monitoring/</pre></div></div>

<p>But the OVA that was created was only 2.5 gigs.</p>

<div class="wp_syntax"><div class="code"><pre class="txt" style="font-family:monospace;">[root@thardus ~]# ls -lh /nfsroot/OVF/test.ova
-rw------- 1 root root 2.5G Sep 11 18:45 /nfsroot/OVF/test.ova</pre></div></div>

<p>I assume this is due to compression and only including the parts of the VMDK that have actual data (basically thinly provisioning it).  I haven&#8217;t restored yet, which would be the real test, but so far it looks like it&#8217;s a pretty easy tool that does what it&#8217;s supposed to.</p>
<p><b>Update 2009-11-25</b>: With the current version of ovftool you can&#8217;t create .ova files with ovftool for VMDKs larger than 8 gb.  See <a href="http://communities.vmware.com/message/1409396#1409396">this post on the VMware forums</a> for more info.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2009/09/11/exporting-vmware-server-vms-to-ovaovf-with-ovftoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 RC &#8211; day 1</title>
		<link>http://www.evanhoffman.com/evan/2009/07/12/windows-7-rc-day-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-7-rc-day-1</link>
		<comments>http://www.evanhoffman.com/evan/2009/07/12/windows-7-rc-day-1/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 14:12:30 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=134</guid>
		<description><![CDATA[TweetSo I&#8217;ve been having problems with my computer since I built it. In particular the screen will freeze up from time to time with this checkerboard of black and normal. I can&#8217;t really describe it, and since the computer&#8217;s frozen when it happens, I can&#8217;t screenshot it. Anyway, I reinstalled XP a while ago and [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2009/07/12/windows-7-rc-day-1/&via=EvanHoffman&text=Windows 7 RC - day 1&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2009/07/12/windows-7-rc-day-1/"></g:plusone></div><p>So I&#8217;ve been having problems with my computer since I built it.  In particular the screen will freeze up from time to time with this checkerboard of black and normal.  I can&#8217;t really describe it, and since the computer&#8217;s frozen when it happens, I can&#8217;t screenshot it.  Anyway, I reinstalled XP a while ago and that didn&#8217;t do anything to solve it.</p>
<p><span id="more-134"></span></p>
<p>On Thursday my computer started really pissing me off because when I plugged in my camera, the Canon CameraWindow app that I use to transfer stuff off wasn&#8217;t autostarting.  When I then tried starting it manually it still wouldn&#8217;t start.  When I opened &#8220;My Computer&#8221; what greeted me was a flashlight, apparently searching for the innards of my system.  It searched for about 60 seconds before showing me the correct contents of the computer, but when I closed My Computer and reopened it, it did the same thing.  This persisted through a reboot.  So I had a bad feeling that maybe the computer was about to do something unpleasant.</p>
<p>This probably doesn&#8217;t sound like enough of a reason to ditch the whole OS and install a beta as a primary OS, but I was already kind of sick of running a 32-bit OS on 64-bit hardware; my computer has 4 GB of memory and XP was only able to see 3.25.  So I resized my 1 TB partition down to 500 GB and installed build 7100 of Windows 7 in the free space.  I assume this will allow me to boot back to XP when I want to, but I haven&#8217;t tried it.</p>
<p>Anyway, the install went fine &#8212; my computer&#8217;s performance score is only 5.9 out of 7.9, I guess due to disk performance &#8212; though it did spend a lot of time doing absolutely nothing, which made me think it was hanging.  I&#8217;m not crazy about this taskbar, and I miss the Quick Launch bar from XP.  Also not a fan of the Program selector in the Start menu.  I&#8217;ve never liked &#8220;personalized&#8221; menus; I like to know where something is always going to be rather than having the computer populate a list for convenience.  There are some other minor annoyances but overall it seems pretty fast &#8211; Firefox started up very anyway, and that&#8217;s probably the biggest thing I&#8217;ve installed so far.</p>
<p>One problem I ran into was trying to connect to my old Linux box via Samba.  It wasn&#8217;t accepting my password no matter what I did; I reset it on the server and it still wasn&#8217;t working.  A quick Google search turned up a solution: <a href="http://www.builderau.com.au/blogs/codemonkeybusiness/viewblogpost.htm?p=339270746">Get Vista and Samba to work</a>.  This post is from 2006 and it&#8217;s now 2009 and it&#8217;s still a problem, so I guess Microsoft doesn&#8217;t consider it a problem.  My Samba installation is way older than that, though, so maybe it&#8217;s more of a Samba issue than a Vista one.</p>
<p>The other thing, which wasn&#8217;t as much of a problem as something that just sucked, is I had to reauthorize my computer in iTunes.  I copied over all my settings &#8211; <a href="http://www.somelifeblog.com/2007/07/vista-transfer-itunes-library-and.html">this page</a> explained what goes where  &#8211;  but I still had to reauthorize the computer.  I guess I could have dug further, but I just assumed that going from Windows 5.1 to 6.1 and 32-bit to 64-bit, there&#8217;s no way to &#8220;trick&#8221; it.  This is only my 2nd authorized computer though so it&#8217;s not a big deal&#8230; just annoying, since it&#8217;s not a second computer.</p>
<p>Anyway, back to my original problem: the camera now works as expected.  That reminds me of another problem I had &#8211; I couldn&#8217;t run my Java program to reorganize the pics for some reason.  It turned out that even though I had a 64-bit JVM installed, and Java is supposedly platform independent, I need to download <a href="http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.5-200906111540/eclipse-SDK-3.5-win32-x86_64.zip">64-bit Eclipse</a>.  Then I just had to hunt down the old jars and put them back in the classpath of my project and that worked well.</p>
<p>So overall I&#8217;m pleased with the speed and responsiveness, and the Aero stuff is pretty, but I don&#8217;t <i>get</i> the taskbar changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2009/07/12/windows-7-rc-day-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

