Skip to content

Move the runahead data from Controller to WorkerShared#2367

Merged
stevenengler merged 3 commits intoshadow:mainfrom
stevenengler:split-controller
Aug 22, 2022
Merged

Move the runahead data from Controller to WorkerShared#2367
stevenengler merged 3 commits intoshadow:mainfrom
stevenengler:split-controller

Conversation

@stevenengler
Copy link
Copy Markdown
Contributor

@stevenengler stevenengler commented Aug 22, 2022

This is the last part of the controller that is accessed globally, and lets us remove the controller pointer from the global worker pool.

@stevenengler stevenengler added Type: Maintenance Refactoring, cleanup, documenation, or process improvements Component: Main Composing the core Shadow executable labels Aug 22, 2022
@stevenengler stevenengler self-assigned this Aug 22, 2022
@stevenengler stevenengler changed the title Moved the runahead data from Controller to WorkerShared Move the runahead data from Controller to WorkerShared Aug 22, 2022
This is essentially a formatting change.
The `worker_updateMinHostRunahead` function has also been renamed to
`worker_updateLowestUsedLatency`.

This allows us to remove the `Controller` pointer from `WorkerPool`.
@stevenengler stevenengler enabled auto-merge August 22, 2022 16:10
@stevenengler stevenengler merged commit 32adfd9 into shadow:main Aug 22, 2022
@stevenengler stevenengler deleted the split-controller branch August 22, 2022 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Main Composing the core Shadow executable Type: Maintenance Refactoring, cleanup, documenation, or process improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants