Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable agents to auto-select how many threads to use #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

geoffreyblake
Copy link

Since the load and latency agents are polling based, we don't want more threads than available cores to avoid errorneous measurements.

Allow -ltThreads and -loadThreads (-t at the agent command line) to take a -1 option and have the agents determine the number of threads to use. Also, make sure at least one connection per thread exists, by checking if avalaible threads > connections and settings threads = connections.

more threads than available cores to avoid errorneous measurements.

Allow -ltThreads and -loadThreads (-t at the agent command line) to
take a -1 option and have the agents determine the number of threads
to use.  Also, make sure at least one connection per thread exists, by
checking if avalaible threads > connections and settings threads =
connections.
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.

1 participant