export APPHOME_PATH="/home/root/rtu_linux_modules"
export APPBINS_PATH="${APPHOME_PATH}"
export APPLIBS_PATH="${APPHOME_PATH}/lib"
export APPRUNS_PATH="${APPHOME_PATH}/status"

# 导出运行时库
export LD_LIBRARY_PATH=${APPLIBS_PATH}

# 设置系统主频
echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 528000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed

# 设置一秒落盘
echo 100 > /proc/sys/vm/dirty_writeback_centisecs
echo 100 > /proc/sys/vm/dirty_expire_centisecs
