Skip to content

CRIU Softmx Test Options - #19037

Merged
dmitripivkine merged 1 commit into
eclipse-openj9:masterfrom
kangyining:softmx_fvtest_ramsizepercentage
Mar 12, 2024
Merged

CRIU Softmx Test Options#19037
dmitripivkine merged 1 commit into
eclipse-openj9:masterfrom
kangyining:softmx_fvtest_ramsizepercentage

Conversation

@kangyining

@kangyining kangyining commented Feb 28, 2024

Copy link
Copy Markdown

CRIU Softmx Test Options
Functional changes for softmx testing.

Add -XX:+fvtest_testContainerMemLimit and associated logics
on checkpoint side to indicate if the current
run is a test run.

Add -XXgc:fvtest_testRAMSizePercentage and associated logics
on restore side to mimic a different RAM setup.

Signed off by: Frank.Kang@ibm.com

Comment thread runtime/gc_modron_startup/mmparseXXgc.cpp Outdated
@kangyining
kangyining force-pushed the softmx_fvtest_ramsizepercentage branch 2 times, most recently from cd934c1 to 37a1639 Compare February 29, 2024 12:07
Comment thread runtime/gc_base/GCExtensions.cpp Outdated
Comment thread runtime/gc_modron_startup/mmparse.cpp Outdated
@amicic amicic added the comp:gc label Mar 5, 2024
Comment thread runtime/gc_base/GCExtensions.hpp Outdated
@kangyining
kangyining force-pushed the softmx_fvtest_ramsizepercentage branch from 4e2170e to e80d8e4 Compare March 5, 2024 16:26
Comment thread runtime/gc_modron_startup/mminit.cpp Outdated
@kangyining
kangyining force-pushed the softmx_fvtest_ramsizepercentage branch from e80d8e4 to 202d6ff Compare March 5, 2024 16:33
@kangyining kangyining changed the title CRIU Restore RamSize Percentage Test Option CRIU Softmx Test Options Mar 6, 2024
Comment thread runtime/gc_base/GCExtensions.hpp Outdated
@amicic

amicic commented Mar 6, 2024

Copy link
Copy Markdown
Contributor

list both options in the commit/PR comment
you can squash commits - the change looks ok to me

@kangyining
kangyining force-pushed the softmx_fvtest_ramsizepercentage branch from 9114935 to 8255f38 Compare March 6, 2024 16:04
@amicic

amicic commented Mar 6, 2024

Copy link
Copy Markdown
Contributor

@dmitripivkine please, have a look

Comment thread runtime/gc_base/GCExtensions.cpp Outdated

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.

I think we should extend comment and explain what testContainerMemLimit is used for.

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.

However, mentioning softmx is a bit too specific. I prefer more generic comment like "Also used in test farms to force container limits, where it's non-trivial to actually create/config containers for each test.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I can follow that

Comment thread runtime/gc_base/GCExtensions.cpp Outdated
Comment thread runtime/gc_base/GCExtensions.hpp Outdated
Comment thread runtime/gc_modron_startup/mmparse.cpp Outdated
Comment thread runtime/gc_modron_startup/mmparse.cpp Outdated
@dmitripivkine

Copy link
Copy Markdown
Contributor

looks ok, just a few minor suggestions

@kangyining
kangyining force-pushed the softmx_fvtest_ramsizepercentage branch from 8255f38 to 9bad246 Compare March 6, 2024 17:20
@kangyining

kangyining commented Mar 6, 2024

Copy link
Copy Markdown
Author

x86-64 Linux pass in Grinder: https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/38411/

wait for ppc and s390x grinder results

Update: s390x works

Functional changes for softmx testing.

Add -XX:+fvtest_testContainerMemLimit and associated logics
on checkpoint side to indicate if the current
run is a test run.

Add -XXgc:fvtest_testRAMSizePercentage and associated logics
on restore side to mimic a different RAM setup.

Signed off by: Frank.Kang@ibm.com
@kangyining
kangyining force-pushed the softmx_fvtest_ramsizepercentage branch from 9bad246 to 608d09d Compare March 7, 2024 20:40
@dmitripivkine

Copy link
Copy Markdown
Contributor

Jenkins line endings check

@dmitripivkine

Copy link
Copy Markdown
Contributor

Jenkins test sanity xLinux,aix jdk21

@dmitripivkine

Copy link
Copy Markdown
Contributor

Jenkins test sanity pLinux jdk11

@dmitripivkine
dmitripivkine merged commit 1c9fee0 into eclipse-openj9:master Mar 12, 2024
kangyining pushed a commit to kangyining/openj9 that referenced this pull request Mar 12, 2024
Add supporting test cases and related testing scripts.

Softmx functionalities: eclipse-openj9#18168

Functional changes: eclipse-openj9#19037
kangyining pushed a commit to kangyining/openj9 that referenced this pull request Mar 13, 2024
Add supporting test cases and related testing scripts.

Softmx functionalities: eclipse-openj9#18168

Functional changes: eclipse-openj9#19037
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants