How to increase maximum user cpu usage allowed on a multi core system?

Heinz Diehl htd+ml at fritha.org
Tue Mar 10 10:35:24 UTC 2015


On 09.03.2015, stan wrote: 

> But, when I run a compile job with -j6, in order to allow all six cores
> to be used, it limits the total amount of usage to 100% of a *single*
> core.  So, it might use all six cores, but the sum of the percentages
> on those six cores is always around 100% of one core.  This is from
> htop output.

This is the CPU scheduler not maximizing usage. Try this next time:

nice -n -20 make -j6

Or choose any nice level which fits better for you, "man nice".



More information about the users mailing list