Great question — answering as the UphillTech team:
There are a few steps to this. I have written a script below and I'll explain the steps to get there. First, you can find out which CPUs are P, E, or LPE cores by reading the following files. If the file isn't there then there are none of that type of core. /sys/devices/cpu_core/cpus will give a range of all the P core CPUs (two per physical core with multithreading) /sys/devices/cpu_atom/cpus will give a range of all the E cores. /sys/devices/cpu_lowpower/cpus will give a range of all the LPE cores Now, to set a program to run on only specific cpus we use taskset . Conveniently the ranges we get from reading the files above are perfect for feeding directly to taskset -c . So we can run on...
Full answer by Mark Paskal: https://askubuntu.stackexchange.com/a/1566413 (CC BY-SA 4.0).
Need it done for your business? UphillTech.