Skip to content

Re-tune CI resource usage ranges for 15 tests (slf7 e26:prof, 21Oct2026) - #930

Merged
jas1005 merged 1 commit into
developfrom
maintenance/ci_resource_autotune-21Oct2026-target=develop
Oct 22, 2026
Merged

jas1005 merged 1 commit into
developfrom
maintenance/ci_resource_autotune-21Oct2026-target=develop

Conversation

@jas1005

@jas1005 jas1005 commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Automated re-tuning of the cpu_usage_range and mem_usage_range limits of 15 icaruscode CI tests in test/ci/ci_tests.cfg, based on resource-usage history from the CI dashboard.

Method

  • Platform: Linux slf7
  • Build type: slf7 e26:prof
  • CI phase: ci_tests
  • CI runs considered: data after 2026-09-09 00:00:00
  • Excluded runs: CI runs with test success = False excluded
  • CPU: statistic rusage_scaled_user_cpu -> cpu_usage_range
  • Memory: statistic rusage_maxrss -> mem_usage_range
  • New range: mean +/- max(1 * stdev, 0.01 * mean), with the lower bound rounded down (never below 0) and the upper bound rounded up. The same rule is used for CPU and memory.

Changes (old -> new, as lower:upper)

Test CPU range Memory range
intimecosmic_detsim_quick_test_icaruscode 950:1400 -> 4634:7942 5900000:6800000 -> 6300924:6428216
intimecosmic_g4_quick_test_icaruscode 2300:3400 -> 1727:3033 5000000:6400000 -> 4480392:4570906
intimecosmic_gen_quick_test_icaruscode 5300:6300 -> 2822:4343 300000:500000 -> 2901398:2960013
intimecosmic_reco0_quick_test_icaruscode 2250:2950 -> 3025:5447 5600000:6600000 -> 8320750:8644620
intimecosmic_reco1_quick_test_icaruscode 1050:1550 -> 280:487 4300000:5300000 -> 2522304:2647360
nucosmics_detsim_quick_test_icaruscode 1000:1803 -> 4751:8063 6000000:12000003 -> 6483706:6614691
nucosmics_g4_quick_test_icaruscode 3000:5003 -> 1171:1987 5000000:9000003 -> 4305825:4392813
nucosmics_gen_quick_test_icaruscode 300:753 -> 172:313 1800000:3500003 -> 1148540:1180824
nucosmics_reco0_quick_test_icaruscode 1900:4403 -> 3054:5519 6500000:10650003 -> 8395218:8701731
nucosmics_reco1_quick_test_icaruscode 1900:4403 -> 376:648 6500000:12000003 -> 2861932:3091904
single_detsim_quick_test_icaruscode 450:900 -> 2034:3396 2100000:5000000 -> 3467053:4063964
single_g4_quick_test_icaruscode 750:1200 -> 776:1417 2800000:5000000 -> 2771516:2827508
single_gen_quick_test_icaruscode 5:50 -> 8:14 100000:400000 -> 517540:527997
single_reco0_quick_test_icaruscode 1650:3250 -> 2906:5264 4000000:5000000 -> 7657515:7812214
single_reco1_quick_test_icaruscode 100:550 -> 102:176 2200000:3500000 -> 1491794:1528247

Notes for reviewers

  • Only the cpu_usage_range and mem_usage_range values and the # Calibrated ... comment line of the listed [test ...] sections are modified; no other part of the file changes.

Update cpu_usage_range and mem_usage_range (and the calibration comment) of 15 tests from CI dashboard history (Linux slf7, slf7 e26:prof; data after 2026-09-09 00:00:00; CI runs with test success = False excluded).
@jas1005
jas1005 requested review from vitodb and a balanced review from Copilot October 21, 2026 22:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@vitodb vitodb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done, this looks good to me!

@jas1005

jas1005 commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

Not triggering a build for this PR since it's only a fcl-level change, and Vito and I are both familiar with how the script came up with these updated resouce ranges. For those looking to use this script in the future, you can find it in the icarusci user's home directory.

@jas1005
jas1005 merged commit 9f8085c into develop Oct 22, 2026
@jas1005
jas1005 deleted the maintenance/ci_resource_autotune-21Oct2026-target=develop branch October 22, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants