-
Notifications
You must be signed in to change notification settings - Fork 279
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
Proactively cleanup dangling JFR repositories on startup #6441
Merged
Conversation
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
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 3 performance regressions! Performance is the same for 41 metrics, 10 unstable metrics.
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.28.0-SNAPSHOT~6405e013ce, baseline=1.28.0-SNAPSHOT~1fae4ff17e
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.06 s) : 0, 1060488
Total [baseline] (8.735 s) : 0, 8734520
Agent [candidate] (1.056 s) : 0, 1055705
Total [candidate] (8.743 s) : 0, 8742862
section iast
Agent [baseline] (1.182 s) : 0, 1181887
Total [baseline] (9.294 s) : 0, 9294364
Agent [candidate] (1.205 s) : 0, 1204660
Total [candidate] (9.347 s) : 0, 9346561
section iast_TELEMETRY_OFF
Agent [baseline] (1.185 s) : 0, 1184919
Total [baseline] (9.286 s) : 0, 9286496
Agent [candidate] (1.17 s) : 0, 1170463
Total [candidate] (9.273 s) : 0, 9272880
gantt
title insecure-bank - break down per module: candidate=1.28.0-SNAPSHOT~6405e013ce, baseline=1.28.0-SNAPSHOT~1fae4ff17e
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (669.969 ms) : 0, 669969
BytebuddyAgent [candidate] (666.598 ms) : 0, 666598
GlobalTracer [baseline] (297.059 ms) : 0, 297059
GlobalTracer [candidate] (296.183 ms) : 0, 296183
AppSec [baseline] (50.973 ms) : 0, 50973
AppSec [candidate] (50.813 ms) : 0, 50813
Remote Config [baseline] (670.084 µs) : 0, 670
Remote Config [candidate] (657.153 µs) : 0, 657
Telemetry [baseline] (7.273 ms) : 0, 7273
Telemetry [candidate] (7.172 ms) : 0, 7172
section iast
BytebuddyAgent [baseline] (778.04 ms) : 0, 778040
BytebuddyAgent [candidate] (793.975 ms) : 0, 793975
GlobalTracer [baseline] (287.336 ms) : 0, 287336
GlobalTracer [candidate] (292.843 ms) : 0, 292843
AppSec [baseline] (53.943 ms) : 0, 53943
AppSec [candidate] (53.0 ms) : 0, 53000
IAST [baseline] (19.97 ms) : 0, 19970
IAST [candidate] (20.924 ms) : 0, 20924
Remote Config [baseline] (609.782 µs) : 0, 610
Remote Config [candidate] (607.529 µs) : 0, 608
Telemetry [baseline] (7.433 ms) : 0, 7433
Telemetry [candidate] (8.096 ms) : 0, 8096
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (778.851 ms) : 0, 778851
BytebuddyAgent [candidate] (768.998 ms) : 0, 768998
GlobalTracer [baseline] (289.67 ms) : 0, 289670
GlobalTracer [candidate] (286.597 ms) : 0, 286597
AppSec [baseline] (54.516 ms) : 0, 54516
AppSec [candidate] (55.104 ms) : 0, 55104
IAST [baseline] (20.101 ms) : 0, 20101
IAST [candidate] (18.445 ms) : 0, 18445
Remote Config [baseline] (585.41 µs) : 0, 585
Remote Config [candidate] (575.971 µs) : 0, 576
Telemetry [baseline] (6.421 ms) : 0, 6421
Telemetry [candidate] (6.388 ms) : 0, 6388
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.28.0-SNAPSHOT~6405e013ce, baseline=1.28.0-SNAPSHOT~1fae4ff17e
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.054 s) : 0, 1053736
Total [baseline] (9.347 s) : 0, 9347276
Agent [candidate] (1.057 s) : 0, 1056776
Total [candidate] (9.355 s) : 0, 9354918
section appsec
Agent [baseline] (1.15 s) : 0, 1150381
Total [baseline] (9.474 s) : 0, 9473585
Agent [candidate] (1.155 s) : 0, 1154523
Total [candidate] (9.493 s) : 0, 9492779
section iast
Agent [baseline] (1.184 s) : 0, 1183704
Total [baseline] (9.716 s) : 0, 9715579
Agent [candidate] (1.177 s) : 0, 1176750
Total [candidate] (9.601 s) : 0, 9601370
section profiling
Agent [baseline] (1.274 s) : 0, 1273735
Total [baseline] (9.643 s) : 0, 9643245
Agent [candidate] (1.419 s) : 0, 1419412
Total [candidate] (9.738 s) : 0, 9737755
gantt
title petclinic - break down per module: candidate=1.28.0-SNAPSHOT~6405e013ce, baseline=1.28.0-SNAPSHOT~1fae4ff17e
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (666.681 ms) : 0, 666681
BytebuddyAgent [candidate] (667.215 ms) : 0, 667215
GlobalTracer [baseline] (294.282 ms) : 0, 294282
GlobalTracer [candidate] (296.434 ms) : 0, 296434
AppSec [baseline] (50.491 ms) : 0, 50491
AppSec [candidate] (50.807 ms) : 0, 50807
Remote Config [baseline] (657.704 µs) : 0, 658
Remote Config [candidate] (657.452 µs) : 0, 657
Telemetry [baseline] (7.214 ms) : 0, 7214
Telemetry [candidate] (7.214 ms) : 0, 7214
section appsec
BytebuddyAgent [baseline] (665.115 ms) : 0, 665115
BytebuddyAgent [candidate] (667.539 ms) : 0, 667539
GlobalTracer [baseline] (295.336 ms) : 0, 295336
GlobalTracer [candidate] (296.291 ms) : 0, 296291
AppSec [baseline] (148.225 ms) : 0, 148225
AppSec [candidate] (148.779 ms) : 0, 148779
Remote Config [baseline] (639.208 µs) : 0, 639
Remote Config [candidate] (645.592 µs) : 0, 646
Telemetry [baseline] (6.875 ms) : 0, 6875
Telemetry [candidate] (6.879 ms) : 0, 6879
section iast
BytebuddyAgent [baseline] (781.655 ms) : 0, 781655
BytebuddyAgent [candidate] (775.128 ms) : 0, 775128
GlobalTracer [baseline] (285.889 ms) : 0, 285889
GlobalTracer [candidate] (286.34 ms) : 0, 286340
AppSec [baseline] (52.94 ms) : 0, 52940
AppSec [candidate] (54.931 ms) : 0, 54931
Remote Config [baseline] (603.821 µs) : 0, 604
Remote Config [candidate] (582.666 µs) : 0, 583
Telemetry [baseline] (8.14 ms) : 0, 8140
Telemetry [candidate] (7.303 ms) : 0, 7303
IAST [baseline] (19.876 ms) : 0, 19876
IAST [candidate] (18.132 ms) : 0, 18132
section profiling
ProfilingAgent [baseline] (122.314 ms) : 0, 122314
ProfilingAgent [candidate] (251.474 ms) : 0, 251474
BytebuddyAgent [baseline] (661.86 ms) : 0, 661860
BytebuddyAgent [candidate] (672.055 ms) : 0, 672055
GlobalTracer [baseline] (375.921 ms) : 0, 375921
GlobalTracer [candidate] (381.071 ms) : 0, 381071
AppSec [baseline] (51.139 ms) : 0, 51139
AppSec [candidate] (51.444 ms) : 0, 51444
Remote Config [baseline] (980.763 µs) : 0, 981
Remote Config [candidate] (994.633 µs) : 0, 995
Telemetry [baseline] (7.296 ms) : 0, 7296
Telemetry [candidate] (7.309 ms) : 0, 7309
Profiling [baseline] (122.339 ms) : 0, 122339
Profiling [candidate] (251.501 ms) : 0, 251501
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 12 unstable metrics. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.28.0-SNAPSHOT~6405e013ce, baseline=1.28.0-SNAPSHOT~1fae4ff17e
dateFormat X
axisFormat %s
section baseline
no_agent (375.19 µs) : 355, 396
. : milestone, 375,
iast (480.238 µs) : 459, 501
. : milestone, 480,
iast_FULL (543.177 µs) : 523, 564
. : milestone, 543,
iast_INACTIVE (453.158 µs) : 432, 474
. : milestone, 453,
iast_TELEMETRY_OFF (477.956 µs) : 457, 499
. : milestone, 478,
tracing (449.43 µs) : 428, 470
. : milestone, 449,
section candidate
no_agent (368.542 µs) : 348, 389
. : milestone, 369,
iast (478.833 µs) : 458, 500
. : milestone, 479,
iast_FULL (541.941 µs) : 521, 563
. : milestone, 542,
iast_INACTIVE (447.387 µs) : 427, 468
. : milestone, 447,
iast_TELEMETRY_OFF (470.957 µs) : 451, 491
. : milestone, 471,
tracing (443.625 µs) : 423, 464
. : milestone, 444,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.28.0-SNAPSHOT~6405e013ce, baseline=1.28.0-SNAPSHOT~1fae4ff17e
dateFormat X
axisFormat %s
section baseline
no_agent (1.349 ms) : 1329, 1368
. : milestone, 1349,
appsec (1.764 ms) : 1739, 1789
. : milestone, 1764,
iast (1.526 ms) : 1501, 1550
. : milestone, 1526,
profiling (1.524 ms) : 1498, 1549
. : milestone, 1524,
tracing (1.495 ms) : 1470, 1520
. : milestone, 1495,
section candidate
no_agent (1.356 ms) : 1337, 1375
. : milestone, 1356,
appsec (1.783 ms) : 1757, 1808
. : milestone, 1783,
iast (1.516 ms) : 1491, 1540
. : milestone, 1516,
profiling (1.534 ms) : 1509, 1560
. : milestone, 1534,
tracing (1.486 ms) : 1461, 1510
. : milestone, 1486,
|
9467bf2
to
9e348dc
Compare
am312
reviewed
Jan 4, 2024
...r-jfr/implementation/src/main/java/com/datadog/profiling/controller/jfr/SimpleJFRAccess.java
Show resolved
Hide resolved
...r-jfr/implementation/src/main/java11/com/datadog/profiling/controller/jfr/JPMSJFRAccess.java
Show resolved
Hide resolved
richardstartin
approved these changes
Jan 5, 2024
richardstartin
approved these changes
Jan 5, 2024
richardstartin
approved these changes
Jan 8, 2024
eaf3cf4
to
5d0a570
Compare
5d0a570
to
6405e01
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What Does This Do
It runs a cleanup of JFR repository locations not belonging to any of the currently running JVMs.
Motivation
This is supposed to prevent accumulation of JFR artifacts due to unnoticed VM crashes. These can fill up the disk and render the whole host inoperable.
Additional Notes
Jira ticket: PROF-8848