Slowing down Time Machine

Time Machine is great, especially if hooked up to a network storage device. However, lately the backups have been taking a lot of system and network resources, rendering the machine practically unusable while they run. Videos skip (esp. streaming ones), apps slow down, web browsing freezes...but since Time Machine runs in the background, it's OK to lower the backup daemon's priority and give other processes a "chance" to work smoothly. From the terminal, this is the command that does the trick:
sudo renice +5 -p `ps -axc | grep backupd | awk '{ print \$1 }'`
Here's what's going on: When you run this, the sudo part of the command will ask you for your admin password, then proceed to do it's thing. Put it all together and you've got yourself a simple way to slow down Time Machine so it's not such a CPU hog.
 
Remember, the renice command doesn't stick, so every time you reboot or a new Time Machine session starts, the process goes back to normal priority. There are ways to automate the priority lowering scheme or even make it permanent, but I don't recommend doing that as sometimes, you may want backups to run full-speed.
 
In order to slow it down to max slowness, use this:
sudo renice +20 -p `ps -axc | grep backupd | awk '{ print \$1 }'`

 

Speeding up Time Machine

Time Machine is not that great when it needs to do a large backup and appears to take forever. To remedy this, type the following command into terminal (you will be asked for your password):
 
sudo sysctl debug.lowpri_throttle_enabled=0
 
The reason for time machines backup being slow is that it defaults to a low priority mode. When you enter the command above it will increase the priority with the cost of using up more resources from your Mac. The benefit here is that the larger backup will go much faster which may be much better at the cost of some power savings.
 
To revert back to default after you're done, type this:
 
sudo sysctl debug.lowpri_throttle_enabled=1 Map