LightBulb
LightBulb copied to clipboard
High ram and a little percentage of cpu always using
Version
2.4.5
Details
win 10 here, 2.4.5 is the first version of this app that i'm using, i see a ram consumption of always about 70-75mb and a cpu percentage of using of 0.1% / 0.5% without doing nothing, is this normal? when using f.lux i have 10mb of ram and 0% of cpu using all the time
Steps to reproduce
.
The situation is same here, except that on low-end hardware like an Intel Atom Bay Trail tablet, the CPU usage always seems to oscillate around ~5%, which is quite a lot. This is during daytime with gamma polling disabled, so I'm not sure what exactly is using the CPU at that time.
Is the constant CPU usage expected and something that cannot really be avoided?
Unfortunately, I can't reproduce the CPU usage on my machine to be able to experiment and see what makes the usage go higher or lower. My attempts at profiling didn't yield many useful insights (although I'm not good at it). It would be great if someone who's experiencing CPU usage issues could clone the project and try to see which parts cause the problem.
That's interesting, because I run LightBulb on at least 4 different devices, and the issue is present on all of them.
Is there any way to produce a debug log or similar without diving deep into the code for debugging? My programming skills are rather limited, unfortunately.
That's interesting, because I run LightBulb on at least 4 different devices, and the issue is present on all of them.
You have ~5% CPU usage on all machines? Mine spikes to 0.1% at most 🤔
Is there any way to produce a debug log or similar without diving deep into the code for debugging? My programming skills are rather limited, unfortunately.
There probably is, but I don't know of one... Unfortunately, I'm not skilled enough at performance profiling. :(
You have ~5% CPU usage on all machines? Mine spikes to 0.1% at most 🤔
Yeah, it's ~5% on devices with a slow CPU, and around ~1% on rather fast desktops. It seems to be doing something constantly though, as the CPU usage keeps fluctuating non-stop on all of them.
the fact is that is a bug of the app, not a problem of our computers configuration only the author can solve
if can be useful i tried the version with the old graphic engine, and there wasn't this cpu problem
Old graphic engine?
Old graphic engine?
try version 1.6.4.1
try version 1.6.4.1
I can confirm. This version uses only ~1% of CPU on the Intel Atom device. I've also checked a few different 2.x versions, but all of them seem to share the same ~5% CPU usage.
any news about fix this problem?
Lightbulb uses less than 1% of one CPU core on average on my Ryzen 5600X desktop with gamma polling disabled. If you are relying on CPU utilization from either the Performance or Processes tab in Task Manager you should stop doing so because it somehow reports bogus results. Instead, use "CPU time" from "Details" tab which reports how much single core time the process consumed since it launched. If a process uses more than one thread the value of course accounts for it.
This value will also strongly depend on the average CPU frequency. 5% at lowest CPU power state is almost nothing because how low the frequency drops on modern CPUs (including Bay Trail). My 1195G7 does as low as 600MHz for example.
I just checked: Bay Trail drops to 500MHz in idle.
Is 200-500mb average memory usage normal?
This has always been the case as far as I can remember, may it be Win10, Win11, a Carbon X1 7 or a Carbon X1 10
Is 200-500mb average memory usage normal?
No, it's not normal. At least not all the time (it can use more memory when it's performing auto-update).