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

RV32 C2 模式下的 tier1 测试情况 #596

Open
zifeihan opened this issue Nov 15, 2023 · 0 comments
Open

RV32 C2 模式下的 tier1 测试情况 #596

zifeihan opened this issue Nov 15, 2023 · 0 comments

Comments

@zifeihan
Copy link

zifeihan commented Nov 15, 2023

JDK11U RV32 版本为:cfc5c12
通过测试 RV32 C2,RV32 解释器版本,BishengJDK RV64 C2 这三个版本,得出三者间的测试成功率。
宿主机环境:C8服务器,128核,256G内存。
测试环境:目前还没有 RISC-V 32 位可运行linux的物理机器,因此开发和测试都是使用qemu模拟环境。搭建模拟环境参考:https://github.com/openjdk-riscv/jdk11u/wiki/Build-OpenJDK11-for-RV32G
RV32 C2,RV32 解释器版本使用同一个测试包,RV32 解释器通过开启 -Xint 参数用来开启模版解释执行。

BishengJDK RV64 C2 测试命令如下:

jdk tier1:

/home/zifeihan/jtreg-4.2/jtreg/bin/jtreg \
-Djdk.lang.Process.launchMechanism=vfork \
-concurrency:24 -timeout:50 \
-v:default \
-jdk:/home/zifeihan/bishengjdk-11/build/linux-riscv64-normal-custom-release/jdk \
-compilejdk:/home/zifeihan/bishengjdk-11/build/linux-x86_64-normal-server-release/jdk \
-exclude:/home/zifeihan/bishengjdk-11/test/jdk/ProblemList-aot.txt \
-exclude:/home/zifeihan/bishengjdk-11/test/jdk/ProblemList-graal.txt \
-exclude:/home/zifeihan/bishengjdk-11/test/jdk/ProblemList-Xcomp.txt \
-exclude:/home/zifeihan/bishengjdk-11/test/jdk/ProblemList.txt \
/home/zifeihan/bishengjdk-11/test/jdk:tier1

hotspot tier1:

/home/zifeihan/jtreg-4.2/jtreg/bin/jtreg \
-Djdk.lang.Process.launchMechanism=vfork \
-concurrency:24 -timeout:50 \
-v:default \
-jdk:/home/zifeihan/bishengjdk-11/build/linux-riscv64-normal-custom-release/jdk \
-compilejdk:/home/zifeihan/bishengjdk-11/build/linux-x86_64-normal-server-release/jdk \
-exclude:/home/zifeihan/bishengjdk-11/test/hotspot/jtreg/ProblemList-aot.txt \
-exclude:/home/zifeihan/bishengjdk-11/test/hotspot/jtreg/ProblemList-cds-mode.txt \
-exclude:/home/zifeihan/bishengjdk-11/test/hotspot/jtreg/ProblemList-graal.txt \
-exclude:/home/zifeihan/bishengjdk-11/test/hotspot/jtreg/ProblemList-Xcomp.txt \
-exclude:/home/zifeihan/bishengjdk-11/test/hotspot/jtreg/ProblemList.txt \
/home/zifeihan/bishengjdk-11/test/hotspot/jtreg:tier1

JDK11U RV32 解释器 测试命令如下:

jdk tier1:

/home/zifeihan/jtreg-4.2/jtreg/bin/jtreg \
-Djdk.lang.Process.launchMechanism=vfork \
-concurrency:24 -timeout:50 \
-v:default \
-javaoption:-Xint \
-jdk:/home/zifeihan/jdk11u/build/linux-riscv32-normal-custom-release/jdk \
-compilejdk:/home/zifeihan/jdk11u/build/linux-x86_64-normal-server-release/jdk \
-exclude:/home/zifeihan/jdk11u/test/jdk/ProblemList-aot.txt \
-exclude:/home/zifeihan/jdk11u/test/jdk/ProblemList-graal.txt \
-exclude:/home/zifeihan/jdk11u/test/jdk/ProblemList-Xcomp.txt \
-exclude:/home/zifeihan/jdk11u/test/jdk/ProblemList.txt \
/home/zifeihan/jdk11u/test/jdk:tier1

hotspot tier1:

/home/zifeihan/jtreg-4.2/jtreg/bin/jtreg \
-Djdk.lang.Process.launchMechanism=vfork \
-concurrency:24 -timeout:50 \
-v:default \
-javaoption:-Xint \
-jdk:/home/zifeihan/jdk11u/build/linux-riscv32-normal-custom-release/jdk \
-compilejdk:/home/zifeihan/jdk11u/build/linux-x86_64-normal-server-release/jdk \
-exclude:/home/zifeihan/jdk11u/test/hotspot/jtreg/ProblemList-aot.txt \
-exclude:/home/zifeihan/jdk11u/test/hotspot/jtreg/ProblemList-cds-mode.txt \
-exclude:/home/zifeihan/jdk11u/test/hotspot/jtreg/ProblemList-graal.txt \
-exclude:/home/zifeihan/jdk11u/test/hotspot/jtreg/ProblemList-Xcomp.txt \
-exclude:/home/zifeihan/jdk11u/test/hotspot/jtreg/ProblemList.txt \
/home/zifeihan/jdk11u/test/hotspot/jtreg:tier1

JDK11U RV32 C2 测试命令如下:

jdk tier1:

/home/zifeihan/jtreg-4.2/jtreg/bin/jtreg \
-Djdk.lang.Process.launchMechanism=vfork \
-concurrency:24 -timeout:50 \
-v:default \
-jdk:/home/zifeihan/jdk11u/build/linux-riscv32-normal-custom-release/jdk \
-compilejdk:/home/zifeihan/jdk11u/build/linux-x86_64-normal-server-release/jdk \
-exclude:/home/zifeihan/jdk11u/test/jdk/ProblemList-aot.txt \
-exclude:/home/zifeihan/jdk11u/test/jdk/ProblemList-graal.txt \
-exclude:/home/zifeihan/jdk11u/test/jdk/ProblemList-Xcomp.txt \
-exclude:/home/zifeihan/jdk11u/test/jdk/ProblemList.txt \
/home/zifeihan/jdk11u/test/jdk:tier1

hotspot tier1:

/home/zifeihan/jtreg-4.2/jtreg/bin/jtreg \
-Djdk.lang.Process.launchMechanism=vfork \
-concurrency:24 -timeout:50 \
-v:default \
-jdk:/home/zifeihan/jdk11u/build/linux-riscv32-normal-custom-release/jdk \
-compilejdk:/home/zifeihan/jdk11u/build/linux-x86_64-normal-server-release/jdk \
-exclude:/home/zifeihan/jdk11u/test/hotspot/jtreg/ProblemList-aot.txt \
-exclude:/home/zifeihan/jdk11u/test/hotspot/jtreg/ProblemList-cds-mode.txt \
-exclude:/home/zifeihan/jdk11u/test/hotspot/jtreg/ProblemList-graal.txt \
-exclude:/home/zifeihan/jdk11u/test/hotspot/jtreg/ProblemList-Xcomp.txt \
-exclude:/home/zifeihan/jdk11u/test/hotspot/jtreg/ProblemList.txt \
/home/zifeihan/jdk11u/test/hotspot/jtreg:tier1

BishengJDK RV64 C2 测试结果如下:

jdk_tier1 测试结果,成功率:1798/1833 =98.0%
测试报告附件:jdk_tier1.zip
image

hotspot_tier1 测试结果,成功率:1060/1139 =93.0%
测试报告附件:hotspot_tier1.zip
image

JDK11U RV32 解释器 测试结果如下:

jdk_tier1 测试结果,成功率:1792/1830=97.9%
测试报告附件:jdk_tier1.zip
image

hotspot_tier1 测试结果,成功率:1012/1117=90.5%
测试报告附件:hotspot_tier1.zip

image

JDK11U RV32 C2 测试结果如下:

jdk_tier1 测试结果,成功率:1743/1831=95.1%
测试报告附件:jdk_tier1.zip

image

hotspot_tier1 测试结果,成功率:1013/1126=89.9%

测试报告附件:hotspot_tier1.zip

image
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