# How to target Intel performance cores only in multithreading

**URL:** <https://discourse.julialang.org/t/how-to-target-intel-performance-cores-only-in-multithreading/91415>\
**Category:** Performance\
**Tags:** question, performance, multithreading\
**Created:** [December 8, 2022, 8:53am UTC](https://discourse.julialang.org/t/how-to-target-intel-performance-cores-only-in-multithreading/91415 "2022-12-08T08:53:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![babakfifoo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/babakfifoo/32/44972_2.png) [@babakfifoo](https://discourse.julialang.org/u/babakfifoo)\
**Post date:** [December 8, 2022, 8:53am UTC](https://discourse.julialang.org/t/how-to-target-intel-performance-cores-only-in-multithreading/91415/1 "2022-12-08T08:53:36Z")

</div>

Hi all,  
I have a code that uses multithreading. My system has 12700K with 6/2 performance cores and 8 efficiency cores  
The issue I have is that I want to use only performance cores since efficiency cores are not strong enough and delay the whole process to finish.  
Moreover, my CPU thermally throttles when all cores are activated. How can I specifically target certain cores/threads so I can use onlt p-cores in Intel processor?

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [December 8, 2022, 9:01am UTC](https://discourse.julialang.org/t/how-to-target-intel-performance-cores-only-in-multithreading/91415/2 "2022-12-08T09:01:00Z")

</div>

> **[GitHub - carstenbauer/ThreadPinning.jl: Readily pin Julia threads to CPU...](https://github.com/carstenbauer/ThreadPinning.jl)**
>
> Readily pin Julia threads to CPU processors. Contribute to carstenbauer/ThreadPinning.jl development by creating an account on GitHub.

It doesn’t know anything about performance cores / efficiency cores yet so you have to manually pin to the correct cores. But I would also be open to PRs that improve the package in this regard.

(Currently only works on Linux. Windows is in progress but I need help there because I don’t have a Windows machine… MacOS will never work.)

---

<div class="post-metadata">

**Author:** ![babakfifoo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/babakfifoo/32/44972_2.png) [@babakfifoo](https://discourse.julialang.org/u/babakfifoo)\
**Post date:** [December 8, 2022, 9:04am UTC](https://discourse.julialang.org/t/how-to-target-intel-performance-cores-only-in-multithreading/91415/3 "2022-12-08T09:04:08Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![Di11on](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/di11on/32/6352_2.png) [@Di11on](https://discourse.julialang.org/u/Di11on)\
**Post date:** [October 15, 2023, 4:07pm UTC](https://discourse.julialang.org/t/how-to-target-intel-performance-cores-only-in-multithreading/91415/4 "2023-10-15T16:07:30Z")

</div>

Hi folks,

I have a similar issue where tasks are apparrently booted to efficiency cores when not in the foreground. Some way to force use of performance cores would be great. I have posted in more detail here: [Tasks booted to efficiency cores when not in foreground or rendered on the screen](https://discourse.julialang.org/t/tasks-booted-to-efficiency-cores-when-not-in-foreground-or-rendered-on-the-screen/104980)

---

<div class="post-metadata">

**Author:** ![Di11on](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/di11on/32/6352_2.png) [@Di11on](https://discourse.julialang.org/u/Di11on)\
**Post date:** [October 15, 2023, 5:47pm UTC](https://discourse.julialang.org/t/how-to-target-intel-performance-cores-only-in-multithreading/91415/5 "2023-10-15T17:47:32Z")

</div>

So after some research and experimentation, the following OS solution works for me in Windows 10:

`powercfg /powerthrottling disable /path "C:\Julia\Julia-1.8.3\bin\julia.exe"`

---

<div class="post-metadata">

**Author:** ![Marco-Congedo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marco-congedo/32/7321_2.png) [@Marco-Congedo](https://discourse.julialang.org/u/Marco-Congedo)\
**Post date:** [June 1, 2025, 10:42am UTC](https://discourse.julialang.org/t/how-to-target-intel-performance-cores-only-in-multithreading/91415/6 "2025-06-01T10:42:07Z")

</div>

Any news on Windows 11? Is there a solution to use only performance core?
