-
Notifications
You must be signed in to change notification settings - Fork 1.1k
WIP: Add conmon vs conmon-rs comparison tests #9388
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
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
0a606e6
to
6f1e8d5
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #9388 +/- ##
===========================================
- Coverage 67.22% 52.21% -15.02%
===========================================
Files 201 202 +1
Lines 27718 27781 +63
===========================================
- Hits 18634 14506 -4128
- Misses 7533 11789 +4256
+ Partials 1551 1486 -65 🚀 New features to boost your workflow:
|
6f1e8d5
to
8bbed8d
Compare
The numbers don't look to good for conmon-rs:
|
@saschagrunert Can we turn off the tracing feature for the fare comparison? |
We can make it compile optional, yes. |
Actually the effort is pretty high for this since the logging is wired into tracing. We already disable tracing by default, but I guess the logging creates vectors all over the place. I propose to disable logging for now, which should impact the memory usage: containers/conmon-rs#2661 |
note: to have a fully fair comparison we'll need to take cri-o's memory into account too because conmon-rs does some stuff for cri-o that conmon doesn't. that may make the picture look better for conmon-rs. but I agree, let's drop logging for now to see if that makes the picture better |
maybe if the test moves cri-o instance to a cgroup the tests creates, and then has the conmon cgroup be that cgroup as well we'd have a picture of what each are in conjunction with cri-o |
e9e1091
to
dc1edad
Compare
Numbers are way better now. We cal also further optimize with containers/conmon-rs#2674 |
f8d4402
to
067548d
Compare
coming closer:
|
067548d
to
aef38e0
Compare
5adead9
to
cd4f4b9
Compare
Reuse `monitor_env` to pass down the options to the pod runtime (conmon-rs). Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
8d1d8bc
to
4b06084
Compare
A new set of test results:
|
d264be0
to
15b22f9
Compare
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
15b22f9
to
90f2aeb
Compare
@saschagrunert: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
A friendly reminder that this PR had no activity for 30 days. |
What type of PR is this?
/kind ci
What this PR does / why we need it:
Add a memory comparison test between conmon and conmon-rs.
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?