User:Almehdi

(My stable/unstable kernel settings)
(My stable/unstable kernel settings)
Line 16: Line 16:
  current mhz/volt= 125/20
  current mhz/volt= 125/20
                   *250/20
                   *250/20
-
                   *500/30
+
                   *500/20
-
                   *550/33
+
                   *550/30
-
                   *600/38
+
                   *600/33
                   *700/38
                   *700/38
                   *750/45
                   *750/45

Revision as of 05:03, 15 April 2010

Contents

My kernel settings

Script and Conf can be taken from Maemo22, Maemo23, Voltage settings:

:XLV is: "20 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)
: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

My stable/unstable kernel settings

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)

current mhz/volt= 125/20
                 *250/20
                 *500/20
                 *550/30
                 *600/33
                 *700/38
                 *750/45
                 *805/45
                 *850/54
                 *900/54
                 *950/60
                 1000/54
                 1010/60
                 1015/72

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:

1. Install rootsh if you havent

2. Open terminal and write:

cd /home/user/MyDocs/Downloads/

3. Download by writing:

wget http://my.arava.co.il/~matan/770/n900/nbench
wget http://my.arava.co.il/~matan/770/n900/COM.DAT
wget http://my.arava.co.il/~matan/770/n900/NNET.DAT

(If you don't have wget: apt-get install wget)

4. write:

root

5. Make a directory:

mkdir /home/opt/nbench

6. Move the files to a better location:

mv /home/user/MyDocs/Downloads/nbench /home/opt/nbench
mv /home/user/MyDocs/Downloads/COM.DAT /home/opt/nbench
mv /home/user/MyDocs/Downloads/NNET.DAT /home/opt/nbench

(a tip is to use tab-key to finish easy.. like /h[tab] to make /home/)

7. To get permission:

chmod 777 /home/opt/nbench/nbench

8. Run and wait for it to finnish:

/home/opt/nbench/./nbench
or 
cd /home/opt/nbench/
./nbench

My installed programs

Interesting but not installed:
CuteExplorer, Desktop Activity Manager, gTranslate, gvsms, Headphone deamon, healtcheck, Knots2, Panucci, Phototranslator, Tower cell info
First:
apt-get install decoders-support
Second:
apt-get install adblock-plus-1.0 array-theme batterygraph callnotify catorise chromium conky cpumem-applet cpufrequtils wget currencyconverter erminig file-roller fmradio 
Third:
apt-get install led-pattern-editor lzma telepathy-msn-pecan openssh-client petrovich psswitcher powatool quick-launch tweakr wifi-switcher xarchiver zip 3g2g-mode-selection-applet leafpad
unmet dependencies:
desktop-cmd-exec diskusage qtirreco  maemo-mapper

n900 as a Webcam

http://talk.maemo.org/showpost.php?p=610339&postcount=9