remove 2M hugepages

remove 2M hugepages setting here because it will not use any more. 
# make sure there is enough 2M hugepages in the pool
echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
This commit is contained in:
ailin,yang 2018-08-12 13:59:24 +08:00 committed by lijinxia
parent 462284fa7d
commit f11b2635c5
1 changed files with 0 additions and 3 deletions

View File

@ -346,9 +346,6 @@ if [ $launch_type == 5 ]; then
fi
fi
# make sure there is enough 2M hugepages in the pool
echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
# offline SOS CPUs except BSP before launch UOS
for i in `ls -d /sys/devices/system/cpu/cpu[1-99]`; do
online=`cat $i/online`