X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=blobdiff_plain;f=fhi_lib%2Fapp%2Frun_o_ru.sh;h=c7341f7b71f47a2e9f4efdbb7d0e2c1e5ad54a8a;hp=e9204f5b7a4bfbc7b6f5aa49824853de92a7c851;hb=0134817ddd14e0a57f3476fdc5eaa5e7cb75c692;hpb=78b7d242c085573175a20949d3208a63b44fc515 diff --git a/fhi_lib/app/run_o_ru.sh b/fhi_lib/app/run_o_ru.sh index e9204f5..c7341f7 100644 --- a/fhi_lib/app/run_o_ru.sh +++ b/fhi_lib/app/run_o_ru.sh @@ -1,36 +1,30 @@ -#! /bin/bash - -#/****************************************************************************** -#* -#* Copyright (c) 2019 Intel. -#* -#* Licensed under the Apache License, Version 2.0 (the "License"); -#* you may not use this file except in compliance with the License. -#* You may obtain a copy of the License at -#* -#* http://www.apache.org/licenses/LICENSE-2.0 -#* -#* Unless required by applicable law or agreed to in writing, software -#* distributed under the License is distributed on an "AS IS" BASIS, -#* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -#* See the License for the specific language governing permissions and -#* limitations under the License. -#* -#*******************************************************************************/ - -ulimit -c unlimited -echo 1 > /proc/sys/kernel/core_uses_pid - -grep Huge /proc/meminfo -huge_folder="/mnt/huge_ru" -[ -d "$huge_folder" ] || mkdir -p $huge_folder -if ! mount | grep $huge_folder; then - mount none $huge_folder -t hugetlbfs -o rw,mode=0777 -fi - -#40G -./build/sample-app ./usecase/mu1_100mhz/config_file_o_ru.dat 0000:d8:02.0 0000:d8:02.1 - -umount $huge_folder -rmdir $huge_folder - +#! /bin/bash + +#****************************************************************************** +# +# Copyright (c) 2019 Intel. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#******************************************************************************/ + + +ulimit -c unlimited +echo 1 > /proc/sys/kernel/core_uses_pid + +#40G +#./build/sample-app ./usecase/mu3_100mhz/config_file_o_du.dat 0000:d8:02.0 0000:d8:02.1 + +#25G +./build/sample-app ./usecase/mu0_5mhz/config_file_o_ru.dat 0000:22:0a.0 0000:22:0a.1 +#./build/sample-app ./usecase/mu1_100mhz/config_file_o_ru.dat 0000:18:0a.0 0000:18:0a.1