Skip to content

Instantly share code, notes, and snippets.

@cmartinbaughman
Created August 10, 2012 18:57
Show Gist options
  • Save cmartinbaughman/3316821 to your computer and use it in GitHub Desktop.
Save cmartinbaughman/3316821 to your computer and use it in GitHub Desktop.
PegasusQ Kernel Governor
#!/system/bin/sh
echo "98" > /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold
echo "80" > /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold_at_min_freq
echo "30000" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_rate
echo "1" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_down_factor
echo "5" > /sys/devices/system/cpu/cpufreq/pegasusq/down_differential
echo "4" > /sys/devices/system/cpu/cpufreq/pegasusq/freq_step
echo "384000" > /sys/devices/system/cpu/cpufreq/pegasusq/freq_for_responsiveness
echo "15" > /sys/devices/system/cpu/cpufreq/pegasusq/cpu_up_rate
echo "15" > /sys/devices/system/cpu/cpufreq/pegasusq/cpu_down_rate
echo "729000" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_1_1
echo "384000" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_2_0
echo "350" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_1_1
echo "200" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_2_0
echo "0" > /sys/devices/system/cpu/cpufreq/pegasusq/ignore_nice_load
echo "1" > /sys/devices/system/cpu/cpufreq/pegasusq/io_is_busy
echo "0" > /sys/devices/system/cpu/cpufreq/pegasusq/max_cpu_lock
echo "0" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment