Jump to navigation Jump to search
An App to do things.
Available in the WebOS Internals Testing Feed
- Main Scene
- Title Header (like preware/wirc/etc webos-internals apps)
- Current Governor (Tap to go to Governor Settings)
- Current Frequency
- Misc Stats
- Graph of CPU temp over time
- Governor Scene
- Dropdown to change governor (SelectList)
- Form of all current settings for selected governor (dynamically generated from information provided by service)
- App Icon (changes to display indication of CPU temp)
- Govnah is saving data to an array which grows over time and sucks down CPU time/memory iterating over the array.
- Use sqlite db for saving?
- To reduce disk writes, have a preference option to save to /media/ramdisk if the user is only interested in the current session for pinch zooming - should reduce disk writes and improve performance though data will be lost on boot.
- Preference setting for frequency of polling.
- Use fixed array or circular buffer instead, though this will stop pinch scrolling from going back too far (another preference option?)
- Generic items (needed for all)
- scaling_max_freq - Set the maximum frequency your CPU(s) are allowed to scale to. Look at the output from scaling_available_frequencies
- scaling_min_freq - Same as scaling_max_freq but setting a value that will not allow the CPU(s) to go below.
- sampling_rate - This is measured in microseconds (one millionth of a second). This is how often you want the kernel to look at the CPU usage and to make decisions on what to do about the frequency. Typically this is set to values of around '10000' or more. If you wanted to set the sampling rate to 1 second you would set it to 1000000 like in the following example.
- sampling_rate_(min|max) - This is minimum and maximum sampling rates available that you may set 'sampling_rate' to. I believe in microseconds also.
- up_threshold - This defines what the average CPU usage between the samplings of 'sampling_rate' needs to be for the kernel to make a decision on whether or not it should increase the frequency. For example when it is set to its default value of '80' it means that between the checking intervals the CPU needs to be on average more than 80% in use to then decide that the CPU frequency needs to be increased.
- ignore_nice_load - This parameter takes a value of '0' or '1'. When set to '0' (its default), all processes are counted towards the 'cpu utilization' value. When set to '1', the processes that are run with a 'nice' value will not count (and thus be ignored) in the overall usage calculation.
- freq_step - This describes what percentage steps the CPU freq should be increased and decreased smoothly by. By default the CPU frequency will increase in 5% chunks of your maximum CPU frequency. You can change this value to anywhere between 0 and 100 where '0' will effectively lock your CPU at a speed regardless of its load whilst '100' will, in theory, make it behave identically to the "ondemand" governor.
- down_threshold - This is same as the 'up_threshold' found for the "ondemand" governor but for the opposite direction. For example when set to its default value of '20' it means that if the CPU usage needs to be below 20% between samples to have the frequency decreased.
- sampling_rate - same as ondemand.
- sampling_rate_(min|max) - same as ondemand.
- up_threshold - same as ondemand.
- ignore_nice_load - same as ondemand.
- scaling_setspeed - one of the values from scaling_available_frequencies
- NB - when userspace is selected LunaSysMgr will change the frequency as it feels.
- Nothing special
- Nothing special