Skip to content

crimson: rework CPU pinning - #55276

Merged
Matan-B merged 3 commits into
ceph:mainfrom
Matan-B:wip-matanb-crimson-alienstore-cores
Feb 4, 2024
Merged

Matan-B merged 3 commits into
ceph:mainfrom
Matan-B:wip-matanb-crimson-alienstore-cores

Conversation

@Matan-B

@Matan-B Matan-B commented Jan 23, 2024 •

Copy link
Copy Markdown
Contributor

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

Comment thread src/common/options/crimson.yaml.in Resolved
@Matan-B
Matan-B force-pushed the wip-matanb-crimson-alienstore-cores branch from 05794a9 to a5fbcf7 Compare January 23, 2024 14:09
@Matan-B Matan-B changed the title crimson/os/alienstore: configurable N_CORES_FOR_SEASTAR crimson/os/alienstore: cleanup N_CORES_FOR_SEASTAR Jan 23, 2024
@Matan-B
Matan-B force-pushed the wip-matanb-crimson-alienstore-cores branch from a5fbcf7 to 7ecda0d Compare January 23, 2024 14:14
@Matan-B
Matan-B requested review from a team and cyx1231st January 23, 2024 14:14
Comment thread src/vstart.sh Resolved
@Matan-B
Matan-B force-pushed the wip-matanb-crimson-alienstore-cores branch from 7ecda0d to 979e535 Compare January 24, 2024 14:20

@cyx1231st cyx1231st left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Matan-B
Matan-B force-pushed the wip-matanb-crimson-alienstore-cores branch from 979e535 to e1fc78e Compare January 25, 2024 09:50
@Matan-B

Matan-B commented Jan 25, 2024

Copy link
Copy Markdown
Contributor Author

@cyx1231st, @liu-chunmei - updated default to smp count. Thank you for reviewing!

Comment thread src/vstart.sh Resolved

@cyx1231st cyx1231st left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still approving.

Comment thread src/common/options/crimson.yaml.in Resolved
@Matan-B
Matan-B force-pushed the wip-matanb-crimson-alienstore-cores branch from e1fc78e to 3e8cc0e Compare January 30, 2024 17:59
@Matan-B Matan-B changed the title crimson/os/alienstore: cleanup N_CORES_FOR_SEASTAR crimson: rework CPU pinning Jan 30, 2024
@Matan-B
Matan-B requested a review from cyx1231st January 30, 2024 18:01
@Matan-B
Matan-B force-pushed the wip-matanb-crimson-alienstore-cores branch from 3e8cc0e to ca5c463 Compare January 30, 2024 18:08
@Matan-B

Matan-B commented Jan 30, 2024 •

Copy link
Copy Markdown
Contributor Author

@cyx1231st, @athanatos - 2e1a65757cfdcdc1a1f8eb9cafd347fffe2f453c

@Matan-B
Matan-B force-pushed the wip-matanb-crimson-alienstore-cores branch from ca5c463 to 2e1a657 Compare January 30, 2024 18:20

@cyx1231st cyx1231st left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the change, the new configuration looks great!

Some questions.

Comment thread src/vstart.sh Resolved
@Matan-B
Matan-B force-pushed the wip-matanb-crimson-alienstore-cores branch from 2e1a657 to a5ede3b Compare January 31, 2024 11:10
@Matan-B
Matan-B requested a review from cyx1231st January 31, 2024 11:13
@Matan-B

Matan-B commented Jan 31, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@Matan-B

Matan-B commented Jan 31, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test api

No CPU pinning if crimson_alien_thread_cpu_cores is not set.

Signed-off-by: Matan Breizman <[email protected]>
@Matan-B
Matan-B force-pushed the wip-matanb-crimson-alienstore-cores branch from a5ede3b to 2ab4086 Compare February 1, 2024 13:44
seastar::smp::count is deduced from the cpuset provided.

from seastar/src/core/reactor:
```
   if (smp_opts.smp) {
        smp::count = smp_opts.smp.get_value();
    } else {
        smp::count = cpu_set.size();
    }
```

Co-authored-by: Yingxin Cheng <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
@Matan-B
Matan-B force-pushed the wip-matanb-crimson-alienstore-cores branch from 2ab4086 to e547768 Compare February 1, 2024 16:43
@Matan-B

Matan-B commented Feb 4, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test api

@Matan-B

Matan-B commented Feb 4, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test windows

@Matan-B
Matan-B merged commit ad212a5 into ceph:main Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants