You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to add an API to specify the type of core that we would like a taskset to run on?
I can think of various ways this could work from a user standpoint:
a) Always try to schedule on p-cores unless the user explicitly requests/allows running on an e-core
b) Require user to provide CPU preference at task creation: "Any/P-core/E-core"
As for implementation this is tricky as win10 and win11 have different ways to manage this but seeing as win10 is EOL next year, not supporting it might be perfectly fine. No idea about support for this on *nix/OSX/etc...
This does seem like it would be useful, not just because you might want to set some threads on certain core types but also because you want to group work together on cores which share caches.
I'm already considering a 'thread group' affinity mechanism related to issue #130, but haven't had the time to implement that yet. When combined with some way of getting more information about processors this could be even more useful. One issue is making the processor information API generic enough to cover the architectures out there, but specific enough to be useful. I'll have a think.
Would it be possible to add an API to specify the type of core that we would like a taskset to run on?
I can think of various ways this could work from a user standpoint:
a) Always try to schedule on p-cores unless the user explicitly requests/allows running on an e-core
b) Require user to provide CPU preference at task creation: "Any/P-core/E-core"
As for implementation this is tricky as win10 and win11 have different ways to manage this but seeing as win10 is EOL next year, not supporting it might be perfectly fine. No idea about support for this on *nix/OSX/etc...
Some more information for the available options: https://www.intel.com/content/www/us/en/developer/articles/guide/12th-gen-intel-core-processor-gamedev-guide.html
The text was updated successfully, but these errors were encountered: