Skip to content

WIP: perf: latency: e2e: check dynamic memory computation #1519

Draft
shajmakh wants to merge 2 commits into
openshift:mainfrom
shajmakh:mem-for-latency-e2e
Draft

WIP: perf: latency: e2e: check dynamic memory computation #1519
shajmakh wants to merge 2 commits into
openshift:mainfrom
shajmakh:mem-for-latency-e2e

Conversation

@shajmakh
Copy link
Copy Markdown
Contributor

No description provided.

shajmakh added 2 commits May 18, 2026 16:35
When CPUs are very high the pod's fixed memory resources may become too
low to run the latency checks. Add an environment variable to allow more
flexibility while preserving the old behavior for backward
compatibility.
The new behavior goes like this:
1. If no env var is set, keep the default old behavior (1Gi)
2. else, if it was set to a specific memory value and it's valid
   quantity then use that in the latency pod, otherwise throw an error.
   If the env var value was set to `dynamic`, the test will compute the
memory by (number of computed CPUs * 32Mi).

`32Mi` was picked based on input from consumers of the application; If
happened that the memory is still not enough, the user has the
flexibility to override the total memory with an explicit value.

Signed-off-by: Shereen Haj <shajmakh@redhat.com>
@shajmakh shajmakh marked this pull request as draft May 18, 2026 13:38
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Warning

Rate limit exceeded

@shajmakh has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 12 minutes and 4 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: b81f1dd6-a2da-4b11-b51e-ad7d467f133e

📥 Commits

Reviewing files that changed from the base of the PR and between ce1afe5 and 9c86b4a.

📒 Files selected for processing (9)
  • report.xml
  • test/e2e/performanceprofile/functests/0_config/0_config.test
  • test/e2e/performanceprofile/functests/0_config/config.go
  • test/e2e/performanceprofile/functests/0_config/report.xml
  • test/e2e/performanceprofile/functests/4_latency/latency.go
  • test/e2e/performanceprofile/functests/4_latency/tester/unit_test.go
  • test/e2e/performanceprofile/functests/5_latency_testing/5_latency_testing.test
  • test/e2e/performanceprofile/functests/5_latency_testing/5_latency_testing_suite_test.go
  • test/e2e/performanceprofile/functests/5_latency_testing/latency_testing.go
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 18, 2026
@shajmakh shajmakh changed the title Mem for latency e2e WIP: perf: latency: e2e: check dynamic memory computation May 18, 2026
@openshift-ci openshift-ci Bot requested review from Tal-or and jmencak May 18, 2026 13:39
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 18, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: shajmakh
Once this PR has been reviewed and has the lgtm label, please assign yanirq for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@shajmakh
Copy link
Copy Markdown
Contributor Author

coverage for #1517

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 18, 2026

@shajmakh: all tests passed!

Full PR test history. Your PR dashboard.

Details

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.

@shajmakh shajmakh force-pushed the mem-for-latency-e2e branch from 028469c to 9c86b4a Compare May 18, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant