Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove cpu pinning for core server #1145

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

doshirohan
Copy link
Contributor

What does this Pull Request accomplish?

For core server thread, there were hardcoded values for setting cpu affinity. This change removes that code.

Why should this Pull Request be merged?

Earlier change which made some of the cpu affinity settings configurable through server_config.json left out making server thread pinning configurable because this code just sets affinity for main thread that launches server. This doesn't really change anything performance-wise apart from server launch time.

CPU pinning for main server thread was added when we added support for moniker based streaming and was taken as is from prototype branch for moniker streaming. This code is not needed.

What testing has been done?

Build passes and able to launch grpc-device server

@doshirohan doshirohan merged commit ee7e358 into main Dec 30, 2024
9 of 10 checks passed
@doshirohan doshirohan deleted the users/indoshir/remove-server-cpu-pinning branch December 30, 2024 13:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants