<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.11.81 (http://www.squarespace.com/) on Fri, 17 Feb 2012 04:47:24 GMT--><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rss="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:cc="http://web.resource.org/cc/"><rss:channel rdf:about="http://drdabbles.us/journal/"><rss:title>Journal</rss:title><rss:link>http://drdabbles.us/journal/</rss:link><rss:description></rss:description><dc:language>en-US</dc:language><dc:date>2012-02-17T04:47:24Z</dc:date><admin:generatorAgent rdf:resource="http://www.squarespace.com/">Squarespace Site Server v5.11.81 (http://www.squarespace.com/)</admin:generatorAgent><rss:items><rdf:Seq><rdf:li rdf:resource="http://drdabbles.us/journal/2012/1/18/sopa-is-downright-dirty.html"/><rdf:li rdf:resource="http://drdabbles.us/journal/2011/11/8/a-personal-rant.html"/><rdf:li rdf:resource="http://drdabbles.us/journal/2011/9/22/throughput-correction.html"/><rdf:li rdf:resource="http://drdabbles.us/journal/2011/9/22/nothing-worth-it-is-easy.html"/><rdf:li rdf:resource="http://drdabbles.us/journal/2011/9/18/assembled-and-running-ish.html"/><rdf:li rdf:resource="http://drdabbles.us/journal/2011/9/13/delivery-1.html"/><rdf:li rdf:resource="http://drdabbles.us/journal/2011/9/9/the-build-begins.html"/><rdf:li rdf:resource="http://drdabbles.us/journal/2011/8/24/writing-powershell-scripts.html"/><rdf:li rdf:resource="http://drdabbles.us/journal/2011/3/18/thats-fast.html"/><rdf:li rdf:resource="http://drdabbles.us/journal/2009/12/1/family-christmas-traditions.html"/></rdf:Seq></rss:items></rss:channel><rss:item rdf:about="http://drdabbles.us/journal/2012/1/18/sopa-is-downright-dirty.html"><rss:title>SOPA is downright dirty</rss:title><rss:link>http://drdabbles.us/journal/2012/1/18/sopa-is-downright-dirty.html</rss:link><dc:creator>Dr. Dabbles</dc:creator><dc:date>2012-01-18T17:30:36Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>Lots of you have at least heard someone say the acronym "SOPA". If you've ever wondered what it is, this bit's for you. If you're not interested in the least about American law or your legal rights being eroded by corporations, don't bother with this post.</p>
<p>&nbsp;</p>
<p>Most of you know that I'm not a conspiracy theorist, and that I'm not against large corporations. In America, businesses aspire to become large and successful. And that's perfectly acceptable to me. But, the capitalist free-market system breaks down completely when you give one group preferential treatment over another. And, like most forms of government, it's easiest to influence officials with money. Lots of money.</p>
<p>&nbsp;</p>
<p>So, what does this have to do with SOPA? And what is SOPA in the first place. S.O.P.A. is the acronym for the "Stop Online Piracy Act"- A bill that is currently being proposed by the US House of Representatives (<a href="http://hdl.loc.gov/loc.uscongress/legislation.112hr3261" target="_blank">Here</a>). In effect, SOPA boils down to a few basic ideas:</p>
<p>&nbsp;</p>
<ul>
<li>Piracy is running rampant on the Internet</li>
<li>More piracy means less revenue</li>
<li>Less revenue means fewer jobs</li>
<li>Industry needs tools to stop piracy</li>
<li>Law enforcement needs more swift authority to stop piracy</li>
<li>Law enforcement needs to be able to seize sites, servers, and domains suspected of piracy</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>On the surface, you'd think this is something worth supporting. It's a bit of hyperbole to say that piracy supports terrorists or that piracy is taking down the entertainment industry, as their TV and radio advertisements would have you believe, but we get the point. Lots of people are stealing lots of content, and we need a way to stop that.</p>
<p>&nbsp;</p>
<p>But as you begin to really think it over, you quickly realize law enforcement agencies already have the authority to seize property used to commit a crime, and property obtained through criminal acts. So, there's no need for new legislation granting them the same tools they already have. But wait! SOPA doesn't want to take down sites whose owners have been <em>convicted</em>. They want to take down sites that are <em>suspected</em>. And this suspicion doesn't have to come from a lengthy investigation, like it would if the police suspected you of a crime. Instead, all a copyright holder would have to do is <em>believe</em>&nbsp;content has been pirated. So, if you post a video to Youtube and it has a clip from a popular NBC show, they will flag it to be removed. Under SOPA, this literally means Youtube.com could be seized from Google! Even though your clip should be protected under fair use. Even worse, this kind of action has already been used to censor videos, text, and pictures by several different groups. All these groups would have to do is file a complaint that your site is pirating material, and down goes your site!</p>
<p>&nbsp;</p>
<p>This might seem far fetched, but as I alluded to, <em>most</em>&nbsp;of the provisions requested in SOPA already exist in one bill or another. A perfect example of what can happen is the case of <a href="Dajaz1.com" target="_blank">Dajaz1.com</a>. A site that <em>legally</em>&nbsp;posted music for viewers to listen to. It was swept up by the Department of Justice with 350 other sites at a single time. The domain was <em>taken</em>&nbsp;from the owner! This is tantamount to the police <em>taking</em>&nbsp;your car without actual evidence you've done anything wrong! And in the end (a <em>year</em>&nbsp;later),&nbsp;the DoJ determined that <a href="Dajaz1.com" target="_blank">Dajaz1.com</a>&nbsp;was, in fact, operating legally and the domain was returned. Meanwhile, the site's owner was out of business for an entire year with literally no legal avenue for recourse. To read a long report about what happened, check out the NYTimes piece <a href="http://mediadecoder.blogs.nytimes.com/2011/12/09/how-a-music-site-disappeared-for-a-year/" target="_blank">here</a>.</p>
<p>&nbsp;</p>
<p><span>I'm not the only one that believes this will become the rule and not the exception if SOPA were allowed to pass. In fact, today (Jan. 18, 2012) is SOPA Blackout day. See the list of sites, action items, protest sites, etc. at&nbsp;<a href="http://sopastrike.com/">http://sopastrike.com/</a>. The list of sites is pretty impressive, and the number of companies putting their money where their mouth is impresses me.</span></p>
<p>&nbsp;</p>
<p>So, to learn the facts about SOPA, I'd urge you to check out the Wikipedia article <a href="http://en.wikipedia.org/wiki/Stop_Online_Piracy_Act" target="_blank">here</a>, the Google information <a href="https://www.google.com/landing/takeaction/" target="_blank">here</a>, and of course to SOPAStrike site <a href="http://sopastrike.com/" target="_blank">here</a>. You can find Google's search results for SOPA <a href="https://www.google.com/search?q=sopa" target="_blank">here</a>, which is currently blowing up with information from news sources around the world. I also think you should read some pro-SOPA info including the GovTrack page <a href="http://www.govtrack.us/congress/bill.xpd?bill=h112-3261&amp;tab=summary" target="_blank">here</a>, the MPAA letter to the House of Representatives <a href="http://www.mpaa.org/Resources/1227ef12-e209-4edf-b8b8-bb4af768430c.pdf" target="_blank">here</a>&nbsp;(PDF File), and finally an article found on the eMediaLaw site <a href="http://www.emedialaw.com/sopa-the-debate-in-plain-english/" target="_blank">here</a>.</p>
<p>&nbsp;</p>
<p>We, as Americans need to defend our intelectual property rights, but we need to do it in a way that doesn't come at such a severe cost the the citizens. After all, while a corporation may be recognized as a legal entity with all the rights of a person, they still can't vote. Please use the Wikipedia page <a href="http://en.wikipedia.org/wiki/Special:CongressLookup" target="_blank">here</a>&nbsp;to contact your representatives and tell them what you think of SOPA- for or against.</p>]]></content:encoded></rss:item><rss:item rdf:about="http://drdabbles.us/journal/2011/11/8/a-personal-rant.html"><rss:title>A personal rant</rss:title><rss:link>http://drdabbles.us/journal/2011/11/8/a-personal-rant.html</rss:link><dc:creator>Dr. Dabbles</dc:creator><dc:date>2011-11-08T20:48:57Z</dc:date><dc:subject>Personal Religion</dc:subject><content:encoded><![CDATA[<p>I usually try not to get too into these kinds of things, because I have many friends and family with many different beliefs and I do my best not to offend them. But every once in a while, a little gem like this study comes along and deserves a little bit of a "DUH!" reaction.</p>
<p>&nbsp;</p>
<p>So, <a href="http://www.barna.org/about" target="_blank">The Barna Group</a>, a group that studies the "intersection of faith and culture", published an article titled <a href="http://www.barna.org/teens-next-gen-articles/528-six-reasons-young-christians-leave-church" target="_blank">"Six Reasons Young Christians Leave Church"</a>. The article comes from a five year project with the goal of creating a more durable faith in today's children. While I can give one great reason I don't go to church, I suppose I could easily come up with six or so that lead me to Atheism. Many of those reasons are actually covered in this survey, which I find humorous itself. Common sense issues that have lead the "flock" to stray from the church that have been issues for 20+ years now. Way to get out ahead of it, guys!</p>
<p>&nbsp;</p>
<p>Anyway, here are the six categories and some breakdowns of how the group(s) surveyed answered.</p>
<p>&nbsp;</p>
<p><strong>Reason #1 &ndash; Churches seem overprotective.</strong></p>
<ul>
<li>23% answered &ldquo;Christians demonize everything outside of the church&rdquo; completely or mostly describes their experience with the church.</li>
<li>22% answered &ldquo;church ignoring the problems of the real world&rdquo;</li>
<li>18% said &ldquo;my church is too concerned that movies, music, and video games are harmful&rdquo;</li>
</ul>
<p>I'm pretty sure nobody in the real world is shocked by these clusters of answers, and there really isn't much to say about this. Religion tells us what we should and shouldn't do in all aspects of life, and kids tend to get annoyed by that kind of overbearing protectiveness. I personally find myself in the 22% that says church completely ignores the problems in the real world, but the problems of the world I see are very different than the ones I saw as a child.</p>
<p>&nbsp;</p>
<p><strong>Reason #2 &ndash; Teens&rsquo; and twentysomethings&rsquo; experience of Christianity is shallow.</strong></p>
<ul>
<li>31% responded "church is boring"</li>
<li>24% said "faith is not relevant to my career or interests</li>
<li>23% noted "the bible is not taught clearly or often enough"</li>
<li>20% said "god seems missing from my experience of church"</li>
</ul>
<p>Shocking revelations in this category, I know. People are bored by listening to a preacher carry on for an hour, telling them what to do instead of an hour of discussing what's going on in the world and what we think about it. Hasn't anybody ever noticed that when you TELL people how to behave, they ignore you completely. But, if you let them think they've come to the answer themselves, they tend to feel more personally connected to it? That was rhetorical...the answer is "no" when it comes to church.</p>
<p>Also, I think the bible <em>should</em> be taught clearly in church or "bible study". I think more people would find that they completely disagree with the vast majority of the things in the bible, not least of which is how to properly keep slaves, how to divide the spoils of war (how to rape your victims' women), how to blindly follow the voices in your head and kill your children, and other such timeless lessons. So, I agree with these kids, but not for the reason the survey would like.</p>
<p>With regard to god being missing from the church experience, that's not really shocking either. Again, it's hard to feel the presence of any higher power at 9am on a Sunday with a priest or preacher re-enacting rituals from the dark ages. Many churches try to dress up what's going on by having christian rock music, energetic sermons, and free donuts and coffee after service, but the truth of the matter is the only thing I miss are the donuts.</p>
<p>&nbsp;</p>
<p><strong>Reason #3 &ndash; Churches come across as antagonistic to science.</strong></p>
<ul>
<li>35% claim "Christians are too confident they know all the answers"</li>
<li>29% say "churches are out of step with the scientific world we live in"</li>
<li>25% believe "Christianity is anti-science"</li>
<li>23% have "been turned off by the creation-versus-evolution debate."</li>
</ul>
<p>No real surprises here. Though, I think it would shock most catholics to find that the Pope's science advisors (the guys in the cool black and red robes) actually believe in evolution. In fact, they find it very difficult to argue <em>against</em> evolution given all the things we've learned about "junk" DNA (parts of DNA from other species we still have in our own), the germ theory, nuclear science, astronomy, etc. It may also shock people to know that these same scientists, employed by The Vatican, also believe in the "big bang" theory and global warming!</p>
<p>So, it seems the church isn't <em>always</em> anti-science. But its members sure are. In ever increasing numbers, ignorant people go on TV and write editorials and articles in news papers and magazines, trumpeting the evils of modern science. How science is here to steal your childrens' innocence with HPV vaccines, and teach them all kinds of immoral things about sex and sexuality with the "gay agenda" and free condoms everywhere. But I can promise you, if you sit down and read just one single article about any of these topics in any scientific publication (I like Nature, Nat. Geo., the The New England Journal of Medicine), you'll actually find that research is being done to understand and improve life by leaps and bounds. I just find it ironic that the very people science is helping today with blood pressure medication, cancer treatments, and vaccines against once deadly diseases are the same people crying for the abolishment of scientific study.</p>
<p>&nbsp;</p>
<p><strong>Reason #4 &ndash; Young Christians&rsquo; church experiences related to sexuality are often simplistic, judgmental.</strong></p>
<ul>
<li>17% feel they &ldquo;have made mistakes and feel judged in church because of them.&rdquo;</li>
<li>40% said the church's &ldquo;teachings on sexuality and birth control are out of date.&rdquo;</li>
</ul>
<p>Well, now you've gone and done it. You've stepped in a hornet's nest with this question, Barna Group. The church's teachings on sexuality, and the opinion they disseminate is so backwards and out of date that almost all psychological associations warn that they can and will lead to self-destructive behavior, not the least of which is suicide. And if you think gay people are the biggest victims here, you're wrong.</p>
<p>While the church speaks out emphatically against gay individuals in every forum it can, it also shames young people into thinking they've done something so morally reprehensible when they've had sex out of marriage, that they need to feel guilty and ashamed. And this doesn't just mean intercourse, either! Nope, you can't masturbate either. Because that's a sin so great, it was actually called out in the bible itself.</p>
<p>What the church fails to recognize in these modern times of understanding, is that sexual impulses are a sign of a healthy and fully functional person of sexual maturity. We as a society tend to put limits on what we consider "normal" sexual behavior, which we are beginning to understand more and more that "normal" is completely meaningless. But the church remains steadfast in its position. You can not have sex, you can not protect yourself from STD's while having sex (unless you're in the worst effected regions of Africa), and you absolutely can not use birth control to prevent unwanted pregnancies.</p>
<p>But there's good news in this answer. 40% of young adults surveyed agree that the church is full of it, and doesn't understand sexuality in a modern world. So, there's hope for the future yet.</p>
<p>&nbsp;</p>
<p><strong>Reason #5 &ndash; They wrestle with the exclusive nature of Christianity.</strong></p>
<ul>
<li>29% said &ldquo;churches are afraid of the beliefs of other faiths&rdquo;</li>
<li>22% answered &ldquo;church is like a country club, only for insiders&rdquo;</li>
</ul>
<p>Well, be thankful you live in the 21st century. Because not very long ago, President Kennedy had to go on national television to answer allegations that him being president was part of a catholic conspiracy. Yep. Distrust, misunderstanding, and out-right hatred for other religions or beliefs run rampant in nearly all religions. And for good reason! It's right there in almost every holy scripture.</p>
<p>In fact, being "wrong" is so heinous in the church's eyes, that they fully believe a non-believer (or wrong believer) will burn in torment for all eternity. Yeah, that's right. They believe the divine creator of the universe spend the past 14.7 BILLION years plotting to torture you for eternity. But remember, the church teaches you that even though you're going to burn for eternity, god loves us all.</p>
<p>&nbsp;</p>
<p><strong>Reason #6 &ndash; The church feels unfriendly to those who doubt.</strong></p>
<ul>
<li>36% Not being able &ldquo;to ask my most pressing life questions in church&rdquo;</li>
<li>23% having &ldquo;significant intellectual doubts about my faith&rdquo;</li>
<li>18% answered their faith "does not help with depression or other emotional problems&rdquo;</li>
</ul>
<p>Look, if you're having problems with depression or other emotional problems, you need friends and maybe a psychologist. You don't need a man in a magical robe with a hotline to god. I promise. You need to surround yourself with people that love and support you, even if you don't believe in the same ultimate answer you do.</p>
<p>And it's good to have intellectual doubts about faith. Faith, by definition, is believing in something that there's no proof for! I have intellectual doubs about whether I put on deodorant in the morning or not, so doubting a belief system invented in the dark ages to explain where we came from and give meaning to life? Yeah, go ahead and doubt that!</p>
<p>Finally, I once made the mistake of asking "hard" questions about church and the religion I was brought up with. Over the years, the questions got harder and the answers only got simpler. When you ask a priest or preacher why millions of kids die of hunger and disease every day, or why babies are born with defects, or why god only delivers miracles for a tiny percentage of the population that so desperately need them, they will eventually come to the conclusion that "We don't know what god's ultimate plan is". Well, I'm not satisfied with that answer, and clearly neither are at least a quarter of the people going to church every week.</p>
<p>&nbsp;</p>
<p>So, the question becomes this. Does the church double-down, tighten the reigns, and adapt to the changing world? Or does it enforce the existing rules with an iron fist? Does church become a recreational and mostly social activity in the future, or does the church keep fighting the tide of people waking up to the real world around them? I'm not sure, but I don't think the prospects are very good for the church. Every day people realize that the bible is wrong in so many aspects of life, and they begin asking why bother if the very book their religion is based on is wrong. And that makes me happy.</p>
<p>&nbsp;</p>
<p>Bonus: If anyone reads this and would like to read more factual evidence for evolution, and many other foolish misconceptions people still have about the real world, check out <a href="http://www.talkorigins.org/origins/faqs-qa.html" target="_blank">http://www.talkorigins.org/origins/faqs-qa.html</a></p>]]></content:encoded></rss:item><rss:item rdf:about="http://drdabbles.us/journal/2011/9/22/throughput-correction.html"><rss:title>Throughput correction</rss:title><rss:link>http://drdabbles.us/journal/2011/9/22/throughput-correction.html</rss:link><dc:creator>Dr. Dabbles</dc:creator><dc:date>2011-09-22T19:45:04Z</dc:date><dc:subject>Computers Computers</dc:subject><content:encoded><![CDATA[<p>I got my math VERY wrong for the new LSI HBA card, because I thought it was based on an onboard port expander. It is not. The card has two, four-lane 6G SAS connectors, for a total throughput of 48Gbit/sec. Divide that total throughput by the 24 attached drives, and you get a maximum theoretical throughput of 2Gbit/sec (200Mbyte/sec) per attached drive.</p>]]></content:encoded></rss:item><rss:item rdf:about="http://drdabbles.us/journal/2011/9/22/nothing-worth-it-is-easy.html"><rss:title>Nothing worth it is easy</rss:title><rss:link>http://drdabbles.us/journal/2011/9/22/nothing-worth-it-is-easy.html</rss:link><dc:creator>Dr. Dabbles</dc:creator><dc:date>2011-09-22T17:21:27Z</dc:date><dc:subject>Computers Computers</dc:subject><content:encoded><![CDATA[<p>The hardware in the SAN I've built is turning out to be a mixed bag of good inexpensive parts, and disappointing expensive ones. While this may be contrary to the popular belief that expensive parts work best, experience has shown time and again that the price tag has little to do with performance or stability.</p>
<p>&nbsp;</p>
<p>The motherboard's iKVM/BMC had to be completely reset, which the manufacturer couldn't help me with. A quick search of the chip manufacturer's site turned up a tool that would allow me to update the firmware and erase the chip in one process. This turned out to be exactly what I needed to do, and it worked perfectly. I've since notified Tyan of the utility, in the event this happens in the future to another customer.</p>
<p>&nbsp;</p>
<p>The hard drives that I initially believed to be DOA actually seem to test out fine with the motherboard's onboard LSI SAS HBA/RAID chipset. In fact, the onboard chipset seems to behave better and more predictably in nearly every way! This is disappointing because the Areca RAID card cost over $1300, and the onboard LSI chipset is essentially a throw-away part. It's so cheap to put on the board that's not worth removing in newer hardware versions!</p>
<p>&nbsp;</p>
<p>The HBA/RAID driver story is more of the same. The LSI chipset uses the "mptsas" kernel driver, which has had many contributors offering fixes and enhancements. The Areca card seems to suffer from the opposite in a bad way. Areca themselves have published a newer version that the one included in the 3.0.x Linux kernel, but it has some pretty big flaws that make it a bit wonky. The first and most noticable flaw is the fact that a SAS/SATA device the stops responding causes the driver to freak out. To me, this is totally unacceptable. I'd rather see the device drop from the bus and be considered "offline" than the driver just freezing. A second big blemish is the remaining reference to the "Big Kernel Lock", which has been removable since something like 2.6.28 and is now off by default in many distributions shipping a 3.x kernel.</p>
<p>&nbsp;</p>
<p>I've been in contact with Areca support, and the things they've had me try have only further proven that there is a problem with the driver. It has also indicated that there may be a pretty big problem with the card itself as well! For $1300, I'd expect a HBA/RAID card to undergo some serious QA process before shipping. But, more hard drives are causing issues, so at this point I'm pretty sure the batch of disks I purchased is fine and the Areca card is the source of all my issues.</p>
<p>&nbsp;</p>
<p>So, I've started the RMA process for the existing RAID card, and ordered a LSI 9211-8i card. This card has 2 SFF-8087 ports for a total of 8 SAS 6G lanes. I've also ordered an HP SAS expander card which will give me 36 total ports and dual 4-lane SAS connectivity for a total theoretical throughput of 12Gbit/sec. This should work out to somewhere around 50Mbyte/sec per drive if all of them are active simultaneously. In reality, that rarely happens in a RAID system so I'm confident this configuration will be what I need. From the reviews I've read, the card seems like it's a great solution and really well liked by benchmarking forums. And it's rated for something like 290,000 IO/s max!</p>]]></content:encoded></rss:item><rss:item rdf:about="http://drdabbles.us/journal/2011/9/18/assembled-and-running-ish.html"><rss:title>Assembled and running-ish</rss:title><rss:link>http://drdabbles.us/journal/2011/9/18/assembled-and-running-ish.html</rss:link><dc:creator>Dr. Dabbles</dc:creator><dc:date>2011-09-18T04:22:09Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>The new motherboard came, the remainder of the drives were mounted, and the final touches of assembly were completed. As part of the assembly, I tried to update the firmware on the Areca RAID car, the motherboard's BIOS, and the moterboard's built in iKVM/BMC board. Unfortunately, this last component's update process failed in a pretty bad way. Even worse, the recovery process is undocumented and also failed.</p>
<p>&nbsp;</p>
<p>While testing the hard disks themselves, I found a dead unit and some pretty bad behavior in the RAID card's behavior. When trying to write data to a dead drive, the RAID card's driver just keeps trying forever. This causes the driver to lock up completely without responding to the process that's performing the write, which causes the writing process to also lock up! I'm investigating an update to the card's driver, or a firmware setting that would modify this behavior. But, the fact that this is the default way the system works is frightening at the least!</p>
<p>&nbsp;</p>
<p>So, next week looks like it's going to be benchmarking time. From some of the preliminary tests I've performed while breaking the hardware in, the hard drives look like they'll run pretty fast. The SSDs are, simply put, stupid fast. They write data so fast that benchmarking them against the hard drives doesn't even make sense. ZFS itself looks like it works pretty well, as well. I haven't seen many slowdowns from using it in a test environment, so that should bode very well for the new SAN.</p>]]></content:encoded></rss:item><rss:item rdf:about="http://drdabbles.us/journal/2011/9/13/delivery-1.html"><rss:title>Delivery</rss:title><rss:link>http://drdabbles.us/journal/2011/9/13/delivery-1.html</rss:link><dc:creator>Dr. Dabbles</dc:creator><dc:date>2011-09-13T23:44:19Z</dc:date><dc:subject>Computers Computers</dc:subject><content:encoded><![CDATA[<p>Today I took delivery of the parts for the SAN build. I've started putting drives in trays and wiring the case itself, which I can tell is going to take a while. I expect putting drives in trays will take around an hour of time in total.</p>
<p>Almost immediately I realized I ordered an Extended ATX motherboard, but the case only supports Micro ATX, ATX, CEB, and EEB. Naturally, I also ordered 4x SFF-8087 cables for the HBA to Backplane connectivity. Each of these cables can handle 4 SAS/SATA lanes, which means I can run 16 out of my 24 drives. Oops. So, a new board and two more SFF-8087's are on their way tomorrow.</p>
<p>&nbsp;</p>
<p>Here's the case unpacked from its double boxes. It's surprisingly light for how sturdy it feels! The manufacturer says it's around 40 lbs, but I would have pegged it somewhere in the low 30lbs range. All of the edges are rolled, so you don't get the stamped steel "case cut" issue that has plagued cases in the past.</p>
<p><span class="full-image-block ssNonEditable"><span><img src="https://lh6.googleusercontent.com/-l0nNx8Bf85g/Tm95GppcEcI/AAAAAAAAAvk/b9-0lgEMGuE/s640/IMG_20110913_113837.jpg?__SQUARESPACE_CACHEVERSION=1315957859167" alt="" /></span><span class="thumbnail-caption" style="width: 640px;">Case unpacked</span></span></p>
<p>&nbsp;</p>
<p>The front of the case holds 24 hot-swap disk trays. These feel pretty cheap when you pull them out and push them back in, with no satisfying click to let you know you've pushed the drive in far enough. This is really nitpicking, though, as you really don't want to push against the SATA/SAS interfaces very hard. And from the feel of things, the interface is more lilkely to break than the trays.</p>
<p><span class="full-image-block ssNonEditable"><span><img src="https://lh6.googleusercontent.com/-bVjd1pknTMg/Tm95Il4cymI/AAAAAAAAAvo/Ksf2pvcKfE8/s640/IMG_20110913_113853.jpg?__SQUARESPACE_CACHEVERSION=1315957904400" alt="" /></span><span class="thumbnail-caption" style="width: 640px;">Case front</span></span></p>
<p>&nbsp;</p>
<p>This is the motherboard I (wrongly) ordered. It's pretty beefy to say the least, with more than enough RAM slots for my needs. The plan for now is to keep the second CPU and RAM banks empty until more performance is needed.</p>
<p><span class="full-image-block ssNonEditable"><span><img src="https://lh3.googleusercontent.com/-GBZI5-sh9W4/Tm_BFUEa4WI/AAAAAAAAAvw/YIF2cH6afDQ/s640/IMG_20110913_164456.jpg?__SQUARESPACE_CACHEVERSION=1315957949976" alt="" /></span><span class="thumbnail-caption" style="width: 640px;">Wrong (but nice) board</span></span></p>
<p>&nbsp;</p>
<p>I got the CPU in the socket, and the RAM in the proper bank immediately. Since the CPU uses tripple-channel DDR3, DIMMs have to be installed in groups of 3. You'll notice I forgot to order a CPU heatsink and FAN assembly, which turned out to be fortunate since the board has to come out.</p>
<p><span class="full-image-block ssNonEditable"><span><img src="https://lh4.googleusercontent.com/-OsJ-BqZu-Tk/Tm_DjW_XA8I/AAAAAAAAAv4/C8neOeAC5u0/s640/IMG_20110913_165408.jpg?__SQUARESPACE_CACHEVERSION=1315957982358" alt="" /></span><span class="thumbnail-caption" style="width: 480px;">CPU and RAM mounted</span></span></p>
<p>&nbsp;</p>
<p>This is when it dawned on me that something might be wrong. Everything was lining up great until I looked at the void where the power supplies will be. Damn!</p>
<p><span class="full-image-block ssNonEditable"><span><img src="https://lh5.googleusercontent.com/-Cu7ZXCgxN0k/Tm_FSqkbKHI/AAAAAAAAAwA/Hp1Q7JH9IP0/s640/IMG_20110913_170331.jpg?__SQUARESPACE_CACHEVERSION=1315958027094" alt="" /></span><span class="thumbnail-caption" style="width: 640px;">Not looking good</span></span></p>
<p>&nbsp;</p>
<p>Yep. That's not going to fit at all. Well, RMA for this board I guess.</p>
<p><span class="full-image-block ssNonEditable"><span><img src="https://lh5.googleusercontent.com/-5SeO103wT7s/Tm_Flq0rELI/AAAAAAAAAwE/MuQWnq7C1Jo/s640/IMG_20110913_170342.jpg?__SQUARESPACE_CACHEVERSION=1315958050367" alt="" /></span><span class="thumbnail-caption" style="width: 480px;">Not going to work</span></span></p>
<p>&nbsp;</p>
<p>Most people don't get to see what OEM packaging for hard drives looks like. When you're a system builder, you get them in bulk packs like this. The only thing I hate is unwrapping a ton of them, though. But I guess I'll have 24 anti-static bags after this is all done.</p>
<p><span class="full-image-block ssNonEditable"><span><img src="https://lh5.googleusercontent.com/-oEtJPFyqQro/Tm_G9UCgyXI/AAAAAAAAAwM/yap-YxRFFAA/s640/IMG_20110913_171057.jpg?__SQUARESPACE_CACHEVERSION=1315958089752" alt="" /></span><span class="thumbnail-caption" style="width: 480px;">Hard Drives</span></span></p>
<p>&nbsp;</p>
<p>I'm using Western Digital 1TB drives with TLER, which better support being in RAID arrays. Though I'm not building a traditional RAID array. These were cheaper than their Seagate counterparts and more readily available, so that made the decision pretty easy. The drives slip into their trays and can be screwed in from the side or the bottom. I've chosen to use the mounting holes on the bottom to keep from interfering with the sliding mechanism in the case.</p>
<p><span class="full-image-block ssNonEditable"><span><img src="https://lh3.googleusercontent.com/-hdtPU_57Wi0/Tm_Ho1rgCzI/AAAAAAAAAwQ/ZXH2vBaVdRM/s640/IMG_20110913_171132.jpg?__SQUARESPACE_CACHEVERSION=1315958137949" alt="" /></span><span class="thumbnail-caption" style="width: 640px;">1TB HDDs mounted</span></span></p>
<p>&nbsp;</p>
<p>The half-way mark has been reached. These 12 drives account for more space than most of the people I know have used in total in their whole life. And I'm going to double it. Hopefully I can start benchmarking this thing next week to see how the HBA card performs with this many drives!</p>
<p><img src="https://lh4.googleusercontent.com/-5vT3Wq99hAw/Tm_KKd77vGI/AAAAAAAAAwc/ttuRJ9PxsqA/s640/IMG_20110913_172440.jpg?__SQUARESPACE_CACHEVERSION=1315958180618" alt="" /></p>
<p><span class="full-image-block ssNonEditable"><span class="thumbnail-caption" style="width: 640px;">12 done, 12 to go</span></span></p>
<p>&nbsp;</p>
<p>That's all for now. Tomorrow I should have the power supplies and all of the drives installed. Then it's a waiting game until Thursday when the new motherboard and CPU cooler should arrive. If everything continues as planned, Friday will be a great day at work!</p>]]></content:encoded></rss:item><rss:item rdf:about="http://drdabbles.us/journal/2011/9/9/the-build-begins.html"><rss:title>The build begins</rss:title><rss:link>http://drdabbles.us/journal/2011/9/9/the-build-begins.html</rss:link><dc:creator>Dr. Dabbles</dc:creator><dc:date>2011-09-09T20:18:03Z</dc:date><dc:subject>Computers Computers Linux</dc:subject><content:encoded><![CDATA[<p>At work, I've recently been facing a two-pronged problem with our server infrastructure. It's been weighing on my mind for a while, and recently I decided that something had to be done. I wasn't sure what I would end up doing, but I needed to act carefully and quickly. These aren't usually two things that go hand-in-hand when planning out IT infrastructure whose life expectency needs to be five or more years!</p>
<p>The first prong of our problem was storage space. To be more specific, we're running out of it. We have a <a href="http://en.wikipedia.org/wiki/Storage_Area_Network">SAN</a> at our HQ location that we use to host two <a href="http://www.vmware.com/">VMware</a> <a href="http://www.vmware.com/products/vsphere/overview.html">vSphere</a> 4.x instances, along with data for our network monitoring system (<a href="http://www.opennms.org">OpenNMS</a>) and a few other odds and ends. I calculated that within six months we would be at 100% of the capacity of that SAN without adding any new projects that required storage space. The problem here is that there's a project currently in the works that requires not only the rest of the space in this SAN, but an additional 3x its original capacity! To make matters that much worse, when I projected storage needs out to 18 months, we were beyond the maximum capacity of the SAN in question. If I were to band-aid this problem, it would cost around $10,000 now, and be completely useless in just over a year. So, while $10,000 is an absolute steal when it comes to adding the capacity I wanted to a SAN, I felt like I couldn't justify a $10,000 hit for 12 months of useful service. There's so much more I'd rather do with that money!</p>
<p>&nbsp;</p>
<p>Our second piece of the problem was parformance in another realm. We are already running up against the parformance capabilities of the SAN we were looking to upgrade! So this meant that while spending the money to upgrade its data capacity would solve one problem, it would actually make the second problem worse! And the more we rely on this SAN, the worse the performance problem gets. In fact, when I charted out the projected performace of the existing SAN over the next year, it would be so over utilized that everything we ask it to do would take more than 24 hours to complete. This is a pretty severe problem when your business hours are 7am to 7pm, needless to say.</p>
<p>&nbsp;</p>
<p>So I went back to the drawing board. I puzzled over several possible solutions, but none of them really made me happy. I could spend $20,000 on a second SAN and use the two of them in parallel, I could steal some capacity from our backup SAN for our customer data, I could just add capacity to the existing SAN and hope the performance calculations were wrong, and of course I could do nothing. The last option was by FAR the best option on the table at the time.</p>
<p>&nbsp;</p>
<p>Then it dawned on me. I had experimented with some different servers here, building a "home grown" SAN. Servers were cheap, and I could use any brand of hard drive I wanted. I wasn't locked into a single vendor, and the price tag was extremely appealing. For $10,000 you can build a Linux (or Windows) server with so many disks in it that you actually need specialy hardware to handle them all! I had aready been mulling over the idea of building a small Linux SAN for work, so why not build a massive one instead? I mulled this over for months until the opportunity presented itself. And by that I mean my back was against the storage wall, and a decision had to be made in just a few weeks.</p>
<p>&nbsp;</p>
<p>Well, that day has come! While ordering software for my company, I negotiated a deal that saved around $3,500. This afforded me the opportunity to build a Linux server with room for 42 disk drives, a second CPU, more RAM than you could shake a stick at, and all the bells and whistles I wanted. This new system will give me the ability to expand throughput by adding much faster network cards and disk controllers, while allowing me to add affordable storage any time I want! What's better is that I will be modeling my system after ones used at <a href="http://www.cern.ch">CERN</a> and <a href="http://www.llnl.gov/">LLNL</a>- two massive agencies that have some serious storage needs.</p>
<p>&nbsp;</p>
<p>Finally, after months of planning and research, the order has been placed and the parts are on their way. I'll be using 20 1TB hard drives, two or four 60GB <a href="http://en.wikipedia.org/wiki/SSD">SSD</a> drives, 6GB of RAM (initially), a single Intel <a href="http://ark.intel.com/products/47925/Intel-Xeon-Processor-E5620-(12M-Cache-2_40-GHz-5_86-GTs-Intel-QPI)">E5620</a> Xeon CPU, a 10Gbit ethernet card, and an<a href="http://www.areca.us/products/1880.htm"> Areca 24-port 6G SAS card</a> in <a href="http://en.wikipedia.org/wiki/JBOD#JBOD">JBOD</a> mode. The plan is to build a <a href="http://en.wikipedia.org/wiki/ZFS">ZFS</a> pool out of the disks, tune it to use the SSDs for data access acceleration, turn on the data de-duplication features, and benchmark the HELL out of it. Once I'm happy with the results, I'll be carving storage out of the pool and migrating things off the old SAN. Once everything is moved off the old SAN, I will add it to the ZFS pool as slower storage used for less frequently accessed data. As more storage is needed, the system will expand with the addition of $1,000 external disk chassis that can hold up to 24 disks each. The total disk limit of a single Areca card is 128 disks, and the system will be physically limited to two cards. I think 256 3+TB drives would be more than enough space to hold us over for the forseeable future.</p>
<p>&nbsp;</p>
<p>I plan to keep good notes during this process, and I'm hoping to update this blog with the details as I make progress. I'll also be using the Phoronix benchmark suite to test access to the ZFS pool on the server itself and on <a href="http://en.wikipedia.org/wiki/ISCSI">iSCSI</a>, <a href="http://en.wikipedia.org/wiki/CIFS">CIFS</a>, <a href="http://en.wikipedia.org/wiki/Network_File_System_(protocol)">NFS</a>, and <a href="http://en.wikipedia.org/wiki/ATA_over_Ethernet">AoE</a> clients, so be prepared for lots of boring numbers.</p>]]></content:encoded></rss:item><rss:item rdf:about="http://drdabbles.us/journal/2011/8/24/writing-powershell-scripts.html"><rss:title>Writing PowerShell Scripts</rss:title><rss:link>http://drdabbles.us/journal/2011/8/24/writing-powershell-scripts.html</rss:link><dc:creator>Dr. Dabbles</dc:creator><dc:date>2011-08-24T19:53:42Z</dc:date><dc:subject>Computers Computers PowerShell Programming Software</dc:subject><content:encoded><![CDATA[<p>After using PowerShell for about a year, I've actually come to love it. I'm not saying it's perfect, and I'm not saying it's the best it could be. PowerShell is not as powerful as Perl and it's not as native as BASH, but what it does very well is .Net.</p>
<p>&nbsp;</p>
<p>When Microsoft created the .Net framework, they created a fantastically powerful platform that could be easily extended and shaped to fit any need. Like any good Object Oriented programming framework, there was a strong set of basic objects built in that allowed both Microsoft and third parties to build very robust solutions quickly and easily. Nearly all MS products now have .Net assemblies, which add capabilities into the framework for the product being used. This is true not only of products like Office and Visio, but of back-end products like Exchange, PowerPoint, Windows itself, and Active Directory! And PowerShell can access it all.</p>
<p>&nbsp;</p>
<p>So, what's the best way to get started with PowerShell? I found that learning the PowerShell language was similar to learning any programming language- have an itch to scratch. What I mean is everyone can write the "Hello World" app. Even people with no programming experience at all can do it, especially in PowerShell. But to really get down to it and learn the ins and outs of a language, you need to be applying it to an actual problem you have.</p>
<p>&nbsp;</p>
<p>So, let's see an example. What if you were in charge of a group of servers and you needed to check some statistics from them all. Well, we know that WMI already contains that data and more. And wouldn't you know it, one of the Commandlets in PowerShell gets us an Object containing WMI data! So, let's take a quick look:</p>
<blockquote>
<p>$wmidata = get-wmiobject win32_computersystem</p>
</blockquote>
<p>That's it! We now have an object that contains the WMI data from win32_computersystem. Sure, you can do this in VBScript so far, but it's not nearly as simple! And we're about to demolish what VBScript can do!</p>
<blockquote>
<p>$wmidata | Get-Member</p>
<p>&nbsp;&nbsp; TypeName: System.Management.ManagementObject#root\cimv2\Win32_ComputerSystem</p>
</blockquote>
<p>Ok, so we see that this object is actually a .Net framework data type from the System.Management... assembly. We also see that there's a commandlet called Get-Member in PowerShell, which returns all of the methods, properties, and ScriptMethods an object exposes! At this point, Doc Brown will say "Great Scott"!</p>
<p>Alright, we want to actually do something here, so let's get to it. We want to collect system information for several computers on our network. Because we're admins, and we love being informed...right?</p>
<blockquote>
<p>$wmidata = get-wmiobject -computername somecomputer win32_computersystem</p>
<p>"Machine name: " +$wmidata.Name</p>
<p>"Model: " + $wmidata.Model</p>
<p>"Manufacturer: " + $wmidata.Manufacturer</p>
<p>"Logged on user: " +$wmidata.UserName</p>
<p>"Total RAM: " +$wmidata.TotalPhysicalMemory</p>
</blockquote>
<p>Our output:</p>
<blockquote>
<p>Machine name: somecomputer</p>
<p>Model: OptiPlex 755</p>
<p>Manufacturer: Dell Inc.</p>
<p>Logged in user: MYDOMAIN\auser</p>
<p>Total RAM: 4158242816</p>
</blockquote>
<p>Ok, so far this has saved me about 20 minutes of VBScript and it's got me all this data! And here's a neat trick...</p>
<blockquote>
<p>"Total RAM: " + $wmidata.TotalPhysicalMemory / 1GB</p>
</blockquote>
<p>Yes, you can abbreviate all that conversion math to go between KB, MB, and GB by using those letters.</p>
<p>&nbsp;</p>
<p>So, we have a script that can connect to a remote computer (assuming you have permission) and gather WMI data. It then displays that data onto the screen for you. And it took us, what, 2 minutes of typing to get this? Using your imagination, you can probably see that you could wrap this all in a for loop and rip through a list in a matter of minutes. And the fun doesn't stop there!</p>
<p>&nbsp;</p>
<p>If you're interested in learning PowerShell, I suggest you take a look at the Microsoft PowerShell site <a title="MS PS Documentation" href="http://technet.microsoft.com/en-us/scriptcenter/dd742419" target="_blank">here</a> . It's open to the public, and it's helpful. But you may find that Microsoft's information is a bit terse. Once you get your head around PowerShell, you'll actuall find this kind of information the most helpful. Also, check out the .Net framework documentation...this all applies to PowerShell objects! So, find an itch to scratch and get coding!</p>]]></content:encoded></rss:item><rss:item rdf:about="http://drdabbles.us/journal/2011/3/18/thats-fast.html"><rss:title>That's fast</rss:title><rss:link>http://drdabbles.us/journal/2011/3/18/thats-fast.html</rss:link><dc:creator>Dr. Dabbles</dc:creator><dc:date>2011-03-18T20:14:32Z</dc:date><dc:subject>Computers</dc:subject><content:encoded><![CDATA[<p>How fast is the new Intel Thunderbolt peripheral bus? Let's crunch the numbers.</p>
<p>Western Digital announced a new 6TB drive recently, which is roughly 1748 HOURS of high quality HD video from Netflix, Hulu, or one of the other streaming companies. To be clear, this is their highest quality offering currently, and you could record 73 DAYS of it.</p>
<p>So. How quick can we fill our disk under perfect conditions? What if I just wanted to fill every single nook and cranny of this behemoth? Below, I've listed some popular computer peripheral connections and how long it would take them. In short, Thunderbolt is the clear winner!</p>
<p>&nbsp;</p>
<table>
<tbody>
<tr>
<td><strong>Bus</strong></td>
<td><strong>Speed (MB/sec)</strong></td>
<td><strong>Time</strong></td>
</tr>
<tr>
<td>USB 1.1</td>
<td>1.5</td>
<td>48d 13h 5m 4.00s</td>
</tr>
<tr>
<td>FireWire 400</td>
<td>49.152</td>
<td>1d 11h 33m 20.00s</td>
</tr>
<tr>
<td>USB 2</td>
<td>60</td>
<td>1d 5h 7m 37.60s</td>
</tr>
<tr>
<td>FireWire 800</td>
<td>98.304</td>
<td>0d 17h 46m 40.00s</td>
</tr>
<tr>
<td>SATA 1G</td>
<td>150</td>
<td>0d 11h 39m 3.04s</td>
</tr>
<tr>
<td>SATA 3G</td>
<td>300</td>
<td>0d 5h 49m 31.52s</td>
</tr>
<tr>
<td>SATA 6G</td>
<td>600</td>
<td>0d 2h 54m 45.76s</td>
</tr>
<tr>
<td>USB 3</td>
<td>625</td>
<td>0d 2h 47m 46.33s</td>
</tr>
<tr>
<td>Thunderbolt</td>
<td>1250</td>
<td>0d 1h 23m 53.16s</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>]]></content:encoded></rss:item><rss:item rdf:about="http://drdabbles.us/journal/2009/12/1/family-christmas-traditions.html"><rss:title>Family Christmas Traditions</rss:title><rss:link>http://drdabbles.us/journal/2009/12/1/family-christmas-traditions.html</rss:link><dc:creator>Dr. Dabbles</dc:creator><dc:date>2009-12-02T03:48:04Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>Let me set the scene for you. Three brothers and two parents in one car. None of us get along whatsoever. The tree farm my parents "fell in love with" is over two hours away. We get there on what is inevitably the coldest year on record, and trek around for two hours searching for a tree. Initially we find three, narrow that down to two in an hour and finally, as the daylight has gone, we decide on the perfect tree. It looks like every other tree.</p>
<p>Dad hands me the saw..or the rusty jalopy that stands in for a saw. And there I am&hellip;face down, ass up under a 14 foot tall douglas fir that I already hate. Covered in sap and needles, freezing what used to be my balls off. Of course, the tree is so thick nobody can hold it while I cut the son of a bitch down&hellip;and you just CAN'T get out of three feet of snow that quickly. So, not only do I get the honor of cutting down a tree, but I get the PRIVILEGE of dragging it a mile down a craggy hill side, in the snow, covered in what is the most hateful mix of water, shame, sap, and sharp pointy sabers masquerading as evergreen needles.</p>
<p>We purchase the tree, discover we forgot rope for the 10th year in a row, but $17 of rope (roughly 10 feet), strap the tree down to the roof of the car, and make our way home in the same manner we started&hellip;miserable and tired.</p>
<p>Let it be known that nobody's family is better than mine.</p>]]></content:encoded></rss:item></rdf:RDF>
