From f11b2635c5cb080d1bad59c0abc350210abe9a42 Mon Sep 17 00:00:00 2001 From: "ailin,yang" Date: Sun, 12 Aug 2018 13:59:24 +0800 Subject: [PATCH] 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 --- devicemodel/samples/apl-mrb/launch_uos.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/devicemodel/samples/apl-mrb/launch_uos.sh b/devicemodel/samples/apl-mrb/launch_uos.sh index d675e9e03..6595b6b6d 100755 --- a/devicemodel/samples/apl-mrb/launch_uos.sh +++ b/devicemodel/samples/apl-mrb/launch_uos.sh @@ -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`