[X 2014 Original Android Development] linckandrea:
Tweaks part 1​

Cpu governor

this kernel come with many cpu governor hoewer i suggest to choose only :

interactive (default)

blu_active

ondemand

lolz_snappy

Intelliactive

The best governor for:

everyday usage (light) = interactive or smartax or smartax_eps

everyday usage (moderate) = interactive or ondemand or intelliactive

everyday usage (intensive) = blu_active or lolz_snappy

games = performance

music/video playback = intelliactive or smartax or smartax_eps

Note: some governor performs better when they are tweaked, at the of this post you will find a zip with some amazing profiles (IHMO).

==========================================================================================================

Cpu Hotplugs:

this kernel is shipped with AUTOSMP, Lazyplug, Bricked hotplug, blu_plug

there are many guides out there that explain their best use scenario

hoewer is suggest interactive with bricked hotplug for moderate usage

when you are using a hotplug is hightly suggested to enable cpu.notify_on_migrate

the sysf path is "/dev/cpuctl/cpu.notify_on_migrate" (0 = disabled) (1 =enabled)

==========================================================================================================

Cpu-boost driver:

This kernel come with 2 cpu input boost driver:

Caf cpu boost(enabled by defautl) and Sultan's cpu input boost

both are tweaked by default

Caf cpu boost has the ability to boost all online cpu to the max freq when an app is launched to reduce latency, to enable this option you need to change the parameter in

"/sys/module/fork/parameters/boost_when_app_is_launched" from "N" to "Y" (N = disabled) (Y = enabled)

IMPORTANT:

use only one at the same time

AUTOSMP and blu_plug have their own input boost so when you use one of them disable both caf and sultan's cpu boost

==========================================================================================================

Gpu governor:

I reccomend to stay with the default governor and enable adreno_idler if are wathing video or play music to reduce power consumption

==========================================================================================================

I/O scheduler

i suggest to stay with maple since is tweaked by default and perform better in any case scenario that i tested

==========================================================================================================

Ksm:

i writed some modification to the ksm driver, now it can be disabled or it can use differt tunables when screen is off

"ksm_thread_pages_to_scan_display_off" & "ksm_thread_sleep_millisecs_display_off"

which are equivalent to ksm_thread_pages_to_scan & ksm_thread_pages_to_scan but they are enabled when screen is off (so you should use more relaxed values)

syfs path for both values are "sys/kernel/mm/ksm"

if you want disable ksm whem screen is off the parameter can be found in "sys/module/ksm" (N = disabled) (Y = enabled)

==========================================================================================================

Misc:

when the screen is off the kernel can compact zones and drop cache in the RAM;

to enable this feature the sysf path is here "sys/module/compaction/enable_drop_cache" (N = disabled) (Y = enabled)

you can even modify the interval "sys/module/compaction/interval"

==========================================================================================================

Kcal settings:

I collected some kcal profiles to archive a better color reproduction those profiles can be found in zip at the end of the post

==========================================================================================================

Filesystem:

Our phone support both f2fs and ex4

Ext4 is suggested for system partition

F2fs for data and cache partions