Centos 6.5: isolcpus setting

General support questions
Post Reply
AnthonyN
Posts: 2
Joined: 2017/10/06 09:07:41

Centos 6.5: isolcpus setting

Post by AnthonyN » 2017/10/06 09:20:21

Hi all,

isolcpus setting does not work for me. I am using Centos 6.5. isolcpus=3,4 is in /proc/cmdline, but /sys/devices/system/cpu/isolated does not exist. I wonder if isolcpus setting is supported in Centos 6.5 kernel?

AnthonyN

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Centos 6.5: isolcpus setting

Post by avij » 2017/10/06 10:07:37

Have you tried the same with the currently supported version, 6.9? Try yum update.

Also, which kernel version are you running? uname -a with the hostname optionally edited out would tell us this.

AnthonyN
Posts: 2
Joined: 2017/10/06 09:07:41

Re: Centos 6.5: isolcpus setting

Post by AnthonyN » 2017/10/06 13:45:39

With Centos 6.5, I have

[root@vm ~]# cat /proc/cmdline
console=ttyS0 ro root=/dev/mapper/vg_vm-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=vg_vm/lv_root SYSFONT=latarcyrheb-sun16 crashkernel=129M@0M rd_LVM_LV=vg_vm/lv_swap KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet isolcpus=1,3
[root@vm ~]# ls /sys/devices/system/cpu/
cpu0 cpu2 cpufreq kernel_max online present
cpu1 cpu3 cpuidle offline possible
[root@vm ~]# cat /etc/centos-release
CentOS release 6.5 (Final)
[root@vm ~]# uname -a
Linux vm 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@vm ~]#

With Centos 6.9,
[root@vm ~]# cat /proc/cmdline
console=ttyS0 ro root=/dev/mapper/vg_vm-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=vg_vm/lv_root SYSFONT=latarcyrheb-sun16 crashkernel=129M@48M rd_LVM_LV=vg_vm/lv_swap KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet isolcpus=1,3
[root@vm ~]# ls /sys/devices/system/cpu/
cpu0 cpu2 cpufreq kernel_max online present
cpu1 cpu3 cpuidle offline possible
[root@vm ~]# cat /etc/centos-release
CentOS release 6.9 (Final)
[root@vm ~]# uname -a
Linux vm 2.6.32-696.el6.x86_64 #1 SMP Tue Mar 21 19:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@vm ~]#

Post Reply