Feature #66159
openAutomate cpu cores allocation strategies
0%
Description
Some of the nuances are:
- For Bluestore, separating between alienized thread pool allocated cores to ones allocated for seastar reactor threads.
- Allowing to run on physical cores only (without logical cores, i.e 11 cpu per physical core)
- Balancing cores on a per socket or osd manner (doc/dev/crimson/BalanceCPUCrimson.md)
Each of the above should be automatically configured to be used first by vstart and later on by cephadm to deploy crimson clusters.
MB Updated by Matan Breizman over 2 years ago
- Tracker changed from Bug to Feature
- Regression deleted (
No) - Severity deleted (
3 - minor)
MB Updated by Matan Breizman over 2 years ago
- Subject changed from [T-release] Automate cpu cores allocation via cephadm to Automate cpu cores allocation via cephadm
MB Updated by Matan Breizman over 1 year ago
- Subject changed from Automate cpu cores allocation via cephadm to Automate cpu cores allocation
- Description updated (diff)
- Category set to Deployment
- Status changed from New to Fix Under Review
- Assignee set to Samuel Just
- Priority changed from Low to High
- Backport set to tentacle
- Pull request ID set to 63137
MB Updated by Matan Breizman over 1 year ago
- Subject changed from Automate cpu cores allocation to Automate cpu cores allocation strategies
SJ Updated by Samuel Just over 1 year ago
- Status changed from Fix Under Review to New
- Assignee deleted (
Samuel Just)
I don't actually think https://github.com/ceph/ceph/pull/63137 addresses this bug. https://github.com/ceph/ceph/pull/63137 merely cleans up the existing vstart options for specifying core bindings. For real clusters with cephadm, the updated python script assign_crimson_cores.py may be useful, but users will be dealing with a cephadm spec file rather than manually running that script. This feature should be understood to mean poking that functionality through cephadm:
- allow user to specify for crimson-osd processes the number of reactors and a cpu pinning policy
- consider what the default behavior should be, some testing would be involved
Note, while I do think we want to allow specifying a cpu pinning policy (if only to be able to do testing to make recommendations!), it's not actually clear to me that it'll be good advice in general to override the scheduler. On folio05, at least, I was simply unable to do better than letting the scheduler to its thing.
MB Updated by Matan Breizman over 1 year ago
- Priority changed from High to Normal
- Backport deleted (
tentacle) - Pull request ID deleted (
63137)
Lowering priority until decided how we would want cephadm to interact with Crimson specifically.
Probably requires testing each of the strategies and any other nuances that we would come to know when it comes to deploying Crimson.