Grarak / KernelAdiutor

An application which manages kernel parameters
GNU General Public License v3.0
606 stars 369 forks source link

msm sleeper hotplug driver #144

Open DerRomtester opened 9 years ago

DerRomtester commented 9 years ago

/sys/devices/platform/msm_sleeper/down_count_max /sys/devices/platform/msm_sleeper/enabled /sys/devices/platform/msm_sleeper/max_online /sys/devices/platform/msm_sleeper/plug_all /sys/devices/platform/msm_sleeper/suspend_max_online /sys/devices/platform/msm_sleeper/up_count_max /sys/devices/platform/msm_sleeper/up_threshold

https://github.com/flar2/shamu/blob/a897039940a2ab618faf4633d217e7041564c775/arch/arm/mach-msm/msm-sleeper.c

Grarak commented 9 years ago

min max value, description, etc.

DerRomtester commented 9 years ago

down count (tenth of a second) i think it is the time the hotplug waits until it unplugs one cpu core suggested range from 0 - 40 /sys/devices/platform/msm_sleeper/down_count_max

Enable/Disable msm sleeper 0 disabled 1 enabled /sys/devices/platform/msm_sleeper/enabled

Maximum cores online range from 1 - 4 /sys/devices/platform/msm_sleeper/max_online

Run with all cores online 0 disabled 1 enabled /sys/devices/platform/msm_sleeper/plug_all

Maximum cores online during suspend range from 1 - 4 /sys/devices/platform/msm_sleeper/suspend_max_online

up count (tenth of a second) i think it is the time the hotplug waits until it plugs in one more cpu core suggested range from 0 - 40 /sys/devices/platform/msm_sleeper/up_count_max

Up threshold (like mako hotplug franciscofrancos hotplug driver) system load threshold to decide when online or offline cores from 0 to 100 /sys/devices/platform/msm_sleeper/up_threshold

If you need more feel free to ask

DespairFactor commented 9 years ago

Sweet, was just about to request this one:)