nog icon indicating copy to clipboard operation
nog copied to clipboard

high cpu consumption

Open archercreat opened this issue 2 years ago • 9 comments

Version (which release did you use?) Latest Describe the bug There seems to be 1 thread that constantly consumes 5% on my cpu Untitled

Steps to reproduce the behavior:

.\download_release.ps1 master-release
start-process $("$env:APPDATA\nog\bin\nog.exe")

Expected behavior Compared to other tilling managers for windows this should not be happening.

A clear and concise description of what you expected to happen.

Actual behavior

A clear and concise description of what you expected to happen.

archercreat avatar May 15 '22 15:05 archercreat

Is the cpu usage increasing over time?

TimUntersberger avatar May 15 '22 17:05 TimUntersberger

No, it stays 5% constantly. Looks like an infinite loop to me. I've made a simple program that also consumes 5% on my cpu.

int main(int argc, char** argv)
{
	volatile int i = 0;
	while (1) {
		i++;
	}
}

image

archercreat avatar May 16 '22 08:05 archercreat

Well nog is using an infinite loop. Did the cpu usage increase after a windows update or has it been the same for you?

TimUntersberger avatar May 16 '22 18:05 TimUntersberger

No, i've just tried it recently and thought it was unusual that 1 thread consumes all cpu time

archercreat avatar May 16 '22 19:05 archercreat

all cpu time

You mean 5% right?

TimUntersberger avatar May 17 '22 16:05 TimUntersberger

all cpu time

You mean 5% right?

Yea I’ve noticed it because cpu fans went crazy

archercreat avatar May 19 '22 14:05 archercreat

I have i9-10850K which has 10 cores 20 threads. So 5% cpu = 1 thread

archercreat avatar May 19 '22 14:05 archercreat

I have the same issue. Just downloaded nog, started it, activated work mode, fans spun up. It is unfortunately unusable in this state. From what I read, I really liked the minimal approach.

michaelrommel avatar Aug 22 '23 18:08 michaelrommel

I have the same issue. Just downloaded nog, started it, activated work mode, fans spun up. It is unfortunately unusable in this state. From what I read, I really liked the minimal approach.

Also had the same problem

GuiReboucas avatar Sep 22 '23 04:09 GuiReboucas