{"id":771,"date":"2009-03-27T00:12:52","date_gmt":"2009-03-27T00:12:52","guid":{"rendered":"https:\/\/www.joelonsoftware.com\/?p=771"},"modified":"2009-03-27T00:12:52","modified_gmt":"2009-03-27T00:12:52","slug":"solid-state-disks","status":"publish","type":"post","link":"https:\/\/www.joelonsoftware.com\/2009\/03\/27\/solid-state-disks\/","title":{"rendered":"Solid State Disks"},"content":{"rendered":"<p>One of the FogBugz developers complained that compiling was pretty slow (about 30 seconds), which was leading to a lot of <a href=\"http:\/\/xkcd.com\/303\/\">sword fights in the hallway<\/a>. He asked if it would be OK if someone spent a few weeks looking for ways to parallelize and speed it up, since we all have multiple CPU cores and plenty of memory.<\/p>\n<p><span class=\"side\"><a href=\"https:\/\/i0.wp.com\/www.joelonsoftware.com\/wp-content\/uploads\/2009\/03\/27IntelSSD.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"sideimg\" alt=\"\" src=\"https:\/\/i0.wp.com\/www.joelonsoftware.com\/wp-content\/uploads\/2009\/03\/27IntelSSD-thumbnail.png?w=730&#038;ssl=1\" \/><\/a><br \/><span class=\"caption\">Intel Corp.<\/span><\/span>I thought it might be a good idea to just try throwing money at the problem first, before we spent a lot of (expensive and scarce) developer time. And I had just read a <a href=\"http:\/\/www.anandtech.com\/printarticle.aspx?i=3531\">glowing review<\/a>&nbsp;by Anand Lal Shimpi of the <a href=\"http:\/\/www.intel.com\/design\/flash\/nand\/mainstream\/index.htm\">Intel X25-M SSD<\/a>, so I thought I\u2019d experiment with replacing some of the hard drives around here with solid state, flash hard drives to see if that helped.<\/p>\n<p>The first experiment was trying to rejuvenate an 18 month old IBM Thinkpad X61s notebook, which I originally got for the FogBugz World Tour. I got the new, 160GB Intel X25-M drives, which are about $760 on NewEgg.com.<\/p>\n<p>The trick in replacing your main, boot hard drive is making an exact copy of the partitions, <a href=\"http:\/\/en.wikipedia.org\/wiki\/Master_boot_record\">MBR<\/a>, and data, from the old drive to the new one. There are several apps that can do this. There\u2019s an open source app called <a href=\"http:\/\/clonezilla.org\/\">Clonezilla<\/a>, which, I have to say, is only free if your time is worthless. Two of the popular commercial applications I tried are <a href=\"http:\/\/www.symantec.com\/norton\/ghost\">Symantec Norton Ghost 14<\/a> and <a href=\"http:\/\/www.acronis.com\/homecomputing\/products\/migrateeasy\/\">Acronis Migrate Easy 7.0<\/a>.<\/p>\n<p>With the Thinkpad, neither Ghost nor Acronis worked right. I think there\u2019s something unusual about the MBR on ThinkPads. The bottom line was that every time I attempted to clone the drive, I got an unbootable drive. I wasted about a day and a half trying lots of different things. I even tried booting with a Ubuntu Live CD and copying all the files (this doesn\u2019t work right, and leaves Windows apparently working, but actually broken in many tiny ways).<\/p>\n<p>Eventually I gave up and just reinstalled everything from scratch. Not fun, but now I have a fresh new machine with a bigger, faster solid state drive.<\/p>\n<p><span class=\"side\"><a href=\"https:\/\/i0.wp.com\/www.joelonsoftware.com\/wp-content\/uploads\/2009\/03\/27Blacx.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"sideimg\" alt=\"\" src=\"https:\/\/i0.wp.com\/www.joelonsoftware.com\/wp-content\/uploads\/2009\/03\/27Blacx-thumbnail.png?w=730&#038;ssl=1\" \/><\/a><br \/><span class=\"caption\">Thermaltake<\/span><\/span>One tool which was really helpful: the <a href=\"http:\/\/www.thermaltakeusa.com\/Product.aspx?C=1346&amp;ID=1642\">Thermaltake BlacX Docking Station<\/a>. It\u2019s a toaster for raw SATA hard drives, either 2.5\u201d or 3.5\u201d. You drop any hard drive in the top and plug the USB 2.0 plug into your computer and, poof, the hard drive is connected. $37 at NewEgg.<\/p>\n<p>I did a little bit of benchmarking&#8230; don\u2019t take these numbers too seriously since I didn\u2019t run many tests and it\u2019s hard to get everything right. Boot time dropped from 2:11 to 0:34. That\u2019s from a cold boot to launching Firefox and navigating to google.com. Launching 6 major applications went from about 20 seconds to about 10 seconds. In general, the fact that app launching is so much faster makes a <em>huge<\/em> difference and it was totally worth it. This little laptop is now the fastest computer I\u2019ve ever used.<\/p>\n<p>For my next experiment, I upgraded the main desktop, a Dell Optiplex 745. This time Acronis Migrate Easy worked perfectly the first time. Literally all I had to do was clone the drive, turn off the computer, and replace the old drive with the new one, and I was done. Plink!<\/p>\n<p>Suddenly everything was faster. Booting, launching apps&#8230; even Outlook is ready to use in about 1 second. This was a really great upgrade.<\/p>\n<p>But&#8230; compile time. Hmm. That wasn\u2019t much better. I got it down from 30 seconds to &#8230; 30 seconds.<\/p>\n<p>Our compiler is single threaded, and, I guess, a lot more CPU-bound than IO bound. Oh well. We\u2019ll still probably upgrade all the developer\u2019s desktops with SSD drives, because making everything <em>else <\/em>snappy will make their lives better, but we may still be forced to spend some time making the compiler do its work in parallel.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the FogBugz developers complained that compiling was pretty slow (about 30 seconds), which was leading to a lot of sword fights in the hallway. He&hellip; <span class=\"read-more\"><a class=\"more-link\" href=\"https:\/\/www.joelonsoftware.com\/2009\/03\/27\/solid-state-disks\/\" rel=\"bookmark\">Read more <span class=\"screen-reader-text\">&#8220;Solid State Disks&#8221;<\/span><\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[2],"tags":[],"class_list":["post-771","post","type-post","status-publish","format-standard","hentry","category-news"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p83KNI-cr","_links":{"self":[{"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/posts\/771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/comments?post=771"}],"version-history":[{"count":0,"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/posts\/771\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/media?parent=771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/categories?post=771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/tags?post=771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}