Relaunch

Because I have not done any meaningful updates to this site since 2013, it was time for a major update. I am relaunching brycv.com with a whole new design and more features. In the process of migration, some posts have not been migrated. I will backfill the archive with posts that are still relevant as needed but some of my older posts that were really news items are no longer relevant and so were not migrated.

How to create a bootable installer for macOS

In the process of upgrading a Mac mini to be a server, I installed two SSDs to be configured as a RAID 1. One of the caveats to this approach is that a recovery partition is not supported when using a RAID as your boot volume. I had previously come across these instructions from Apple but looked them back up in order to install OS X. Even with my extremely fast fiber connection, it is still much slower to install from the recovery partition than it is from a local USB drive.

Update: This link was originally shared in 2014 but the guide has been updated by Apple for the latest versions of macOS as well so the title of this post has been updated to reflect that change.

SSD Guide

This post is a guide to my top recommendations for SSDs. As new models become available, this post is updated to reflect the best SSD options on the market. I also have a variety of articles about SSDs that can be accessed in the archives. Although originally published in February 2012, the date reflected on the article is the date of the last update.

Top Professional SSD Controllers

Overall, the best SSD chipsets on the market for performance seems to be the Samsung chipsets and the SandForce chipsets. There were previously SATA 3Gb/s and SATA 6Gb/s options but all slower options have vanished. In addition, another consideration is now mSATA SSDs, and PCI Express SSDs. If you want a drive that uses a chipset made by someone other than SandForce or Samsung, the best current option is the Crucial M500 SSD line. The fact that Intel is continuing to use the SandForce chipset (with their own custom firmware) also validates how good the SandForce design really is.

Some notes on why SSD capacities are different between product lines

The design of the SandForce chipset uses on-the-fly compression and extra flash memory to keep things running fast. That is why all SandForce designs are listed as lower capacity than the actual amount of flash memory in the SSD. For example, a SandForce-based SSD will actually have 256GB of flash memory but will be listed as 240GB because the extra flash memory is used by the chipset to attain the amazing performance levels and provide garbage collection even on systems where TRIM is not supported.

This capacity reporting trend has also now extended to many of the other SSD manufacturers because, as NAND manufacturing continues to move to smaller processes, additional NAND capacity is used to balance the potential downsides. An example of this trend is Crucial's M4 SSD line (using 25nm NAND) where capacities were available in typical 64GB to 512GB sizes as compared to the newer Crucial M500 SSD line (using 20nm NAND) and capacities of 120GB, 240GB, 480GB, and 960GB.

Although most SSDs on the market have more intelligent garbage collection algorithms now than they used to, I still recommend that everyone enable TRIM (Wikipedia article) on their systems. Some systems have no TRIM support as of yet (i.e. OpenBSD). Some automatically enable TRIM support (i.e. recent Linux distributions) while others require explicit enabling of TRIM (discard fstab option in Linux). OS X also only enables TRIM on Apple-provided SSDs but a quick search for OS X enable TRIM will provide some solutions that essentially zero out the vendor match in Apple's storage drivers which effectively enables TRIM for all SSDs on OS X. Although this approach for OS X worked in the past, with OS X Yosemite (10.10) it is no longer possible to load drivers that have been modified without decreasing your security settings. The good news is Apple has finally made available a way to enable TRIM on third party (non Apple OEM) SSDs as part of the OS X 10.10.4 update. This method requires using the trimforce command in Terminal. (Execute man trimforce in an OS X Terminal to get the details. The exact command to enable TRIM is sudo trimforce enable.)

What size SSD should you buy?

As pointed out in many, many articles, SSDs are faster at writes when more flash channels are available. This means that comparing a 64GB and 256GB Crucial M4, for example, will show you drastic differences in write speed. The 64GB will top out at about 100MB/s write speed while the 256GB will top out at over 260MB/s. This performance difference is a major consideration in your choice of SSD. The 60/64GB models will be the slowest. The 120/128GB will be substantially faster than a 60/64GB model but not up to the 240/256GB models. For example, a Crucial M4 128GB tops out at about 175MB/s write speed.

I also did some testing with Intel's 520 SSD line and found that, with Intel's custom firmware and a SandForce controller, write speeds decreased far less for typical benchmarks than with Crucial's M4 SSD line. However, it is still true that 240GB or larger SSDs are almost always faster for writes than any of the smaller capacities. Read speeds are often more consistent and less prone to the variations seen with write performance.

With those important points out of the way, let's move on to the available SSD models and my top three recommendations right now for 2.5-inch SSDs. I also have some thoughts on the best options for mSATA SSDs after the top three.

Samsung 840 Pro

The best all around performer with consistently amazing performance seems to be the Samsung 840 Pro with its 21nm NAND design paired with the excellent fourth generation Samsung MDX controller. Samsung is in the middle here where previous non-Samsung designs used 25nm NAND and Samsung used 27nm NAND and most of the industry is moving to 20nm NAND. As many reviews of proven, you will not be disappointed with the Samsung 840 Pro except when it comes to cost. They are still among the most expensive of consumer SSDs. This is partly because, at launch, Samsung segmented their SSD line with the high end professional 840 Pro using traditional MLC and the mainstream 840 using TLC (see below).

The Samsung 840 Pro line is fairly simple with only three capacities available. They range from the 128GB to the 256GB all the way to the 512GB.

It is also important to note that some might be confused by the newer Samsung 840 EVO series of SSDs. The 840 EVO line is Samsung's answer to Crucial's M500 line and, rather than using a more traditional approach, uses 3-bit-per-cell MLC (typically called triple-level-cell or TLC) to increase the density and decrease the cost of NAND in order to be able to provide a wide range of sizes comprised of 120GB, 250GB, 500GB, 750GB, and 1TB SSD models. The 840 EVO line is the replacement for the previous 840 (which also uses TLC) SSD line, not to the 840 Pro.

If budget is of foremost concern, the 840 EVO has received good reviews and the 120GB unit I have is functioning fine in a family computer. I would not choose the 840 EVO series for demanding uses and I would also steer potential buyers toward another SSD below.

Intel 520, 525, and 530

Although SSDs utilizing a SandForce (now LSI SandForce) controller seem to be some of the fastest on the market, there have been some bumps along the road with early designs. Intel has taken the excellent controller and written their own custom firmware which was then paired with the best 25nm NAND available to make the Intel 520 SSD series. The Intel 530 series is the successor to the 520 series and moves to 20nm NAND like the previous mainstream oriented Intel 335 series.

The 520 and 530 series are fantastic SSDs and my top pick for a SandForce-based SSD. Previously, the 520 series was far more expensive than other similar SSDs on the market even though Intel had the best SandForce firmware available. Nearly all of Intel's 520 SSDs are at or over $2/GB while the competition is much cheaper. The older 520 series was available in capacities of 60GB, 120GB, 180GB, 240GB, and 480GB. The newer 530 series is available in most of the same sizes excluding the 60GB but the 480GB model still seems to be hard to find. The amazing deal is really the 240GB model. Also be careful when ordering an Intel 530 SSD that you don't accidentally select an mSATA or a M.2 (the 80GB model for example) form factor SSD unless that's what you want. All three form factors are available in a single line this time around.

This talk of form factors brings up another line in Intel's 500 series of SSDs. The 520 series exclusively uses the 2.5-inch form factor. When Intel wanted to compete in the mSATA space, they released the 525 series which is only available in the mSATA form factor designed for netbooks, selected laptops, and in mSATA slots on some motherboards. As I mentioned above, the 530 series also provides a few models in the M.2 form factor which is the successor to the mSATA form factor and very similar to Apple's 2013 MacBook Air flash storage but Apple uses a custom connector instead of the standard M.2 connector.

The Intel 525 series comes in 30GB, 60GB, 90GB, 120GB, 180GB, and 240GB capacities. As is fairly typical, the 120GB tends to most often be the best deal. Unfortunately, as did the 520 series, the 525 series suffers from the increased cost due to the same 25nm NAND used in the 520 series. If you can find a good deal, I would highly recommend the 525 series as well. I am using a 120GB Intel 525 SSD in one of my OpenBSD systems right now.

The clear advantage with any Intel SSD is reliability and stability. No one else has been able to soundly beat Intel's SSDs on these points. Only Samsung can really challenge Intel on many of the same fronts at this time. There is also another area of SSDs where Intel has a firm foothold that I will mention shortly (see below).

Crucial M500

There is a third line of SSDs which I think are a very good offering. Crucial makes the M500 line of SSDs that are similar to the previous generation M4 line that I also recommended. Rather than the 25nm NAND (also from IMFT like the NAND in Intel 520 series), the M500 series also moves to 20nm NAND. Crucial has been very good about filling out their line quite nicely with both 2.5-inch and mSATA form factors all along. This was true of the M4 line with 32GB, 64GB, 128GB, and 256GB models along with their 2.5-inch siblings in 64GB, 128GB, 256GB, and 512GB capacities.

Now with the M500 line, Crucial is using a newer Marvell 88SS9187 controller (also used in Plextor M5 Pro/M5 Pro Xtreme) which offers very good overall performance. While Plextor was early to market with this chipset and shipped in September 2012, Crucial waited another six months or so to get to market with their solution. This allowed Crucial to use their 20nm NAND and make a larger capacity available.

This time around, Crucial was able to make 2.5-inch SATA SSDs in 120GB, 240GB, 480GB, and 960GB capacities. In addition, mSATA SSDs are available in 120GB, 240GB, and (still elusive from mainstream vendors) 480GB capacities.

With the Crucial lineup, it is easy to recognize what form factor an SSD happens to be. For example, the 120GB 2.5-inch, 7mm high model has part number CT120M500SSD1 while the mSATA model of the same capacity has part number CT120M500SSD3 where the last digit of the part number indicates whether it is a 2.5-inch (indicated by 1) or an mSATA SSD (indicated by 3). This was also true of the previous M4 lineup but, in the case of the M4 line, some SSDs came in three varieties. For example, the CT128M4SSD2 was the standard 2.5-inch, 9.5mm high 128GB SSD. The mSATA variety had part number CT128M4SSD3. The latest models were the CT128M4SSD1 models which were 2.5-inch, 7mm high SSDs. This distinction is important for systems such as the ThinkPad X230 which only support 2.5-inch SSDs with a 7mm height.

I am currently using a Crucial M500 240GB mSATA SSD in my ThinkPad X230 running OpenBSD. I am also using multiple Crucial M500 240GB 2.5-inch SSDs and an M500 960GB2.5-inch SSD as my secondary storage for my OS X laptops. All are working exceptionally well.

Enterprise SSDs from Intel

One other area I have not covered before is enterprise SSDs. In my opinion, Intel has made some exceptional designs recently with the DC S3500 and DC S3700 SSD lines. The DC S3500 series is really designed to take the excellent controller from the DC S3700 and combine with Intel's excellent standard 20nm MLC NAND to make for an exceptional value for an enterprise SSD that can allow for as much 450TB of data to be written to the SSD over its lifetime. The DC S3500 series SSDs come in 80GB, 120GB, 160GB, 240GB, 300GB, 480GB, 600GB, and 800GB capacities.

If write longevity and performance are needed at an even higher level, the DC S3700 SSD series provides for up to 15PB of data to be written to the SSD over its lifetime and uses the far more expensive 25nm high endurance MLC NAND which is referred to as HET-MLC. The DC S3700 line comes in 100GB, 200GB, 400GB, and 800GB capacities.

I have been using a 160GB Intel DC S3500 SSD as one my primary SSDs and have been very impressed. The enterprise SSDs are slightly more power hungry than you would typically want in a laptop but make great solutions for servers and important workstations. I'm planning to order more and use them in some ZFS RAID arrays and other systems in my datacenter installations.

Conclusion

I highly recommend upgrading to an SSD as your primary boot and application drive. Bulk storage is still more appropriate for hard drives but that is changing more and more. All of the product lines covered here are an excellent choice. The choice comes down to what your primary goals are.

If you are first and foremost looking for the best value while still maintaining very good performance, look no further than the Crucial M500 and Intel 530 SSD lines. If your goal is the best possible performance and the highest reliability and price is secondary, you will not go wrong with an Samsung 840 Pro and Intel 520 SSD lines.

Another metric that is useful in comparing the relative value of an SSD is to divide the price by the capacity to derive the cost per gigabyte. For example, if a 240GB SSD is $170, divide 170 by 240 to get a cost per gigabyte of $0.71. This metric helps you compare the best buy in terms of capacity in a given product line. In the majority of cases either the 240GB or 480GB models are the best value but with prices shifting all the time, other models may be a better value at any given time.

Are these the only SSDs to consider? Certainly not. These are, however, thoroughly validated SSDs from reputable companies that provide firmware updates right away if issues arise. I ran into some issues with a couple of older Crucial M4 SSDs and one of my Crucial M500 SSDs and a firmware update was already available to quickly solve the issue. No product is perfect but the speed and efficiency at which a company deals with the problem makes or breaks a product line. All of these products are of the highest quality.

The Famous Home Office Hits 7.0

One of the great things that can happen on the internet is meeting people that have common interests that you would otherwise not run into in the normal course of life. There have been a number of people I have met this way that I now keep in contact with and one of them is Stefan Didak. We met up along with our wives in Southern California in 2011 and had a great time!

If you don't know who he is, you might recognize him from his home office. As a fellow home office aficionado, it's always fun to look at all the tech gear. (Yes, obviously I enjoy tech hardware and home office layouts.) This picture from his site gives some idea of how expansive the layout is.

The newest iteration is now at 7.0 and is very impressive. As I am designing my new home office and studio space, it is very interesting to look at his whole design and assembly process.

The hardest part of the office design for me is choosing the right desk and desk layout. In particular, I have hesitated to buy an expensive desk since I tend to change things around frequently or, in the case of moves, change is required. It's great to see a really good layout for lots of systems and monitors and it gives me great ideas for how to better design my own space.

You'll find the main office pictures at Stefan Didak's Home Office page and the assembly at the Home Office Version 7 Setup Making Of page. Both are definitely worth a look and a bookmark!

Downloading YouTube Videos with OpenBSD or Similar

From time to time, it is nice to be able to download a YouTube video for offline viewing. There are commercial tools to do this but I always tend to avoid those. Last week I discovered the tool I have wanted for years. I'm probably the last one to know about this but here it is.

The tool is called youtube-dl and simply takes the YouTube URL and downloads the best quality available. It is hard to beat that. I have now downloaded a variety of BSD videos that I want to watch at my convenience or while traveling. (The bsdconferences YouTube Channel is a great place to start.) There are, of course, many other command line options that I have yet to explore.

Fortunately, youtube-dl is available in OpenBSD Ports as well as MacPorts and Homebrew

If you have issues downloading videos, enclose the video URL inside quotes. This seems to be more necessary with some operating systems (probably due to different shells) than others. I had no trouble with the ksh(1) shell in OpenBSD but tcsh(1) in FreeBSD was problematic without quotes.

HP Chromebook 11 with ARM and IPS

Update: The HP Chromebook 11 has been voluntarily removed from sale while HP and Google are investigating an overheating charger problem. The units still work fine but it is recommended that you use a different USB charger. The details are available in an HP blog post.

The HP Chromebook 11 has arrived with many similarities to Samsung's ARM-based Chromebook. What the HP variety adds is an IPS display and what appears to be a higher quality casing. There are some additional accent colors and a clean exterior. The full spectrum of wireless connectivity is available with 802.11a/b/g/n and Bluetooth 4.0 and Verizon 4G LTE will be available in a future version as well.

Read more

Adjusting Constrast and White Balance for ThinkPad X1 Carbon in OpenBSD

I purchased a Lenovo ThinkPad X1 Carbon recently and I immediately noticed that the screen's contrast and white balance were not very accurate at all. This system does not have and excellent IPS screen like the ThinkPad X230 but it does have a slightly higher resolution TN display at 1600x900 instead of 1366x768. I wondered how I might solve this problem on OpenBSD. A few searches and I found the answer.

Read more

Netflix now Working on ARM Chromebook

In a move that I hope is a sign of things to come, Netflix has added a special HTML5 interface to its streaming video survice to support Samsung's ARM-based Chromebook (per Engadget). I hope this is the writing on the wall for Netflix' use of Silverlight but time will tell. This move could also open the door to being able to use Netflix on various Linux flavors and other operating systems like FreeBSD or OpenBSD using Chromium.

Read more

"Why don't MacBooks come with cellular networking?"

Marco Arment made some excellent comments as to why Apple is not including any sort of cellular data connectivity in any of the MacBook lines. This is one of the only major things lacking from Apple's laptop lines.

With LTE, you can burn through a 5 GB data cap in an hour if you’re downloading big video files, and it would be easy to burn through the cap in just a few days if you’re streaming HD video — which, in 2013, is commonplace.

Back in January, I had some major problems with my Verizon FiOS business connection where only the Verizon-provided ActionTec router would work. The rest of the details are for another post but I ended up using my Verizon 4G LTE USB data card as a stopgap until Verizon could do a truck roll. I only had the 4G LTE USB data card and router as our connection for about 36 hours and many of those hours were while we were sleeping. Using YouTube and a little bit of Netflix from our Apple TV units during that time we easily burned through 8GB of data. I had to upgrade our Share Everything plan with another 2GB so we didn't go over that month.

I have been using 3G EV-DO since around 2005 just like Marco. The advent of 4G LTE has really transformed the way I use cellular data. I would absolutely love to have it built-in to a MacBook of any sort. As it is, I currently either have some sort of router in the car, occasionally use a MiFi device, or tether (actually using Personal Hotspot via WiFi for the most part) to one of our 4G LTE iPads. Marco also makes some good suggestions about what could be done.

To start, Apple could just put cellular-connection detection and responsible-usage logic into iTunes and Software Update. That would be sufficient to launch with new 4G MacBook models at WWDC, then they could have a session on the new API and start enforcing responsible practices in the Mac App Store. Along with maybe working something out with Netflix, they’ll have addressed the biggest accidental bandwidth hogs that most people will face.

It would be very disturbing to have the latest HD TV show episode, which easily tops 1.5GB, download in the background. Unlike with 3G, you might not even notice because 4G LTE is so fast. As Marco points out, it would also be essential to disable automatic software update downloading. As a technical professional, I would be willing to deal with these issues manually but most consumers would not want to be bothered and would not have any idea there would even be an issue until they started receiving data usage alerts or, even worse, a massive cell phone bill.

Built-in cellular connectivity in laptops is also mostly aimed at business users except in the case of the various Chromebook models. The Chromebook is unique in that everything is web-based and not very much data is transferred except for streaming media. Apple may not be including cellular data because of the focus on consumers rather than business users. In any case, I think Apple needs to create a new API for OS X as Marco suggested sooner rather than later. Apple can obviously implement 4G LTE cellular data just fine in the iPhone and iPad lines so I hope the MacBook lines are the next frontier. The next generation MacBook Air seems like the perfect candidate to me.