How to increase maximum user cpu usage allowed on a multi core system?
stan
stanl-fedorauser at vfemail.net
Wed Mar 18 20:58:12 UTC 2015
On Wed, 18 Mar 2015 18:19:54 +0100
Heinz Diehl <htd+ml at fritha.org> wrote:
> 1. Download a kernel tarball from kernel.org
> 2. Unpack it into /usr/src
> 3. Copy .config from the latest Fedora kernel into the kernel toplevel
> sourcedir (it is stored in /boot).
> 4. "make oldconfig"
> 5. "make"
> 6. "make modules_install"
> 7. "make install"
> 8. Reboot
>
> Step 3. is for convenience, you can of course use your own .config.
> This kernel will live peacefully alongside of your Fedora kernels.
Did this, and unlike for you, in step 5 it still only used a single
thread. I even tried it as root to be sure, and single thread for root
also.
Poma has directed me to an expert who is looking into it.
Perhaps I should try next a kernel patched with bfs like yours are.
$ top
top - 13:24:55 up 3 days, 37 min, 51 users, load average: 0.77, 0.52, 0.27
Tasks: 333 total, 3 running, 330 sleeping, 0 stopped, 0 zombie
%Cpu(s): 17.2 us, 3.8 sy, 0.0 ni, 78.8 id, 0.2 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 16334484 total, 195200 free, 1649032 used, 14490252 buff/cache
KiB Swap: 28979304 total, 28978864 free, 440 used. 13515520 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10851 stan 20 0 157948 28904 10588 R 3.0 0.2 0:00.09 cc1
30672 stan 20 0 837028 136976 79184 S 2.0 0.8 12:20.34 konsole
7 root 20 0 0 0 0 S 1.0 0.0 4:52.56 rcu_preempt
2804 root 20 0 16876 3012 2704 S 1.0 0.0 41:41.74 audio-entropyd
29910 root 20 0 382100 136820 62968 S 1.0 0.8 25:46.96 Xorg.bin
10745 stan 20 0 146812 4528 3344 R 0.7 0.0 0:00.03 top
10794 stan 20 0 9808 2172 1748 S 0.7 0.0 0:00.02 gcc
10803 stan 20 0 10072 2324 1752 S 0.7 0.0 0:00.02 gcc
11472 stan 20 0 1219368 347856 100576 S 0.7 2.1 1:59.81 firefox
30134 stan 20 0 361860 18708 15944 S 0.7 0.1 4:08.11 clipit
3 root 20 0 0 0 0 S 0.3 0.0 0:04.80 ksoftirqd/0
27 root rt 0 0 0 0 S 0.3 0.0 0:01.88 migration/5
10357 stan 20 0 110808 2896 2276 S 0.3 0.0 0:00.01 make
10720 stan 20 0 9912 2160 1748 S 0.3 0.0 0:00.01 gcc
10778 stan 20 0 9800 2084 1684 S 0.3 0.0 0:00.01 gcc
26253 root 20 0 0 0 0 S 0.3 0.0 0:00.70 kworker/0:0
30076 stan 20 0 545072 29472 24320 S 0.3 0.2 0:35.49 marco
30139 stan 20 0 667208 40308 19392 S 0.3 0.2 6:01.70 python
1 root 20 0 192972 13472 5188 S 0.0 0.1 1:43.77 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.31 kthreadd
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
8 root 20 0 0 0 0 S 0.0 0.0 0:00.33 rcu_sched
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
10 root rt 0 0 0 0 S 0.0 0.0 0:01.55 migration/0
11 root rt 0 0 0 0 S 0.0 0.0 0:01.90 migration/1
12 root 20 0 0 0 0 S 0.0 0.0 0:02.32 ksoftirqd/1
14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0H
15 root rt 0 0 0 0 S 0.0 0.0 0:01.17 migration/2
16 root 20 0 0 0 0 S 0.0 0.0 0:03.32 ksoftirqd/2
18 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/2:0H
19 root rt 0 0 0 0 S 0.0 0.0 0:01.71 migration/3
20 root 20 0 0 0 0 S 0.0 0.0 0:01.49 ksoftirqd/3
22 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/3:0H
23 root rt 0 0 0 0 S 0.0 0.0 0:01.46 migration/4
24 root 20 0 0 0 0 S 0.0 0.0 0:02.17 ksoftirqd/4
26 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/4:0H
28 root 20 0 0 0 0 S 0.0 0.0 0:02.38 ksoftirqd/5
30 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/5:0H
31 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
32 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
33 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns
34 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 perf
More information about the users
mailing list