Skip to content

Remove arbitrary upper limit on num_vu for schema build#861

Open
hqakhtar wants to merge 1 commit intoTPC-Council:masterfrom
hqakhtar:remove_num_vu_upper_limit
Open

Remove arbitrary upper limit on num_vu for schema build#861
hqakhtar wants to merge 1 commit intoTPC-Council:masterfrom
hqakhtar:remove_num_vu_upper_limit

Conversation

@hqakhtar
Copy link
Copy Markdown

@hqakhtar hqakhtar commented Apr 7, 2026

Remove the hardcoded upper limit on the number of virtual users for schema building across all database backends. The warehouse/scale-factor count constraint already provides a natural upper bound, making the arbitrary numeric cap redundant. This will help speedup the data population by utilizing a bigger set of workers.

Changes:

  • verify_build_threads: remove maximum parameter, validate positive integer only
  • gencli.tcl: remove 1024 cap from TPC-C and TPC-H CLI validation
  • All database spinboxes: set upper bound to 100000 (matching max warehouse count)
  • Update all verify_build_threads callers to drop the third argument

Remove the hardcoded upper limit on the number of virtual users for
schema building across all database backends. The warehouse/scale-factor
count constraint already provides a natural upper bound, making the
arbitrary numeric cap redundant.

Changes:
- verify_build_threads: remove maximum parameter, validate positive
  integer only
- gencli.tcl: remove 1024 cap from TPC-C and TPC-H CLI validation
- All database spinboxes: set upper bound to 100000 (matching max
  warehouse count)
- Update all verify_build_threads callers to drop the third argument
@hqakhtar hqakhtar requested a review from a team as a code owner April 7, 2026 12:44
@sm-shaw
Copy link
Copy Markdown
Contributor

sm-shaw commented Apr 7, 2026

Hi, many thanks for the pull request. Yes this looks very reasonable. The limit was an artifact from a time that systems/core counts were not as performant as today so as a concept this is fine to remove this.
From an overview it looks fine, I will test before approval.
The next TPC-OSS meeting is 14th April around when all the current pull requests are expected to be merged.

Copy link
Copy Markdown
Contributor

@sm-shaw sm-shaw left a comment

Choose a reason for hiding this comment

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

Reviewed and approved to remove build thread limit.

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