62 points · by bensummers · 16y ago · 37 comments
TRIM is only enabled on the G2 Intel SSDs and newer competing models, the original G1 does not have the instruction.
Note, however, that files are decompressed on writes, so don't try it on anything large and frequently written to.
Don’t go with Apple’s factory-options for an SSD as they use slower Samsung drives and charge a premium for it which is unacceptable especially given how easy they are to replace.
Which I hope, if true, Apple will fix by adding high-end SSD options in the near future
I don't see Apple using any of the mediocre inconsistently-performing Taiwanese SSDs.
The point here is that in order to write a tiny bit of data, SSDs have to write to a larger portion of the drive (usually).
So reducing the # of tiny writes should lengthen the lifetime of the drive. It's theory, but the theory is sound enough to me to optimize for it if there's little or no downside to the optimizations.
Edit: though, as noted elsewhere, these drives will generally last more than long enough, so the effort is probably unnecessary.
From http://kerneltrap.org/node/14148 (which discusses relatime, a less-drastic version of noatime that keeps mutt working)
> Ingo Molnar stressed the significance of fixing this performance issue, "I cannot over-emphasize how much of a deal it is in practice. Atime updates are by far the biggest IO performance deficiency that Linux has today. Getting rid of atime updates would give us more everyday Linux performance than all the pagecache speedups of the past 10 years, _combined_."
> "It's also perhaps the most stupid Unix design idea of all times. Unix is really nice and well done, but think about this a bit: 'For every file that is read from the disk, lets do a ... write to the disk! And, for every file that is already cached and which we read from the cache ... do a write to the disk!'"
* noatime - which is a standard setting on Linux these days
* Remove the hibernate file - which is valid, if you know the tradeoffs. And the author does describe them sufficiently.
* Move temporary files to ramdisks - this is a pretty common speedup too. The controversial part is what to put in the ramdisk.
It is a lot of the same types (ramdrives, no hibernation) of changes but for windows users.
I think I want to replace my MacBook’s hard disk with an SSD, but I’m afraid of having to spend hours rigging out the best configuration. Do you have to play with settings if you order a Mac from Apple with an SSD pre-installed?
It seems like if I want to just plug an SSD in and get on with my life, I’ll have to wait for an OS X update. Unless this is all just PC-ricer talk that’s safe to ignore…
However, even degraded, write performance of a modern SSD will still make a hard drive look like yesterday's news - so honestly, I wouldn't even worry about it at all.
Sadly, recovering from a fragmented SSD on OSX right now involves opening the machine and booting linux. (I tried that, and it works: http://forums.macrumors.com/showthread.php?t=841182)
I replaced the mechanical harddisk in my MacMini with a SSD about a year ago. It broke down last week. I don't think OSX is to blame, since I put the same model SSD in my Windows and FreeBSD machines at the same time (the FreeBSD box is always on and pretty busy), and no problems there yet. Except for the 'noatime' I didn't take any special precautions.