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

stan stanl-fedorauser at vfemail.net
Wed Mar 18 15:47:07 UTC 2015


On Tue, 17 Mar 2015 18:52:23 +0100
Heinz Diehl <htd+ml at fritha.org> wrote:

> This is the top output when compiling a kernel with -j8 (4 cores/8
> threads):
> 
> top - 18:47:16 up  9:07,  4 users,  load average: 1.77, 0.39, 0.13
> Tasks: 263 total,  10 running, 253 sleeping,   0 stopped,   0 zombie
> %Cpu0  : 92.3 us,  5.7 sy,  0.0 ni,  0.0 id,  0.0 wa,  1.7 hi,  0.3
> si,  0.0 st %Cpu1  : 92.7 us,  5.6 sy,  0.0 ni,  0.0 id,  0.0 wa,
> 1.3 hi,  0.3 si,  0.0 st %Cpu2  : 92.3 us,  6.4 sy,  0.0 ni,  0.0
> id,  0.0 wa,  1.3 hi,  0.0 si,  0.0 st %Cpu3  : 93.3 us,  5.4 sy,
> 0.0 ni,  0.0 id,  0.0 wa,  1.0 hi,  0.3 si,  0.0 st %Cpu4  : 92.3
> us,  6.4 sy,  0.0 ni,  0.0 id,  0.0 wa,  1.0 hi,  0.3 si,  0.0 st
> %Cpu5  : 93.0 us,  5.7 sy,  0.0 ni,  0.0 id,  0.0 wa,  1.3 hi,  0.0
> si,  0.0 st %Cpu6  : 92.7 us,  5.6 sy,  0.0 ni,  0.0 id,  0.0 wa,
> 1.3 hi,  0.3 si,  0.0 st %Cpu7  : 92.3 us,  6.0 sy,  0.0 ni,  0.0
> id,  0.0 wa,  1.3 hi,  0.3 si,  0.0 st KiB Mem : 16342864 total,
> 12336128 free,   818288 used,  3188448 buff/cache KiB Swap: 16777212
> total, 16777212 free,        0 used. 15174260 avail Mem 
> 
> 19343 root       6   0  207228  81548  16184 R  24.3  0.5   0:00.73
> cc1 19359 root       6   0  196268  71812  16320 R  21.6  0.4
> 0:00.65 cc1 19391 root       7   0  180292  55032  16188 R  13.0
> 0.3   0:00.39 cc1 19423 root       7   0  171012  40864  10800 R
> 6.3  0.3   0:00.19 cc1 19431 root       7   0  166552  37340  10888
> R   5.6  0.2   0:00.17 cc1 19447 root       6   0  155452  25596
> 10788 R   2.3  0.2   0:00.07 cc1 19455 root       7   0  153500
> 24540  10648 R   2.3  0.2   0:00.07 cc1 19463 root       7   0
> 150112  19440  10500 R   1.3  0.1   0:00.04 cc1

An afterthought.  I notice that you are compiling the kernel as root.  I
do my build in the rpmbuild system as a user, so the compile is run as a
user. Do you think that would matter?


More information about the users mailing list