re-enable hugepage
This commit is contained in:
parent
fe420725ba
commit
e604d6a120
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue