1
0
Fork 0

re-enable hugepage

This commit is contained in:
Massaki Archambault 2022-12-01 14:13:04 -05:00
parent fe420725ba
commit e604d6a120
2 changed files with 6 additions and 6 deletions

View File

@ -16,11 +16,11 @@ prepare() {
cpuset-modify --cpus C0,4 /user.slice \
cpu-governor performance C0-7
# for _ in $(seq 5); do
# sleep 3
# # assign hugepages
# sysctl -w vm.nr_overcommit_hugepages=8192 && break
# done
for _ in $(seq 10); do
# assign hugepages
sysctl -w vm.nr_overcommit_hugepages=8192 && break
sleep 1
done
# sleep 10
}

View File

@ -9,7 +9,7 @@
<memory unit='KiB'>16777216</memory>
<currentMemory unit='KiB'>16777216</currentMemory>
<memoryBacking>
<!-- <hugepages/> -->
<hugepages/>
<locked/>
</memoryBacking>
<vcpu placement='static'>6</vcpu>