Skip to content

Instantly share code, notes, and snippets.

@mbohun
Last active November 5, 2025 14:07
Show Gist options
  • Select an option

  • Save mbohun/f175fd891f284141fd5a52ec9dccbec7 to your computer and use it in GitHub Desktop.

Select an option

Save mbohun/f175fd891f284141fd5a52ec9dccbec7 to your computer and use it in GitHub Desktop.
aarch64 big.LITTLE cpu-pinning

big.LITTLE cpu-pinning

ROCKPro64

  • ROCKpro64 by PINE64
    • Rockchip RK3399
  • big.LITTLE architecture:
    • Quad Cortex-A53 0xd03
    • Dual Cortex-A72 0xd08

NOTE: "CPU part" identifies the A53 and A72 CPUs respectively.

mbohun@rockpro64a:~$ cat /proc/cpuinfo | grep -E "processor|model name|CPU part"
processor       : 0
CPU part        : 0xd03
processor       : 1
CPU part        : 0xd03
processor       : 2
CPU part        : 0xd03
processor       : 3
CPU part        : 0xd03
processor       : 4
CPU part        : 0xd08
processor       : 5
CPU part        : 0xd08
mbohun@rockpro64a:~$

Quad Cortex-A53

mbohun@rockpro64a:~$ cpupower frequency-info
analyzing CPU 1:
driver: cpufreq-dt
CPUs which run at the same hardware frequency: 0 1 2 3
CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 40.0 us
  hardware limits: 408 MHz - 1.42 GHz
  available frequency steps:  408 MHz, 600 MHz, 816 MHz, 1.01 GHz, 1.20 GHz, 1.42 GHz
  available cpufreq governors: performance schedutil
  current policy: frequency should be within 408 MHz and 1.42 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 1.01 GHz (asserted by call to kernel)
mbohun@rockpro64a:~$

Dual Cortex-A72

mbohun@rockpro64a:~$ cpupower --cpu 4 frequency-info
analyzing CPU 4:
driver: cpufreq-dt
  CPUs which run at the same hardware frequency: 4 5
  CPUs which need to have their frequency coordinated by software: 4 5
  maximum transition latency: 465 us
  hardware limits: 408 MHz - 1.80 GHz
  available frequency steps:  408 MHz, 600 MHz, 816 MHz, 1.01 GHz, 1.20 GHz, 1.42 GHz, 1.61 GHz, 1.80 GHz
  available cpufreq governors: performance schedutil
  current policy: frequency should be within 408 MHz and 1.80 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 816 MHz (asserted by call to kernel)
mbohun@rockpro64a:~$

Orange Pi 5 Pro

  • Orange Pi 5 Pro by Orange Pi
    • Rockchip RK3588S
  • big.LITTLE architecture:
    • quad-core A55 0xd05
    • quad-core A76 0xd0b
mbohun@orangepi5pro:~$ cat /proc/cpuinfo | grep -E "processor|model name|CPU part"
processor       : 0
CPU part        : 0xd05
processor       : 1
CPU part        : 0xd05
processor       : 2
CPU part        : 0xd05
processor       : 3
CPU part        : 0xd05
processor       : 4
CPU part        : 0xd0b
processor       : 5
CPU part        : 0xd0b
processor       : 6
CPU part        : 0xd0b
processor       : 7
CPU part        : 0xd0b

REFERENCES:

@mbohun
Copy link
Author

mbohun commented Nov 5, 2025

OrangePi 5 Pro

mbohun@orangepi5pro:~$ cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq
1800000
1800000
1800000
1800000
2304000
2304000
2304000
2304000
mbohun@orangepi5pro:~$ cat /sys/devices/system/cpu/cpu[0-3]/cpufreq/cpuinfo_max_freq
1800000
1800000
1800000
1800000
mbohun@orangepi5pro:~$ cat /sys/devices/system/cpu/cpu[4-7]/cpufreq/cpuinfo_max_freq
2304000
2304000
2304000
2304000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment