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

configure rdma target thread pool size; issue-2267 #2268

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tpashkin
Copy link
Collaborator

also clean up TRdmaTarget interface and unnest Host and Port fields in TRdmaTargetProto

also clean up TRdmaTarget interface and unnest Host and Port fields in
TRdmaTargetProto
TRdmaServer Server = 2; // deprecated
string Host = 3;
uint32 Port = 4;
uint32 Threads = 5;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's have all rdma related config in rdma.txt file which has the TRdmaConfig message serialized to it.
This TRdmaTarget message is actually deprecated and we should not extend it. I left it since the old config was using it here. But the idea was to move all required params to the TRdmaConfig struct.

So in you PR let's just add the RdmaServerNumHandlerThreads (I think it's better then just Threads since we might have some other threads we want to configure) to the TRdmaConfig.
And we need to pass this config to the rdmaTargetConfig here by getting it from RdmaConfig that already present in the disk agent actor.

Also let's not refactor the host/port in this PR. I noticed that the port is still coming from disk-agent.txt config
here
So either we leave it in the NProto::TDiskAgentConfig or move it to the rdma.txt as well. I will be easier to understand if it will be a separate PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants