cpulimit icon indicating copy to clipboard operation
cpulimit copied to clipboard

cpuLimit *itself* uses some 5% of my CPU - per cpuLimit process

Open ghost opened this issue 7 years ago • 3 comments

cpulimit -l 90 -i -e cli > /dev/null 2>&1 &
cpulimit -l 150 -i -e gdebi > /dev/null 2>&1 &

creates two processes, each of which uses between 4% and 6% of the total processing power of my dual-core CPU.

I am using the latest version of cpulimit - from here on GitHub.

Mint 18.2. x64 Cinnamon

ghost avatar Aug 22 '17 22:08 ghost

Can confirm (partially) here. cpulimit with the -i parameter yields a 5% constant cpu usage. It's single-core usage though (shows as 5% under top, for e.g.) and not of the total processing power.

Debian GNU/Linux 7.11 (wheezy) & Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-36-generic x86_64)

Probably related to some sort of pooling method cpulimit uses to check for children processes. However it does seems excessive, indeed.

viniciusmr avatar Oct 16 '18 16:10 viniciusmr

I see the same. However, without -i, no CPU usage.

beroal avatar Dec 28 '18 20:12 beroal

+1 here except for the fact the cpulimit eats one whole CPU core sometimes. Removing -i helped.

I use cpulimit-0.2-13.20151118gitf4d2682.fc33.x86_64

sopos avatar Mar 09 '21 09:03 sopos