Skip to content

Support optional real-time scheduling mode #964

@robgjansen

Description

@robgjansen

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:

Metadata

Metadata

Assignees

Labels

Component: MainComposing the core Shadow executablePriority: MediumImportant but not urgentTag: PerformanceRelated to improving shadow's run-timeType: EnhancementNew functionality or improved design

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions