Set # of CPU cores

Having trouble with LMMS? Ask about it here.
Hello,

LMMS hangs every 5 or so minutes when changing windows or doing automation so I figured changing the # of CPU cores LMMS has access to would fix the problem. However, I can't seem to find the option in the settings menu - it is not under performance like it is in the screenshot on this wiki page (under performance settings).

The page: http://lmms.sourceforge.net/wiki/index. ... S_Settings

I am using the git version of LMMS found in the CCR. I am using Chakra Linux.

Any idea what is causing the hangs / how I can change the # of CPU cores LMMS can use?

Regards,
Matt.
I am using the git version of LMMS found in the CCR.
-but what version? That is important in respect to:
mtbrookse33 wrote: LMMS hangs every 5 or so minutes when changing windows or doing automation so
v12 and 13 had a bad glitch in the auto-update. You can find a lot on this issue, if you search
When v14 rc1 was released, this auto-save was made optional!
Since the piking is every 5 or so -i suspect that it is auto-save/update, that kicks in
You cant do anything to that in ver < 14, and thats only a rc version. It is up to you if you want to use rc1 for production.
B.r.
I couldn't say exactly what version I'm on right now because I'm not near my comouter, but I can say that it also happened with the stable version in the Chakra repos. I thought going to git would fix it.

Also, LMMS freezes for a few minutes sometimes when I scroll down in the main track window or the beat and bassline editor.

Do you still think this is an issue with the version?
Here's a piece of software to limit the cpu usage of a process.
http://www.cyberciti.biz/faq/cpu-usage- ... for-linux/

Ps. I have't tried it.
Would that make LMMS not freeze? I fell like it would do the opposite.
mtbrookse33 wrote:Would that make LMMS not freeze? I fell like it would do the opposite.
Maybe. On my laptop I have Mint (ubuntu 10.10) and LMMS will use all cores without me telling it to.

From the project homepage:
http://cpulimit.sourceforge.net/
If your machine has one processor you can limit the percentage from 0% to 100%, which means that if you set for example 50%, your process cannot use more than 500 ms of cpu time for each second. But if your machine has four processors, percentage may vary from 0% to 400%, so setting the limit to 200% means to use no more than half of the available power. In any case, the percentage is the same of what you see when you run top.
Interesting, thanks for the help. I just ran whats below and will report on the behavior of LMMS in a little while.

Code: Select all

sudo cpulimit -l 50 -p <(PID found with pgrep lmms)>
EDIT:

This made lmms unusable.. sound was very distorted with popping. Popping immediately resolved after exiting the cpulimit process
mtbrookse33 wrote:Interesting, thanks for the help. I just ran whats below and will report on the behavior of LMMS in a little while.

Code: Select all

sudo cpulimit -l 50 -p <(PID found with pgrep lmms)>
EDIT:

This made lmms unusable.. sound was very distorted with popping. Popping immediately resolved after exiting the cpulimit process
Realized that you were saying that if I had 4 cores I should use 200 instead of 50, or whatever applies to me specifically, so I ran cpulimit again like so:

Code: Select all

sudo cpulimit -l 200 -p <(PID found with pgrep lmms)>
Now there is no popping sound, but the freezing persists. Seems to freeze when doing things like saving, exporting, scrolling through large track/instrument views, loading Zynaddsubfx, etc.
mtbrookse33 wrote:I
Do you still think this is an issue with the version?
no, it looks like something not working :/
How about the buffer-setting, have you tweaked with that?

Is it only lmms that works sub-optimal on your pc?
How does other sound programs work -like vstHost (if you have it..)

But this is not simple to solve, im afraid