Skip to content
Snippets Groups Projects

Generate configuration in a separate process to reduce memory usage

Merged Chris Burr requested to merge reduce-mem-overhead into 2024-patches
1 unresolved thread

Generating the configuration can result in several GBs of RSS overhead which is kept for the remainder of the process. In practice this is no longer needed. It's not obvious how to deallocate this memory due to Configurables being singletons so it's easier to generate the configuration in a subprocess and then pass it back to the parent via shared memory.

Examples:

HLT2 MC Reconstruction

Before:

iTerm2.sKFIqz.test

After:

iTerm2.OIh5jl.test

test_davinci_tupling_All (prebuilt functor cache)

Before:

iTerm2.V2FPWW.test

After

iTerm2.W7UEZv.test

Large-ish DaVinci job from RD (prebuilt functor cache)

Job was killed after ~300 seconds.

Before:

iTerm2.9E8lQ3.test

After:

iTerm2.MMrqA9.test

Large-ish DaVinci job from RD (no functor cache)

Job was killed after ~600 seconds.

Before:

iTerm2.beU32u.test

After:

iTerm2.8lC1m6.test

Merge request reports

Merge request pipeline #9381273 passed

Merge request pipeline passed for 5f3b1032

Merged by Miroslav SaurMiroslav Saur 4 months ago (Dec 6, 2024 1:15pm UTC)

Merge details

  • Changes merged into 2024-patches with 0aa5963d (commits were squashed).
  • Deleted the source branch.

Pipeline #9389711 passed

Pipeline passed for 0aa5963d on 2024-patches

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Chris Burr added 3 commits

    added 3 commits

    • 4fce433c...bd4d042f - 2 commits from branch 2024-patches
    • 7756c4d9 - Generate configuration in a separate process to reduce memory usage

    Compare with previous version

  • Chris Burr resolved all threads

    resolved all threads

  • Chris Burr added 1 commit

    added 1 commit

    • 5f3b1032 - Generate configuration in a separate process to reduce memory usage

    Compare with previous version

  • Chris Burr marked this merge request as ready

    marked this merge request as ready

  • @clemenci Would you have any further questions to this MR? If not, then please approve.

  • Marco Clemencic approved this merge request

    approved this merge request

  • Miroslav Saur resolved all threads

    resolved all threads

  • Miroslav Saur mentioned in commit 0aa5963d

    mentioned in commit 0aa5963d

    • @cburr Do you have time to prepare MR for master today? I am pushing to have a full release on master either later today or tomorrow.

    • Author Owner

      @clemenci to me he would do one last sync

    • What would be the timescale for that? I guess it is not really doable to have it within a day or two, so this would be then included in some release later.

    • Author Owner

      He mentioned he would try to do it on Friday. @clemenci is it feasible to do today or should I just cherry pick it myself?

    • I had a chat with @clemenci and from RTA side we are still having a few things going into 2024-patches (some special runs waiting to be processed) plus possible fixes for EoY Sprucing (deadline this Wednesday). I think it would make more sense to wait for those developments and then have the last synchronization.

    • Please register or sign in to reply
  • Chris Burr mentioned in merge request !4804 (merged)

    mentioned in merge request !4804 (merged)

  • Chris Burr mentioned in commit ffbe3273

    mentioned in commit ffbe3273

  • Miroslav Saur mentioned in commit 2c4348f0

    mentioned in commit 2c4348f0

  • Chris Burr mentioned in commit 92223e2d

    mentioned in commit 92223e2d

  • Miroslav Saur picked the changes into the branch cherry-pick-0aa5963d with commit 9e7f3ada

    picked the changes into the branch cherry-pick-0aa5963d with commit 9e7f3ada

  • Miroslav Saur mentioned in commit 9e7f3ada

    mentioned in commit 9e7f3ada

  • Miroslav Saur mentioned in merge request !4823 (merged)

    mentioned in merge request !4823 (merged)

  • mentioned in issue Moore#896 (closed)

  • Miroslav Saur picked the changes into the branch cherry-pick-0aa5963d with commit b13afd68

    picked the changes into the branch cherry-pick-0aa5963d with commit b13afd68

  • Miroslav Saur mentioned in commit b13afd68

    mentioned in commit b13afd68

  • Miroslav Saur mentioned in merge request !4828 (merged)

    mentioned in merge request !4828 (merged)

  • Miroslav Saur picked the changes into the branch cherry-pick-0aa5963d with commit 3dd04b64

    picked the changes into the branch cherry-pick-0aa5963d with commit 3dd04b64

  • Miroslav Saur mentioned in commit 3dd04b64

    mentioned in commit 3dd04b64

  • Miroslav Saur mentioned in merge request !4832 (merged)

    mentioned in merge request !4832 (merged)

  • Chris Burr mentioned in commit db7a403e

    mentioned in commit db7a403e

  • Miroslav Saur picked the changes into the branch cherry-pick-0aa5963d with commit 4d0546ec

    picked the changes into the branch cherry-pick-0aa5963d with commit 4d0546ec

  • Miroslav Saur mentioned in commit 4d0546ec

    mentioned in commit 4d0546ec

  • Miroslav Saur mentioned in merge request !4845 (merged)

    mentioned in merge request !4845 (merged)

  • Miroslav Saur picked the changes into the branch cherry-pick-0aa5963d-2 with commit 4eaa6e6c

    picked the changes into the branch cherry-pick-0aa5963d-2 with commit 4eaa6e6c

  • Miroslav Saur mentioned in commit 4eaa6e6c

    mentioned in commit 4eaa6e6c

  • Miroslav Saur mentioned in merge request !4846 (merged)

    mentioned in merge request !4846 (merged)

  • Miroslav Saur mentioned in commit f839f3ab

    mentioned in commit f839f3ab

  • mentioned in commit 1a1037e3

  • mentioned in commit 412b3344

  • mentioned in commit 928e89de

  • mentioned in commit d8fbba46

  • Marco Clemencic mentioned in merge request !4774 (merged)

    mentioned in merge request !4774 (merged)

  • Miroslav Saur picked the changes into the branch cherry-pick-0aa5963d with commit 918c6881

    picked the changes into the branch cherry-pick-0aa5963d with commit 918c6881

  • Miroslav Saur mentioned in commit 918c6881

    mentioned in commit 918c6881

  • Miroslav Saur mentioned in merge request !4955 (merged)

    mentioned in merge request !4955 (merged)

  • Miroslav Saur mentioned in commit f33ad1ea

    mentioned in commit f33ad1ea

  • Please register or sign in to reply
    Loading