Mac OS X SSD tweaks
blogs.nullvision.com
blogs.nullvision.com
TRIM is only enabled on the G2 Intel SSDs and newer competing models, the original G1 does not have the instruction.
The Intel GC algorithm was great. I would have preferred it if they had simply ignored all the 'power user' fanboys that constantly harp on about how it would somehow save the day. Let them buy other drives, and leave more for the rest of us.
I don't understand how running Win7 makes you a 'power user fanboy' as opposed to running OSX or Linux. Next time leave the second half of your comment off, and maybe provide some evidence for your first.
Note, however, that files are decompressed on writes, so don't try it on anything large and frequently written to.
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.
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.
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)
And 10X sounds high to me - what sort of benchmark are you running? Most of the benchmarks I've seen put the hit at around 20 - 30% in random writes...
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.