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

[secondary_super_cache][fastdebug]-Xcomp -XX:-TieredCompilation选项下java/nio/channels/DatagramChannel/StressNativeSignal.java等2个用例超时 #908

Open
sendaoYan opened this issue Dec 24, 2024 · 3 comments
Assignees

Comments

@sendaoYan
Copy link
Collaborator

默认:https://tone.aliyun-inc.com/ws/xesljfzh/test_result/427718
false:https://tone.aliyun-inc.com/ws/xesljfzh/test_result/427657
true:https://tone.aliyun-inc.com/ws/xesljfzh/test_result/427676
【环境准备】

BINARY_URL=oss://compiler-ci-bucket/dragonwell11/CI/tar/20241218-003913-968-#597-linux.x86_64.fastdebug.master-b985104eabca8b542fb0e96fb02570b4c4323386.jdk.tar.gz
TEST_IMAGE=oss://compiler-ci-bucket/dragonwell11/CI/tar/20241218-003913-968-#597-linux.x86_64.fastdebug.master-b985104eabca8b542fb0e96fb02570b4c4323386.test-image.tar.gz
JTREG_URL=oss://compiler-ci-bucket/jdk/tools/jtreg-7.3.1.1.zip
[email protected]:dragonwell-project/dragonwell11.git
JDK_BRANCH=master
cd ~/tone/tone-matrix-compiler/common;./ossutil.bin_$(arch) -i;cd -
alias oss="~/tone/tone-matrix-compiler/common/ossutil.bin_$(arch) -e oss-cn-hangzhou.aliyuncs.com -u jvm_dev-b  ~/tone/tone-matrix-compiler/common/ossutil_bin/ossutil -o download -f -r"

部署二进制:
oss $BINARY_URL -l ${BINARY_URL##*/}
mkdir bin-dragonwell11;tar -xf ${BINARY_URL##*/} -C bin-dragonwell11
oss $TEST_IMAGE-l ${TEST_IMAGE##*/}
mkdir images-dragonwell11;tar -xf ${BINARY_URL##*/} -C images-dragonwell11

部署jtreg工具:
oss $JTREG_URL -l ${JTREG_URL##*/};unzip ${JTREG_URL##*/}

部署用例repo
git clone -b $JDK_BRANCH $JDK_REPO jdk-repo-dragonwell11

执行以下命令:
cd bin-dragonwell11&& export JAVA_HOME=$PWD ; export PATH=$JAVA_HOME/bin:$PATH ; export TEST_JDK_HOME=$JAVA_HOME && cd -
cd jtreg ;export JT_HOME=$PWD ; export PATH=$PWD/bin:$PATH;cd -
export test=jdk-repo-dragonwell11/test/jdk/java/nio/channels/DatagramChannel/StressNativeSignal.java

默认:jtreg  -timeoutfactor:10 -nr -v:fail,error -w tmp   -Xcomp -XX:-TieredCompilation -XX:+UnlockDiagnosticVMOptions  -ea -esa  $test

false:jtreg   -timeoutfactor:10 -nr -v:fail,error -w tmp   -Xcomp -XX:-TieredCompilation -XX:+UnlockDiagnosticVMOptions -XX:+StressSecondarySupers -XX:+VerifySecondarySupers -ea -esa  $test

true:jtreg   -timeoutfactor:10 -nr -v:fail,error -w tmp    -Xcomp -XX:-TieredCompilation -XX:+UnlockDiagnosticVMOptions -XX:-InlineSecondarySupersTest -XX:-UseSecondarySupersTable  -XX:-UseSecondarySupersCache -ea -esa $test

【测试分析】

涉及两个用例
java/nio/channels/DatagramChannel/StressNativeSignal.java
tools/jar/modularJar/Basic.java

【对比测试】

aarch64和x86_64都超时

dragonwell11 -Xcomp -XX:-TieredCompilation选项	timeout
dragonwell21 -Xcomp -XX:-TieredCompilation选项	pass

dragonwell11 打开false选项   timeout
-Xcomp -XX:-TieredCompilation -XX:+UnlockDiagnosticVMOptions -XX:+StressSecondarySupers -XX:+VerifySecondarySupers

dragonwell11 关闭true选项   timeout
-Xcomp -XX:-TieredCompilation -XX:+UnlockDiagnosticVMOptions -XX:-InlineSecondarySupersTest -XX:-UseSecondarySupersTable -XX:-UseSecondarySupersCache

【用例日志】
StressNativeSignal.java.txt

TEST RESULT: Error. Program `/tmp/tone/run/jtreg/binary-download/j2sdk-image/bin/java' timed out (timeout set to 1200000ms, elapsed time including timeout handling was 1200630ms)

【jdk信息】

java -version;java -Xinternalversion
openjdk version "11.0.25-internal" 2024-10-15
OpenJDK Runtime Environment (fastdebug build 11.0.25-internal+0-adhoc..dragonwell11.nightly.pipeline)
OpenJDK 64-Bit Server VM (fastdebug build 11.0.25-internal+0-adhoc..dragonwell11.nightly.pipeline, mixed mode)
OpenJDK 64-Bit Server VM (fastdebug 11.0.25-internal+0-adhoc..dragonwell11.nightly.pipeline) for linux-amd64 JRE (11.0.25-internal+0-adhoc..dragonwell11.nightly.pipeline), built on Dec 17 2024 16:39:47 by "" with gcc 7.5.0

【系统版本信息】

uname -a ; cat /etc/os-release ; free -h ; lscpu | head -n 25
Linux CompilerTest-x64-3 5.10.134-16.1.al8.x86_64 #1 SMP Thu Dec 7 14:11:24 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
NAME="Alibaba Cloud Linux"
VERSION="3 (Soaring Falcon)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
UPDATE_ID="9"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3 (Soaring Falcon)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"

              total        used        free      shared  buff/cache   available
Mem:          123Gi       1.0Gi       112Gi       4.0Mi        10Gi       121Gi
Swap:            0B          0B          0B
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              32
On-line CPU(s) list: 0-31
Thread(s) per core:  2
Core(s) per socket:  16
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               106
Model name:          Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz
Stepping:            6
CPU MHz:             3523.876
BogoMIPS:            5399.99
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           48K
L1i cache:           32K
L2 cache:            1280K
L3 cache:            49152K
NUMA node0 CPU(s):   0-31
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities
@sendaoYan sendaoYan self-assigned this Dec 24, 2024
@sendaoYan
Copy link
Collaborator Author

test/jdk/java/nio/channels/DatagramChannel/StressNativeSignal.java openjdk/jdk11u-dev#2980

@sendaoYan
Copy link
Collaborator Author

@sendaoYan
Copy link
Collaborator Author

https://bugs.openjdk.org/browse/JDK-8216539 tools/jar/modularJar/Basic.java

sendaoYan added a commit to sendaoYan/dragonwell11-ysd that referenced this issue Dec 24, 2024
Summary: Backport JDK-8216539 to fix tools/jar/modularJar/Basic.java intermittent fails

Testing: CI pipeline

Reviewers: Accelerator1996, ziyilin

Issue: dragonwell-project#908
sendaoYan added a commit to sendaoYan/dragonwell11-ysd that referenced this issue Dec 24, 2024
…nt fails

Summary: Backport JDK-8327650 to fix java/nio/channels/DatagramChannel/StressNativeSignal.java intermittent fails

Testing: CI pipeline

Reviewers: Accelerator1996, ziyilin

Issue: dragonwell-project#908
sendaoYan added a commit that referenced this issue Dec 24, 2024
…nt fails

Summary: Backport JDK-8327650 to fix java/nio/channels/DatagramChannel/StressNativeSignal.java intermittent fails

Testing: CI pipeline

Reviewers: Accelerator1996, ziyilin

Issue: #908
sendaoYan added a commit to sendaoYan/dragonwell11-ysd that referenced this issue Dec 24, 2024
Summary: Backport JDK-8216539 to fix tools/jar/modularJar/Basic.java intermittent fails

Testing: CI pipeline

Reviewers: Accelerator1996, ziyilin

Issue: dragonwell-project#908
sendaoYan added a commit that referenced this issue Dec 24, 2024
Summary: Backport JDK-8216539 to fix tools/jar/modularJar/Basic.java intermittent fails

Testing: CI pipeline

Reviewers: Accelerator1996, ziyilin

Issue: #908
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

No branches or pull requests

1 participant