Dear LXC community,
I have 4 dedicated cpus assigned to a linux container.
lxc.cgroup2.cpuset.cpus = 43,16-18
lxc.cgroup2.cpu.weight = 100
All works well apart from pinning threads from within the container. Even though lxc shows cpus 0-3 (which is obviously expected) i can not supply those numbers to pin my threads. Even within the continer only when i supply 16-18 and 43 (host cpu ids) to taskset or pthread set affinity when the thread actually gets pinned there.
How can i make lxc accept the local cpu ids (0-3) for thread pinning?