maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Overclock the N900? (https://talk.maemo.org/showthread.php?t=39753)

tangs 2010-04-09 21:48

Re: Overclock the N900?
 
2000 posts :)

Exact 2010-04-09 21:54

Re: Overclock the N900?
 
Using Lehto's 950/500 kernel.

Just ran the pi-calculation with 10 000 000 digits; took about 2000 seconds, and the phone got _kinda_ hot :D But that's to be expected, CPU = 100% and RAM = 90% for more than half an hour.

So I think it's pretty stable :)

Vaddy 2010-04-09 21:55

Re: Overclock the N900?
 
Quote:

Originally Posted by nokian-series (Post 603465)
If you want i can remote access your PC using:

http://www.teamviewer.com/pt/index.aspx


And help you. . . :)

I'm trying to PM you but it wont let me I have my teamviewer ID and password ready when you are.....

titan 2010-04-09 21:58

Re: Overclock the N900?
 
EDIT: this post is outdated. please goto http://wiki.maemo.org/Overclocking

I have uploaded two new low voltage kernels.
Both are the same as the maemo20 kernel in extras-devel except for the lower voltages,
i.e. they preserve your freq. limits over phone calls and don't lock to 600Mhz during phone calls.
The default limits are 250-600 MHz.
A new feature in all maemo20 kernels is the bq27x00_battery module by Matan
which gives you more info about the battery in /sys/class/power_supply/bq27200-0/

The ultralow voltage (ulv) kernel is inspired by Letho's settings.
The less extreme low voltage (lv) kernel is inspired by Matan's settings.

Download ULV:
Code:

wget http://maemory.com/N900/overclock/ulv/kernel-maemo_2.6.28-maemo20_armel.deb
wget http://maemory.com/N900/overclock/ulv/kernel-modules-maemo_2.6.28-maemo20_armel.deb
wget http://maemory.com/N900/overclock/ulv/kernel-flasher-maemo_2.6.28-maemo20_armel.deb

Download LV:
Code:

wget http://maemory.com/N900/overclock/lv/kernel-maemo_2.6.28-maemo20_armel.deb
wget http://maemory.com/N900/overclock/lv/kernel-modules-maemo_2.6.28-maemo20_armel.deb
wget http://maemory.com/N900/overclock/lv/kernel-flasher-maemo_2.6.28-maemo20_armel.deb

Installation
Code:

dpkg -i kernel-m*
dpkg -i kernel-f*
halt

replace the values (as root) for temporary change
Code:

echo 124999 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 599000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

or edit /etc/pmconfig for permanent changes of the frequencies.

To enable 125Mhz use 124999 for scaling_min_freq.
According to BlackDiamond you should
"echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load"
for 125MHz http://talk.maemo.org/showpost.php?p...&postcount=185

Also try the hint by nightfire http://talk.maemo.org/showpost.php?p...&postcount=170 for improved responsiveness.

The warning "WARNING: at /home/builder1/maemo-fremantle-armel-extras-devel/work/kernel-maemo-2.6.28/arch/arm/mach-omap2/clock34xx.c:443" some people see in dmesg indicates that we don't really know what we're doing :o
The same applies to the DSP settings - it is not clear whether Letho's and my kernel actually set them to >430MHz. Someone familiar with frequency selection should have a look at the code...

so far the ULV kernel works fine for me with [125,600] Mhz till 850 MHz. 900 crashed it. EDIT: I just increased the 900 voltage in an update
EDIT2: another update replaced 800 by 810MHz in ULV and LV kernels

Matan 2010-04-09 22:26

Re: Overclock the N900?
 
The warning in line 443 happens at frequency 800MHz, but not at 900 or 720. It sets an undefined value to a register. The result of not setting this register correctly is increase in the electromagnetic noise that the CPU will generate, so it might result in worse reception of GSM, UMTS, BT, WiFi, etc. Maybe even interference with other devices.

Maybe trying close values to 800 (such as 810, for example) will allow for correct calculation of this register.

CarstenDutch 2010-04-09 22:27

Re: Overclock the N900?
 
Did the test on 1.1ghz and mine is 79.72 1000 000 digits

I did not wanted to put it too 1.1ghz but did echo 1000000 and got 1100mhz??? with kernel zImage-800mhz-ulv-1000mhz

Quote:

Originally Posted by Gusse (Post 603443)
Just tested with Titan's kernel @ 1GHz. Test took 83.03s with 1000000 digits and I received a SMS during the test :)

Nice test. Thanks!


mooninite 2010-04-09 22:30

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 603490)
I have uploaded two new low voltage kernels.
Both are the same as the maemo20 kernel in extras-devel except for the lower voltages,
i.e. they preserve your freq. limits over phone calls and don't lock to 600Mhz during phone calls.

