The purpose of plug-in load balancing is to prevent audio dropouts caused by high effect processing loads.When using multi-core CPU processors, Cakewalk allows you to increase the number of plug-ins you can use in a project by distributing the processing across multiple cores. The biggest benefit will be seen on systems with 4 or more physical cores.A project’s biggest processing load is normally attributed to plug-in processing, which can lead to CPU spikes, inefficient load balancing among the cores on a multi-core PC, and audio dropouts.Cakewalk’s plug-In load balancing exploits the full power of multi-core CPUs to balance DSP workloads across multiple cores when possible. This can lead to better CPU loading and fewer spikes in the audio engine.
To enable/disable plug-in load balancing, go to Edit > Preferences > Audio - Playback and Recording and select Plug-In Load Balancing. This option is only available if Use Multiprocessing Engine is enabled.When enabled, Cakewalk will attempt to load balance FX Racks that contain two or more unbypassed plug-in effects, including track FX Racks, bus FX Racks, clip FX Racks, FX Chains, ProChannel FX Racks, and ProChannel FX Chains.Enabling Plug-In Load Balancing does not introduce any latency.To determine if a project will benefit from plug-in load balancing, first check the Control Bar’s Performance module to see if any cores are spiking. The Performance module lets you monitor the activity of each CPU core. For details, see Performance module.
Note: The Control Bar’s Performance module can display several different CPU meter modes. To display a meter for each core, right-click the Performance module, point to CPU Meter Display Options, then select Audio Processing Load.Enable Plug-In Load Balancing if:
Load balancing itself incurs some overhead since internally it subdivides and processes the plug-ins at smaller buffer sizes. If the loads are not unbalanced to start with, this overhead can exceed the benefit.There will likely not be any benefit from enabling Plug-In Load Balancing in the following cases:
The project uses a low Mixing Latency Buffer Size setting (<256 samples) in Edit > Preferences > Audio - Driver Settings.It is important to understand the impact load balancing has on CPU load. Load balancing reduces processing time but potentially at the cost of increased CPU use. When enabled, Cakewalk attempts to share processing load of all plug-ins in FX Racks by distributing the load among the available cores.Consider the following FX Rack chain with four plug-ins of different processing loads, and FX2 being the most expensive:In this example, FX2 becomes the bottleneck in the processing, since the downstream plug-ins have to wait for its processing to finish. When Plug-in Load Balancing is enabled, Cakewalk optimizes this chain, by subdividing the workload and scheduling processing the plug-ins in parallel to distribute the load across multiple cores when possible:By default, if the Mixing Latency Buffer Size setting in Edit > Preferences > Audio - Driver Settings is < 256 samples, it is too low for load balancing because the buffers cannot be subdivided further. This is equivalent to Plug-in Load Balancing being disabled for all FX Racks. This threshold can be tweaked by changing the MinPluginLoadBalancingBufferSamples variable in Aud.ini, which controls the size of the smallest internal buffer subdivision that may be used for plug-in load balancing. The minimum value is 32 samples and the max is 256. The default value is 128 samples. Lowering the value will make load balancing more aggressive and consume more CPU for processing, but normally there should be no need to adjust this value.The MinPluginLoadBalancingBufferSamples setting should not be confused with the Mixing Latency Buffer Size setting. Load balancing subdivides the audio buffer into multiple smaller buffers depending on the number of plug-ins in the FX Rack. If the Mixing Latency Buffer Size value is smaller than MinPluginLoadBalancingBufferSamples × 2 samples, then load balancing has no effect.To specify the size of the smallest internal buffer subdivision that may be used for plug-in load balancing:
1. Go to Edit > Preferences > Audio - Configuration File.
2. Under Configuration Settings, click Edit Config File.The Aud.ini file opens in the default Windows text editor.
3. In Aud.ini, add a new entry called MinPluginLoadBalancingBufferSamples in the [Wave] section, and set its value to the minimum desired buffer sample value. For example:
4. Save Aud.ini and close the Windows text editor.
5. Click Reload Config Settings to reload the current audio configuration settings from Aud.ini.
Tip - Searching Documentation
Tip: To search for a specific topic, type your search query in the Search Cakewalk.com field at the top right of this page.
When the search results appear, click which product's documentation you would like to search to filter the search results further.
Note - Using Offline Help
Note: If you prefer to always use offline Help, go to Edit > Preferences > File > Advanced in your Cakewalk software and select Always Use Offline Help.
If you are not connected to the internet, your Cakewalk software will default to showing offline help until an internet connection becomes available.