ENTRIES
Welcome to Eric Cheng's online journal! You are not logged in. [ Login ]
« All Things Digital launches :: index :: Spam filter augmentation proposal »

320GB striped array (RAID 0) in a Macbook Pro (Computers)
:: Thursday, April 26th, 2007 @ 6:09:30 pm


Macbook Pro with 2 drives installed

Today, I installed an MCE OptiBay Hard Drive (a second 160GB 5400rpm drive) into my Macbook Pro. The directions that came with the drive were simple to follow, and it took about 15 minutes install (requiring the removal of 20-25 screws, plus two ribbon connectors).

When I booted back up, Mac OS X recognized the drive immediately (a SAMSUNG HM160JC) and asked me if I wanted to initialize it.

Instead, I rebooted from an external drive (backed up by the excellent SuperDuper) and created a striped RAID 0 array using the two internal Macbook Pro drives.

At this point, I discovered that you cannot partition a Mac OS X software RAID volume, so I was stuck with a single, 297.46GB volume. I back up my volumes with SuperDuper, and will just have to create scripts that backup a bootable system copy without images or video (and I’ll back up images/video separately, which is fine).


Shown here before the 2nd drive was installed. Installation requires the removal of 25 screws.

I ran Xbench on my system, and the results [download] are pretty impressive. My machine’s results are in the first column, compared to results of comparable configurations pulled out of the Xbench comparison site. The last column features benchmarks from a Mac Pro with a 250GB 7200rpm 3.5″ drive.

    Macbook Pro Core2
2×160GB 5400rpm
3GB / v10.4.9
RAID 0 (Striped)
Macbook Pro
160GB 5400rpm
2GB / v10.4.9
Macbook Pro
160GB 7200rpm
2GB / v10.4.9
Seagate
Mac Pro Quad
250GB 7200rpm
4GB / v10.4.8
Seagate 3.5"
  Blocks Score MB/sec Score MB/sec Score MB/sec Score MB/s
Results   137.52   110.50   118.20   158.46  
Disk Test   67.08   36.37   42.94   69.46  
–Sequential   93.51   70.23   77.31   94.80  
—- Write 4K 163.43 100.34 69.63 42.75 97.99 60.16 70.50 43.28
—- Write 256K 139.48 78.92 73.79 41.75 86.30 48.83 104.05 58.87
—- Read 4K 43.68 12.78 57.35 16.78 51.03 14.94 100.62 29.45
—- Read 256K 151.59 76.19 86.17 43.31 96.58 48.54 118.22 59.41
–Random   52.30   24.54   29.73   54.80  
—- Write 4K 23.24 2.46 8.99 0.95 9.68 1.03 21.29 2.25
—- Write 256K 100.03 32.02 37.83 12.11 83.38 26.69 122.85 39.33
—- Read 4K 71.24 0.50 66.16 0.47 89.59 0.63 93.70 0.66
—- Read 256K 106.25 19.72 98.17 18.22 123.23 22.87 138.64 25.73

All reads and writes are uncached.

The results are impressive, except that the RAID 0 doesn’t seem to like small-block (4k) reads. Both sequential and random reads performed poorly. This should be fine, as I’m most often working with large images and video files.


screws removed during install

160GB 5400rpm drives are supposed to become much faster as they fill up. My drives are about 30% full, and I plan to re-run the test when they become more full.

MCE reports that the drive is supposed to shorten battery life on the system by 10-15%, but I haven’t had a chance to do my own tests.

As for sound, I can hear the 2nd drive now, spinning quietly on the right-hand side of the machine. It’s audible, but not annoying. The replacement drive chassis doesn’t have the same clip receptacles that the SuperDrive chassis has, so the keyboard top on my Macbook Pro no longer sits exactly flush on the right side. There’s probably a 1mm gap, which isn’t enough to really bother me.


1mm gap between keyboard and chassis on right side

Subjectively, the system feels more snappy, and I’m happy to have made the upgrade. I use up at least 20-30GB per week in the field, and it will be great to be able to work on my notebook without having an external drive chained to it.

Many people don’t like using RAID 0 arrays because they double the likelihood of catastrophic failure; I back up my data all the time — even when I’m traveling — so I’m not so worried.

Also see:

- Seagate Momentus 7200rpm 160gb drive benchmarks on BareFeats.com
   a single-drive upgrade for better disk performance

— UPDATE, AFTER ONE DAY —

This machine is really much faster now. I just booted up Windows XP in Parallels, and it didn’t do the usual “take the computer down for a bit” routine during XP startup. It just booted, and was fast immediately after boot, as it is on my Mac Pro. Normally, the XP load process in Parallels slows my entire machine down as it struggles to pull data from the disk.

My Macbook Pro has always run hotter than my old Thinkpad did. Even when doing simple web surfing or writing e-mails, I can’t use the machine in my lap for long periods of time without putting a book or pillow between it and my crotch. It *seems* to run a bit warmer with the 2nd drive in, but it’s hard to remember, in comparison. The left palm area was always much hotter than the right (make sense — it’s where the main drive is); now the right side is also a bit warm — but nowhere near the warmth of the main drive area.

The metal strip above the keyboard is always hot, now. I don’t remember if this was the case before I put in the 2nd drive. It could also be because it has suddenly become warm here in the Bay Area. The temperature in my loft has gone up by a lot in the past two days.

The internal cooling fans do not run any louder or more often than they used to.

—COMMENTS ON DIGG COMMENTS—

Some folks on the second Digg page are saying that it’s stupid to use RAID 0 in a computer, because there are “no real world benefits” and because it’s too dangerous.

I disagree. My machine is clearly running much faster, and it doesn’t seem to be running that much hotter. The fans still only spin up with high CPU usage. Battery life has always sucked on the Macbook Pro, and the estimates of losing 10-15% seems to be accurate so far. When I copy images onto the machine while in the field, they are simultaneously copied to an external volume for backup. Finally, I back up frequently onto bootable, external media, even when I’m on the road, so losing my internal volume wouldn’t be catastrophic. At home, my system backs up automatically to NAS every night. The only problem is that I would have to work off of an external drive, if the RAID failed. I’d have the same problem even if I wasn’t using RAID.

I used to use a Thinkpad T-series notebook, which was a great machine because it allowed the use of two hard disks at a time in a supported, modular way. I loved that thing.

Anyway, back to the topic at hand. I’d love to hear about the negative Digg commenters’ personal experiences with running RAID 0 in a notebook. I’ll bet none of them have ever done it, and are speaking without any facts to back up their claims.

—UPDATE AFTER 5 MONTHS—

Still going strong! I noticed that I now get bursts of up to 54MB/s when copying over gigabit from my Mac Pro (which is configured in RAID 1+0 over 6 disks). That is awesome.

—UPDATE, NOV 25, 2007—

I have had network copy bursts of up to 90MB/s to my Mac Pro via gigabit ethernet, and regularly sustain 65MB/s when copying large files. See a screenshot here. I can’t wait until solid-state drives come down in price. If compatible, I want to shove two of them into my computer and RAID them. :)

Popularity: 68% | Oakland, CA | link | trackback | posted @ Apr 26, 2007 18:09:30

:: 41 comments (rss)

  1. posted by danspeters on Thu, April 26, 2007 @ 9:25 pm

    Does this greatly reduce your spinning beach balls?

    I’ll be curious to hear about actual loss in battery life.

  2. posted by Avi Flax on Fri, April 27, 2007 @ 7:15 am

    Very cool!

    BTW, your site’s a little hard to read in Safari, because items from your right-hand column are floating on top of the right edge of the main column.

  3. posted by echeng on Fri, April 27, 2007 @ 8:18 am

    Avi - this page looks fine in Safari v2.0.4, other than showing small gaps in the box headers.

  4. posted by James Wiseman on Fri, April 27, 2007 @ 8:26 am

    Eric,

    Does this mean you can expect a cease and desist letter from Apple for posting a photo of the inside of your Macbook? :-)

  5. posted by Jeff on Fri, April 27, 2007 @ 2:34 pm

    No optical drive? Are you going to carry one around with you?

  6. posted by Craig Ruaux on Fri, April 27, 2007 @ 2:39 pm

    I’m sad to admit I had to spend a lot of time looking at your MacBook’s innards to establsh what was going on in there… Only when I saw the products name did I truly understand.

    I take it then that you’re not bothered by the loss of the optical drive. What’ll you do if you’re in the deepest depths of Fak Fak and a drive failure (or some other evil) requires you to reinstall the OS??

    Seems like a cool idea though.

  7. posted by echeng on Fri, April 27, 2007 @ 3:20 pm

    Jeff - it shipped with a $100 USB/Firewire bus-powered SuperDrive that is both compatible with all Mac apps, and allows booting from CD/DVD(something that I guess is hard to find for Intel Macs). The enclosure is big and metal, and heavier than it should be, but — yes, I will travel with it when I think I need it.

    Craig - I back up my drive onto external, bootable drives. If something fails, I’ll just use the external drive for the remainder of the trip.

  8. posted by Macenstein » Macenstein Archive » Put a RAID 0 in your MacBook, PowerBook, or MacBook Pro on Fri, April 27, 2007 @ 8:29 pm

    […] Eric Cheng has posted an interesting article detailing his experience in outfitting his MacBook Pro with a RAID 0 setup using two 320GB 5400 rpm drives. XBench results show a fair increase in many tasks, although a decrease in some small-block reads, and of course a hit in battery life as well. Other caveats include his keyboard no longer fitting quite right and an increase in noise coming from the second drive, but all-in-all Eric seems happy with the experience, and says the systems seems more “snappy”. […]

  9. posted by Pat on Sun, April 29, 2007 @ 8:59 am

    Could you post a picture of the keyboard? I would be interested to see exactly what I am up against, since I am planning on doing this as well. Thanks.

  10. posted by Apple Ninja » Blog Archive » Add Another Hard Drive To Your Macbook Pro on Sun, April 29, 2007 @ 9:05 am

    […] Eric Cheng reports on a method of adding an additional drive in a Macbook Pro in-lieu of the Super Drive. […]

  11. posted by Running Raid 0 On Macbooks at memoirs on a rainy day on Sun, April 29, 2007 @ 9:20 am

    […] out of space on your MacBook? Try installing another HD into it, with a Raid 0 configuration. Eric Cheng did it. These icons link to social bookmarking sites where readers can share and discover new web […]

  12. posted by Du RAID0/1 dans un portable on Sun, April 29, 2007 @ 9:30 am

    […] un petit lien vers une personne qui a testé le RAID0 et qui a désormais un MacBook Pro avec 320 Go de disque […]

  13. posted by Macinstein on Sun, April 29, 2007 @ 10:30 am

    Hey Eric, do you always have to boot from an external drive to get up and running? I’m curious about how you did the RAID0 setup. I know OSX supports this as a software RAID setup, but can you then boot from the array too? If you could expand upon the procedure, I’d really appreciate it!

  14. posted by electroph4ge on Sun, April 29, 2007 @ 10:34 am

    Interesting. You might also consider trying RAID 1. RAID 0 has better write performance than RAID 0 but RAID 1 has better read performance. I used to use RAID 0 on my desktop, but I’ve come to prefer RAID 1. I mostly process large scientific datasets, but the data is read much more often than it is written.

  15. posted by echeng on Sun, April 29, 2007 @ 10:45 am

    Macinstein: Yes, you’ll have to boot from an external drive to get RAID 0 working on your internal drives. But after that, you can boot from the array with no problems.

    electroph4ge: I needed RAID 0 because I need the disk space when I’m out in the field (I work as a photographer). Notebook drive capacities are not keeping up with my needs. :)

    I’ve also updated the post with an image of the gap between keyboard and chassis.

  16. posted by Gadget News » Add RAID to your Apple laptop — for a price on Sun, April 29, 2007 @ 1:47 pm

    […] Read | Permalink | Email this | Comments […]

  17. posted by LaptopSpirit - 100% ordinateurs portables : Du RAID dans les portables Apple on Mon, April 30, 2007 @ 2:17 am

    […] disque et envisager en RAID 0 pour augmenter les performances de la machine. C’est ce qu’a fait Eric Cheng qui explique la manipulation et les résultats […]

  18. posted by Toby on Mon, April 30, 2007 @ 5:55 pm

    If you love disk space, have you considered that Drobo thing? It looks stunningly kickass and does it’s own RAID alternative which prevents dataloss, and if I had $699 to spare I’d own one in a heartbeat.

    Because it has to be hard burning DVD backups when you’ve removed the DVD drive :P

  19. posted by janderson on Mon, April 30, 2007 @ 7:45 pm

    I did the same upgrade in early March and ater a couple of weeks had the MCE-supplied drive go south. HOWEVER, removal and reinstallation of the MCE sled made it all work again. Then, another MCE-supplied drive failure occurred. So, I put another drive (purchased separately) into the MCE sled only to have the entire process repeat again. Temporary speed heaven followed by crashing hell. In EVERY case, the drives were fine when installed apart from the MCE sled. Ad yes, I have lots of experience inside Apple notebooks.

    MCE tech support was among the worst I have ever dealt with and after fighting and fighting with them, I finally got my money back. Heck, I even wanted another kit (realizing that this was likely a problem specific to my drive sled), but it apparently was not an option?! Perhaps they had some bugs to quietly work out?

    I miss the substantial speed increase. Good luck!

    Jeff

  20. posted by Fred Smith on Mon, April 30, 2007 @ 8:42 pm

    Worthy effort, but….. If sacrificing the optical drive weren’t enough, the drive causes the top of the case to bulge 1mm? Sorry dude… that’s a deal breaker.

    Raid0 sure is snappy, but you better back it up on a daily basis cause you’ve just doubled your chance at disk failure.

    Good luck!

  21. posted by SoftSaurus on Tue, May 01, 2007 @ 12:34 am

    […] though the already-hot laptop is even hotter now with the dual drive setup. —Gina Trapani 320GB striped array (RAID 0) in a Macbook Pro [Eric Cheng’s Journal via […]

  22. posted by ian andrew bell » Blog Archive » The MacBook Pro Needs an Expansion Bay on Tue, May 01, 2007 @ 8:13 am

    […] Cheng has just rocked his MacBook Pro. He installed a second hard drive called the MCE Optibay which replaces your internal SuperDrive […]

  23. posted by Rogier Willems on Tue, May 01, 2007 @ 12:10 pm

    WOW now that’s a cool upgrade!

  24. posted by MacBook Pro RAID on Tue, May 01, 2007 @ 2:33 pm

    […] Pro much? How about taking it out and replacing it with another hard drive in RAID 0. That is what THIS guy did. It does shorten battery life by 10%-15% but if you are willing to take the hit, and you […]

  25. posted by Psychohistory Life with a 320GB Raid 0 Striped Array in a MacBook Pro « on Wed, May 02, 2007 @ 1:14 am

    […] in a MacBook Pro May 2nd, 2007 — Adam Nash I couldn’t help but provide a link to this great article by my friend Eric on his experience tricking out his MacBook Pro laptop with two 160GB hard drives, […]

  26. posted by eas on Wed, May 02, 2007 @ 1:45 pm

    I’m curious how it would have been just to have used the second drive as an independent disk and put the WindowsXP virtual disk files there.

  27. posted by Make More Room on Fri, May 04, 2007 @ 7:07 am

    […] Eric Cheng has found a way to make Macs have more space. Seriously! […]

  28. posted by Felix on Tue, May 08, 2007 @ 6:49 pm

    Neat. I ran two WD Raptors (10,000 rpm drives) in RAID 0 for my System partitions on a desktop for a while and that was amazingly fast.

    I really don’t understand why you think you “need” RAID 0 for extra disk space out in the field. You aren’t getting extra free space, you’re just combining it all into a single logical drive. You could have the same amount of space with two separate drives, without the risk of one drive’s failure rendering all your of data unrecoverable - not a problem for, say, your OS partitions, but IMO, a really bad idea for storing your work/photographs. Like, Really Really Bad.

    Repeating for emphasis:
    “the risk of one drive’s failure rendering all of your data unrecoverable”

  29. posted by Zib Redlektab on Wed, May 09, 2007 @ 4:35 am

    The lid can still shut with the swollen keyboard, correct?

  30. posted by Eric Cheng's 320GB Raid 0 MacBook Pro on Tue, May 15, 2007 @ 3:54 pm

    […] Eric Cheng did to his MacBook Pro is actually pretty cool. I would love to be able to add additional disk space, as I’m down to […]

  31. posted by heywood on Tue, May 29, 2007 @ 10:25 am

    25 screws to install a hard drive? That’s almost as totally awesome as the “Mac Mini Tool Kit” they sent us when I was a tech at Best Buy a few years ago. Consisted of a dead blow hammer, a putty knife and a piece of sandpaper to sharpen it with. I shit you not.

  32. posted by Mike S on Wed, June 13, 2007 @ 7:24 am

    Great piece Eric,
    I’ve been looking for something like this since the Optibay was introduced.
    I emailed MCE four times for info & never got a response….
    I saw also that one other reader (janderson) had attempted this with unhappy results,
    Is your setup still running? How’s the heat?

  33. posted by Dan on Sat, June 16, 2007 @ 12:16 pm

    I’ve been considering going at this for some weeks now. I’ve got the same case you had with all of my photographs with Aperture on an external, so there’s no easy way to access my video and photo libraries without the external being plugged into the wall, car adapter, whatever. I know I could always back up the Vault system with Aperture, so going RAID with the two drives would be nice, but I’m worried about my other files too. I’ve got the last revision of the powerbooks, and I could REALLY use some more speed in Virtual PC when running AutoCAD and Architectural Desktop for work. Would you think I’d see similar improvements were I to do a RAID config? How much less of a performance gain do you think there would be if they were two separate drives?

    I’ve talked to MCE about this, but I’m still waiting on answers. Since the ppl here seem well-versed in drive performance, any suggestions would be appreciated. Thanks!

  34. posted by MPB on Tue, July 10, 2007 @ 6:51 am

    Whenever I take apart my laptop I always lose some of the screws, no matter how careful I am! And it never seems to go back together totally right, either.

  35. posted by echeng on Mon, August 20, 2007 @ 2:17 am

    Mike - setup is still working like a champ. The heat isn’t that bad; I don’t even notice it anymore.

  36. posted by Chris in Emeryville on Thu, September 06, 2007 @ 4:18 am

    Hi Eric,

    Would you consider upgrading my MacBook Pro for me. I’ll pay you to do it!

  37. posted by Mike Benner on Wed, December 12, 2007 @ 2:42 pm

    Do the drives have to be identical or can I use two different brands as long as the RPM and GB are the same?

  38. posted by 2007 post statistics | Eric Cheng’s Journal on Mon, December 31, 2007 @ 8:14 pm

    […] 320GB striped array (RAID 0) in a Macbook Pro […]

  39. posted by A.Carl on Tue, January 22, 2008 @ 12:39 pm

    You should mention in your “review” that MCE Optibay is only for PATA disks. Good thing to remember since most new 2.5″ HD is SATA with a totally different connector. My MCE Optibay didn’t fit my new WD 320GB 2.5″ HD… :(

  40. posted by Ben Lanois on Tue, February 12, 2008 @ 10:06 am

    Eric-

    Do you think this is possible with 7200rpm drives? I’m a noob when it comes to SATA/PATA, etc., so I don’t even know if 7200rpm exists in the format the drives need to be for RAID 0. I currently have a 7200rpm Seagate drive in my computer - Would I have to switch it out in order to install two drives as an array?

    Thanks,

    Ben

  41. posted by echeng on Tue, February 12, 2008 @ 11:04 am

    Ben - I don’t think it is unless you go with 100GB drives. As A.Carl said, above, the 2nd slot is PATA. As far as I know, there are no 7200rpm PATA drives larger than 100GB in capacity.

:: leave a reply

Use: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

RECENT TWITTER ACTIVITY

Posting tweet...

ARCHIVES

CATEGORIES
Aperture (8)
Computers (287)
Environment (24)
Food (21)
General (651)
House (1)
Humor (57)
Music (157)
Photo (295)
Rants (60)
Thoughtful (76)
Travel (156)
via Email (1)
Video (18)
VIENNA TENG
Support my friend and favorite singer-songwriter, Vienna Teng!

--- Next Show ---

Schedule coming soon.
[ discography ]

Eric Cheng's RSS Journal Journal RSS
Eric Cheng's RSS Journal Comments RSS

Rice Bowl Journals

proudly powered by wordpress
script exec time: 0.59s
i hate computers.