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

feature: support custom CPU quantity used for manager api #682

Closed
2 tasks
nic-chen opened this issue Nov 3, 2020 · 6 comments · Fixed by #1569
Closed
2 tasks

feature: support custom CPU quantity used for manager api #682

nic-chen opened this issue Nov 3, 2020 · 6 comments · Fixed by #1569
Labels
backend enhancement New feature or request good first issue Good for newcomers

Comments

@nic-chen
Copy link
Member

nic-chen commented Nov 3, 2020

  • support custom cup quantity used for manager api

  • support config custom cup quantity in conf file

@nic-chen nic-chen added backend enhancement New feature or request labels Nov 3, 2020
@membphis membphis changed the title feature: support custom cup quantity used for manager api feature: support custom CPU quantity used for manager api Nov 3, 2020
@juzhiyuan juzhiyuan added the wait for update 1. Solution 2. Due date 3. Assignees if needed label Nov 24, 2020
@juzhiyuan
Copy link
Member

plan?

@juzhiyuan juzhiyuan added good first issue Good for newcomers and removed stale wait for update 1. Solution 2. Due date 3. Assignees if needed labels Feb 7, 2021
@bisakhmondal
Copy link
Member

Hi guys. I'm interested in working with the manager API. Could you please briefly explain the issue? I am not getting it😅

@nic-chen
Copy link
Member Author

nic-chen commented Mar 9, 2021

hi @bisakhmondal

  1. sets the maximum number of CPUs that can be executing simultaneously in api/conf/conf.yaml
  2. Read the configured number in api/internal/conf/conf.go
  3. Use runtime.GOMAXPROCS(n) to limit CPU usage

1 similar comment
@nic-chen
Copy link
Member Author

nic-chen commented Mar 9, 2021

hi @bisakhmondal

  1. sets the maximum number of CPUs that can be executing simultaneously in api/conf/conf.yaml
  2. Read the configured number in api/internal/conf/conf.go
  3. Use runtime.GOMAXPROCS(n) to limit CPU usage

@bisakhmondal
Copy link
Member

Okay. I got it. Pushing the changes soon :)

@nic-chen
Copy link
Member Author

nic-chen commented Mar 9, 2021

Okay. I got it. Pushing the changes soon :)

looking forward to it~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants