Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support setting CPUAffinity through TiUP #1927

Closed
sticnarf opened this issue Jun 16, 2022 · 0 comments · Fixed by #2007
Closed

Support setting CPUAffinity through TiUP #1927

sticnarf opened this issue Jun 16, 2022 · 0 comments · Fixed by #2007
Labels
type/feature-request Categorizes issue as related to a new feature.
Milestone

Comments

@sticnarf
Copy link
Contributor

sticnarf commented Jun 16, 2022

Feature Request

Is your feature request related to a problem? Please describe:

Sometimes I have a server with many cores, so I want to deploy multiple TiDB or TiKV nodes on one server. And I hope different nodes on the same server don't interfere with each other.

It's still a luxury to deploy only one process on one NUMA node. But TiUP does not provide a way to isolate processes in a more fine-grained mode.

Describe the feature you'd like:

Systemd provides CPUAffinity option. I hope TiUP cluster can integrate this feature to set CPU affinity through cluster configuration file.

Why the featue is needed:

Have described my scenario above :)

Describe alternatives you've considered:

Now I need to patch the systemd service manually.

Teachability, Documentation, Adoption, Migration Strategy:

Doc for CPUAffinity: https://www.freedesktop.org/software/systemd/man/systemd-system.conf.html

@sticnarf sticnarf added the type/feature-request Categorizes issue as related to a new feature. label Jun 16, 2022
@qqqdan qqqdan added this to the Next milestone Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue as related to a new feature.
Projects
None yet
2 participants