{"id":775,"date":"2009-04-08T08:15:40","date_gmt":"2009-04-08T12:15:40","guid":{"rendered":"http:\/\/www.schollnick.net\/wordpress\/?p=775"},"modified":"2009-04-08T08:15:40","modified_gmt":"2009-04-08T12:15:40","slug":"the-necessity-of-defragmentation-with-mac-os-x","status":"publish","type":"post","link":"http:\/\/www.schollnick.net\/wordpress\/2009\/04\/the-necessity-of-defragmentation-with-mac-os-x\/","title":{"rendered":"The Necessity of Defragmentation with Mac OS X?"},"content":{"rendered":"<p>Do you really need to defragment your hard drive with modern versions of Mac OS X (eg. 10.4 \/ 10.5)?<\/p>\n<p>The answer really, in most cases, is no. \u00c2\u00a0A simple reboot or logout \/ login may solve the problem with very little effort.\u00c2\u00a0 Apple has even written a tech note, specifically on this topic, <a href=\"http:\/\/support.apple.com\/kb\/HT1375\">see Tech Note # HT1375<\/a>.<\/p>\n<p>In summary, if you have a reasonable amount of free space on your hard drives, often Mac OS X&#8217;s efforts are enough to prevent fragmentation.\u00c2\u00a0 But here are a few tips based off that Tech Note:<\/p>\n<ol>\n<li>Always format your drives as Mac OS Extended (HFS Plus), if you do not need to share data with non-Macintosh systems.\u00c2\u00a0 HFS Plus attempts to avoid reusing space from deleted files, which helps reduce the amount of fragmentation.<\/li>\n<li>If you are running MOSX 10.2 or greater, the OS defaults to using delayed allocation, which also assists by taking groups of small allocations and writing them to a single large allocation in a empty section of the drive.<\/li>\n<li>MOSX 10.3 (Panther) and higher, use &#8220;Hot File Adaptive Clustering&#8221; to automatically defragment files that constantly being appended to.<\/li>\n<li>MOSX aggressively caches both hard drive reading (read-ahead) and writing (write-behind) which means that minor fragmentation has very little apparent effect on system performance.<\/li>\n<li>Do not use File vault if you are manipulating large files in your encrypted home folder.\u00c2\u00a0 <strong>This includes your desktop!!! <\/strong>Instead save the large files outside of your home directory&#8230;.<\/li>\n<li>Try to keep at least 15% of your hard drive space free.\u00c2\u00a0 For a 300 gigabyte hard drive that would work out to be 45 Gb free minimum.\u00c2\u00a0 This allows the OS to perform any clean up tasks it needs to, and gives it room to be able to automatically defragment files as it encounters them&#8230;<\/li>\n<\/ol>\n<p>This does not mean that MOSX can&#8217;t get into a state where the drive is fragmented&#8230;\u00c2\u00a0 So defragmentation tools can still help, but they may also hinder.\u00c2\u00a0 MOSX consists of a tremendous number of Small to medium size files, approx 72,000+ files, and defragmenting many of those rarely access files will take quite a bit of time for very little gain.<\/p>\n<p>Try either Logging Out and Logging back in, or rebooting.\u00c2\u00a0 Often slow system performance is caused by an application that has a memory leak, and Logging Out\/In or rebooting will force the majority of that memory to be released back to the OS.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you really need to defragment your hard drive with modern versions of Mac OS X (eg. 10.4 \/ 10.5)? The answer really, in most cases, is no. \u00c2\u00a0A simple reboot or logout \/ login may solve the problem with very little effort.\u00c2\u00a0 Apple has even written a tech note, specifically on this topic, see <a class=\"read-more\" href=\"http:\/\/www.schollnick.net\/wordpress\/2009\/04\/the-necessity-of-defragmentation-with-mac-os-x\/\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[12,5,25],"tags":[84],"_links":{"self":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts\/775"}],"collection":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/comments?post=775"}],"version-history":[{"count":0,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts\/775\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/media?parent=775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/categories?post=775"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/tags?post=775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->