Project

General

Profile

Actions

Bug #17371

closed

Agent consuming lots of IO and resources at each run

Added by Benoît PECCATTE over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Performance and scalability
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

Backport #17335 to 6.0


Subtasks 1 (0 open1 closed)

Bug #17378: cf-agent writes a lot of times to performance dbReleasedAlexis MoussetActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #17335: cf-agent writes a lot of times to performance dbReleasedAlexis MoussetActions
Actions #1

Updated by Benoît PECCATTE over 4 years ago

  • Related to Bug #17335: cf-agent writes a lot of times to performance db added
Actions #2

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #3

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2283
Actions #4

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Benoît PECCATTE over 4 years ago

Before:
- one datasync on performance.lmdb per promise evaluation
- around 400 datasync per directive
- around 20000 datasync per run
- 118s per run on a lightly loaded server (can highly depend on storage type and io load

After
- No datasync on performance.lmdb
- 17s per run on the same server

-> 85% time reduction (7x improvement)

Actions #6

Updated by Vincent MEMBRÉ over 4 years ago

  • Subject changed from cf-agent writes a lot of times to performance db to Agent consuming lots of IO and resources at each run
Actions #7

Updated by Benoît PECCATTE over 4 years ago

  • Fix check changed from To do to Checked
Actions #8

Updated by Vincent MEMBRÉ over 4 years ago

  • Name check changed from To do to Reviewed
Actions #9

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.0.6 which was released today.

Actions

Also available in: Atom PDF