forked from puppetlabs/puppetdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PE-37113) benchmark: restrict number of concurrently active hosts
Add a --concurrent-hosts option that restricts the number of hosts that have active command sequences. Without this, in --nummsgs mode, there's no bound on the heap size that might be required (as more and more delayed sequences pile up in the scheduler), and while we might change this later, right now each active sequence will have the entire host-info (e.g. possibly factset, catalog, report) in RAM, so there's a notable limit (perhaps on the order of hundreds of concurrent sequences per GB). The maximum number of hosts that could be in flight in --runinterval mode depends on the interval and host count. (If --concurrent-hosts is set too low, then benchmark won't be able to hit the requested rate.)
- Loading branch information
Showing
1 changed file
with
130 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters