<phrase revision='systemd'><parameter>AllowedCPUs=0-3</parameter></phrase><phrase revision='sysv'><literal>0-3</literal> in the <filename>cpuset.cpus</filename> entry </phrase> makes the kernel only run the processes in the cgroup on the logical cores with numbers 0, 1, 2, or 3.You may need to adjust this setting based the mapping between the logical cores and the physical cores.For example, with an Intel Core i9-13900K CPU, the logical cores 0, 2, 4, ..., 14 are mapped to the first threads of the eight physical P cores, the logical cores 1, 3, 5, ..., 15 are mapped to the second threads of the physical P cores, and the logical cores 16, 17, ..., 31 are mapped to the 16 physical E cores.So if we want to use four threads from four different P cores, we need to specify <literal>0,2,4,6</literal> instead of <literal>0-3</literal>.Note that the other CPU models may use a different mapping scheme.If you are not sure about the mapping between the logical cores and the physical cores, run <command>grep -E '^processor|^core' /proc/cpuinfo</command> which will output logical core IDs in the <computeroutput>processor</computeroutput> lines, and physical core IDs in the <computeroutput>core id</computeroutput> lines.