3 #/******************************************************************************
5 #* Copyright (c) 2019 Intel.
7 #* Licensed under the Apache License, Version 2.0 (the "License");
8 #* you may not use this file except in compliance with the License.
9 #* You may obtain a copy of the License at
11 #* http://www.apache.org/licenses/LICENSE-2.0
13 #* Unless required by applicable law or agreed to in writing, software
14 #* distributed under the License is distributed on an "AS IS" BASIS,
15 #* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 #* See the License for the specific language governing permissions and
17 #* limitations under the License.
19 #*******************************************************************************/
22 echo 1 > /proc/sys/kernel/core_uses_pid
24 grep Huge /proc/meminfo
25 huge_folder="/mnt/huge_bbu"
26 [ -d "$huge_folder" ] || mkdir -p $huge_folder
27 if ! mount | grep $huge_folder; then
28 mount none $huge_folder -t hugetlbfs -o rw,mode=0777
32 ./build/sample-app ./usecase/mu3_100mhz/config_file_o_du.dat 0000:d8:02.0 0000:d8:02.1
35 #./build/sample-app ./usecase/mu0_10mhz/12/config_file_o_du.dat 0000:af:02.0 0000:af:02.1