什么是“ backupd”,为什么它在我的Mac上运行?

You notice a process named “backupd” while using Activity Monitor. What is this process, and why is it running on your Mac?

您在使用活动监视器时注意到一个名为“ backupd”的进程。 这个过程是什么,为什么要在Mac上运行?

This article is part of our ongoing series explaining various processes found in Activity Monitor, like kernel_task, hidd, mdsworker, installd, WindowServer, blued, launchd, and many others. Don’t know what those services are? Better start reading!

这篇文章是一部分我们正在进行一系列解释各种进程在活动监视器中发现,像kernel_taskhiddmdsworkerINSTALLDWindowServer发蓝launchd会 ,和其他许多人 。 不知道这些服务是什么? 最好开始阅读!

Daemons are processes that run in the background in macOS. The process backupd is the daemon that powers Time Machine—the best way to back up your Mac. The backupd daemon backs up your files every hour, meaning that when your Time Machine backup is running, you’ll notice backupd using up some CPU and memory. You may also noticed a related process in Activity Monitor named backupd-helper. This process helps connect your backup drive in time for your backups to run—particularly if the backup location is on the network.

守护程序是在macOS中在后台运行的进程。 备份的进程是为Time Machine提供支持的守护程序,这是备份Mac的最佳方法 。 backupd守护程序每隔一小时备份一次文件,这意味着在运行Time Machine备份时,您会注意到备份已占用一些CPU和内存。 您可能还会注意到活动监视器中的一个名为backupd-helper的相关过程。 此过程有助于及时连接备份驱动器,以使备份运行,尤其是在备份位置位于网络上时。

如何判断时间机器是否正在运行 (How to Tell If Time Machine Is Running)

If you see backupd taking up resources, Time Machine is probably doing something. You can confirm this by heading to System Preferences > Time Machine, where you can watch the progress of any current backups.

如果看到备份占用了资源,则Time Machine可能正在做某事。 您可以通过转到“系统偏好设置”>“ Time Machine”来确认这一点,在这里可以查看任何当前备份的进度。

If a backup is running, that’s why backupd is using resources. If you want a faster way to monitor things, you can enable the menu bar icon by checking the box at the bottom of the “Time Machine” window. You can then check what Time Machine is up to by clicking its icon on your menu bar.

如果正在运行备份,这就是为什么备份使用资源的原因。 如果您想以更快的方式监视事物,可以通过选中“ Time Machine”窗口底部的框来启用菜单栏图标。 然后,您可以通过单击菜单栏上的图标来检查Time Machine的功能。

In general, backupd shouldn’t slow down your system. By default, Time Machine is configured to throttle its resource usage so as not to interrupt what you’re doing.

通常,备份不会降低系统速度。 默认情况下,Time Machine配置为限制其资源使用,以免打扰您正在做的事情。

如果您执行命令以加速时间机器 (If You Ran a Command To Speed Up Time Machine)

If backupd is really using up a lot of processing power (to the point where it’s slowing things down), there’s a chance you had a hand at that. For years there have been articles explaining how to speed up Time Machine by running a particular command that removes throttling. This is possibly a good idea the first time you run Time Machine, because it can seriously speed up that initial backup, but it’s not a good idea to leave this on long term.

如果备份确实消耗了大量的处理能力(以至于使事情变慢),那么您很有可能会这样做。 多年来,已经有文章解释如何通过运行消除节流的特定命令来加快Time Machine速度 。 第一次运行Time Machine时,这可能是一个好主意,因为它可以大大加快初始备份的速度,但长期保留它不是一个好主意。

The command that speeds up your backups is as follows:

加快备份速度的命令如下:

sudo sysctl debug.lowpri_throttle_enabled=0

To undo this, run the following command:

要撤消此操作,请运行以下命令:

sudo sysctl debug.lowpri_throttle_enabled=1

This will re-enable the throttling, preventing Time Machine from slowing down your system.

这将重新启用节流功能,从而防止Time Machine减慢系统速度。

Photo Credit: Andrew Neel

照片来源: 安德鲁·尼尔

翻译自: https://www.howtogeek.com/320342/what-is-backupd-and-why-is-it-running-on-my-mac/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值