Editing User:Almehdi
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
==My kernel settings== | ==My kernel settings== | ||
- | Script and Conf can be taken from [http://talk.maemo.org/showpost.php?p=609382&postcount=2659 | + | Script and Conf can be taken from [http://talk.maemo.org/showpost.php?p=609382&postcount=2659 here] |
- | + | ||
- | :XLV is: " | + | [http://talk.maemo.org/showpost.php?p=608126&postcount=2586 Voltage settings]: |
+ | :XLV is: "30 20 30 33 38 38 45 45 48 48 54 54 60 67 72" | ||
:ideal: 30 30 30 30 33 38 45 45 48 48 54 54 60 67 72 (first three ignored) | :ideal: 30 30 30 30 33 38 45 45 48 48 54 54 60 67 72 (first three ignored) | ||
:ULV: 25 25 25 33 38 38 45 45 48 48 54 54 60 67 72 | :ULV: 25 25 25 33 38 38 45 45 48 48 54 54 60 67 72 | ||
:LV: 30 30 38 48 48 54 54 54 54 54 54 54 60 67 72 | :LV: 30 30 38 48 48 54 54 54 54 54 54 54 60 67 72 | ||
- | = | + | =Benchmark outputs= |
- | + | Stock 250-600 volt="" | |
- | + | OC-250-805 volt="30 30 30 33 38 38 45 45 48 48 54 54 60 67 72" | |
- | + | OC-250-850 volt="30 30 30 33 38 38 45 45 48 48 54 54 60 67 72" (unstable) | |
- | + | OC-250-900 volt="30 30 30 33 38 38 45 45 48 48 54 54 60 67 72" (unstable) | |
- | + | OC-250-950 volt="30 30 30 33 38 38 45 45 48 48 54 54 60 67 72" (unstable) | |
+ | |||
+ | ==Analyzing time_in_state (by rooted) - rev4== | ||
+ | |||
+ | saved in /home/opt/scripts/oc-test.sh | ||
+ | |||
+ | #!/bin/sh | ||
- | + | idlefreq=`awk '{if ($2 > 0) print $1}' /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state | tail -n 1` | |
- | + | tis1=`awk '{sum += $2} END {print sum}' /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state` | |
- | + | tis2=`awk '$1 == "'"$idlefreq"'" {idle = $2} {sum += $2} END {print sum-idle}' /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state` | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | awk '{print "\nCurrent frequency: "$1/1000" MHz\n"}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq | |
- | + | echo -e "FREQUENCY\tUSED\t\tWHEN NOT IDLE" | |
- | + | awk ' | |
- | + | {printf (($1/1000)" MHz \t")} | |
- | + | {if ($2 == 0) printf ""; else printf ("%.1f %\t\t",($2*100)/"'"$tis1"'")} | |
- | + | {if ($2 == 0) print ""; else if ($2/"'"$tis2"'" > 1) print ""; else printf ("%.1f %\n",($2*100)/"'"$tis2"'")} | |
- | + | ' /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state | |
- | + | echo "" | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | Output example: | ||
+ | Current frequency: 250 MHz | ||
+ | |||
+ | FREQUENCY USED WHEN NOT IDLE | ||
+ | 1200 MHz | ||
+ | 1100 MHz | ||
+ | 1000 MHz | ||
+ | 950 MHz | ||
+ | 900 MHz | ||
+ | 850 MHz | ||
+ | 810 MHz 1.4 % 52.8 % | ||
+ | 750 MHz 0.0 % 0.9 % | ||
+ | 700 MHz 0.0 % 1.3 % | ||
+ | 600 MHz 0.0 % 1.1 % | ||
+ | 550 MHz 0.1 % 5.6 % | ||
+ | 500 MHz 1.0 % 38.3 % | ||
+ | 250 MHz 97.4 % | ||
+ | 124.999 MHz | ||
== '''Install nbench:''' == | == '''Install nbench:''' == | ||
Line 84: | Line 88: | ||
cd /home/opt/nbench/ | cd /home/opt/nbench/ | ||
./nbench | ./nbench | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- |
Learn more about Contributing to the wiki.