[Galaxy Note 3 Android Development] HSD-Pilot:
Or simple use an script like this. I always configure my values that way and for me there're no issues

#!/system/bin/sh

# This Script is multifunctional, but maybe not all Values are available on your current Kernel!

#### CPU Basic ####

# conservative interactive ondemand performance powersave

# abyssplugv2 adaptive HYPER intelliactive intellidemand interactiveX nightmare ondemandplus pegasusq wheatley yankactive yankdemand

# 300000 422400 652800 729600 883200 960000 1036800 1190400 1267200 1497600 1574400 1728000 1958400 2265600 2342400 2419200 2496000 2572800 2649600 2726400 2803200

GOVERNOR=interactive

CPU_MIN=300000

CPU_MAX=2265600

#### CPU Hardlimit ####

# USERSPACE_DVFS_LOCK: [0 = Allow Min/Max CPU Freq changes] [1 = Ignore Min/Max CPU Freq changes] [2 = Refuse Min/Max CPU Freq changes]

USERSPACE_DVFS_LOCK=1

MIN_SCREEN_ON_FREQ=300000

MAX_SCREEN_ON_FREQ=2265600

MIN_SCREEN_OFF_FREQ=300000

MAX_SCREEN_OFF_FREQ=652800

TOUCHBOOST_LO_FREQ=300000

TOUCHBOOST_HI_FREQ=1036800

WAKEUP_KICK_DELAY=0

WAKEUP_KICK_FREQ=300000

#### CPU Power Saving ####

# 0 [off] - 2 [higher saving > lower Performance]

CPU_POWER_SAVING=2

#### CPU Boost ####

BOOST_MS=20

INPUT_BOOST_FREQ=0

INPUT_BOOST_MS=40

SYNC_THRESHOLD=0

#### I/O Scheduler ####

# STOCK: cfq deadline noop row test-iosched

# bfq fifo fiops sio vr zen

# 128 256 512 1024 2048 4096

SCHEDULER_INTERNAL_SD=fiops

READ_AHEAD_KB_INTERNAL_SD=256

SCHEDULER_EXTERNAL_SD=bfq

READ_AHEAD_KB_EXTERNAL_SD=512

#### GPU ####

# msm-adreno-tz performance simple_ondemand

# 200000000 320000000 389000000 450000000

# LAZINESS: 1 - 10 [Higher=Performance]

# RAMP_THRESHOLD: 1000 - 10000 [Higher=Battery]

GPU_GOVERNOR=msm-adreno-tz

GPU_MIN=200000000

GPU_MAX=450000000

ACTIVATE_SIMPLE_GPU_ALGORITHM=1

SIMPLE_LAZINESS=4

SIMPLE_RAMP_THRESHOLD=6000

#### Intelliplug ####

# Profiles: [0=Balanced] [1=Performance] [2=Conservative] [3=ECO Performance] [4=ECO Conservative]

ACTIVATE_INTELLIPLUG=1

PROFILE=2

POSSIBLE_CORES=4

TOUCH_BOOST_ACTIVE=0

CPU_RUN_THRESHOLD=722

HYSTERESIS=8

#### Intelli Thermal ####

ACTIVATE_INTELLI_THERMAL=Y

CORE_LIMIT_TEMP=85

CORE_TEMP_HYSTERESIS=10

FREQ_STEP=2

LIMIT_TEMP=80

PSM_TEMP=85

PSM_TEMP_HYSTERESIS=75

TEMP_HYSTERESIS=10

#### Dynamic FSync & Power Suspend ####

# POWER_SUSPEND: [0 = Autosleep] [1 = Userspace] [2 = LCD_Panel] [3 = Hybrid]

FSYNC=1

POWER_SUSPEND=3

#### Fast Charge ####

# [0 = OFF] [1 = ON] [2 = ON WITH CUSTOM LEVEL]

# AC: [1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000 2100]

# USB/WIRELESS: [460 500 600 700 800 900 1000]

ENABLE_FAST_CHARGE=2

AC_CHARGE_LEVEL=1800

USB_CHARGE_LEVEL=500

WIRELESS_CHARGE_LEVEL=500

#### Misc VM Settings ####

# 5 20 200 500 0 0 3008 0 3 0 60 100

DIRTY_BACKGROUND_RATIO=5

DIRTY_RATIO=15

DIRTY_EXPIRE_CENTISECS=1000

DIRTY_WRITEBACK_CENTISECS=2000

DROP_CACHES=0

LAPTOP_MODE=0

MIN_FREE_KBYTES=8192

OOM_KILL_ALLOCATING_TASK=0

PAGE_CLUSTER=3

PANIC_ON_OOM=0

SWAPPINESS=60

VFS_CACHE_PRESSURE=70

#### SQLITE / ZIPALIGN ###

#Interval between SQLite & Zipalign runs, in seconds [Zipalign is currently broken on KK!]

#172800=48 hours

SQLITE_RUN_EVERY=172800

ZIPALIGN_RUN_EVERY=172800

########################################

########################################

echo " ";

echo ">>> ACTIVATE CONFIGURATION <<<";

echo " ";

cpu=/sys/devices/system/cpu;

cpubw=/sys/class/devfreq/qcom,cpubw.34;

cpu0=/sys/devices/system/cpu/cpu0;

cpux=/sys/devices/system/cpu/cpu*;

cpufreq=/sys/devices/system/cpu/cpufreq;

fs=/proc/sys/fs;

gpu=/sys/devices/fdb00000.qcom,kgsl-3d0/devfreq/fdb00000.qcom,kgsl-3d0;

dm=/sys/block/dm-*;

kernel=/sys/kernel;

kernel2=/proc/sys/kernel;

loop=/sys/block/loop*;

net=/proc/sys/net;

module=sys/module;

ram=/sys/block/ram*;

readaheadint=sys/devices/virtual/bdi/179:0;

readaheadext=sys/devices/virtual/bdi/179:64;

sdcardint=/sys/block/mmcblk0;

sdcardext=/sys/block/mmcblk1;

sleepers=/sys/kernel/debug;

vm=/proc/sys/vm;

echo " ";

echo ">>> REMOUNT WITH NOATIME <<<";

echo " ";

if ( busybox mount | grep -w ext4 ); then

if [ -e /data/remount.log ]; then

busybox rm -f /data/remount.log; fi;

busybox mount -o rw,remount /system;

for a in $(busybox mount | grep relatime | cut -d " " -f3); do

busybox mount -o remount,noatime $a;

done;

busybox mount -o remount,noatime,noauto_da_alloc,nodiratime,barrier=0,nobh /system

busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh /data

busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh /cache

busybox mount >> /data/remount.log;

fi;

echo " ";

echo ">>> REMOVE LOGGER <<<";

echo " ";

if [ -e /dev/log/main ]; then

busybox rm -r /dev/log/main; fi;

echo " ";

echo ">>> GENTLE FAIR SLEEPERS <<<";

echo " ";

for a in $sleepers; do

if [ -e ${a}/sched_features ]; then

echo "NO_GENTLE_FAIR_SLEEPERS" >> ${a}/sched_features;

echo "NO_NEW_FAIR_SLEEPERS" >> ${a}/sched_features;

echo "NO_NORMALIZED_SLEEPERS" >> ${a}/sched_features; fi;

done;

echo " ";

echo ">>> SQLITE DATABASE <<<";

echo " ";

SQLITE_LOG_FILE=/data/sqlite.log;

# Get the last modify date of the Log file, if the file does not exist, set value to 0

if [ -e $SQLITE_LOG_FILE ]; then

LASTRUN=`stat -t $SQLITE_LOG_FILE | awk '{print $14}'`; else

LASTRUN=0; fi;

# Get current date in epoch format

CURRDATE=`date +%s`;

# Check the interval

INTERVAL=$(expr $CURRDATE - $LASTRUN);

# If interval is more than the set one, then run the main script

if [ $INTERVAL -gt $SQLITE_RUN_EVERY ]; then

if [ -e $SQLITE_LOG_FILE ]; then

busybox rm -f $SQLITE_LOG_FILE; fi;

busybox mount -o rw,remount /system;

echo "SQLite database VACUUM and REINDEX started" | tee -a $SQLITE_LOG_FILE;

echo "@ $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $SQLITE_LOG_FILE;

for i in `busybox find /d* -iname "*.db"`; do

/system/xbin/sqlite3 $i 'VACUUM;';

resVac=$?;

if [ $resVac == 0 ]; then

resVac="SUCCESS"; else

resVac="ERRCODE-$resVac"; fi;

/system/xbin/sqlite3 $i 'REINDEX;';

resIndex=$?;

if [ $resIndex == 0 ]; then

