Skip to content

[BUG] Inactive instances add load to active instances #560

@emkayg

Description

@emkayg

Description

Instantiated but inactive instances add signifcant load beyond their static load once a single track with NAM is armed. This is in Reaper in my case.

To reproduce

  • create a track with NAM
  • observe cpu load
  • arm track
  • observe cpu load
  • disarm track
  • create several more instances
  • observe cpu load
  • arm single track
  • observe cpu load

Expected behavior

Arming a single track should be mostly the same whether other instances are instantiated or not. Instead, each instance adds a significant amount to the load of a single active instance. This quickly escalates to bringing down the system with several instances in a session.

Computer & other info

(please provide the following information):

  • Windows 11
  • Onboard graphics & version
  • Plugin version 0.7.13
  • VST3
  • Reaper
  • RME ASIO of any other audio driver
  • Sample rate 44.1 kHz
  • Buffer size all

further description and comments

  1. it seems like instantiated instances increase rt useage even when no audio processes pass through them and stopped.
  2. this gets worse when you record enable a track. Which is the main point of this report. Rephrased: It seems every OTHER track adds to the this single track load. For example, a single NAM record enabled track uses 10 percent, but for every additional silent NAM instance, the load jumps by an additional 3 percent when that one track is record enabled. So if there were 4 other instances with no audio passing through then, the total useage would be 24 percent. This is in addition to their static load in my previous point.

Somehow, each NAM instance (whether processing audio or not) adds a load to instances that are processing. Why is there this dependent behaviour. It is much more than the sum of individual elements and increases exponentially.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:lowLow priority issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions