Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

[WIP] Thread injection experiments.#26037

Closed
VSadov wants to merge 6 commits into
dotnet:masterfrom
VSadov:queueS
Closed

[WIP] Thread injection experiments.#26037
VSadov wants to merge 6 commits into
dotnet:masterfrom
VSadov:queueS

Conversation

@VSadov
Copy link
Copy Markdown
Member

@VSadov VSadov commented Aug 7, 2019

No description provided.

@VSadov VSadov changed the title Test [WIP] Thread injection experiments. Aug 7, 2019
VSadov added 6 commits August 15, 2019 21:23
…ly associated with CPU cores.

    The implementation avoids 1:1 strict mapping between work queues and working threads which is often a far greater number than the number of cores.

    This implementation improves handling of cases where the number of workers needs to exceeds the number of cores and causes precipitous performance drops because:
    - the cost of snooping/stealing does not grow with the number of workers.
    - the local queues tend to be deeper (since there are fewer of them) and thus stealing is less frequent and less contentious with enqueuing/popping.
    - reduced likelihood that the workitem will have to execute on a core different from where it was scheduled.
@maryamariyan
Copy link
Copy Markdown

Thank you for your contribution. As announced in dotnet/coreclr#27549 this repository will be moving to dotnet/runtime on November 13. If you would like to continue working on this PR after this date, the easiest way to move the change to dotnet/runtime is:

  1. In your coreclr repository clone, create patch by running git format-patch origin
  2. In your runtime repository clone, apply the patch by running git apply --directory src/coreclr <path to the patch created in step 1>

@VSadov VSadov added the post-consolidation PRs which will be hand ported to dotnet/runtime label Nov 6, 2019
@maryamariyan
Copy link
Copy Markdown

Thank you for your contribution. As announced in #27549 the dotnet/runtime repository will be used going forward for changes to this code base. Closing this PR as no more changes will be accepted into master for this repository. If you’d like to continue working on this change please move it to dotnet/runtime.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Threading post-consolidation PRs which will be hand ported to dotnet/runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants