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

Improve support for benchmarks with many clients #1044

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

danielmitterdorfer
Copy link
Member

With this commit we emit some log messages only once per task (instead
of once per simulated client). These messages were completely repetitive
and also sent at almost the same time. As each log message is sent as an
actor system message to thespian's logging actor, this causes a storm of
messages to be sent which fills up its internal message queue and leads
to dropped messages.

We also increase the size of Rally's internal queue that stores
measurement samples from 2^16 to 2^20 and make this setting configurable
via Rally's configuration file. This allows Rally to buffer more
measurement samples if a lot of clients are configured for a benchmark.

With this commit we emit some log messages only once per task (instead
of once per simulated client). These messages were completely repetitive
and also sent at almost the same time. As each log message is sent as an
actor system message to thespian's logging actor, this causes a storm of
messages to be sent which fills up its internal message queue and leads
to dropped messages.

We also increase the size of Rally's internal queue that stores
measurement samples from 2^16 to 2^20 and make this setting configurable
via Rally's configuration file. This allows Rally to buffer more
measurement samples if a lot of clients are configured for a benchmark.
@danielmitterdorfer danielmitterdorfer added bug Something's wrong :Load Driver Changes that affect the core of the load driver such as scheduling, the measurement approach etc. labels Jul 31, 2020
@danielmitterdorfer danielmitterdorfer added this to the 2.0.1 milestone Jul 31, 2020
@danielmitterdorfer danielmitterdorfer self-assigned this Jul 31, 2020
Copy link
Contributor

@dliappis dliappis left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@danielmitterdorfer danielmitterdorfer merged commit f126be8 into elastic:master Jul 31, 2020
@danielmitterdorfer danielmitterdorfer deleted the less-msg branch July 31, 2020 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's wrong :Load Driver Changes that affect the core of the load driver such as scheduling, the measurement approach etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants