Skip to content

Benchmark config validation #8100

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Al2Klimov
Copy link
Member

No description provided.

@Al2Klimov Al2Klimov self-assigned this Jul 9, 2020
@Al2Klimov Al2Klimov changed the title WIP Benchmark config validation Jul 9, 2020
@Al2Klimov
Copy link
Member Author

# icinga2 daemon -C
[2020-07-09 10:10:26 +0000] information/cli: Icinga application loader (version: v2.12.0-rc1-54-g0793739)
[2020-07-09 10:10:26 +0000] information/cli: Loading configuration file(s).
[2020-07-09 10:10:29 +0000] information/cli: Compiled configuration files within 3.09818s
...
[2020-07-09 10:12:09 +0000] information/cli: Committed configuration items within 100.746s
[2020-07-09 10:12:10 +0000] information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars'
[2020-07-09 10:12:10 +0000] information/cli: Finished validating the configuration file(s).
#

@Al2Klimov Al2Klimov added this to the 2.13.0 milestone Jul 9, 2020
@Al2Klimov Al2Klimov added area/cli Command line helpers area/configuration DSL, parser, compiler, error handling core/quality Improve code, libraries, algorithms, inline docs labels Jul 9, 2020
@Al2Klimov Al2Klimov force-pushed the feature/benchmark-config branch from 0793739 to b85519d Compare July 17, 2020 16:13
@Al2Klimov
Copy link
Member Author

[2020-08-05 11:03:13 +0000] notice/configitem: Committed 1 items of type IdoMysqlConnection in 0.003796s.
[2020-08-05 11:03:13 +0000] notice/configitem: Committed 1 items of type ApiUser in 0.00415987s.
[2020-08-05 11:03:13 +0000] notice/configitem: Committed 1 items of type User in 0.0020334s.
[2020-08-05 11:03:13 +0000] notice/configitem: Committed 310 items of type CheckCommand in 0.0329828s.
[2020-08-05 11:03:13 +0000] notice/configitem: Committed 12 items of type ServiceGroup in 0.00141521s.
[2020-08-05 11:03:13 +0000] notice/configitem: Committed 9 items of type TimePeriod in 0.00250036s.
[2020-08-05 11:03:14 +0000] notice/configitem: Committed 8936 items of type Host in 0.65088s.
[2020-08-05 11:03:16 +0000] notice/configitem: Committed 30495 items of type Service in 2.67865s.
[2020-08-05 11:03:16 +0000] notice/configitem: Sent OnAllConfigLoaded to 4 items of type NotificationCommand in 0.00185908s.
[2020-08-05 11:03:16 +0000] notice/configitem: Sent OnAllConfigLoaded to 1 items of type FileLogger in 0.00188737s.
[2020-08-05 11:03:16 +0000] notice/configitem: Sent OnAllConfigLoaded to 1 items of type CheckerComponent in 0.00181938s.
[2020-08-05 11:03:16 +0000] notice/configitem: Sent OnAllConfigLoaded to 1 items of type IcingaApplication in 0.00178651s.
[2020-08-05 11:03:16 +0000] notice/configitem: Sent OnAllConfigLoaded to 13 items of type HostGroup in 0.00179262s.
[2020-08-05 11:03:16 +0000] notice/configitem: Sent OnAllConfigLoaded to 1 items of type ApiListener in 0.00169662s.
[2020-08-05 11:03:16 +0000] notice/configitem: Sent OnAllConfigLoaded to 7473 items of type Zone in 0.0233572s.
[2020-08-05 11:03:16 +0000] notice/configitem: Sent OnAllConfigLoaded to 7473 items of type Endpoint in 0.0057031s.
[2020-08-05 11:03:16 +0000] notice/configitem: Sent CreateChildObjects to 7473 items of type Endpoint in 0.00406349s.
[2020-08-05 11:03:16 +0000] notice/configitem: Sent OnAllConfigLoaded to 1 items of type IdoMysqlConnection in 0.00209158s.
[2020-08-05 11:03:16 +0000] notice/configitem: Sent OnAllConfigLoaded to 1 items of type ApiUser in 0.00184798s.
[2020-08-05 11:03:16 +0000] notice/configitem: Sent OnAllConfigLoaded to 1 items of type User in 0.0018425s.
[2020-08-05 11:03:16 +0000] notice/configitem: Sent OnAllConfigLoaded to 310 items of type CheckCommand in 0.00194264s.
[2020-08-05 11:03:17 +0000] notice/configitem: Sent OnAllConfigLoaded to 12 items of type ServiceGroup in 0.00193204s.
[2020-08-05 11:03:17 +0000] notice/configitem: Sent OnAllConfigLoaded to 9 items of type TimePeriod in 0.00210833s.
[2020-08-05 11:03:17 +0000] notice/configitem: Sent OnAllConfigLoaded to 8936 items of type Host in 0.167164s.
[2020-08-05 11:03:17 +0000] notice/configitem: Sent CreateChildObjects to 14947 items of type Host in 0.0150479s.
[2020-08-05 11:03:17 +0000] notice/configitem: Sent OnAllConfigLoaded to 30495 items of type Service in 0.28373s.

@Al2Klimov
Copy link
Member Author

@lippserd On the first sight the DSL and the applies seem to be the slowest:

[2020-08-05 11:03:31 +0000] notice/configitem: Sent CreateChildObjects to 23883 items of type Service in 13.9271s.
[2020-08-05 11:03:33 +0000] notice/DbConnection: Updating programstatus table.
[2020-08-05 11:03:43 +0000] notice/DbConnection: Updating programstatus table.
[2020-08-05 11:03:46 +0000] notice/configitem: Committed 171068 items of type Service in 14.0673s.

This customer has a lot of services, so they take the most time.

@Al2Klimov Al2Klimov removed their assignment Aug 5, 2020
@Al2Klimov Al2Klimov marked this pull request as ready for review August 5, 2020 11:20
@Al2Klimov Al2Klimov modified the milestones: 2.13.0, 2.14.0 Jun 2, 2021
@Al2Klimov
Copy link
Member Author

@cla-bot check

@cla-bot cla-bot bot added the cla/signed label Aug 4, 2021
@julianbrost julianbrost removed this from the 2.14.0 milestone Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Command line helpers area/configuration DSL, parser, compiler, error handling cla/signed core/quality Improve code, libraries, algorithms, inline docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants