Skip to content

Try again to make JDK 16 benchmarking work #119

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

Merged
merged 1 commit into from
May 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions scripts/benv
Original file line number Diff line number Diff line change
Expand Up @@ -194,14 +194,6 @@ function setupShield() {
checkFail $? "shield kernel processes" "$log"
logOk "moved kernel processes to 'system' CPU set"

# Avoid JDK 16 warning which messes up JMH.
# Is there as better way to do this?
#
# $/usr/lib/jvm/jdk-16.0.1+9/bin/java -version
# [0.000s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /cpusets.
# openjdk version "16.0.1" 2021-04-20
sudo umount /cpusets

checkShield
}

Expand All @@ -210,6 +202,14 @@ function resetShield() {
sudo cset shield -r > /dev/null || true
logOk "removed CPU shield"
checkNoShield

# Avoid JDK 16 warning which messes up JMH.
# Is there as better way to do this?
#
# $/usr/lib/jvm/jdk-16.0.1+9/bin/java -version
# [0.000s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /cpusets.
# openjdk version "16.0.1" 2021-04-20
sudo umount /cpusets
}

# Interrupt Affinity
Expand Down