titan, do we really need so many steps? 100mhz steps would be better IMHO. Less latency possible per step changing. 250, 500, 600, 700, 800, 900, etc.

jakiman 2010-04-09 22:40

Re: Overclock the N900?
 
I'm now using Lehto's 800-1000 ULV kernel @ 1Ghz. So far very stable. But it's only been 30mins or so.
Considering mine can run stable even at 1.1Ghz (non-ulv), I guess I'm one of the lucky ones with a decent enough sample. =)

hstende 2010-04-09 22:44

Re: Overclock the N900?
 
titan
I now using the ulv and works great.
800 as max is stable so far, 900 as max is unstable, like running "angry birds" sometimes crash on my n900.

titan 2010-04-09 22:45

Re: Overclock the N900?
 
Quote:

Originally Posted by jakiman (Post 603550)
I'm now using Lehto's 800-1000 ULV kernel @ 1Ghz. So far very stable. But it's only been 30mins or so.
Considering mine can run stable even at 1.1Ghz (non-ulv), I guess I'm one of the lucky ones with a decent enough sample. =)

AFAIK Letho's at 1GHz is using max. voltage

titan 2010-04-09 22:46

Re: Overclock the N900?
 
Quote:

Originally Posted by hstende (Post 603553)
titan
I now using the ulv and works great.
800 as max is stable so far, 900 as max is unstable, like running "angry birds" sometimes crash on my n900.

try the very latest version. is has slightly higher voltage for 900.
950 work for me too but 1GHz crashes.

Matan 2010-04-09 22:46

Re: Overclock the N900?
 
About DSP clock - we are seeing reports of noted difference between kernels with 430 and with 500 DSP in watching videos in BBC iplayer. While this reports are not from blind tests, and might be affected by placebo effect, I tend to accept them as proof that DSP clock does change.

CarstenDutch 2010-04-09 22:49

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 603556)
AFAIK Letho's at 1GHz is using max. voltage

1000mhz same voltage as stock 600mhz and 1100mhz overvolted

titan 2010-04-09 22:51

Re: Overclock the N900?
 
Quote:

Originally Posted by Matan (Post 603560)
About DSP clock - we are seeing reports of noted difference between kernels with 430 and with 500 DSP in watching videos in BBC iplayer. While this reports are not from blind tests, and might be affected by placebo effect, I tend to accept them as proof that DSP clock does change.

I wonder whether the file drivers/dsp/bridge/rmgr/drv_interface.c
is not used on OMAP? it seems to contain the DSP clocks.

ahmadamaj 2010-04-09 22:58

Re: Overclock the N900?
 
so guys, what i understood from reading the posts that the LV and ULV kernels give the performance of 900Mhz (for ex) with lower voltage? Or do you need to increase the clock speed because you are using lower voltage? can anyone explain plz.

Matan 2010-04-09 23:05

Re: Overclock the N900?
 
It is used, but all it does is write the table in shared memory where the DSP can find it. This allows the DSP to request certain frequency, but it is still the Linux kernel that actually sets the frequency. We don't really know if the DSP program actually uses it.

egoshin 2010-04-09 23:09

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 603490)
"echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load"

In addition I recommend you to run this commands and test it again:

renice 1 `cat /syspart/applications/standby/background/tasks`
renice 1 `ps | grep modest | cut -c1-5`

It should save you a lot of battery over standby. I have increase more then 50%.

(Note: modest renice would work until you call e-mail GUI, after that it reverts back. I am working on it)

nokian-series 2010-04-09 23:16

Re: Overclock the N900?
 
125-900 Mhz Kernel, Stock DSP:

Calculation of PI using FFT and AGM, ver. LG1.1.2-MP1.5.2a.memsave
Usage: ./pi_css5-vfp3 digits
Number of digits of pi to calculate? 1000000 initializing...
nfft= 262144
radix= 10000
error_margin= 0.00611182
calculating 1048576 digits of PI...
AGM iteration
precision= 48: 5.01 sec
precision= 80: 5.00 sec
precision= 176: 5.02 sec
precision= 352: 5.03 sec
precision= 688: 5.00 sec
precision= 1392: 5.02 sec
precision= 2784: 5.00 sec
precision= 5584: 5.04 sec
precision= 11168: 5.06 sec
precision= 22336: 4.99 sec
precision= 44688: 5.01 sec
precision= 89408: 5.00 sec
precision= 178816: 4.99 sec
precision= 357648: 4.99 sec
precision= 715312: 5.01 sec
precision= 1430640: 5.01 sec
writing pi1048576.txt...
93.72 sec. (real time)


