Skip to content

Worker threads = (P?) cores #3

@ProgramMax

Description

@ProgramMax

Currently, the worker thread number is hard-coded.
This should likely relate to either the total number of threads or the expected workload (for example, if something can be handled in parallel or not).

For this test program, perhaps total number of threads is the way to go. But we should measure and confirm that. Perhaps there is diminishing returns or scheduling contention.

Additionally, should we attempt to only schedule on P-cores? This also might relate to the workload.

It is likely we'll need to add support for all of this, whether we use it or not. It could be moved to a separate program just to confirm assumptions. That would allow us to be alerted if the OS behavior changes, for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions