-
Notifications
You must be signed in to change notification settings - Fork 73
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
Fixes #15675: Leak in Cache of Node Compliance and NodeInfo and perfs improvement #2648
Closed
ncharles
wants to merge
42
commits into
Normation:branches/rudder/5.0
from
ncharles:bug_15675/leak_in_cache_of_node_compliance_and_nodeinfo_and_perfs_improvement2
Closed
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
3af575c
Fixes #15675: Leak in Cache of Node Compliance and NodeInfo and perfs…
ncharles e6aeb1a
fixup! fixes #15675: fix memory usage
ncharles f80eee0
fixup! fixup! fixes #15675: fix memory usage
ncharles 32ecee9
fixup
ncharles b5e4710
fixup
ncharles 9b35e71
Try to prevent locking in yourkit
ncharles 9598aaa
memory usage computation
ncharles 38611b3
Revert "memory usage computation"
ncharles b530809
adding memory usage computation
ncharles f70ce20
allow instrumentaton
ncharles 3ed9ec0
exclude jar to allow instrumentation to load
ncharles 87c09cf
adding measure pour nodecontexts
ncharles 78cdb29
originalVars is unused
ncharles 74e664f
measuring policies
ncharles 312da22
test wrapping inside for yield
ncharles 1f92658
typo
ncharles 16eafe2
remove unessary call to trim
ncharles 18af296
more for yield, it's like violence
ncharles c56c638
lower number of created objects + fasten compliance computation
ncharles 9bce1c0
try to help hotpot by adding all variables at once
ncharles 9e2c74e
try to help hotpot by adding all variables at once - edge case
ncharles e916e3e
for yield, for yield for everyone, for you, for them
ncharles 962c7a0
convert val to def to save memory and measure impact
ncharles 78eab1e
randomize templates to write
ncharles 36b0eea
adding timing info
ncharles e3001fa
aggregate timings
ncharles 535e32e
improve timing
ncharles 2001015
fix type
ncharles 97c9c0b
fix type2
ncharles fbfcc9c
fix type2
ncharles 355fbeb
fix compilation
ncharles 9176763
remove some mapValues
ncharles 7fe1bc6
Revert "remove some mapValues"
ncharles a0c1757
removing extra map of nodeconfiguration in the hope to save memory
ncharles 5a9d3ea
attempt to lower pressure on memory usage
ncharles 6225312
fix type
ncharles e680f67
fix type
ncharles 33f4ca6
clean some usage
ncharles 96ceafb
correct type
ncharles a93b67e
test to remove spike
ncharles 236a035
try to lower memory pressur whil fetching reports
ncharles 9ff671a
fix type
ncharles File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one seems to have a lot of impact
Size deepof nodeConfigs is 2 668 075 072
Size deepof ruleVals is 376 459 952
vs
Size deepof nodeConfigs is 3 474 356 896
Size deepof ruleVals is 748 776 080
but we need to validate as there is a lot of variability in ruleval (from 748 487 288 to 2 123 635 544)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nodeconfig is stable at about 2 668 075 048 with this line vs 3 474 356 896 without this line