CPU cores ID

Andrii Pavlikovskyi

Active Member
Sep 26, 2018
10
0
41
40
I have LXC container with software license which binds to CPU. After one another reboot I got an error:

Code:
After License activation  these CPUs where deleted:
CPU_0: AMDRyzen536006-CoreProcessorFamily23Model113Stepping0PhysID:0CoreID:0Cachesize:512KB

CPU_3: AMDRyzen536006-CoreProcessorFamily23Model113Stepping0PhysID:0CoreID:4Cachesize:512KB

Current CPU configuration:
CPU_0: AMDRyzen536006-CoreProcessorFamily23Model113Stepping0PhysID:0CoreID:1Cachesize:512KB

CPU_0: AMDRyzen536006-CoreProcessorFamily23Model113Stepping0PhysID:0CoreID:1Cachesize:512KB

CPU_1: AMDRyzen536006-CoreProcessorFamily23Model113Stepping0PhysID:0CoreID:6Cachesize:512KB

CPU_1: AMDRyzen536006-CoreProcessorFamily23Model113Stepping0PhysID:0CoreID:6Cachesize:512KB

It's not a problem to use this setting in my config:
lxc.cgroup.cpuset.cpus = 0,3

But how can I preserve CoreID ?
 
Not helping but using a VM is also no solution, as we also saw recently here. I'd really love to see an answer for both virtualization technologies.