ULV - 250-1000 Mhz Kernel (Running 1000 Max)

Calculation of PI using FFT and AGM, ver. LG1.1.2-MP1.5.2a.memsave
Usage: ./pi_css5-vfp3 digits
Number of digits of pi to calculate? 1000000 initializing...
nfft= 262144
radix= 10000
error_margin= 0.00611182
calculating 1048576 digits of PI...
AGM iteration
precision= 48: 4.63 sec
precision= 80: 4.65 sec
precision= 176: 4.63 sec
precision= 352: 4.66 sec
precision= 688: 4.66 sec
precision= 1392: 4.64 sec
precision= 2784: 4.64 sec
precision= 5584: 4.61 sec
precision= 11168: 4.64 sec
precision= 22336: 4.58 sec
precision= 44688: 4.57 sec
precision= 89408: 4.60 sec
precision= 178816: 4.60 sec
precision= 357648: 4.61 sec
precision= 715312: 4.61 sec
precision= 1430640: 4.58 sec
writing pi1048576.txt...
86.32 sec. (real time)

ULV - 250-1000 Mhz Kernel (Running 800 Max)
.
.

103.15 sec (real time)

thecube 2010-04-09 23:41

Re: Overclock the N900?
 
Whats the diffrence between the ulv & lv kernels?
Do they have other Frequences? or really only other voltage use?

arbitrabbit 2010-04-09 23:47

Re: Overclock the N900?
 
Titan

I don't have anything available under /sys/class/power_supply/bq27200-0/ with your latest update. The class power_supply doesn't exist on my device. What battery stats should be available in there? Rest seems to work fine with your kernel (max freq set to 810 MHz). I am curious whether my battery life would actually be better if I now idle, at a lower voltage at 125Mhz. Will see how it goes.

1200000 0
1100000 0
1000000 0
950000 0
900000 0
850000 0
810000 8963
750000 87
700000 264
600000 113
550000 22
500000 2260
250000 913
124999 19546

Ronaldo 2010-04-09 23:53

Re: Overclock the N900?
 
can some one help me figure out why my battery dies so quick?

i did some browsing, music and calls and it went down big time.

then charged it and using browsed and sent some text.

cheers

OC is 900mhz

http://img717.imageshack.us/img717/1356/1234gy.png

arbitrabbit 2010-04-10 00:11

Re: Overclock the N900?
 
Ronaldo, you haven't said which version you are using but if you are not using the lower voltage versions, the battery consumption for higher clock speed would be higher

Ronaldo 2010-04-10 00:23

Re: Overclock the N900?
 
using the normal volt, luhto's 900mhz 125-900.

the battery drop is too quick even though cpu was not at max

baron von bubba 2010-04-10 00:36

Re: Overclock the N900?
 
Quote:

Originally Posted by f2thak (Post 602202)
I just found my devices MAX.! I tried 1200 = nope, then 1100 = nope!

1ghz seems to be working, other than that ive been running 900-950mhz mostly......

[/B]

like yer style, but wouldnt it be far more prudent to slowly increase the clock rather than go balls out from the off?

nokian-series 2010-04-10 00:40

Re: Overclock the N900?
 
Dont want to do an 'off topic' here, but, early, i onlu can get 31 apps running at same time on my phone..i think..

Now, using the newest lehtos kernel 250-800 (1000) Mhz, i tried again, and can handle 40 applications. One day, i'll try more.

There's a video of my phone doing that multitasking: http://www.youtube.com/watch?v=C4yB_6E_uHg

I've been running 125 Mhz - 900 Mhz about 5 days..but today night i've gived a try on the new one ULV..250 - 800 (1000) Mhz..

I would like a ULV 250 - 900 Mhz but lehto say its hard\dificult to try..lets wait.. :)

Regards

psrkn 2010-04-10 00:43

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 603490)
I have uploaded two new low voltage kernels.
Both are the same as the maemo20 kernel in extras-devel except for the lower voltages,
i.e. they preserve your freq. limits over phone calls and don't lock to 600Mhz during phone calls.
The default limits are 250-600 MHz.
A new feature in all maemo20 kernels is the bq27x00_battery module by Matan
which gives you more info about the battery in /sys/class/power_supply/bq27200-0/

The ultralow voltage (ulv) kernel is inspired by Letho's settings.
The less extreme low voltage (lv) kernel is inspired by Matan's settings.

I installed maemo20 through app manager, and would like to test the ulv version. Do I need to uninstall maemo20 through app manager first prior to installing the ulv version to save fs space?

thanks for the great work by you, lehto and Matan.