resIndex="SUCCESS"; else

resIndex="ERRCODE-$resIndex"; fi;

echo " " | tee -a $SQLITE_LOG_FILE;

echo "Database $i: VACUUM=$resVac REINDEX=$resIndex" | tee -a $SQLITE_LOG_FILE;

done;

echo " " | tee -a $SQLITE_LOG_FILE;

echo "SQLite database VACUUM and REINDEX finished" | tee -a $SQLITE_LOG_FILE;

echo "@ $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $SQLITE_LOG_FILE; else

echo "SQLite database VACUUM and REINDEX runs only every 48 Hours";

fi;

echo " "

echo ">>> ZIPALIGN APK's <<<"

echo " "

ZIPALIGN_LOG_FILE=/data/zipalign.log;

# Get the last modify date of the Log file, if the file does not exist, set value to 0

if [ -e $ZIPALIGN_LOG_FILE ]; then

LASTRUN=`stat -t $ZIPALIGN_LOG_FILE | awk '{print $14}'`; else

LASTRUN=0; fi;

# Get current date in epoch format

CURRDATE=`date +%s`;

# Check the interval

INTERVAL=$(expr $CURRDATE - $LASTRUN);

# If interval is more than the set one, then run the main script

if [ $INTERVAL -gt $ZIPALIGN_RUN_EVERY ]; then

ZIPALIGNDB=/data/zipalign.db;

if [ -e $ZIPALIGN_LOG_FILE ]; then

busybox rm -f $ZIPALIGN_LOG_FILE; fi;

if [ ! -f $ZIPALIGNDB ]; then

touch $ZIPALIGNDB; fi;

busybox mount -o rw,remount /system;

echo "DarkyZipalign started" | tee -a $ZIPALIGN_LOG_FILE;

echo "@ $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $ZIPALIGN_LOG_FILE;

echo " " | tee -a $ZIPALIGN_LOG_FILE;

for DIR in /system/app /data/app; do

cd $DIR;

for APK in *.apk; do

if [ $APK -ot $ZIPALIGNDB ] && [ $(grep "$DIR/$APK" $ZIPALIGNDB|wc -l) -gt 0 ]; then

echo "Already checked: $DIR/$APK" | tee -a $ZIPALIGN_LOG_FILE

else

ZIPCHECK=`/system/xbin/zipalign -c -v 4 $APK | grep FAILED | wc -l`;

if [ $ZIPCHECK == "1" ]; then

echo "Now aligning: $DIR/$APK" | tee -a $ZIPALIGN_LOG_FILE;

/system/xbin/zipalign -f 4 $APK /data/local/$APK;

rc = "$?";

if [ $rc -eq 0 ]; then

if [ -e "/data/local/$APK" ]; then

cp -f -p "/data/local/$APK" "$APK" | tee -a $ZIPALIGN_LOG_FILE;

rm -f "/data/local/$APK";

grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB;

else

echo "ZipAligning $APK Failed (no output file)" | tee -a $ZIPALIGN_LOG_FILE;

fi;

else

[ -f "/data/local/$APK" ] && rm -f "/data/local/$APK";

echo "ZipAligning $APK Failed (rc: $rc)" | tee -a $ZIPALIGN_LOG_FILE;

fi;

else

echo "Already aligned: $DIR/$APK" | tee -a $ZIPALIGN_LOG_FILE;

grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB;

fi;

fi;

done;

done;

busybox touch $ZIPALIGNDB;

echo " " | tee -a $ZIPALIGN_LOG_FILE;

echo "DarkyZipalign finished" | tee -a $ZIPALIGN_LOG_FILE;

echo "@ $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $ZIPALIGN_LOG_FILE; else

echo "DarkyZipalign runs only every 48 Hours";

echo "@ $( date +"%m-%d-%Y %H:%M:%S" )";

fi;

until [ `pidof com.android.systemui` != "" ]; do

sleep 1;

done;

sleep 90;

echo " ";

echo ">>> CPU HARDLIMIT <<<";

echo " ";

for a in $kernel; do

if [ -e ${a}/cpufreq_hardlimit/userspace_dvfs_lock ]; then

echo "$USERSPACE_DVFS_LOCK" >> ${a}/cpufreq_hardlimit/userspace_dvfs_lock; fi;

if [ -e ${a}/cpufreq_hardlimit/scaling_min_freq_screen_on ]; then

echo "$MIN_SCREEN_ON_FREQ" >> ${a}/cpufreq_hardlimit/scaling_min_freq_screen_on; fi;

if [ -e ${a}/cpufreq_hardlimit/scaling_max_freq_screen_on ]; then

echo "$MAX_SCREEN_ON_FREQ" >> ${a}/cpufreq_hardlimit/scaling_max_freq_screen_on; fi;

if [ -e ${a}/cpufreq_hardlimit/scaling_min_freq_screen_off ]; then

echo "$MIN_SCREEN_OFF_FREQ" >> ${a}/cpufreq_hardlimit/scaling_min_freq_screen_off; fi;

if [ -e ${a}/cpufreq_hardlimit/scaling_max_freq_screen_off ]; then

echo "$MAX_SCREEN_OFF_FREQ" >> ${a}/cpufreq_hardlimit/scaling_max_freq_screen_off; fi;

if [ -e ${a}/cpufreq_hardlimit/touchboost_lo_freq ]; then

echo "$TOUCHBOOST_LO_FREQ" >> ${a}/cpufreq_hardlimit/touchboost_lo_freq; fi;

if [ -e ${a}/cpufreq_hardlimit/touchboost_hi_freq ]; then

echo "$TOUCHBOOST_HI_FREQ" >> ${a}/cpufreq_hardlimit/touchboost_hi_freq; fi;

if [ -e ${a}/cpufreq_hardlimit/wakeup_kick_delay ]; then

echo "$WAKEUP_KICK_DELAY" >> ${a}/cpufreq_hardlimit/wakeup_kick_delay; fi;

if [ -e ${a}/cpufreq_hardlimit/wakeup_kick_freq ]; then

echo "$WAKEUP_KICK_FREQ" >> ${a}/cpufreq_hardlimit/wakeup_kick_freq; fi;

done;

echo " ";

echo ">>> CPU BASICS <<<";

echo " ";

for a in $cpux; do

if [ -e ${a}/cpufreq/scaling_governor ]; then

busybox chmod 644 ${a}/cpufreq/scaling_governor;

echo "$GOVERNOR" >> ${a}/cpufreq/scaling_governor;

busybox chmod 444 ${a}/cpufreq/scaling_governor; fi;

if [ -e ${a}/cpufreq/scaling_min_freq ]; then

busybox chmod 644 ${a}/cpufreq/scaling_min_freq;

echo "$CPU_MIN" >> ${a}/cpufreq/scaling_min_freq;

busybox chmod 444 ${a}/cpufreq/scaling_min_freq; fi;

if [ -e ${a}/cpufreq/scaling_max_freq ]; then

echo "$CPU_MAX" >> ${a}/cpufreq/scaling_max_freq; fi;

done;

for a in $cpufreq; do

if [ -e ${a}/interactive/screen_off_maxfreq ]; then

echo "$MAX_SCREEN_OFF_FREQ" >> ${a}/interactive/screen_off_maxfreq; fi;

done;

echo " ";

echo ">>> CPU POWER SAVING <<<";

echo " ";

for a in $cpu; do

if [ -e ${a}/sched_mc_power_savings ]; then

echo "$CPU_POWER_SAVING" >> ${a}/sched_mc_power_savings; fi;

done;

echo " ";

echo ">>> CPU BOOST <<<";

echo " ";

for a in $module; do

if [ -e ${a}/cpu_boost/parameters/boost_ms ]; then

echo "$BOOST_MS" >> ${a}/cpu_boost/parameters/boost_ms; fi;

if [ -e ${a}/cpu_boost/parameters/input_boost_freq ]; then

echo "$INPUT_BOOST_FREQ" >> ${a}/cpu_boost/parameters/input_boost_freq; fi;

if [ -e ${a}/cpu_boost/parameters/input_boost_ms ]; then

echo "$INPUT_BOOST_MS" >> ${a}/cpu_boost/parameters/input_boost_ms; fi;

if [ -e ${a}/cpu_boost/parameters/sync_threshold ]; then

echo "$SYNC_THRESHOLD" >> ${a}/cpu_boost/parameters/sync_threshold; fi;

done;

echo " ";

echo ">>> I/O SETTINGS <<<";

echo " ";

for a in $sdcardint; do

if [ -e ${a}/queue/scheduler ]; then

echo "$SCHEDULER_INTERNAL_SD" >> ${a}/queue/scheduler; fi;

done;

for a in $sdcardext; do

if [ -e ${a}/queue/scheduler ]; then

echo "$SCHEDULER_EXTERNAL_SD" >> ${a}/queue/scheduler; fi;

done;

for a in $readaheadint; do

if [ -e ${a}/read_ahead_kb ]; then

echo "$READ_AHEAD_KB_INTERNAL_SD" >> ${a}/read_ahead_kb; fi;

done;

for a in $readaheadext; do

if [ -e ${a}/read_ahead_kb ]; then

echo "$READ_AHEAD_KB_EXTERNAL_SD" >> ${a}/read_ahead_kb; fi;

done;

echo " ";

echo ">>> GPU <<<";

echo " ";

for a in $gpu; do

if [ -e ${a}/governor ]; then

echo "$GPU_GOVERNOR" >> ${a}/governor; fi;

if [ -e ${a}/min_freq ]; then

echo "$GPU_MIN" >> ${a}/min_freq; fi;

if [ -e ${a}/max_freq ]; then

echo "$GPU_MAX" >> ${a}/max_freq; fi;

done;

for a in $module; do

if [ -e ${a}/simple_gpu_algorithm/parameters/simple_gpu_activate ]; then

echo "$ACTIVATE_SIMPLE_GPU_ALGORITHM" >> ${a}/simple_gpu_algorithm/parameters/simple_gpu_activate; fi;

if [ -e ${a}/simple_gpu_algorithm/parameters/simple_laziness ]; then

echo "$SIMPLE_LAZINESS" >> ${a}/simple_gpu_algorithm/parameters/simple_laziness; fi;

if [ -e ${a}/simple_gpu_algorithm/parameters/simple_ramp_threshold ]; then

echo "$SIMPLE_RAMP_THRESHOLD" >> ${a}/simple_gpu_algorithm/parameters/simple_ramp_threshold; fi;

done;

echo " ";

echo ">>> INTELLIPLUG <<<";

echo " ";

for a in $module; do

if [ -e ${a}/intelli_plug/parameters/intelli_plug_active ]; then

if [ $ACTIVATE_INTELLIPLUG = "1" ]; then

stop mpdecision; else

if [ $ACTIVATE_INTELLIPLUG = "0" ]; then

start mpdecision; fi;

fi;

echo "$ACTIVATE_INTELLIPLUG" >> ${a}/intelli_plug/parameters/intelli_plug_active; fi;

if [ -e ${a}/intelli_plug/parameters/nr_run_profile_sel ]; then

echo "$PROFILE" >> ${a}/intelli_plug/parameters/nr_run_profile_sel; fi;

if [ -e ${a}/intelli_plug/parameters/nr_possible_cores ]; then

echo "$POSSIBLE_CORES" >> ${a}/intelli_plug/parameters/nr_possible_cores; fi;

if [ -e ${a}/intelli_plug/parameters/touch_boost_active ]; then

echo "$TOUCH_BOOST_ACTIVE" >> ${a}/intelli_plug/parameters/touch_boost_active; fi;

if [ -e ${a}/intelli_plug/parameters/cpu_nr_run_threshold ]; then

echo "$CPU_RUN_THRESHOLD" >> ${a}/intelli_plug/parameters/cpu_nr_run_threshold; fi;

if [ -e ${a}/intelli_plug/parameters/nr_run_hysteresis ]; then

echo "$HYSTERESIS" >> ${a}/intelli_plug/parameters/nr_run_hysteresis; fi;

if [ -e ${a}/intelli_plug/parameters/screen_off_max ]; then

echo "$MAX_SCREEN_OFF_FREQ" >> ${a}/intelli_plug/parameters/screen_off_max; fi;

done;

echo " ";

echo ">>> INTELLI THERMAL <<<";

echo " ";

for a in $module; do

if [ -e ${a}/msm_thermal/parameters/enabled ]; then

echo "$ACTIVATE_INTELLI_THERMAL" >> ${a}/msm_thermal/parameters/enabled; fi;

if [ -e ${a}/msm_thermal/parameters/core_limit_temp ]; then

echo "$CORE_LIMIT_TEMP" >> ${a}/msm_thermal/parameters/core_limit_temp; fi;

if [ -e ${a}/msm_thermal/parameters/core_temp_hysteresis ]; then

echo "$CORE_TEMP_HYSTERESIS" >> ${a}/msm_thermal/parameters/core_temp_hysteresis; fi;

