LMMS / LMMS/lmms

High CPU utilization with 20+ tracks

Open
#1,916 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug performance
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

I know Zyn is big and having 25 instances makes an impact, but hey - there are only 4-5 of them playing simultaneously at all times - why do the rest drains my CPU time when they are not used?

It feels like every new instance of ZynAddSubFX adds some CPU drain even when it's not playing any notes. I wonder if it's really ZynAddSubFX responsible the performance impact or is it LMMS.

I wonder if something could be done about this.

The project I've expirienced this issue in is here:
https://lmms.io/lsp/?action=show&file=6599

Let me know if you experience this performance impact too.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Start by loading the linked LMMS project with 20+ ZynAddSubFX instances and compare CPU usage while only 4–5 instances play, then determine whether the overhead comes from LMMS or ZynAddSubFX. Done means the source of idle-instance CPU consumption is identified and a reproducible result is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
audio-video-rtc, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.