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 \ cpuset-modify --cpus C0,4 /user.slice \
cpu-governor performance C0-7 cpu-governor performance C0-7
# for _ in $(seq 5); do for _ in $(seq 10); do
# sleep 3 # assign hugepages
# # assign hugepages sysctl -w vm.nr_overcommit_hugepages=8192 && break
# sysctl -w vm.nr_overcommit_hugepages=8192 && break sleep 1
# done done
# sleep 10 # sleep 10
} }

View File

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