if [ -e ${a}/msm_thermal/parameters/freq_step ]; then

echo "$FREQ_STEP" >> ${a}/msm_thermal/parameters/freq_step; fi;

if [ -e ${a}/msm_thermal/parameters/limit_temp ]; then

echo "$LIMIT_TEMP" >> ${a}/msm_thermal/parameters/limit_temp; fi;

if [ -e ${a}/msm_thermal/parameters/psm_temp ]; then

echo "$PSM_TEMP" >> ${a}/msm_thermal/parameters/psm_temp; fi;

if [ -e ${a}/msm_thermal/parameters/psm_temp_hysteresis ]; then

echo "$PSM_TEMP_HYSTERESIS" >> ${a}/msm_thermal/parameters/psm_temp_hysteresis; fi;

if [ -e ${a}/msm_thermal/parameters/temp_hysteresis ]; then

echo "$TEMP_HYSTERESIS" >> ${a}/msm_thermal/parameters/temp_hysteresis; fi;

done;

echo " ";

echo ">>> FSYNC & POWER SUSPEND <<<";

echo " ";

for a in $kernel; do

if [ -e ${a}/dyn_fsync/Dyn_fsync_active ]; then

echo "$FSYNC" >> ${a}/dyn_fsync/Dyn_fsync_active; fi;

if [ -e ${a}/power_suspend/power_suspend_mode ]; then

echo "$POWER_SUSPEND" >> ${a}/power_suspend/power_suspend_mode; fi;

done;

echo " ";

echo ">>> FAST CHARGE <<<";

echo " ";

for a in $kernel; do

if [ -e ${a}/fast_charge/force_fast_charge ]; then

echo "$ENABLE_FAST_CHARGE" >> ${a}/fast_charge/force_fast_charge; fi;

if [ -e ${a}/fast_charge/ac_charge_level ]; then

echo "$AC_CHARGE_LEVEL" >> ${a}/fast_charge/ac_charge_level; fi;

if [ -e ${a}/fast_charge/usb_charge_level ]; then

echo "$USB_CHARGE_LEVEL" >> ${a}/fast_charge/usb_charge_level; fi;

if [ -e ${a}/fast_charge/wireless_charge_level ]; then

echo "$WIRELESS_CHARGE_LEVEL" >> ${a}/fast_charge/wireless_charge_level; fi;

done;

echo " ";

echo ">>> MISC VM SETTINGS <<<";

echo " ";

for a in $vm; do

if [ -e ${a}/dirty_background_ratio ]; then

echo "$DIRTY_BACKGROUND_RATIO" >> ${a}/dirty_background_ratio; fi;

if [ -e ${a}/dirty_ratio ]; then

echo "$DIRTY_RATIO" >> ${a}/dirty_ratio; fi;

if [ -e ${a}/dirty_expire_centisecs ]; then

echo "$DIRTY_EXPIRE_CENTISECS" >> ${a}/dirty_expire_centisecs; fi;

if [ -e ${a}/dirty_writeback_centisecs ]; then

echo "$DIRTY_WRITEBACK_CENTISECS" >> ${a}/dirty_writeback_centisecs; fi;

if [ -e ${a}/drop_caches ]; then

echo "$DROP_CACHES" >> ${a}/drop_caches; fi;

if [ -e ${a}/laptop_mode ]; then

echo "$LAPTOP_MODE" >> ${a}/laptop_mode; fi;

if [ -e ${a}/min_free_kbytes ]; then

echo "$MIN_FREE_KBYTES" >> ${a}/min_free_kbytes; fi;

if [ -e ${a}/oom_kill_allocating_task ]; then

echo "$OOM_KILL_ALLOCATING_TASK" >> ${a}/oom_kill_allocating_task; fi;

if [ -e ${a}/page-cluster ]; then

echo "$PAGE_CLUSTER" > ${a}/page-cluster; fi;

if [ -e ${a}/panic_on_oom ]; then

echo "$PANIC_ON_OOM" >> ${a}/panic_on_oom; fi;

if [ -e ${a}/swappiness ]; then

echo "$SWAPPINESS" >> ${a}/swappiness; fi;

if [ -e ${a}/vfs_cache_pressure ]; then

echo "$VFS_CACHE_PRESSURE" > ${a}/vfs_cache_pressure; fi;

done;

Gesendet von meinem SM-N9005