P‐core, E‐core, taskset, numactl - yiliu30/yi GitHub Wiki

What's P-core, E-core

  • p-core: Performance-cores
  • e-core: Efficient-cores
  • low e-core: Low Power Efficient-cores

Intel® Core™ Ultra 7 Processor 155H

How to identify the P-core, E-core

(llm) (base)$ lscpu --all --extended
CPU NODE SOCKET CORE ONLINE    MAXMHZ   MINMHZ      MHZ
  0    0      0    0    yes 4800.0000 400.0000 3000.000            <-- MAXMHZ   4800.0000; share core with cpu 1 ; p core
  1    0      0    0    yes 4800.0000 400.0000 3000.000            <-- MAXMHZ   4800.0000; share core with cpu 0 ; p core
  2    0      0    1    yes 4800.0000 400.0000 3000.000
  3    0      0    1    yes 4800.0000 400.0000 3000.000
  4    0      0    2    yes 4700.0000 400.0000 3000.000
  5    0      0    2    yes 4700.0000 400.0000 3000.000
  6    0      0    3    yes 4700.0000 400.0000 3000.000
  7    0      0    3    yes 4700.0000 400.0000 3000.000
  8    0      0    4    yes 4700.0000 400.0000  768.388
  9    0      0    4    yes 4700.0000 400.0000 3000.000
 10    0      0    5    yes 4700.0000 400.0000 3000.000
 11    0      0    5    yes 4700.0000 400.0000 3000.000
 12    0      0    6    yes 3400.0000 400.0000 3000.000            <-- MAXMHZ   3400.0000; own core by itself; e-core 
 13    0      0    7    yes 3400.0000 400.0000 3000.000
 14    0      0    8    yes 3400.0000 400.0000 3000.000
 15    0      0    9    yes 3400.0000 400.0000 3000.000
 16    0      0   10    yes 3400.0000 400.0000 3000.000
 17    0      0   11    yes 3400.0000 400.0000 3000.000
 18    0      0   12    yes 3400.0000 400.0000 3000.000
 19    0      0   13    yes 3400.0000 400.0000 3000.000
 20    0      0   14    yes 2500.0000 400.0000 3000.000            <-- MAXMHZ   2500.0000; own core by itself; e-core; but low e-core 
 21    0      0   15    yes 2500.0000 400.0000 3000.000

How to use taskset or numactl