Project

General

Profile

Actions

Feature #66159

open
MB

Automate cpu cores allocation strategies

Feature #66159: Automate cpu cores allocation strategies

Added by Matan Breizman over 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Deployment
Target version:
Due date:
% Done:

0%

Source:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

Deploying Crimson requires attention to the CPU core allocated to each OSD.
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 Actions #1

  • Tracker changed from Bug to Feature
  • Regression deleted (No)
  • Severity deleted (3 - minor)

MB Updated by Matan Breizman over 2 years ago Actions #2

  • 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 Actions #3

  • 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 Actions #4

  • Subject changed from Automate cpu cores allocation to Automate cpu cores allocation strategies

SJ Updated by Samuel Just over 1 year ago Actions #5

  • 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 Actions #6

  • 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.

Actions

Also available in: PDF Atom