Skip to content

Adds CPU pinning to the development branch.#1084

Merged
rwails merged 2 commits intoshadow:devfrom
rwails:pinning-dev
Feb 3, 2021
Merged

Adds CPU pinning to the development branch.#1084
rwails merged 2 commits intoshadow:devfrom
rwails:pinning-dev

Conversation

@rwails
Copy link
Copy Markdown
Collaborator

@rwails rwails commented Feb 3, 2021

Adds CPU pinning to the development branch.
On calls to thread_run andthread_resume, the plugin's CPU affinity is set to the worker's
current affinity when affinity mode is enabled.

`thread_resume`, the plugin's CPU affinity is set to the worker's
current affinity when affinity mode is enabled.
@rwails rwails requested a review from robgjansen February 3, 2021 17:28
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 3, 2021

Codecov Report

Merging #1084 (feb4e27) into dev (bdfc939) will increase coverage by 0.06%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev    #1084      +/-   ##
==========================================
+ Coverage   54.93%   54.99%   +0.06%     
==========================================
  Files         130      130              
  Lines       19581    19586       +5     
  Branches     4675     4675              
==========================================
+ Hits        10757    10772      +15     
+ Misses       6063     6054       -9     
+ Partials     2761     2760       -1     
Flag Coverage Δ
tests 54.99% <83.33%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/main/core/main.c 44.73% <0.00%> (ø)
src/main/host/thread.c 60.44% <100.00%> (+1.53%) ⬆️
.../main/core/scheduler/scheduler_policy_host_steal.c 82.06% <0.00%> (+0.38%) ⬆️
src/main/host/thread_ptrace.c 66.61% <0.00%> (+0.87%) ⬆️
src/main/core/worker.c 83.41% <0.00%> (+1.38%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bdfc939...0401646. Read the comment docs.

@rwails rwails merged commit 38c017d into shadow:dev Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants