KEMBAR78
chore(test): increase thread count for ParallelParameterized by BenWhitehead · Pull Request #1026 · googleapis/java-storage · GitHub
Skip to content

Conversation

@BenWhitehead
Copy link
Collaborator

@BenWhitehead BenWhitehead commented Sep 20, 2021

The tests are mostly IO bound, it should be safe to increase the number of threads to be higher than the number of cores.

Integration runtimes

Before
[WARNING] Tests run: 739, Failures: 0, Errors: 0, Skipped: 424, Time elapsed: 354.955 s - in com.google.cloud.storage.conformance.retry.ITRetryConformanceTest
After
[WARNING] Tests run: 739, Failures: 0, Errors: 0, Skipped: 424, Time elapsed: 96.439 s - in com.google.cloud.storage.conformance.retry.ITRetryConformanceTest

The tests are mostly IO bound, it should be safe to increase the number of threads to be higher than the number of cores
@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/java-storage API. label Sep 20, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 20, 2021
@BenWhitehead BenWhitehead marked this pull request as ready for review September 20, 2021 18:57
@BenWhitehead BenWhitehead requested a review from a team as a code owner September 20, 2021 18:57
@BenWhitehead
Copy link
Collaborator Author

I checked the cpu usage of the build host while the build ran wand we were still only using ~60% of the CPU.

@BenWhitehead BenWhitehead merged commit 0cb9a03 into googleapis:master Sep 21, 2021
@BenWhitehead BenWhitehead deleted the oversubscribe branch September 21, 2021 19:01
@BenWhitehead BenWhitehead added this to the Retry Conformance Project milestone Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the googleapis/java-storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants