pinggit / dpdk-contrail-book

contrail dpdk day one book
9 stars 3 forks source link

regarding isolcpu in kolla/centos setup #24

Open pinggit opened 3 years ago

pinggit commented 3 years ago

I tried these and it does not work, which makes all other CPU pinning (to dpdk, nova, VM) useless:

[root@a7s3 ~]# cat /etc/default/grub | grep isocpu
isolcpus=1-5, 7-11
[root@a7s3 ~]# cat /etc/systemd/system.conf
CPUAffinity=0,6
[root@a7s3 ~]# cat /etc/tuned/cpu-partitioning-variables.conf
isolated_cores=1-5,7-11
[root@a7s3 ~]# reboot

[root@a7s3 ~]# pidof sshd
4849 4275 1759
[root@a7s3 ~]#
[root@a7s3 ~]# taskset -cap 4849
pid 4849's current affinity list: 0-11
pinggit commented 3 years ago

related to #20 #21 #22