[Samsung Galaxy Nexus] büscher:
My init.d script I made for HybridMix

Download Büscher's settings all-in-one script for hyper (latest changes: 15.03.2014)

Download Büscher's settings all-in-one script for nightmare (latest changes: 14.04.2014)

changes:

14.04.14: set OMAP gamma contrast to 0 - gets rid of sync_lost

My Settings for Hyper:

CPU Max Frequency @ 1560MHz (1200MHz)

Max Screen Off Frequency @ 700MHz: To avoid music glitches with Poweramp (180MHz why???)

Min Frequency @ 230MHz: more attery friendly (350MHz)

Min Screen On Frequency @ 230MHz: more battery friendly (350MHz)

Hyper Governor

down_differential 1: has an affect on calculating the down_threshold after max_frequency was hit becuase of high load (1)

freq_responsiveness 800'000: makes the phone a little bit snappier (729'600)

freq_step 40: how much the frequencies are raised (in percent) if load hits up_threshold (40)

freq_step_suspend 20: replaces the freq_step if screen is off - more battery friendly (40)

ignore_nice_load 0: If set to 1 processes that run with a lower priority (positive nice value) will not take part in the governor calculation for scaling frequencies - if set to 1 low priority tasks may take a long time to complete and keep phone awake (0)

io_is_busy 0: This is a flag that determines if waiting for various IO should increase the CPU utilization in bump up the cpu frequency (0)

powersave_bias 0: the higher this value the more hyper tries to stay at low frequencies what can slow down and keep the phone awake (0)

sampling_down_factor 1: Whenever the governor increases the frequency it will wait sampling_down_factor number of samples before even considering lowering the frequency again - more battery friendly - affects high frequencies only (2)

sampling_factor_suspend 1: changes the value of sampling_down_factor if screen is off (3)

sampling_rate 20000: How often should the governor check for cpu load to decide scaling frequencies - snappier but less battery friendly (30'000)

sampling_rate_min 10000: minimum sampling rate (10'000)

suspend_freq 700000: what I understand: frequency used if screen is turned off and phone suspends (525000)

up_threshold 75: if cpu hits this load it will ramp to higher frequencies - more battery friendly (60)

up_threshold_min_freq 60: more battery friendly (40 - displayed wrong in TricksterMod)

up_threshold_suspend 90: This value will overwrite up_threshold if screen is off - less battery friendly but faster for background tasks (95)

Zen as I/O Control

Read Ahead Buffer 384

Async_Expire 2500: Deadline for asynchronous requests

Sync_Expire 300: Deadline for synchronous requests (Default ~10 times less than async_expire)

fifo_batch 0: Number of requests to issue before checking for expired requests

TCP Congestion Control westwood: best results in Switzerland

Enable Content Adaptive Brightness: Saves Battery

Disable Fast Charge: on my phone adb does not work if enabled at boot

Don't OC GPU: becuase gpu governor will take control here

GPU Governor set to ondemand

Headphone Volume Boost is set to 2: I don't use Nexus Louder and just set this to two - can cause music stutters, set it to 1 if so

Enable High Performance Sound

Multicore Power Saving 0: I can't get anything out of this

Set Temperature Limit to 75: default is 64 and max is 80

Vibration 70: I like it smooth :angel: (85)

Disable ZRAM: We really don't need it on SR kernels - more battery friendly (Enabled)

Enable Intelliplug: Hotplugs CPU1 if suspended and not needed

Disable Eco Mode: Don't enable it if Intelliplug is enabled

Apply wavedashdoc's minfree settings

Trinity color settings

My Settings for Nightmare (same as hyper where nothing mentioned):

cpu_down_rate 12: No of samples to evaluate load to scale CPU Down.

cpu_up_rate 8: No of samples to evaluate load to scale CPU Up.

dec_cpu_load 50: The load at which governor scales CPU down.

down_avg_load 30: Avg Load less than down_avg_load: Hot plug OUT Second Core.

freq_for_responsiveness 700MHz: An optimal frequency for our phone

freq_step 20: Defines how much as a percentage of maximum frequency, governor should increase CPU frequency each time CPU load reaches inc_cpu_load.

freq_step_dec 15: same as freq_step but for decreasing frequency

freq_up_break 5: Brake scale up frequency when load >= inc_cpu_load

hotplug_compare_level 1: Set the HOTPLUG Compare Level to turn on the Second Core/Frequency scale. 0 = History Load Based (Default), 1 = Current Load Based

hotplug_freq_1_1 701MHz: Up threshold frequency to turn second core On - Hot plug IN Second Core

hotplug_freq_2_0 525MHz: Down threshold frequency to turn second core Off - Hot plug OUT Second Core

hotplug_rq_1_1 175: Threshold run queue length for second core to turn on

hotplug_rq_2_0 175: Threshold run queue length for second core to turn off

ignore_nice_load 0: If set to 1 processes that run with a lower priority (positive nice value) will not take part in the governor calculation for scaling frequencies - if set to 1 low priority tasks may take a long time to complete and keep phone awake

inc_cpu_load 75: The load at which governor scales CPU up

inc_cpu_load_at_min_freq 50: This threshold is used as up threshold while sampling at frequencies less than freq_for_responsiveness

io_is_busy 0: This is a flag that determines if waiting for various IO should increase the CPU utilization in bump up the cpu frequency

max_cpu_lock 0: Sets the max number of CPUs to be used in hot plugging. 0 = Auto

min_cpu_lock 0: Sets the min number of CPUs to be used in hot plugging. 0 = Auto

sampling_down_factor 1: Whenever the governor increases the frequency it will wait sampling_down_factor number of samples before even considering lowering the frequency again - affects high frequencies only

sampling_rate 20000: How often should the governor check for cpu load to decide scaling frequencies

sampling_rate_min 10000: Minimum sampling rate

sampling_up_factor 1: Acts as a multiplier for sampling interval for re-evaluating the load when CPU is truly busy and is on highest clock frequency

up_avg_load 60: Avg Load >= up_avg_load: Cpu Hotplug IN.

up_nr_cpus 1: Calculated as minimum of (its current value and num of possible cpus), this tunable is used by the governor to indirectly make Hotplugging decisions, but may not be useful for a 2 core CPU.

Intelliplug disabled: Because we have a Hotplug governor

Quadrant Benchmark for comparison:

Original Settings:

With my Script:

How to Install:

1. Download scripts and rename to no extension

2. Put the script to system/etc/init.d

3. Set permission to 755 ( rwxr-xr-x )

Some important lines:

These are my experimental settings and all from theorie - I haven't tested them for a long time. I think there is more potential

Also hyper governor is very bad documented, I hope I got everything right here...

Please check frequently for changes

All benchmarks done with HybridMix #14