TimUntersberger / nog

A tiling window manager for Windows
MIT License
697 stars 20 forks source link

high cpu consumption #300

Open archercreat opened 2 years ago

archercreat commented 2 years ago

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.

TimUntersberger commented 2 years ago

Is the cpu usage increasing over time?

archercreat commented 2 years ago

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

TimUntersberger commented 2 years ago

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

archercreat commented 2 years ago

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

TimUntersberger commented 2 years ago

all cpu time

You mean 5% right?

archercreat commented 2 years ago

all cpu time

You mean 5% right?

Yea I’ve noticed it because cpu fans went crazy

archercreat commented 2 years ago

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

michaelrommel commented 1 year ago

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.

GuiReboucas commented 11 months ago

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