Just a quick question about using CPUSET to limit the CPUs a cgroup can access when using a multi-core CPU with hyper-threading. The documentation linked above says:

cpuset.cpus (mandatory) specifies the CPUs that tasks in this cgroup are permitted to access. This is a comma-separated list, with dashes ("-") to represent ranges. For example,


represents CPUs 0, 1, 2, and 16.

Do the CPU numbers refer to the CPU cores or the hyperthreads?

I'd like to get fine-grained control at the hyperthread level, but wasn't sure what the documentation is referring to by "CPUs".


You must log in to answer this question.

Browse other questions tagged .