|
|
#1 |
|
GUIDE: SSD Tweaking Guide
I am in the non-profit (lol) business to help as many MR members and visitors as possible. I have been taking my experience, research, free time, and documentation skills (I do a lot of documentation in the IT field) and put them to use by creating easy on the eyes, readable and helpful HOW TO GUIDES for the MR Community. Feel free to PM me directly or make a post to add contributions, update existing information, or remove any inaccuracies to this thread and I will update the thread to reflect the changes.
Source: Martin's Weekend Coding Credit: Martin's Weekend Coding DISCLAIMER: APPLY TWEAKS AT OWN RISK, IN NO EVENT WILL MACRUMORS.COM OR ORLANDOECH(.COM) BE LIABLE FOR ANY CONSEQUENTIAL DAMAGES IN CONNECTION, RELATED OR UNREALTED WITH APPLYING OR PERFORMING ANY OF THE “TWEAKS” REFERENCED IN THIS POST INCLUDING, BUT NOT LIMITED TO, LOSS OF DATA, DATA CORRUPTION, APPLICATION/PROGRAMS CORRUPTION, OPERATING SYSTEM CORRUPTION, OR HARDWARE FAILURE. CONTENTS
1. Use Trim Enabler [3rd Party SSD's only] NOTE: This IS NOT NEEDED for any OEM Apple SSDs in any iMac, Mac Mini, MacBook Pro Retina, MacBook Pro, MacBook Air. 2. Turn off local Time Machine snapshots [laptops only] If you are using the SSD in a laptop, and you turned the Time Machine backups on, you should know that OS X Lion does local snapshots at times when your Time Machine disk is not available. This is quite common – you are typically connecting your external TM disk only once in a while or you are using Time Capsule at home but take your laptop to the office every day for 8+ hours. You can confirm if the local TM backups are on by opening Time Machine Preferences: 3. Turn off hibernation [laptops only] - *UPDATED 01.16.2013 - Another feature of Mac OS turned on by default on laptops is, that it saves all the memory to disk when entering sleep mode. This is to ensure your laptop does not lose your work if it runs out of battery while “sleeping”. The more RAM you have, the more gigabytes it writes to the disk every time you close the lid/put it to sleep. I typically do this at least twice a day – when leaving the office and when going to sleep in the evening. If you are in a similar situation and you have 8GB of RAM, that means your MacBook writes 16 to 24 GB of hibernation data to your SSD every day. Here is how you can turn this off – it will not only make your SSD’s life longer, but also significantly speed up the time it takes for your laptop to enter the sleep mode: 4. Set noatime flag
5. Move user home directories to HDD [SSD+HDD only]
6. Use RAM disk or HDD for temporary files If you have enough RAM, you can dedicate (typically around 256 to 512 MB) of RAM to a RAM disk. RAM disk is a virtual disk that only resides in memory, so is suitable for storing data that need to live only until you shut down your computer. Temporary files are ideal for this. You can create a RAM disk during the boot time and redirect all the temporary files there. To do that, create a file named “MoveTempFoldersToRamDisk.sh” in your home directory and put the following content in: 7. Turn off sudden motion sensor [no HDD only]
8. Turn off hard drive sleep [no HDD only]
9. Misc Tweaks Disable waking up when LID opens Code:
sudo pmset lidwake 0 Code:
sudo pmset -a hibernatemode 0 Code:
sudo pmset -a sms 0 Code:
pmset -g Code:
defaults write com.apple.screencapture type jpg Code:
defaults write com.apple.screencapture location [path] Code:
sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo Time Code:
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true Code:
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
Code:
defaults write com.apple.dock enable-spring-load-actions-on-all-items -boolean YES Code:
defaults write com.apple.dock mouse-over-hilite-stack -boolean YES Code:
killall Dock 10. Benchmark Tools/Utilities - *UPDATED 01.22.2013 - 11. References The tweaks that I presented are the tweaks that I thought are worth applying. None of them really limits any features. There are other tweaks, which I did not want to apply as I would be giving up on some functionality (such as disabling the Spotlight) or I was not comfortable with (e.g. disabling the swap files). You can find these and more on the following web sites:
__________________
GUIDE: SSD Tweaking GUIDE: DIY Fusion Drive SSD Benchmark Comparison USB3 HDD vs SSD Last edited by Orlandoech.com; Jan 22, 2013 at 02:38 PM. |
|
|
|
8
|
|
|
#2 | |
|
Quote:
Normally modern SSDs have a theoretical write/read limit of 10,000 to 100,000 cycles (P/E cycles), meaning if you had a 64 GB SSD and its cycle limit would be 10,000, you would have to write 625 TB to it, which would be 351 GB per day everyday for the next five years. Assuming those numbers vary and it would only be a tenth of that, it would still mean 35 GB per day, which under normal usage no average computer consumer does, not even with temporary files.
__________________
This is not
|
||
|
|
1
|
|
|
#3 | |
|
Quote:
__________________
GUIDE: SSD Tweaking GUIDE: DIY Fusion Drive SSD Benchmark Comparison USB3 HDD vs SSD |
||
|
|
0
|
|
|
#4 |
|
Dont remove it. This is a great list, that informs, and allows users to make their own decision. Maybe just make a note of this discussion in the post.
Thanks for this list! This is great. This should become a sticky, maybe in the Macbook Air forum, since there are only SSD's there. |
|
|
|
0
|
|
|
#5 | |
|
Quote:
__________________
GUIDE: SSD Tweaking GUIDE: DIY Fusion Drive SSD Benchmark Comparison USB3 HDD vs SSD |
||
|
|
0
|
|
|
#6 | |
|
Quote:
|
||
|
|
0
|
|
|
#7 |
|
No, you dont need the app. Ill edit this section, thanks.
__________________
GUIDE: SSD Tweaking GUIDE: DIY Fusion Drive SSD Benchmark Comparison USB3 HDD vs SSD |
|
|
|
0
|
|
|
#8 |
|
Ups, sorry about that.
And another victory for anonymous message board discussion, yippie. Anyway, you could keep a benchmark section in order to test speeds of the SSD, if it works correctly and is not missing a firmware update (my Vertex 3 needed to be updated to be recognised at 3 Gbps Negotiated Link Speed on my 2009 MBP).
__________________
This is not
|
|
|
|
0
|
|
|
#9 | ||
|
Quote:
Quote:
__________________
GUIDE: SSD Tweaking GUIDE: DIY Fusion Drive SSD Benchmark Comparison USB3 HDD vs SSD |
|||
|
|
0
|
|
|
#10 |
|
EXCELLENT guide, thanks so much!
![]() That hibernation mode is helpful but annoying, so disabling it and running those Terminal commands freed up 15GB of space for me! FWIW, I have 16GB RAM in my laptop.
__________________
27" iMac 3.4GHz i7, 680MX 2GB, 32GB RAM, 3TB Fusion Drive ![]() 15" MacBook Pro Retina LSN, 2.7GHz i7, 16GB RAM, 768GB Flash 13" MacBook Pro 2.5GHz i5, 16GB RAM, 256GB SSD iPhone 5 VZW 64GB Black |
|
|
|
0
|
|
|
#11 | |
|
Quote:
A small nit-pic: The above link doesn't work for me... Tried to google it, nothing came up.
__________________
MBP9,2 (16GB RAM, 768GB SSD); iPhone4 16GB; iPad3 32GB |
||
|
|
0
|
|
|
#12 |
|
Guide guide! Definitely will use some of these tips in the near future.
|
|
|
|
0
|
|
|
#13 | |
|
Quote:
|
||
|
|
0
|
|
|
#14 |
|
excellent post, thanks! should be stickied-
|
|
|
|
0
|
|
|
#15 |
|
BTW, a huge thanks for #2: Turning off Time Machine local snapshots... I have recovered almost 80GB of space
__________________
MBP9,2 (16GB RAM, 768GB SSD); iPhone4 16GB; iPad3 32GB |
|
|
|
0
|
|
|
#16 |
|
So I have a 500GB Samsung 840 SSD which uses TLC nand which has a shorter life span than MLC nand.
That said, I also have 16GB of ram and I did notice a 16GB file on my SSD. So, using your instructions, I disabled hybernation to gain a longer life on my SSD. I probably will only keep/use this SSD for 2-3.5 years (if that) With all that said, do you think disabling hybernation is a good idea with 16Gb of ram and TLC SSD? Or since I dont plan on it lasting more than 5 years, will I be ok wth it on? Whats the disadvantage of disabling hybernation?
__________________
13" Macbook Pro (early '11)-2.3ghz Core i5-16GB Ram-500GB Samsung 840 SSD Apple iPad (3rd gen) 32Gb Wifi, Apple Airport Extreme, Magic Mouse, Apple bluetooth Keyboard, Apple TV (3rd Gen). |
|
|
|
0
|
|
|
#17 | |
|
Quote:
If you do not see this happening, then there is not discernible disadvantage. |
||
|
|
0
|
|
|
#18 |
|
Great list! Thanks!
I disabled hibernation and recovered nearly 16GB of precious space! |
|
|
|
0
|
|
|
#19 |
|
Just want to say thank you for a such good guidance.
|
|
|
|
0
|
|
|
#20 |
|
awesome. disabled hibernation as well and got back 16 gb!
I used to do this on my PC but wasn't aware that mac had it as well. thanks!
__________________
13" Mid 2012 MBP, 2.5 GHz, 16GB Ram, 500GB HD, 240GB Intel 330 SSD
|
|
|
|
0
|
|
|
#21 |
|
Great share, thanks
__________________
iMac 21.5" 500GB HD, 8GB DDR3, 3.06 GHZ C2D, Lion 10.7.5 16 GB Black iPhone 4 5.1.1
|
|
|
|
0
|
|
|
#22 |
|
hope this gets stickied
|
|
|
|
0
|
|
|
#23 |
|
BTW, how do you make this sleep hibernation stay off permanently so I don't have to input the command every time I restart?
|
|
|
|
0
|
|
|
#24 |
|
With modern SSD's you really don't need to be worried about 'wearing out' your SSD. So some of these are pointless - noatime, moving files to HDD, using a RAM disk...
But shutting hibernation off to save disk space isn't a bad idea. If I'm going to put my computer to sleep for a long period of time (12+ hours) I just turn it off - with an SSD you can boot back up in 15 seconds anyway. I also wouldn't shut off local time machine snapshots - they might save your life, or at least your work! |
|
|
|
0
|
|
|
#25 | |
|
Quote:
I disabled TM Local Snapsnots and turned off Hibernation because I do what Jesus does and I save often. I never leave un-saved work open, ever, so Im not worried.
__________________
GUIDE: SSD Tweaking GUIDE: DIY Fusion Drive SSD Benchmark Comparison USB3 HDD vs SSD Last edited by Orlandoech.com; Dec 12, 2012 at 09:54 AM. |
||
|
|
1
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 01:44 AM.














Linear Mode
