{"id":13872,"date":"2016-03-16T10:13:40","date_gmt":"2016-03-16T14:13:40","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=13872"},"modified":"2017-10-13T15:57:55","modified_gmt":"2017-10-13T19:57:55","slug":"massively-speed-up-time-machine-backups","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2016\/03\/16\/massively-speed-up-time-machine-backups\/","title":{"rendered":"Massively Speed Up Time Machine Backups"},"content":{"rendered":"<p><a href=\"http:\/\/www.mackungfu.org\/massively-speed-up-time-capsule-time-machine-backups\">Keir Thomas<\/a>:<\/p>\n<blockquote cite=\"http:\/\/www.mackungfu.org\/massively-speed-up-time-capsule-time-machine-backups\">\n<p>Open a Terminal window, which you&rsquo;ll find in the Utilities folder within the Applications list, and paste in the following, typing your login password when prompted:<\/p>\n<pre>sudo sysctl debug.lowpri_throttle_enabled=0<\/pre>\n<p>This command prevents Time Machine&rsquo;s backup process assuming a low CPU priority, allowing backups to complete insanely quickly. In fact, you&rsquo;ll see MB and GBs tick past on the Time Capsule progress display in a second-by-second fashion (provided your Mac isn&rsquo;t very busy with some other task).<\/p>\n<p>Alas, this command is forgotten when you reboot.<\/p>\n<\/blockquote>\n<p>I suppose it&rsquo;s a feature that Time Machine runs at a low priority by default, but this makes it much slower than other backup methods. Sometimes you&rsquo;re waiting for it to finish and just want it to go faster. And with SSDs, running a backup doesn&rsquo;t slow down the rest of the system as much, anyway.<\/p>\n<p>Update (2016-03-16): <a href=\"https:\/\/twitter.com\/ameaijou\/status\/710169759673765888\">Gwynne<\/a> <a href=\"https:\/\/twitter.com\/ameaijou\/status\/710169910903578624\">Raskind<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/ameaijou\/status\/710169759673765888\"><p>Make it stick with <code>echo 'debug.lowpri_throttle_enabled=0' | sudo tee -a \/etc\/sysctl.conf<\/code> (SIP-safe).<\/p><\/blockquote>\n<blockquote cite=\"https:\/\/twitter.com\/ameaijou\/status\/710169910903578624\"><p>(however, I agree with the comments which suggest it&rsquo;s questionable to do this on a global basis)<\/p><\/blockquote>\n<p>Update (2016-03-17): <a href=\"https:\/\/twitter.com\/rosyna\/status\/710637835997478912\">Rosyna<\/a> <a href=\"https:\/\/twitter.com\/rosyna\/status\/710638273421443073\">Keller<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/rosyna\/status\/710637835997478912\"><p>CPU isn&rsquo;t throttled. The bottleneck is disk I\/O. (lowpri_throttle_enabled is an I\/O throttle, not a CPU throttle)<\/p><\/blockquote>\n<blockquote cite=\"https:\/\/twitter.com\/rosyna\/status\/710638273421443073\"><p>You can independently confirm it&rsquo;s an I\/O throttle by looking at the <a href=\"http:\/\/www.opensource.apple.com\/source\/xnu\/xnu-2422.1.72\/bsd\/miscfs\/specfs\/spec_vnops.c?txt\">source<\/a> that uses it.<\/p><\/blockquote>\n<blockquote cite=\"https:\/\/twitter.com\/rosyna\/status\/710638831926575104\"><p>There are even different throttles used depending on if the device is seen as an SSD or not an SSD by the system!<\/p><\/blockquote>\n<blockquote cite=\"https:\/\/twitter.com\/rosyna\/status\/710640654418898945\"><p>OS X detects drives in most USB\/FireWire enclosures as non-SSD, even if they are SSDs<\/p><\/blockquote>\n<p>Update (2016-03-18): <a href=\"http:\/\/www.openradar.me\/radar?id=5531915629101056\">Daniel Jalkut<\/a>:<\/p>\n<blockquote cite=\"http:\/\/www.openradar.me\/radar?id=5531915629101056\"><p>As an experiment I disabled the low priority support as outlined in the post, and was curious to know whether it would affect the massive performance problems I suffer when browsing Time Machine history from my OS X Server hosted network backup volume.<\/p>\n<p>It did seem to massively improve that experience.<\/p>\n<p>[&#8230;]<\/p>\n<p>If indeed I\/O priority is throttled for Time Machine, please consider disabling that throttle or raising the priority <em>while browsing backups<\/em>. In this modal state it would seem like a reasonable thing to consume more of the computer&rsquo;s I\/O capacity in the name of providing a more responsive user experience.<\/p><\/blockquote>\n<p>Update (2017-10-13): <a href=\"https:\/\/www.stclairsoft.com\/blog\/2017\/10\/13\/app-tamer-2-3-3-speed-up-time-machine-adjust-process-priorities-and-more\/\">St. Clair Software<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.stclairsoft.com\/blog\/2017\/10\/13\/app-tamer-2-3-3-speed-up-time-machine-adjust-process-priorities-and-more\/\">\n<p>App Tamer 2.3.3 is now available &#x2013; it&rsquo;s a free update for App Tamer 2 users, and a $7.95 upgrade for version 1.x users.<\/p>\n<p>It adds a checkbox that speeds up Time Machine backups, something that&rsquo;s really helpful if you only plug in your backup drive occasionally, resulting in Time Machine needing to copy lots of data.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Keir Thomas: Open a Terminal window, which you&rsquo;ll find in the Utilities folder within the Applications list, and paste in the following, typing your login password when prompted: sudo sysctl debug.lowpri_throttle_enabled=0 This command prevents Time Machine&rsquo;s backup process assuming a low CPU priority, allowing backups to complete insanely quickly. In fact, you&rsquo;ll see MB and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[146,30,1199,216],"class_list":["post-13872","post","type-post","status-publish","format-standard","hentry","category-technology","tag-backup","tag-mac","tag-mac-os-x-10-11","tag-timemachine"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/13872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=13872"}],"version-history":[{"count":8,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/13872\/revisions"}],"predecessor-version":[{"id":19213,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/13872\/revisions\/19213"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=13872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=13872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=13872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}