我添加了以下行/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=1,3"
然后运行sudo grub-update
(并重新启动),但根据top
进程仍在 CPU 1 和 3 上调度。我该怎么办?
我被要求添加的内容:
nabeel@nabeel-Inspiron-3542:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic.efi.signed root=UUID=1e46ca65-843f-439a-8e2a-f5e666a03ffe ro quiet splash isolcpus=1,3 vt.handoff=7
输出top
:
PID USER PR S P
182 root 20 S 0
183 root 0 S 0
220 root 20 S 0
223 root 20 S 0
253 root 20 S 2
261 root 0 S 0
312 root -51 S 0
343 root 0 S 3 <-------- Processes being scheduled on CPU 1 and 3
347 root 0 S 1 <--------
373 root 0 S 2
398 root 0 S 0
474 root 0 S 2
478 root 20 S 0
548 systemd+ 20 S 0
632 avahi 20 S 2
633 root 20 S 2
642 root 20 S 0