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 #*******************************************************************************/
23 echo 1 > /proc/sys/kernel/core_uses_pid
25 grep Huge /proc/meminfo
26 huge_folder="/mnt/huge_bbu"
27 [ -d "$huge_folder" ] || mkdir -p $huge_folder
28 if ! mount | grep $huge_folder; then
29 mount none $huge_folder -t hugetlbfs -o rw,mode=0777
32 ./lls-cu/bin/sample-lls-cu config_file_lls_cu.dat 0000:18:02.0 0000:18:02.1