[pve-devel] [PATCH common 1/2] cpuset: support non-continuous processor ids

Wolfgang Bumiller w.bumiller at proxmox.com
Sun Apr 16 12:36:29 CEST 2017


> On April 16, 2017 at 10:54 AM Dietmar Maurer <dietmar at proxmox.com> wrote:
> 
> 
> This serie does not really make sense to me.
> 
> Obviously, cpu IDs can have holes, for example
> 
> 1, 3, 5, 7, ...
> 
> So we cannot simply test for min/max - instead, we want to
> test is a specific ID exists?

Yes but that doesn't depend on /proc/cpuinfo since you can eg.
also limit the entire lxc/ cgroup subdirectory itself to limit
all containers, which is why pvestatd uses the `lxc/cpuset.effective_cpus`
value. Here we are really just looking for an upper limit.




More information about the pve-devel mailing list