KernelAdiutor icon indicating copy to clipboard operation
KernelAdiutor copied to clipboard

other parameters of Alucard & msm mpdecision Hotplugs

Open mostafa-z opened this issue 10 years ago • 4 comments

there is other tunable parameters for mpdecision Hotplugs

Runqueue Treshold Hotplug hotplug cpu 1

if this treshold reached, cpu1 will be hotplugged /sys/kernel/msm_mpdecision/conf/nwns_threshold_0 (values between 0~100) un cpu 0 if this treshold reached, cpu0 will be unplugged /sys/kernel/msm_mpdecision/conf/nwns_threshold_1 hot 2 if this treshold reached, cpu2 will be hotplugged /sys/kernel/msm_mpdecision/conf/nwns_threshold_2 un 1 if this treshold reached, cpu1 will be unplugged /sys/kernel/msm_mpdecision/conf/nwns_threshold_3 hot 3 /sys/kernel/msm_mpdecision/conf/nwns_threshold_4 un 2 /sys/kernel/msm_mpdecision/conf/nwns_threshold_5 hot 4 /sys/kernel/msm_mpdecision/conf/nwns_threshold_6 un 3 /sys/kernel/msm_mpdecision/conf/nwns_threshold_7

Time Treshold Hotplug/Unplug CPU hotplug cpu1

amount of time must be passed for cpu1 to be hotplugged /sys/kernel/msm_mpdecision/conf/twts_threshold_0 (values between 0~500 ms) un cpu0 amount of time must be passed for cpu0 to be unhp /sys/kernel/msm_mpdecision/conf/twts_threshold_1 hot 2 amount of time must be passed for cpu2 to be hp /sys/kernel/msm_mpdecision/conf/twts_threshold_2 un 1 amount of time must be passed for cpu1 to be unhp /sys/kernel/msm_mpdecision/conf/twts_threshold_3 hot 3 /sys/kernel/msm_mpdecision/conf/twts_threshold_4 un 2 /sys/kernel/msm_mpdecision/conf/twts_threshold_5 hot 4 /sys/kernel/msm_mpdecision/conf/twts_threshold_6 un 3 /sys/kernel/msm_mpdecision/conf/twts_threshold_7

and /sys/kernel/msm_mpdecision/conf/down_lock_duration ( value is 500 but change to 0 and more ! ) /sys/kernel/msm_mpdecision/conf/hotplug_suspend (value 1 or 0)

there is other tunable parameters for Alucard Hotplugs

Frequency 1_1 "FREQ" *cpu0 freq to a /sys/kernel/alucard_hotplug/hotplug_freq_1_1 (values are cpu_freqs)

cpu1 freq to b when cpu0 is a /sys/kernel/alucard_hotplug/hotplug_freq_2_0 cpu1 freq to c then cpu2 freq to d /sys/kernel/alucard_hotplug/hotplug_freq_2_1 /sys/kernel/alucard_hotplug/hotplug_freq_3_0 /sys/kernel/alucard_hotplug/hotplug_freq_3_1 /sys/kernel/alucard_hotplug/hotplug_freq_4_0

Hotplug_Load 1_1 ""LOAD"

cpu0 load to x /sys/kernel/alucard_hotplug/hotplug_load_1_1 (values are 1~100 %) cpu1 load to y when cpu0 is x /sys/kernel/alucard_hotplug/hotplug_load_2_0 /sys/kernel/alucard_hotplug/hotplug_load_2_1 /sys/kernel/alucard_hotplug/hotplug_load_3_0 /sys/kernel/alucard_hotplug/hotplug_load_3_1 /sys/kernel/alucard_hotplug/hotplug_load_4_0

Horplug_Rate 1_1

these are maybe for hotpluging priority /sys/kernel/alucard_hotplug/hotplug_rate_1_1 (values are 1~100 %) /sys/kernel/alucard_hotplug/hotplug_rate_2_0 /sys/kernel/alucard_hotplug/hotplug_rate_2_1 /sys/kernel/alucard_hotplug/hotplug_rate_3_0 /sys/kernel/alucard_hotplug/hotplug_rate_3_1 /sys/kernel/alucard_hotplug/hotplug_rate_4_0

Hotplug_RQ 1_1

?? /sys/kernel/alucard_hotplug/hotplug_rq_1_1 (values are 1~5000) /sys/kernel/alucard_hotplug/hotplug_rq_2_0 /sys/kernel/alucard_hotplug/hotplug_rq_2_1 /sys/kernel/alucard_hotplug/hotplug_rq_3_0 /sys/kernel/alucard_hotplug/hotplug_rq_3_1 /sys/kernel/alucard_hotplug/hotplug_rq_4_0

tnx man

mostafa-z avatar Jul 24 '15 14:07 mostafa-z

Provide descriptions for each sysfs node please

DespairFactor avatar Jul 24 '15 14:07 DespairFactor

sorry, im not good at it but something added and fixed :)

mostafa-z avatar Jul 24 '15 15:07 mostafa-z

+1

javelinanddart avatar Jul 25 '15 16:07 javelinanddart

Bump

javelinanddart avatar Nov 09 '15 22:11 javelinanddart