-
Notifications
You must be signed in to change notification settings - Fork 269
Support optional real-time scheduling mode #964
Copy link
Copy link
Closed
Labels
Component: MainComposing the core Shadow executableComposing the core Shadow executablePriority: MediumImportant but not urgentImportant but not urgentTag: PerformanceRelated to improving shadow's run-timeRelated to improving shadow's run-timeType: EnhancementNew functionality or improved designNew functionality or improved design
Description
In our new process-based architecture, we may get a performance boost if we can reduce unnecessary context switches by utilizing a non-default CPU scheduler to run the shadow and plugin threads. Using a real-time scheduler like SCHED_FIFO will give us tighter control over when context switches will occur.
We think it's worth supporting a real-time scheduling mode as an optional run-mode, so that we can test if it provides a performance boost. In order for us to be allowed to use a real-time mode, support needs to be configured on the simulation host via ulimit.
More info:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: MainComposing the core Shadow executableComposing the core Shadow executablePriority: MediumImportant but not urgentImportant but not urgentTag: PerformanceRelated to improving shadow's run-timeRelated to improving shadow's run-timeType: EnhancementNew functionality or improved designNew functionality or improved design