Tasks booted to efficiency cores when not in foreground or rendered on the screen

Hi folks,

I have discovered an issue with my 13900k based machine (I now very much regret the poor choice of a 13900k). Processes run on performance cores when the app/task is in the foreground on the screen - but whenever minimised, tasks are booted to the efficiency cores. For a task to run on performance cores, it has to be in the foreground and drawn on the screen - which is rather a great pain when you have tasks that take a very long time to run and you are not in attendance. The issue is described here, although for a different applicaton: Forcing performance mode for background app on Intel P/E-core CPU | Page 2 | Windows 11 Forum

Some way to force usage of performance cores would be great

So, the following, OS level solution works for me in Windows 10:

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

It may be possible for Julia to use QoS Quality of Service - Win32 apps | Microsoft Learn to set policy for the worker threads.