Skip to content
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

Akarpowich/remove preexisting empty conns #31100

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

akarpz
Copy link
Contributor

@akarpz akarpz commented Nov 14, 2024

What does this PR do?

Motivation

Describe how to test/QA your changes

Possible Drawbacks / Trade-offs

Additional Notes

@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Nov 14, 2024

Test changes on VM

Use this command from test-infra-definitions to manually test this PR changes on a VM:

inv create-vm --pipeline-id=49070236 --os-family=ubuntu

Note: This applies to commit 249cdae

Copy link

Regression Detector

Regression Detector Results

Metrics dashboard
Target profiles
Run ID: c2ea9b84-7f11-4742-9a3d-b7fb00570326

Baseline: 37e69fb
Comparison: 249cdae
Diff

Optimization Goals: ✅ No significant changes detected

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
uds_dogstatsd_to_api_cpu % cpu utilization +1.42 [+0.69, +2.15] 1 Logs
quality_gate_idle_all_features memory utilization +0.61 [+0.51, +0.71] 1 Logs bounds checks dashboard
file_tree memory utilization +0.59 [+0.46, +0.73] 1 Logs
quality_gate_idle memory utilization +0.29 [+0.25, +0.34] 1 Logs bounds checks dashboard
basic_py_check % cpu utilization +0.20 [-3.62, +4.02] 1 Logs
tcp_syslog_to_blackhole ingress throughput +0.17 [+0.13, +0.22] 1 Logs
file_to_blackhole_1000ms_latency_linear_load egress throughput +0.03 [-0.46, +0.52] 1 Logs
file_to_blackhole_100ms_latency egress throughput +0.01 [-0.30, +0.33] 1 Logs
uds_dogstatsd_to_api ingress throughput +0.00 [-0.10, +0.10] 1 Logs
tcp_dd_logs_filter_exclude ingress throughput -0.00 [-0.01, +0.01] 1 Logs
file_to_blackhole_500ms_latency egress throughput -0.02 [-0.26, +0.23] 1 Logs
file_to_blackhole_0ms_latency egress throughput -0.02 [-0.49, +0.45] 1 Logs
file_to_blackhole_300ms_latency egress throughput -0.03 [-0.22, +0.16] 1 Logs
file_to_blackhole_1000ms_latency egress throughput -0.28 [-0.77, +0.20] 1 Logs
pycheck_lots_of_tags % cpu utilization -0.33 [-3.74, +3.09] 1 Logs
otel_to_otel_logs ingress throughput -0.38 [-1.10, +0.34] 1 Logs

Bounds Checks: ❌ Failed

perf experiment bounds_check_name replicates_passed links
file_to_blackhole_0ms_latency lost_bytes 9/10
file_to_blackhole_100ms_latency lost_bytes 9/10
quality_gate_idle memory_usage 9/10 bounds checks dashboard
file_to_blackhole_0ms_latency memory_usage 10/10
file_to_blackhole_1000ms_latency memory_usage 10/10
file_to_blackhole_1000ms_latency_linear_load memory_usage 10/10
file_to_blackhole_100ms_latency memory_usage 10/10
file_to_blackhole_300ms_latency memory_usage 10/10
file_to_blackhole_500ms_latency memory_usage 10/10
quality_gate_idle_all_features memory_usage 10/10 bounds checks dashboard

Explanation

Confidence level: 90.00%
Effect size tolerance: |Δ mean %| ≥ 5.00%

Performance changes are noted in the perf column of each table:

  • ✅ = significantly better comparison variant performance
  • ❌ = significantly worse comparison variant performance
  • ➖ = no significant change in performance

A regression test is an A/B test of target performance in a repeatable rig, where "performance" is measured as "comparison variant minus baseline variant" for an optimization goal (e.g., ingress throughput). Due to intrinsic variability in measuring that goal, we can only estimate its mean value for each experiment; we report uncertainty in that value as a 90.00% confidence interval denoted "Δ mean % CI".

For each experiment, we decide whether a change in performance is a "regression" -- a change worth investigating further -- if all of the following criteria are true:

  1. Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.

  2. Its 90.00% confidence interval "Δ mean % CI" does not contain zero, indicating that if our statistical model is accurate, there is at least a 90.00% chance there is a difference in performance between baseline and comparison variants.

  3. Its configuration does not mark it "erratic".

CI Pass/Fail Decision

Failed. Some Quality Gates were violated.

  • quality_gate_idle, bounds check memory_usage: 9/10 replicas passed. Failed 1 which is > 0. Gate FAILED.
  • quality_gate_idle_all_features, bounds check memory_usage: 10/10 replicas passed. Gate passed.

@agent-platform-auto-pr
Copy link
Contributor

eBPF complexity changes

Summary result: ❔ - needs attention

  • Highest complexity change (%): +6.15%
  • Highest complexity change (abs.): +79 instructions
  • Programs that were above the 85.0% limit of instructions and are now below: 0
  • Programs that were below the 85.0% limit of instructions and are now above: 0
tracer details

tracer [programs with changes]

Program Avg. complexity Distro with highest complexity Distro with lowest complexity

tracer [programs without changes]

Program Avg. complexity Distro with highest complexity Distro with lowest complexity
kprobe__tcp_connect ⚪ 457.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 538.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 417.0 (+0.0, +0.00%)
kprobe__tcp_done ⚪ 450.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 528.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 412.0 (+0.0, +0.00%)
kprobe__tcp_finish_connect ⚪ 910.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1018.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 851.0 (+0.0, +0.00%)
kprobe__tcp_read_sock ⚪ 23.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 23.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 23.0 (+0.0, +0.00%)
kprobe__tcp_recvmsg ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%)
kprobe__tcp_recvmsg__pre_4_1_0 ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%)
kprobe__tcp_recvmsg__pre_5_19_0 ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%)
kprobe__tcp_retransmit_skb ⚪ 33.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 33.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 33.0 (+0.0, +0.00%)
kprobe__tcp_sendmsg ⚪ 24.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 24.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 24.0 (+0.0, +0.00%)
kprobe__tcp_sendmsg__pre_4_1_0 ⚪ 24.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 24.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 24.0 (+0.0, +0.00%)
kprobe__tcp_sendpage ⚪ 24.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 24.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 24.0 (+0.0, +0.00%)
kprobe__udp_destroy_sock ⚪ 1269.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 2039.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 885.0 (+0.0, +0.00%)
kprobe__udp_recvmsg ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%)
kprobe__udp_recvmsg_pre_4_1_0 ⚪ 30.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 30.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 30.0 (+0.0, +0.00%)
kprobe__udp_recvmsg_pre_4_7_0 ⚪ 30.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 30.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 30.0 (+0.0, +0.00%)
kprobe__udp_recvmsg_pre_5_19_0 ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%)
kprobe__udp_sendpage ⚪ 23.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 23.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 23.0 (+0.0, +0.00%)
kprobe__udpv6_destroy_sock ⚪ 1269.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 2039.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 885.0 (+0.0, +0.00%)
kprobe__udpv6_recvmsg ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%)
kprobe__udpv6_recvmsg_pre_4_1_0 ⚪ 30.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 30.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 30.0 (+0.0, +0.00%)
kprobe__udpv6_recvmsg_pre_4_7_0 ⚪ 30.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 30.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 30.0 (+0.0, +0.00%)
kprobe__udpv6_recvmsg_pre_5_19_0 ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%)
kretprobe__inet6_bind ⚪ 205.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 205.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 205.0 (+0.0, +0.00%)
kretprobe__inet_bind ⚪ 205.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 205.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 205.0 (+0.0, +0.00%)
kretprobe__inet_csk_accept ⚪ 1743.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1816.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 1701.0 (+0.0, +0.00%)
kretprobe__ip6_make_skb ⚪ 1631.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 2037.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 1327.0 (+0.0, +0.00%)
kretprobe__ip_make_skb ⚪ 1148.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1303.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 1048.0 (+0.0, +0.00%)
kretprobe__tcp_close_clean_protocols ⚪ 212.4 (+0.0, +0.00%) centos_8/arm64: ⚪ 225.0 (+0.0, +0.00%) debian_10/arm64: ⚪ 199.0 (+0.0, +0.00%)
kretprobe__tcp_close_flush ⚪ 216.4 (+0.0, +0.00%) debian_10/arm64: ⚪ 217.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 216.0 (+0.0, +0.00%)
kretprobe__tcp_done_flush ⚪ 216.4 (+0.0, +0.00%) debian_10/arm64: ⚪ 217.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 216.0 (+0.0, +0.00%)
kretprobe__tcp_read_sock ⚪ 1036.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1128.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 990.0 (+0.0, +0.00%)
kretprobe__tcp_recvmsg ⚪ 1036.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1128.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 990.0 (+0.0, +0.00%)
kretprobe__tcp_retransmit_skb ⚪ 475.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 559.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 434.0 (+0.0, +0.00%)
kretprobe__tcp_sendmsg ⚪ 1036.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1128.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 990.0 (+0.0, +0.00%)
kretprobe__tcp_sendpage ⚪ 1036.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1128.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 990.0 (+0.0, +0.00%)
kretprobe__udp_destroy_sock ⚪ 217.4 (+0.0, +0.00%) debian_10/arm64: ⚪ 218.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 217.0 (+0.0, +0.00%)
kretprobe__udp_recvmsg ⚪ 9.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 9.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 9.0 (+0.0, +0.00%)
kretprobe__udp_recvmsg_pre_4_7_0 ⚪ 1391.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1616.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 1137.0 (+0.0, +0.00%)
kretprobe__udp_sendpage ⚪ 894.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 965.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 847.0 (+0.0, +0.00%)
kretprobe__udpv6_destroy_sock ⚪ 217.4 (+0.0, +0.00%) debian_10/arm64: ⚪ 218.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 217.0 (+0.0, +0.00%)
kretprobe__udpv6_recvmsg ⚪ 9.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 9.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 9.0 (+0.0, +0.00%)
kretprobe__udpv6_recvmsg_pre_4_7_0 ⚪ 1391.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1616.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 1137.0 (+0.0, +0.00%)
socket__classifier_dbs ⚪ 2427.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 2434.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2420.0 (+0.0, +0.00%)
socket__classifier_entry ⚪ 2547.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 2562.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2534.0 (+0.0, +0.00%)
socket__classifier_grpc ⚪ 6754.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 6775.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 6719.0 (+0.0, +0.00%)
socket__classifier_queues ⚪ 7023.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 8247.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 4617.0 (+0.0, +0.00%)
tracepoint__net__net_dev_queue ⚪ 971.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1183.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 800.0 (+0.0, +0.00%)

This report was generated based on the complexity data for the current branch akarpowich/remove_preexisting_empty_conns (pipeline 49070236, commit 249cdae) and the base branch main (commit 37e69fb). Objects without changes are not reported. Contact #ebpf-platform if you have any questions/feedback.

Table complexity legend: 🔵 - new; ⚪ - unchanged; 🟢 - reduced; 🔴 - increased

@akarpz akarpz added changelog/no-changelog qa/done Skip QA week as QA was done before merge and regressions are covered by tests labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog component/system-probe medium review PR review might take time qa/done Skip QA week as QA was done before merge and regressions are covered by tests team/networks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant