Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cpulimit]

The tag has no usage guidance, but it has a tag wiki.

0
votes
0answers
31 views

Disable any number of CPU cores between 1-n (where n is maximum available cores) [duplicate]

Is there any way to tune processor cores to use fixed number of cores in range of 1-n (n is the maximum number of available cores) on Ubuntu 16.04? My processor is Intel i7-7500U processor with 4 ...
0
votes
0answers
28 views

WSL Ubuntu 18.04 shows wrong Cpu_allowed mask

Ubuntu 18.04 running under WSL detects my CPU wrong: $ cat /proc/self/status | grep Cpus_allowed Cpus_allowed: 00000001 The CPU is an i7-4510U (2 cores/4 threads) so I expected: Cpus_allowed: f ...
0
votes
0answers
21 views

Combining timeout and cpulimit

I have a situation where a process that hangs under certain circumstances or runs for too long should be killed. Also I don't want the process to take 100% of the CPU time. I am thinking that I should ...
0
votes
1answer
44 views

What option argument can I give to `cpulimit -l` when I want a process to have unlimit cpu usage?

In cpulimit -l, --limit=N percentage of CPU allowed from 1 up. Usually 1 - 100, but can be higher on multi-core CPUs. (mandatory) What option argument can I give to -l when I want a process ...