Electronic Components Datasheet Search
  English  ▼

X  

UM0851 Datasheet(PDF) 236 Page - STMicroelectronics

Part # UM0851
Description  SPEAr is a family of highly customizable ARM-based embedded
PDF  245 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0851 Datasheet(HTML) 236 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 232Page - STMicroelectronics UM0851 Datasheet HTML 233Page - STMicroelectronics UM0851 Datasheet HTML 234Page - STMicroelectronics UM0851 Datasheet HTML 235Page - STMicroelectronics UM0851 Datasheet HTML 236Page - STMicroelectronics UM0851 Datasheet HTML 237Page - STMicroelectronics UM0851 Datasheet HTML 238Page - STMicroelectronics UM0851 Datasheet HTML 239Page - STMicroelectronics UM0851 Datasheet HTML 240Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 236 / 245 page
background image
Power management section
UM0851
236/245
Doc ID 16604 Rev 2
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
$ conservative ondemand userspace powersave performance
Ondemand governor
●
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. If you wanted to set the sampling rate to 1 second you would
set it to 1000000 like in the following example.
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
●
show_sampling_rate_(min|max) - These are the available minimum and maximum
sampling rates that you may set 'sampling_rate' to. To see both just do the following.
cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate_min
125000
cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate_max
125000000
●
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. To set this to
something lower like 20% you would do the following
echo 20 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
●
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. This is useful if you are running a CPU intensive calculation
that you do not care how long it takes to complete. You can 'nice' it and prevent it from
taking part in the deciding process of whether to increase your CPU frequency. To turn
this on do the following.
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load
Conservative governor
Conservative governor - CPU frequency is scaled based on the current load of the system. It
is similar to ondemand. The difference is that it gracefully increases and decreases the CPU
speed rather than jumping to max speed the moment there is any load on the CPU. This
would be best used in a battery powered environment.
Conservative governor configuration options
●
freq_step - This describes what percentage steps the CPU freq should be increased
and decreased smoothly by. By default the CPU frequency is increased in 5% chunks
of your maximum CPU frequency. You can change this value to anywhere between 0
and 100 where '0' effectively locks your CPU at a speed regardless of its load whilst
'100' , in theory, makes it behave identically to the "ondemand" governor. For example
to have it step up and down in increments of 10% you would do the following.
echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 10 > /sys/devices/system/cpu/cpu0/cpufreq/conservative/freq_step
●
down_threshold - This is same as the 'up_threshold' found in the "ondemand" governor
but for the opposite direction. For example when set to its default value of '20' it means



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com