Skip to content

Commit

Permalink
Adjust CPU search limits.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 590084870
  • Loading branch information
bvliu authored and copybara-github committed Dec 12, 2023
1 parent 0d44448 commit 8d52394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perfkitbenchmarker/linux_packages/ycsb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ def _RunCpuModeSingleWorkload(workload: str) -> list[sample.Sample]:
time.sleep(_CPU_OPTIMIZATION_SLEEP_MINS.value * 60)

lower_bound = 0
upper_bound = theoretical_max_qps * 2
upper_bound = theoretical_max_qps * 4
while lower_bound <= upper_bound:
if upper_bound - lower_bound <= theoretical_max_qps * 0.01:
raise RetriableCpuSearchBoundsError(
Expand Down

0 comments on commit 8d52394

Please sign in to comment.