[issue47064] thread QOS attribute on macOS

2022-03-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree. I'm working on a PR to expose this platform specific functionality in the threading module. It would have been nice if other platforms had similar functionality, but they don't. Emulating the API is possible, but a project in its own right and

[issue47064] thread QOS attribute on macOS

2022-03-20 Thread Gregory P. Smith
Gregory P. Smith added the comment: Definitely not an OS specific concept. Big.little configs are all over the place on all OSes and architectures these days. With a variety of ways OSes are experimenting with scheduling for them (nevermind that Android and iOS have been doing this for a

[issue47064] thread QOS attribute on macOS

2022-03-20 Thread Dong-hee Na
Dong-hee Na added the comment: > I'd be more interested in trying to implement the same interface on other > platforms using the low-level APIs for those platforms Yeah, I am on the same line, I prefer to provide the interface that the user actually doesn't care about implementation detail.

[issue47064] thread QOS attribute on macOS

2022-03-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: > For example, using a priority policy that actually uses QOS attribute :) How would that look? The QOS class is already a high level interface that affects a number of low-level polices. The classes are comprehensively documented in sys/qos.h. In short

[issue47064] thread QOS attribute on macOS

2022-03-19 Thread Dong-hee Na
Dong-hee Na added the comment: > but I would like to consider using a more seamless way For example, using a priority policy that actually uses QOS attribute :) -- ___ Python tracker

[issue47064] thread QOS attribute on macOS

2022-03-19 Thread Dong-hee Na
Dong-hee Na added the comment: I am +1 on with supporting a way to select QOS attribute but I would like to consider using a more seamless way :) -- ___ Python tracker ___

[issue47064] thread QOS attribute on macOS

2022-03-19 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47064] thread QOS attribute on macOS

2022-03-19 Thread Ronald Oussoren
New submission from Ronald Oussoren : Arm based Mac systems have several types of cores: performance cores and efficiency cores. The system has no way to directly specify which core a particular proces or thread uses, but programs can use an API for setting the QOS class of a thread that