Keresés

Hirdetés

Aktív témák

  • SFAkos

    aktív tag

    válasz Linkin #41574 üzenetére

    Changelog:
    work in progress:

    - limit bus and gpu speed to 100 mhz (for freq below 800 mhz) to save more power while display off (this also allows reducing of int voltage)
    - more/better scalable governors

    19.04.2012

    - even better fix to selective live_oc (last one (in test kernel) generated some overhead)
    - fixed sampling rate of ondemand and conservative (have ported mialwe's/stratosk's sleep multipliers)
    - new tunables for ondemand and conservativ

    sleep multiplier and tunables:
    mialwe and stratosk had the great idea, to change the sampling rate of conservative and ondemand governor while display of. for this, he introduced the sleepmultiplier (in his case factor 3). this means, if you set sampling rate to 20000, it changes to 60000 while screen off, and back, when screen on.

    for ondemand and conservative:
    i have made this multipliers tunable. proper values are between 1 and 5, because one could want a higher multiplier while screen off, if sampling rate is very low while screen on (higher sampling rate means, less checking for work load --> better batterie, worse performance). with this tunables you get better batterie, without making the performance worse while screen on.

    two other tunables: up_threshold_min_freq and responsiveness_freq
    the first one is a very low threshold while on low freq (by default 40), to make the governor scale up faster, until the responsiveness_freq is reached.

    the responsiveness_freq is set to 400000 (400 mhz) by default. while the freq is below this value, up_threshold is the same as up_threshold_min_freq, and freq jumps to responsiveness_freq, with skipping the freq between the actual one and the responsiveness_freq. (conservative governor does not jump up to this step)

    responsiveness_freq can be set to values between 100000 and 1400000
    up_threshold_min_freq can be set to the same values as the normal up_threshold.

    not tunable: while screen off, up_threshold is set to 95, no matter your other settings, to save more batterie.

    till now, the tunables have to be changend by:
    echo VALUE > /sys/devices/system/cpu/cpufreq/ondemand/VARIABLE_NAME

    and

    echo VALUE > /sys/devices/system/cpu/cpufreq/conservative/VARIABLE_NAME

    example:
    echo 400000 > /sys/devices/system/cpu/cpufreq/ondemand/responsiveness_freq
    echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_min_freq
    echo 5 > /sys/devices/system/cpu/cpufreq/ondemand/sleep_multiplier

    up_threshold_min_freq is disbaled by default for conservative governor
    (this can be done by setting the up_threshold_min_freq to 100.

    for ondemand, this also disables the additional jump to the responsivenss freq)
    for lulzactive:
    for this governor, i did similar things, but they are not tunable till now.

    when screen off:
    - inc_cpu_load is set to 90, and back to the original value, when screen turns on
    - up_sample_time is set to 50000, and back to the original value, when screen turns on
    - down_sample_time is set to 40000, and back to the original value, when screen turns on

    other changes:
    - fix to touchwake from ezekeel, and another fix from stratosk
    - upstream fix to compass
    - building for i9000B now, too (big thanks to F4k for the hints by pn )
    - removed some typos from recovery
    - removed some annoying "no's" and "yes" from recovery in misc menu
    - fixed wifi mode switch (pm_fast is the one with better signal)

Aktív témák