CPU Affinity support
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- operating-systems
Research direction
Start by reviewing boost::thread's existing thread attributes and the coroutine2 performance reference at performance. Define the platform-independent affinity attribute needed for embedded Linux and VxWorks, then verify that the resulting API supports scheduling threads on reserved cores without relying on the benchmark implementation.
Written by the indexing model from the issue text.
Description
Recent "Best practice" in embedded Linux and VxWorks to achieve deterministic results for critical functionality is to use "core reservation" at boot and take one or more CPUs out of the general pool of CPUs used for SMP scheduling.
Threads requiring determinism then use the platform dependent API schedule themselves on the reserved core. This is a request for a thread attribute that abstracts the platform specific API for affinity as part of boost::thread (not hidden in the coroutine2 benchmarking ) https://github.com/boostorg/coroutine2/tree/develop/performance
- Dominant language
- C++
- Stars
- 213
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/thread
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100