arbitrabbit 2010-04-10 00:51

Re: Overclock the N900?
 
Quote:

Originally Posted by Ronaldo (Post 603654)
using the normal volt, luhto's 900mhz 125-900.

the battery drop is too quick even though cpu was not at max

Try the ULV version and see if it improves things

UNderworld 2010-04-10 01:02

Re: Overclock the N900?
 
does ulv use less battery??

can anyone tell me why 250-800 (1000) ulv has the 1000 in brackets?
I just flashed but conky never goe beyond 800mhz...

I have been trying to find this out from the previous pages but 15mins of searching rendered nothing:confused: .. :eek:


thanks

psrkn 2010-04-10 01:09

Re: Overclock the N900?
 
Quote:

Originally Posted by UNderworld (Post 603675)
does ulv use less battery??

can anyone tell me why 250-800 (1000) ulv has the 1000 in brackets?
I just flashed but conky never goe beyond 800mhz...

I have been trying to find this out from the previous pages but 15mins of searching rendered nothing:confused: .. :eek:


thanks

Lehto left 1000Mhz code in his version if you would like to activate it in /etc/pmconfig. His default is 250-800Mhz.

maykon-de-angra 2010-04-10 01:12

Re: Overclock the N900?
 
Thank Letho the browser! Now I'm getting Save Kernels http://www.saunalahti.fi Web Site ....
You were awesome! Thanks!

What I like is that you Disponibilizase A Kernel of 250mhz - 1000MHz To install the Flasher-3.5!

we already have to 950MHz, would be the only 50mhz more!

Its post it for us? zImage-1000MHz

Thanks!

AlMehdi 2010-04-10 01:16

Re: Overclock the N900?
 
I used Titans 250-850-ulv-kernel. It start up alright but after about 30 seconds it reboots. I had below 300mAh in battery when changing so i am charging to see if that had something to do with it.

Ronaldo 2010-04-10 01:26

Re: Overclock the N900?
 
is there no 900mhz low volt versions?

JMacalinao 2010-04-10 01:39

Re: Overclock the N900?
 
Quote:

Originally Posted by Ronaldo (Post 603683)
is there no 900mhz low volt versions?

You can try titan's latest ulv or lv kernels and set scaling_max_freq to 900Mhz. :)

http://talk.maemo.org/showpost.php?p...postcount=2004

baron von bubba 2010-04-10 01:41

Re: Overclock the N900?
 
Quote:

Originally Posted by Lehto (Post 603325)
In theory yes. After all mine runs with about 1.17volts (estimated) compared to the stock 600mhz's 1.35volts.

and what is the voltage when @1000mhz?
thanks

UNderworld 2010-04-10 01:41

Re: Overclock the N900?
 
Quote:

Originally Posted by Ronaldo (Post 603683)
is there no 900mhz low volt versions?

lol Ive been reading the past 50 or so pages to find that out...

I think lehto said 900 is unstable or he's trying to find the voltage....

I just flashed 800(1000)ulv..... until 900 comes out, preferably with 500dsp:D

Ronaldo 2010-04-10 01:43

Re: Overclock the N900?
 
i restored stock 600mhz

1. Launch xterminal
2. sudo gainroot (assuming you have rootsh installed)
3. apt-get install --reinstall kernel kernel-flasher
4. reboot

just to see how slow it felt lol, might try tha 800mhz lvolt

need to findout how to reset battery graph

Ronaldo 2010-04-10 02:03

Re: Overclock the N900?
 
now trying the 800mhz zImage-800mhz-ulv-1100mhz file

can notice the difference with this compard to 900mhz.

hope there will be a n900mhz version, not enjoy this like i did 900mhz

amorek13 2010-04-10 02:50

Re: Overclock the N900?
 
can someone make stock kernel with 125?

Ronaldo 2010-04-10 02:54

Re: Overclock the N900?
 
Quote:

Originally Posted by amorek13 (Post 603728)
can someone make stock kernel with 125?

125 is a problem, because it not smooth when your using lower powered app like photo broswer

AlMehdi 2010-04-10 03:03

Re: Overclock the N900?
 
Quote:

Originally Posted by AlMehdi (Post 603681)
I used Titans 250-850-ulv-kernel. It start up alright but after about 30 seconds it reboots. I had below 300mAh in battery when changing so i am charging to see if that had something to do with it.

The charging did not change.. i had to reflash the device.

Edited the /etc/pmconfig to 250-810-lv-kernel instead. It works good for me.. but when i look in conky it shows 850mhz and same in state_in_time. How is that? Does it mean i am running at 850mhz?


All times are GMT. The time now is 04:25.

vBulletin® Version 3.8.8