Skip to main content

Who is this article for?

Code42 for Enterprise
CrashPlan for Small Business

Code42 for Enterprise, yes.

CrashPlan for Small Business, yes.

This article applies to Code42 cloud environments.

Other available versions:

On-premisesLink: What version am I on?

HOME
GETTING STARTED
RELEASE NOTES
FAQS
SYSTEM STATUS
Code42 Support

Configure CPU usage in the Code42 console

Overview

You can change CPU usage settings in the Code42 console to specify the maximum amount of CPU processing time to be allocated for backup in the Code42 app, or for file metadata collection (Code42 for Enterprise only). You can set CPU usage for when users are present at their devices or away from their devices. This article explains the CPU settings and how to configure them.

Considerations 

Steps

Code42 for Enterprise

  1. Sign in to the Code42 console.
  2. In the left navigation menu, select Organizations > Active.
  3. Select the organization for which you want to change CPU usage.
  4. From the action menu in the upper-right corner, select Device Backup Defaults.
    The General tab appears. 
    Enterprise CPU usage settings.
  5. If selected, deselect Use device defaults from parent.
  6. Change the following CPU usage settings:
    • When user is away, use up to
      Enter the maximum percentage of CPU time to devote to Code42 app processes when users are not actively using their devices.
    • When user is present, use up to
      Enter the maximum percentage of CPU time to devote to Code42 app processes when users are actively using their devices.
  7. Choose to apply the CPU usage settings to devices in this organization for:
    • Backup processes only (recommended)
      Applies the CPU settings only to backup activity. 
    • Backup and security processes
      Applies the CPU settings to both backup activity and to file metadata collection.
      Only recommended in specific situations. See the CPU settings for File Metadata Collection section below for more details.
  8. Push or lock the setting:
    • Push Push button
      Send the settings to devices in the organization, but still allow users to change the settings in the Code42 app.
    • Lock Lock button
      Send the settings to devices in the organization, and lock the settings so that users are unable to change them in the Code42 app.
  9. Select Save.

CrashPlan for Small Business

  1. Sign in to the Code42 console.
  2. In the left navigation menu, select Settings > Device Backup.
    The General tab appears.
    Small Business CPU usage settings.
  3. In the General tab, change the following CPU usage settings:
    • When user is away, use up to
      Enter the maximum percentage of CPU time to devote to Code42 app processes when users are not actively using their devices.
    • When user is present, use up to
      Enter the maximum percentage of CPU time to devote to Code42 app processes when users are actively using their devices.
  4. Select Push Push button to send the settings to devices.
    Users can still change the settings in the Code42 app.
  5. Select Save.

About CPU usage settings

Administrators can configure CPU usage in the General tab of the device backup default settings of the Code42 console with these settings:

  • When user is away, use up to __ % CPU
  • When user is present, use up to __ % CPU 

Setting When user is away to a higher setting than When user is present balances CPU usage so that more CPU processing time is dedicated to Code42 app requests when users are away from their devices than when users are using their devices.

Why the settings do not match CPU usage shown in devices

CPU settings apply to the amount of CPU processing time dedicated to Code42 app work, not to total CPU processing capacity. Therefore, while % CPU may be set at 20, for example, a system monitor may show that 70% of CPU capacity is used for the Code42 app at a particular point in time. 

The processing time of the CPU is measured in instruction cycles. When you set the maximum percent CPU for the Code42 app to use, you are specifying that the Code42 app is allowed use as much of the CPU capacity as it needs for up to X% of the available cycles. For example, if When user is present, use up to is set at 20 % CPU, the Code42 app can use the CPU up to 100% capacity, but only up to 20% of the time it sends requests to the CPU. The remaining 80% of the time, other process requests use the CPU. This allows the Code42 app to work as efficiently as possible when it requests CPU resources, but limits the amount of time it ties up the CPU. 

If you set the maximum allowed percentage of CPU time to 100%, the Code42 app can use all the CPU capacity for 100% of the time it sends requests. Other processes can still make requests and have them processed by the CPU when it has available instruction cycles, it's just that the Code42 app is allowed to use up to 100% of the available instruction cycles when it requests them. 

CPU settings for File Metadata Collection

(Code42 for Enterprise only)

If your product plan includes file metadata collection, the Apply CPU settings option allows you to choose:

  • Backup processes only (recommended)
  • Backup and security processes

We recommend you choose Backup processes only (recommended), because applying CPU limits to security processes may reduce the effectiveness of some Code42 monitoring features. 

In limited situations, however, you may want to apply the CPU settings to Backup and security processes to limit file metadata collection. For example, this can help manage the CPU impact during the initial File Metadata Collection scan. 

Troubleshooting the initial file metadata collection scan

When you first enable File Metadata Collection, a large amount of file metadata is collected in the initial scan. As a result, user devices might temporarily use a high percentage of CPU resources.

To reduce CPU usage impact from the initial file metadata collection scan:

  1. Follow the steps above to edit CPU settings. Next to Apply CPU settings to, select Backup and security processes.
  2. Once all the devices in an organization have completed the initial File Metadata Collection scan, we recommend changing the CPU limits for the organization to Backup processes only (recommended). This setting increases the effectiveness of ongoing security monitoring.
Minimum recommended settings
If you are deploying to devices with limited processing power or need to minimize user impact, follow the steps above to adjust the When user is away, use up to setting to 50% and the When user is present, use up to setting to 20%.

Also keep in mind that as described above, the Task Manager/Activity Monitor on a device may occasionally report the Code42 app is using a higher percentage of CPU than your defined setting. For example, if the CPU limit is 20%, the Code42 app can use up to 100% of the CPU 20% of the time.

External Resources

Wikipedia: Instruction cycle

  • Was this article helpful?