Skip to content

Limit TPCC SDK network thread multiplication#11

Draft
zinal wants to merge 1 commit into
mainfrom
cursor/tpcc-network-threads-e592
Draft

Limit TPCC SDK network thread multiplication#11
zinal wants to merge 1 commit into
mainfrom
cursor/tpcc-network-threads-e592

Conversation

@zinal

@zinal zinal commented May 4, 2026

Copy link
Copy Markdown
Owner

Changelog entry

Reduce CPU overhead from SDK network threads in ydb workload tpcc run.

Changelog category

  • Performance improvement

Description for reviewers

ydb workload tpcc run may create multiple SDK drivers/query clients. Each driver previously used the full CLI network-intensive thread count, so the total gRPC completion-queue thread footprint scaled as driverCount * networkThreadCount.

This PR keeps the existing total network thread budget from TConfig::GetNetworkThreadNum() and distributes it across TPCC drivers, with at least one network thread per driver. The run log now includes the per-driver network-thread count.

Validation:

./ya make --build relwithdebinfo -tA ydb/library/workload/tpcc 2>&1 | tail
Open in Web Open in Cursor 

Co-authored-by: Maksim Zinal <zinal@ydb.tech>
zinal pushed a commit that referenced this pull request May 25, 2026
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