Always consult the official Owners Manuals first!
March 2024: all pages have been checked and are up-to-date

Difference between revisions of "CPU usage"

From Fractal Audio Wiki
Jump to navigation Jump to search
(41 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[image:Cpu2.jpg|link=|300px]]
 
 
 
__TOC__
 
__TOC__
  
Line 23: Line 21:
 
=What happens when the CPU limit is approached=
 
=What happens when the CPU limit is approached=
  
At about 90% on the processors, you'll approach the CPU limit of your processor. You may notice the GUI becoming very slow at that point, while that audio is still okay. That's because the audio signal gets the highest priority, above the GUI refresh rate.
+
When you approach the CPU limit of your processor, you’ll notice the GUI becoming very slow, while audio is still okay. That's because the audio signal gets the highest priority, above the GUI refresh rate.
  
 
When a preset requires too much CPU, audio starts too crackle and a warning message may appear. The GUI may prevent you from adding blocks at this point.
 
When a preset requires too much CPU, audio starts too crackle and a warning message may appear. The GUI may prevent you from adding blocks at this point.
  
<blockquote>“The audio processing is the highest priority thread. When there is time left the GUI thread is run. If CPU usage is high there simply isn't enough time to run the GUI at the normal refresh rate so the thread reduces the refresh rate.” </blockquote>
+
<blockquote>(Axe-Fx Standard/Ultra) “The audio processing is the highest priority thread. When there is time left the GUI thread is run. If CPU usage is high there simply isn't enough time to run the GUI at the normal refresh rate so the thread reduces the refresh rate.” [https://forum.fractalaudio.com/threads/interface-sluggish-when-cab-sims-active.29977/post-435201 source]</blockquote>
 +
 
 +
<blockquote>(Axe-Fx II) “The CPU simply monitors the time between frame interrupts and if it predicts it doesn't have enough cycles left to process the next effect in the grid it aborts and flashes a warning." [http://forum.fractalaudio.com/threads/cpu-at-overload.56751/#post-712983 source] </blockquote>
 +
 
 +
<blockquote>(Axe-Fx II) "Audio processing is the highest priority. Once you exceed 90% that remaining CPU is divided up between the display, expression pedals, MIDI, etc., etc. Something has to give." [http://forum.fractalaudio.com/threads/pedals-lagging-when-cpu-is-around-92.75320/#post-920394 source] </blockquote>
  
<blockquote>“The CPU simply monitors the time between frame interrupts and if it predicts it doesn't have enough cycles left to process the next effect in the grid it aborts and flashes a warning." [http://forum.fractalaudio.com/threads/cpu-at-overload.56751/#post-712983 source] </blockquote>
+
<blockquote>(Axe-Fx II) "The audio will always switch quickly. The display may take a while to switch since the audio processing takes priority. If CPU usage is high the display will take a little while to update." [http://forum.fractalaudio.com/threads/does-anyone-else-have-lag-when-preset-switching-18b.97242/#post-1167213 source] </blockquote>
  
<blockquote>"Audio processing is the highest priority. Once you exceed 90% that remaining CPU is divided up between the display, expression pedals, MIDI, etc., etc. Something has to give." [http://forum.fractalaudio.com/threads/pedals-lagging-when-cpu-is-around-92.75320/#post-920394 source] </blockquote>
+
<blockquote>(Axe-Fx II) "The LCD is low priority. If CPU usage is high then the screen refresh rate drops because priority is given to the audio threads." [http://forum.fractalaudio.com/threads/having-screen-issues.116120/#post-1388090 source] </blockquote>
  
<blockquote>"The audio will always switch quickly. The display may take a while to switch since the audio processing takes priority. If CPU usage is high the display will take a little while to update." [http://forum.fractalaudio.com/threads/does-anyone-else-have-lag-when-preset-switching-18b.97242/#post-1167213 source] </blockquote>
+
=CPU management=
  
<blockquote>"The LCD is low priority. If CPU usage is high then the screen refresh rate drops because priority is given to the audio threads." [http://forum.fractalaudio.com/threads/having-screen-issues.116120/#post-1388090 source] </blockquote>
+
==Axe-Fx III==
  
=CPU management in FM3=
+
CPU usage up to 80% is safe. Beyond that, the COPU meter on the hardware and in the editor will turn red as a warning.
  
<blockquote>"(subject to change) We dedicate a core to the Amp and to Reverbs." [https://forum.fractalaudio.com/threads/fm3-hot-questions-and-hopefully-answers.149968/page-5#post-1782385 source]</blockquote>
+
==FM3==
  
=CPU management in FX8 and AX8=
+
CPU usage up to 80% is safe. If CPU usage gets too high, the audio will be muted and a warning appears. If adding a block will get you in the danger zone, the FM3 will warn you.
 +
 
 +
The Delay blocks on the FM3 shares a core DSP with amp modeling.
 +
 
 +
==FX8 and AX8==
  
 
[[image:AX8.jpg|250px]] [[image:FX8-mk2-top.jpg|250px]]
 
[[image:AX8.jpg|250px]] [[image:FX8-mk2-top.jpg|250px]]
Line 55: Line 61:
 
Tip: when building presets, always add the most CPU-hungry effects first.
 
Tip: when building presets, always add the most CPU-hungry effects first.
  
<blockquote>"If I am reading these posts correctly, it sounds as though folks seem to think that an effects CPU usage is a static thing. That is, if I use a compressor in my preset it uses X% of the CPU. This is not actually how it works. CPU usage fluctuates as you use the device. That is, depending on what an effect is doing, or how it is configured, the CPU usage will vary dynamically. The AX8 monitors and manages the CPU usage. This is done for two reasons: (1) If CPU load gets too high, then the audio is effected (2) If CPU load gets too high, the front panel (footswitches primarily) is adversely effected. The performance of preset, scenes, effect bypass, etc. starts to become effected. A lot of development time has been put into reducing these effects, but it is impossible to eliminate them entirely. Rather than just allow the AX8 to behave in an undesirable fashion, the unit manages the CPU load by disabling effects. The biggest offenders are disabled first in an effort to reduce the number of disabled effects. This typically means the REVERB block is the first effect disabled. The trick is to build your presets in a manner in which this does not happen when you are playing live. In other words, test your presets out and give yourself some head room for last minute changes whenever possible." [http://forum.fractalaudio.com/threads/running-out-of-power-bug.116145/page-2#post-1388196 source] </blockquote>
+
<blockquote>(AX8) "If I am reading these posts correctly, it sounds as though folks seem to think that an effects CPU usage is a static thing. That is, if I use a compressor in my preset it uses X% of the CPU. This is not actually how it works. CPU usage fluctuates as you use the device. That is, depending on what an effect is doing, or how it is configured, the CPU usage will vary dynamically. The AX8 monitors and manages the CPU usage. This is done for two reasons: (1) If CPU load gets too high, then the audio is effected (2) If CPU load gets too high, the front panel (footswitches primarily) is adversely effected. The performance of preset, scenes, effect bypass, etc. starts to become effected. A lot of development time has been put into reducing these effects, but it is impossible to eliminate them entirely. Rather than just allow the AX8 to behave in an undesirable fashion, the unit manages the CPU load by disabling effects. The biggest offenders are disabled first in an effort to reduce the number of disabled effects. This typically means the REVERB block is the first effect disabled. The trick is to build your presets in a manner in which this does not happen when you are playing live. In other words, test your presets out and give yourself some head room for last minute changes whenever possible." [http://forum.fractalaudio.com/threads/running-out-of-power-bug.116145/page-2#post-1388196 source] </blockquote>
  
<blockquote>"Lots of different parameters, controllers, etc. can cause variation in your CPU utilization. Also, playing your guitar will bump your CPU as well. So, if you are looking at the utilization while your input is quiet, then you should plan on a 2% - 3% increase when you start playing. The cutoff for CPU is 90%. This cutoff prevents audio glitches, and provides enough CPU for low priority activities." [http://forum.fractalaudio.com/threads/ax8-cpu-limitation-amount.124809/#post-1484682 source]</blockquote>
+
<blockquote>(AX8) "Lots of different parameters, controllers, etc. can cause variation in your CPU utilization. Also, playing your guitar will bump your CPU as well. So, if you are looking at the utilization while your input is quiet, then you should plan on a 2% - 3% increase when you start playing. The cutoff for CPU is 90%. This cutoff prevents audio glitches, and provides enough CPU for low priority activities." [http://forum.fractalaudio.com/threads/ax8-cpu-limitation-amount.124809/#post-1484682 source]</blockquote>
  
 
=USB and CPU usage=
 
=USB and CPU usage=
Line 65: Line 71:
 
Connecting via USB will increase CPU utilization. This is by design. If a preset uses much CPU, you may run into CPU overload problems when connecting the hardware to a computer through USB. [http://forum.fractalaudio.com/threads/usb-connection-raises-preset-cpu-utilization-by-5.41013/#post-551466 source] [http://forum.fractalaudio.com/threads/global-cab-sim-and-cpu.40246/#post-573202 source]
 
Connecting via USB will increase CPU utilization. This is by design. If a preset uses much CPU, you may run into CPU overload problems when connecting the hardware to a computer through USB. [http://forum.fractalaudio.com/threads/usb-connection-raises-preset-cpu-utilization-by-5.41013/#post-551466 source] [http://forum.fractalaudio.com/threads/global-cab-sim-and-cpu.40246/#post-573202 source]
  
This does not apply to the Axe-Fx III, because USB is handled by a dedicated USB processor.
+
This does not apply to the Axe-Fx III or FM3, because USB traffic is handled by a dedicated USB processor.
  
<blockquote>The Axe-Fx III USB audio does not add CPU usage. It's handled by a separate processor. [http://forum.fractalaudio.com/threads/how-many-users-are-using-the-axe-iii-as-an-audio-interface.140900/#post-1669577 source]</blockquote>
+
<blockquote>“The Axe-Fx III USB audio does not add CPU usage. It's handled by a separate processor.[http://forum.fractalaudio.com/threads/how-many-users-are-using-the-axe-iii-as-an-audio-interface.140900/#post-1669577 source]</blockquote>
  
 
=CPU usage per block and effect type=
 
=CPU usage per block and effect type=
Line 74: Line 80:
 
* [http://forum.fractalaudio.com/threads/block-cpu-usage-values.138238 Block CPU usage values for the Axe-Fx III]
 
* [http://forum.fractalaudio.com/threads/block-cpu-usage-values.138238 Block CPU usage values for the Axe-Fx III]
 
* [http://forum.fractalaudio.com/threads/cpu-usage-chart.148274/#post-1753887 Roby Rocks' CPU usage chart for the AX8 (firmware 10.01):]
 
* [http://forum.fractalaudio.com/threads/cpu-usage-chart.148274/#post-1753887 Roby Rocks' CPU usage chart for the AX8 (firmware 10.01):]
 +
* [https://axefxtutorials.com/fm3/fm3-block-cpu-usage-estimates FM3 – Block CPU Usage Estimates]
 +
* [https://forum.fractalaudio.com/threads/chart-fm3-block-cpu-usage-estimates.159115/page-2#post-1903242 FM3 - Blocks sorted by CPU usage]
  
 
[[image:CPU_AX8.jpg|500px]]
 
[[image:CPU_AX8.jpg|500px]]
  
=How to decrease CPU usage=
+
=CPU usage management=
 +
 
 +
* '''Effect blocks''' — the number of effect blocks in the preset has a great impact on CPU usage. Note that a bypassed block uses the same CPU capacity as when engaged.
 +
* '''Amp block'''
 +
** adding a second Amp block in an Axe-Fx preset increases CPU usage slightly (one DSP is dedicated to Amp blocks).
 +
** using a Modifier on Input Drive uses a lot of CPU, because it'll constantly recalculating the network.
 +
** using OUT COMP and/or SPEAKER COMP increases CPU usage.
 +
* '''Cab block'''
 +
** switching a Cab block to Mono and/or another resolution decreases CPU usage.
 +
** when using more than one external IR in a mono rig: mix them into a single IR to avoid having to use a stereo Cab or two mono Cabs.
 +
** shorten an IR with the IR LENGTH parameter (Axe-Fx III only) to save CPU usage.
 +
** muting IRs decreases CPU usage.
 +
** disable Room Reverb for less CPU usage.
 +
** Preamp simulation uses more CPU in High Quality mode than in Economy mode.
 +
* '''Chorus''' — use less voices.
 +
* '''Compressor'''
 +
** Fast RMS detector type in the Studio Comp uses less CPU than the other types.
 +
** Pedal types use less CPU than others.
 +
* '''Controllers''' — reduce the number of attached controllers to save CPU.
 +
* '''Delay block''' — Diffusion values above zero will increase CPU usage.
 +
* '''Effect types''' — some effect types use more CPU than others. Example: Studio Compressor type versus Pedal, and Hall versus Spring Reverb.
 +
* '''Filter''' — use a lower Order and Q for less CPU usage.
 +
* '''Input''' — switching off the noise gate in Input decreases CPU usage.
 +
* '''Looper''' — disable the global Looper in the FX8 to save CPU.
 +
* '''Phaser''' — use less stages.
 +
* '''Pitch''' — the Pitch block in the FX8 and AX8 has an Economy mode that decreases CPU usage.
 +
* '''Plex Delay''' — use less delays to save CPU.
 +
* '''Reverb'''
 +
** High Quality uses more CPU than Normal Quality.
 +
** decrease CPU usage by decreasing Echo Density.
 +
* '''Shunts''' — minimizing shunt blocks decreases CPU usage. If you use parallel paths, try to merge the paths instead of routing them all the way to the end separately.
 +
* '''Synth''' — turn off voices which you don't use.
 +
* '''USB''' — connecting USB increases CPU usage (not on Axe-Fx III and FM3).
 +
* '''X/Y or channels''' — use these instead of two instances of an effect block to save CPU.
 +
 
 +
[https://forum.fractalaudio.com/threads/tips-for-taming-the-cpu.60723/ More tips from forum member Voes and others]
  
* The number of effect blocks in the preset has great impact on CPU usage. Be aware that a bypassed block uses the same CPU capacity as when engaged
+
[https://forum.fractalaudio.com/threads/wicked-wiki-3-decreasing-cpu-usage.49146/ Wicked Wiki article]
* Adding a second Amp block in an Axe-Fx preset increases CPU usage slightly (one DSP is always dedicated to Amp blocks)
 
* Attaching a controller to Input Drive in the Amp block may eat a lot of CPU. "If you attach a modifier to the Input Drive it is constantly recalculating the network which increases CPU usage."
 
* Switching off the noise gate in Input/Gate decreases CPU usage
 
* Minimizing shunt blocks decreases CPU usage. If you use parallel paths, try to merge the paths instead of routing them all the way to the end separately
 
* If you move an expression pedal, CPU usage will increase slightly because of MIDI traffic management
 
* OUT COMP and SPEAKER COMP in the Amp block will increase CPU usage
 
* Switching a Cab block to mono and/or another resolution saves CPU usage
 
* When using more than one external IR in a mono Axe-Fx or AX8 setup: mix them into a single IR to avoid having to use a stereo Cab or two mono Cabs
 
* Connecting USB increases CPU usage (not on Axe-Fx III)
 
* Some effect types within an effect block use more CPU than others. Example: Studio compressor versus Pedal compressor types, Hall reverb versus Spring Reverb
 
* Use X/Y or channels instead of two instances of an effect block to save CPU
 
* Reduce the number of controllers
 
* High Quality Reverb uses more CPU than Normal Quality
 
* Spring Reverb uses the least amount of CPU of the Reverb types
 
* Decrease CPU usage by decreasing Echo Density in the Reverb block
 
* The Fast RMS detector type in the Studio Comp uses less CPU than the other types
 
* Filter: use a lower Order and Q
 
* Multi Delay: use a different type
 
* Chorus: use less voices
 
* Phaser: use less stages
 
* Pitch: the Pitch block in the FX8 and AX8 has an Economy mode that decreases CPU usage
 
* FX8: disable the Looper
 
* Drive blocks: CPU usage is amplitude dependent, which means that adding a Drive block to a preset not only increases CPU usage, but CPU usage will also increase when playing the guitar (and more with two Drive blocks)
 
* Synth: turn off voices you don't use
 
* Cab (firmware Ares): muting IRs decreases CPU usage
 
* Cab: preamp simulation uses more CPU in High Quality mode than in Economy mode
 
* [http://forum.fractalaudio.com/axe-fx-ii-discussion/60723-tips-taming-cpu.html#post756543 More tips from forum member Voes and others]
 
* [http://forum.fractalaudio.com/axe-fx-ii-discussion/49146-wicked-wiki-3-decreasing-cpu-usage.html Wicked Wiki]
 
  
 
[[category:Axe-Fx2]]
 
[[category:Axe-Fx2]]
Line 115: Line 130:
 
[[category:FX8]]
 
[[category:FX8]]
 
[[category:Sounds]]
 
[[category:Sounds]]
[[category:Software]]
 
[[category:Remote]]
 

Revision as of 12:53, 27 April 2020

About CPU usage

A preset takes up CPU cycles (CPU is used here as a synonym to DSP). The amount depends on the number of blocks, effect settings, controllers, overhead and more. You can check the current CPU usage percentage on the hardware and in the software editor.

Due to the power of the different processors in the hardware, the Axe-Fx II has more CPU available in presets than the AX8 and FX8, while the Axe-Fx III has much more CPU available than the Axe-Fx II and the FM3.

Bypassing a block on the grid does NOT lower CPU usage. Switching a block between X/Y or changing channels may affect CPU usage, depending on the parameter values. Removing a block will decrease CPU usage.

There's a reason for the CPU ceiling and the way it works. Explanation

Even an empty preset uses CPU, depending on things such as the input noise gate settings and overhead.

“CPU usage number represents the amount of CPU dedicated to audio processing in real-time. We chose to display the actual limitation, rather than scale the number.” source

CPU usage is also covered in the Owners Manuals.

"Also on II the CPU usage increases when you play whereas on the III it more or less stays constant." source

What happens when the CPU limit is approached

When you approach the CPU limit of your processor, you’ll notice the GUI becoming very slow, while audio is still okay. That's because the audio signal gets the highest priority, above the GUI refresh rate.

When a preset requires too much CPU, audio starts too crackle and a warning message may appear. The GUI may prevent you from adding blocks at this point.

(Axe-Fx Standard/Ultra) “The audio processing is the highest priority thread. When there is time left the GUI thread is run. If CPU usage is high there simply isn't enough time to run the GUI at the normal refresh rate so the thread reduces the refresh rate.” source

(Axe-Fx II) “The CPU simply monitors the time between frame interrupts and if it predicts it doesn't have enough cycles left to process the next effect in the grid it aborts and flashes a warning." source

(Axe-Fx II) "Audio processing is the highest priority. Once you exceed 90% that remaining CPU is divided up between the display, expression pedals, MIDI, etc., etc. Something has to give." source

(Axe-Fx II) "The audio will always switch quickly. The display may take a while to switch since the audio processing takes priority. If CPU usage is high the display will take a little while to update." source

(Axe-Fx II) "The LCD is low priority. If CPU usage is high then the screen refresh rate drops because priority is given to the audio threads." source

CPU management

Axe-Fx III

CPU usage up to 80% is safe. Beyond that, the COPU meter on the hardware and in the editor will turn red as a warning.

FM3

CPU usage up to 80% is safe. If CPU usage gets too high, the audio will be muted and a warning appears. If adding a block will get you in the danger zone, the FM3 will warn you.

The Delay blocks on the FM3 shares a core DSP with amp modeling.

FX8 and AX8

AX8.jpg FX8-mk2-top.jpg

The AX8 and FX8 allow you to put blocks into the grid that will push utilization above 88% (when not playing). When taking overhead into account, the real CPU ceiling is 90% (sustained).

When CPU usage gets above 90%, the FX8 and AX8 will automatically disable blocks. The firmware will look for effects which are the biggest offenders, starting with the last edited one. If disabling the last edited one does not reduce the load enough, big offenders are next. Usually the Reverb block (especially when set to High Quality) is the first to go. Switching Reverb to Normal Quality may help to regain CPU power.

When an effect is automatically disabled, audio passes through as if it were a shunt. If it’s a block that is placed in a parallel row, this can cause a signal level issue.

Note about the Pitch block: the Pitch block in the AX8 and FX8 is very sensitive to CPU load, far before the CPU limit is reached. So try to keep CPU usage low (below 60 - 70%) when using pitch effects.

Tip: when building presets, always add the most CPU-hungry effects first.

(AX8) "If I am reading these posts correctly, it sounds as though folks seem to think that an effects CPU usage is a static thing. That is, if I use a compressor in my preset it uses X% of the CPU. This is not actually how it works. CPU usage fluctuates as you use the device. That is, depending on what an effect is doing, or how it is configured, the CPU usage will vary dynamically. The AX8 monitors and manages the CPU usage. This is done for two reasons: (1) If CPU load gets too high, then the audio is effected (2) If CPU load gets too high, the front panel (footswitches primarily) is adversely effected. The performance of preset, scenes, effect bypass, etc. starts to become effected. A lot of development time has been put into reducing these effects, but it is impossible to eliminate them entirely. Rather than just allow the AX8 to behave in an undesirable fashion, the unit manages the CPU load by disabling effects. The biggest offenders are disabled first in an effort to reduce the number of disabled effects. This typically means the REVERB block is the first effect disabled. The trick is to build your presets in a manner in which this does not happen when you are playing live. In other words, test your presets out and give yourself some head room for last minute changes whenever possible." source

(AX8) "Lots of different parameters, controllers, etc. can cause variation in your CPU utilization. Also, playing your guitar will bump your CPU as well. So, if you are looking at the utilization while your input is quiet, then you should plan on a 2% - 3% increase when you start playing. The cutoff for CPU is 90%. This cutoff prevents audio glitches, and provides enough CPU for low priority activities." source

USB and CPU usage

Usb.png

Connecting via USB will increase CPU utilization. This is by design. If a preset uses much CPU, you may run into CPU overload problems when connecting the hardware to a computer through USB. source source

This does not apply to the Axe-Fx III or FM3, because USB traffic is handled by a dedicated USB processor.

“The Axe-Fx III USB audio does not add CPU usage. It's handled by a separate processor.” source

CPU usage per block and effect type

CPU AX8.jpg

CPU usage management

  • Effect blocks — the number of effect blocks in the preset has a great impact on CPU usage. Note that a bypassed block uses the same CPU capacity as when engaged.
  • Amp block
    • adding a second Amp block in an Axe-Fx preset increases CPU usage slightly (one DSP is dedicated to Amp blocks).
    • using a Modifier on Input Drive uses a lot of CPU, because it'll constantly recalculating the network.
    • using OUT COMP and/or SPEAKER COMP increases CPU usage.
  • Cab block
    • switching a Cab block to Mono and/or another resolution decreases CPU usage.
    • when using more than one external IR in a mono rig: mix them into a single IR to avoid having to use a stereo Cab or two mono Cabs.
    • shorten an IR with the IR LENGTH parameter (Axe-Fx III only) to save CPU usage.
    • muting IRs decreases CPU usage.
    • disable Room Reverb for less CPU usage.
    • Preamp simulation uses more CPU in High Quality mode than in Economy mode.
  • Chorus — use less voices.
  • Compressor
    • Fast RMS detector type in the Studio Comp uses less CPU than the other types.
    • Pedal types use less CPU than others.
  • Controllers — reduce the number of attached controllers to save CPU.
  • Delay block — Diffusion values above zero will increase CPU usage.
  • Effect types — some effect types use more CPU than others. Example: Studio Compressor type versus Pedal, and Hall versus Spring Reverb.
  • Filter — use a lower Order and Q for less CPU usage.
  • Input — switching off the noise gate in Input decreases CPU usage.
  • Looper — disable the global Looper in the FX8 to save CPU.
  • Phaser — use less stages.
  • Pitch — the Pitch block in the FX8 and AX8 has an Economy mode that decreases CPU usage.
  • Plex Delay — use less delays to save CPU.
  • Reverb
    • High Quality uses more CPU than Normal Quality.
    • decrease CPU usage by decreasing Echo Density.
  • Shunts — minimizing shunt blocks decreases CPU usage. If you use parallel paths, try to merge the paths instead of routing them all the way to the end separately.
  • Synth — turn off voices which you don't use.
  • USB — connecting USB increases CPU usage (not on Axe-Fx III and FM3).
  • X/Y or channels — use these instead of two instances of an effect block to save CPU.

More tips from forum member Voes and others

Wicked Wiki article