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)

HtheB 2010-04-06 17:59

Re: Overclock the N900?
 
Quote:

Originally Posted by _privateMember (Post 598054)
Thats a valid point. I agree.


*** To permanent change max cpu freq ***
Update the file /etc/pmconfig
scaling_max_freq 600000
to
scaling_max_freq 900000
or whatever mhz you prefer or dare to try.
Information in this file is the source and sets the
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
when booting the device (same off course for the min_freq).

Thank you! :)
works like a charm.


Also thanks for egoshin and miwalter for waking me up... (need to read more carefully next time!) :p

Ikari 2010-04-06 18:02

Re: Overclock the N900?
 
Quote:

Originally Posted by biggzy (Post 596920)
On Device Flashing.

Download one of the kernels below and place it on root of the mass memory, otherwise known as MyDocs.

700mhz

750mhz

800mhz

825mhz

900mhz

Run X Term and become root, then type fiasco-image-update /home/user/MyDocs/zImagexxx.fiasco

Replace the xxx with correct mhz number, e.g. if your flashing the 800mhz you need to type fiasco-image-update /home/user/MyDocs/zImage800.fiasco

Remember X Term is case sensitive.

Once done please reboot. ;)

This worked for me running PR1.1

If you want to return to the stock kernel then open X Terminal and become root, then use the following command apt-get --reinstall install kernel kernel-flasher and reboot.

Alright so this looks like the easiest way to overclock but I couldn't get it to work.

I downloaded the 800 kernel and put it in MyDocs as said in step 1, but step 2 with the X-term didn't work out for me. So could some one clarify what I need to type in to get it to work? Do I sudo gainroot and then type in fiasco-image-update /home/user/MyDocs/zImage800.fiasco or something different?

dscobsct 2010-04-06 18:03

Re: Overclock the N900?
 
open terminal and type root. then try the process again

NokiaRocks 2010-04-06 18:06

Re: Overclock the N900?
 
I'm using the 125-900 Mhz Kernel for 2 days now and it works like a charm. Everything is so much smoother and the battery life is the same or even better.

Ikari 2010-04-06 18:08

Re: Overclock the N900?
 
I got the same result, saying that /home/user/MyDocs/zImage800.fiasco does not exist, skipping.

Edit: Nevermind, so dumb. I put it in my Document folder and thought that was the same as MyDocs...

Got it working now.

owerlord 2010-04-06 18:20

Re: Overclock the N900?
 
is it save to run 900mzg?

byte_76 2010-04-06 18:20

Re: Overclock the N900?
 
All those that are running at 1000MHz, can you confirm the time that you have been running and has your N900 been 100% stable?

Have you tested multiple demanding applications at the same time?
Have you tested your GPS, TV-Out, Camera and anything else to make sure the OC did not cause any hardware issues?

clooak 2010-04-06 19:08

Re: Overclock the N900?
 
Possible to somehow edit the config file for the overlocking limits via the xterm?

Eg something like nano? I don't have my usb cable laying around nearby so would be good to be able to make adjustments via xterm.

breakthru 2010-04-06 19:11

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 597973)
no cable attached, just Wifi enabled and Conky+Terminal running for 10mins.
could be a "local effect"

OK, my findings are as follows.

For the first 10 mins or so, 900MHz speed was used for one third of the time, while 125MHz was used for two thirds of the time.
To be precise; after 18 mins, 900MHz was at 27%, while 125MHz was at 59%

But after 1hr 5mins of usage:
900000 34892 = 8.935%
850000 87 = 0.022%
800000 94 = 0.024%
750000 257 = 0.066%
700000 850 = 0.217%
600000 462 = 0.118%
550000 567 = 0.145%
500000 11360 = 2.909%
250000 6016 = 1.541%
125000 335926 = 86.022%

So after all start-up and post start-up processes are finished, the processor seems to idle most of the time at 125MHz. These readings, of course, are all with your 125MHz enabled kernel...

EDIT: By the way, my phone's connected to mains power via the wall charger and it's sitting idle with occasional checks on time_in_state via xterm on the foreground...

mattiviljanen 2010-04-06 19:12

Re: Overclock the N900?
 
Please don't get offended, but I just have to say this:

Do not ask if it is safe or not! Just read the thread! OK, that's too much, but perhaps somewhere after page 80 or so. There are plenty of answers already there, and this thread is as bloated as it can be!

I know that overclocking pretty much equals speed, and speed is what everybody wants, but the answers are already there, save the long-term real life effects of the overclocking.

Apologies, and carry on.

mikhmv 2010-04-06 19:13

Re: Overclock the N900?
 
Quote:

Originally Posted by clooak (Post 598154)
Possible to somehow edit the config file for the overlocking limits via the xterm?

Eg something like nano? I don't have my usb cable laying around nearby so would be good to be able to make adjustments via xterm.

look this post: http://talk.maemo.org/showpost.php?p...postcount=1259

sophocha 2010-04-06 19:20

Re: Overclock the N900?
 
Quote:

Originally Posted by egoshin (Post 597944)
Please do not REBOOT - use switch OFF-ON.

It has nothing with overclocking, see bug 7017 - https://bugs.maemo.org/show_bug.cgi?id=7017

I`m not using reboot....I`m always switching the phone off (by the way I`ve only experience this once or twice)

Bernard Wei 2010-04-06 19:24

Re: Overclock the N900?
 
Quote:

Originally Posted by breakthru (Post 598159)
OK, my findings are as follows.

For the first 10 mins or so, 900MHz speed was used for one third of the time, while 125MHz was used for two thirds of the time.
To be precise; after 18 mins, 900MHz was at 27%, while 125MHz was at 59%

But after 1hr 5mins of usage:
900000 34892 = 8.935%
850000 87 = 0.022%
800000 94 = 0.024%
750000 257 = 0.066%
700000 850 = 0.217%
600000 462 = 0.118%
550000 567 = 0.145%
500000 11360 = 2.909%
250000 6016 = 1.541%
125000 335926 = 86.022%

So after all start-up and post start-up processes are finished, the processor seems to idle most of the time at 125MHz. These readings, of course, are all with your 125MHz enabled kernel...

EDIT: By the way, my phone's connected to mains power via the wall charger and it's sitting idle with occasional checks on time_in_state via xterm on the foreground...

I found that by enabling speed below 250MHz, I see occasional throttling from 125MHz to 900MHz.

This is perhaps due to the stuff I have installed, but it seems that at times the phone thinks 25MHz is not enough and trigger the jump to 900MHz.

Setting lowest speed to 250MHz prevent the speed throttling during idle. Not sure which way could stretch the battery more, keep the low at 250MHz or 125MHz.

_privateMember 2010-04-06 19:31

Re: Overclock the N900?
 
1 Attachment(s)
My latest try, if anyone cares :)
CPU 125/250/500/750/875 (very symmetric)
DSP 90/180/360/450/470

I noticed that the second fastest mode(750 MHz) now for the first time is being used a little more. In this screen the second fastest mode was actually ticking away.
Attachment 8703

>cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
875000 178585
750000 26172
500000 53284
250000 13765
125000 164748

I set max freq to 875000 in /etc/mpconfig, no more then the kernel was built to handle if this has any impact I don't know.

Bernard Wei 2010-04-06 19:34

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 597569)
This kernel makes it possible dynamically change the maximum frequency up to 1.2GHz (supported frequencies are 250,500,550,600,700,750,800,850,900,950,1000,1100, 1200MHz)

Thanks! One technical question :)

I'm looking the omap3_mpu_rate_table[] structure in omap3-opp.h. Is the kernel configured with voltages more than 0x3C for rate higher than 600MHz?

clooak 2010-04-06 19:35

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 597569)
There is a new stable overclockable kernel in extras-testing.
Installation is very simple: install the package kernel-flasher-maemo (section system in HAM), shutdown and cold boot. There's no need for reflashing etc.
It requires firmware PR1.1 or newer.

The default limit is at stable 600MHz. This is the same setting as the stock kernel and is safe.

This kernel makes it possible dynamically change the maximum frequency up to 1.2GHz (supported frequencies are 250,500,550,600,700,750,800,850,900,950,1000,1100, 1200MHz)
Warning: Overclocking may damage your device and is at your own risk!
You can manually increase the limit until your device fries using, e.g. for 600MHz
Code:

sudo gainroot
echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

To permanently fix the limit edit /etc/pmconfig.
Unlike the other kernels in this thread it can also more of use the intermediate frequencies which might be the reason why it is stable for me at 1GHz.

Apart from overclocking, this kernel has a lot of other features
(2.6.28.10, PR1.2 patches etc) see http://talk.maemo.org/showthread.php?t=43420
It also retains the version info in Settings -> Product info.
If it works well for you, please vote at
http://maemo.org/packages/package_in....6.28-maemo19/

PS: 125MHz is deliberately not included, see http://talk.maemo.org/showpost.php?p...&postcount=141

Good luck!

When you say "Nokia PR1.2" Are you reffering to the PR1.2 sdk, this http://thenokiablog.com/2010/03/22/n...-major-update/ ?

titan 2010-04-06 19:39

Re: Overclock the N900?
 
Quote:

Originally Posted by Bernard Wei (Post 598183)
I found that by enabling speed below 250MHz, I see occasional throttling from 125MHz to 900MHz.

I think I got the same behavior. the cpu % for active processes (Xorg, conky) was also much higher.

titan 2010-04-06 19:41

Re: Overclock the N900?
 
Quote:

Originally Posted by Bernard Wei (Post 598192)
I'm looking the omap3_mpu_rate_table[] structure in omap3-opp.h. Is the kernel configured with voltages more than 0x3C for rate higher than 600MHz?

0x3C is the maximum, used for everything >= 600MHz.
above 800MHz the DSP is clocked to 500MHz instead of 430MHz.
For 125MHz I use a lower voltage than (the original one) for 250MHz.

titan 2010-04-06 19:41

Re: Overclock the N900?
 
Quote:

Originally Posted by clooak (Post 598194)
When you say "Nokia PR1.2" Are you reffering to the PR1.2 sdk, this http://thenokiablog.com/2010/03/22/n...-major-update/ ?

yes, the kernel patch from P1.2 SDK.

miwalter 2010-04-06 19:59

Re: Overclock the N900?
 
Quote:

Originally Posted by owerlord (Post 598080)
is it save to run 900mzg?

No - it's not save. All the people reporting they run at 900 or more are only posting here to amuse themselfes and get innocent souls like you to brick their device.

:cool:

iamNarada 2010-04-06 20:02

Re: Overclock the N900?
 
Hmmm, well, I recognize that the first person who bricks will post (RIGHT!?), but please keep up the updates, i.e. stable runtimes while overclocked. Inquiring minds like to know!

egoshin 2010-04-06 20:22

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 598204)
0x3C is the maximum, used for everything >= 600MHz.
above 800MHz the DSP is clocked to 500MHz instead of 430MHz.
For 125MHz I use a lower voltage than (the original one) for 250MHz.

Is it needed? Did you try to use the same voltage - it may prevent switching to highest frequency.

ceroberts75 2010-04-06 20:24

Re: Overclock the N900?
 
Quote:

Originally Posted by miwalter (Post 598231)
No - it's not save. All the people reporting they run at 900 or more are only posting here to amuse themselfes and get innocent souls like you to brick their device.

:cool:

the sky is falling, the sky is falling....


ok chicken little, make sure it is not an apple.


its been a couple of days now and still no crash and rock solid at the 900mhz (w/o the DSP bump)

ticktock666 2010-04-06 20:24

Re: Overclock the N900?
 
I'm not sure if this was reported before, but I'm unable to use the "search thread" function for some reason, so please excuse me if this is a repost.

I've OCed my phone today to 800 mhz following the instructions in jakiman awesome post, then used the following command to fix the "about" page :
apt-get install --reinstall mp-fremantle-003-pr

everything seemed to be running smoothly, until I got on the bus heading back home and started panucci to continue an audio book I was listening to, I had no problems with the files from this book before but now they seem to stutter a lot, like every 1-3 mins

I do believe this is related to OCing the device, but I'm going to test more by restoring the original kernel then replaying the same files and see if I get the stuttering or now, and will report here.

Lehto 2010-04-06 20:27

Re: Overclock the N900?
 
Doing the hazard testings and wondering how the hell the moto droid guys got to 1200mhz. That clock speed seriously is asking for more voltage AND A LOT OF IT! For now the 1100mhz is "behind a switch" for me as I dont trust the thing to run it when it wishes.
http://img.photobucket.com/albums/v3...406-232459.png

Matan 2010-04-06 20:31

Re: Overclock the N900?
 
Audio stuttering might be related to 125MHz. When using mplayer to play mp3 file, I noticed that the frequency changes sometime between 125 and 250. Without good enough buffering it might cause stuttering.

nokian-series 2010-04-06 20:40

Re: Overclock the N900?
 
Quote:

Originally Posted by Bratag (Post 597905)
All you need do is edit the line

scaling_max_freq 600000

and replace it with whatever you want the max to be for example

scaling_max_freq 850000

save - reboot.

Sorry to All..this maybe a stupid question but..i'll thanks some info that anyone can provide.

I'm Running the 900 Mhz Kernel about 2 days..all fastest, no issues, all going good enought! :)

I'm reading this threads..so..i'm not realy in 900 MHz ? Need to do: scaling_max_freq 850000 at that config file?

Sorry for my 'dont understanding' ..

Than you all.

egoshin 2010-04-06 20:44

Re: Overclock the N900?
 
Quote:

Originally Posted by nokian-series (Post 598305)
Sorry to All..this maybe a stupid question but..i'll thanks some info that anyone can provide.

I'm Running the 900 Mhz Kernel about 2 days..all fastest, no issues, all going good enought! :)

I'm reading this threads..so..i'm not realy in 900 MHz ? Need to do: scaling_max_freq 850000 at that config file?

Sorry for my 'dont understanding' ..

Than you all.

Do in X-Term application:

echo "900000" >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

and it switches your N900 to 900MHz maximum frequency.

(EDIT: wrong file)

Faz 2010-04-06 20:44

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 597569)
There is a new stable overclockable kernel in extras-testing.
Installation is very simple: install the package kernel-flasher-maemo (section system in HAM), shutdown and cold boot. There's no need for reflashing etc.
It requires firmware PR1.1 or newer.

The default limit is at stable 600MHz. This is the same setting as the stock kernel and is safe.

This kernel makes it possible dynamically change the maximum frequency up to 1.2GHz (supported frequencies are 250,500,550,600,700,750,800,850,900,950,1000,1100, 1200MHz)
WARNING: Overclocking may damage your device and is at your own risk!
You can manually increase the limit until your device fries using, e.g. for 600MHz
Code:

sudo gainroot
echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

The last line shows which value was actually set.
This setting takes effect immediately and is cleared with the next reboot.
To permanently fix the limit edit the scaling_max_freq setting in /etc/pmconfig (using vi).
WARNING: Permanent overclocking is very dangerous!

Apart from overclocking, this kernel has a lot of other features
(2.6.28.10, PR1.2 SDK patches etc) see http://talk.maemo.org/showthread.php?t=43420
It also retains the version info in Settings -> Product info.
If it works well for you, please vote at
http://maemo.org/packages/package_in....6.28-maemo19/

PS: 125MHz is deliberately not included, see http://talk.maemo.org/showpost.php?p...&postcount=141

Good luck!

Many thanks titan!!!

If anyone is having issues with this it may be may due to inadvertently installing kernel-flasher-maemo from the Dev Testing repository instead of the Testing repo.

I was initially having no luck, I kept editing /etc/pmconfig, reboot / shutdown but it kept reverting! :confused:

Then I realised I installed kernel-flasher from Maemo Extra-devel NOT Maemo Extras-testing as I had both of these enabled!

So I disabled the Dev repo which resulted in Application Manager prompting to update kernel-flasher-maemo to a higher version from Testing. Updated and pleased to report changes made to /etc/pmconfig are now persistent.

User error! :rolleyes:

UNderworld 2010-04-06 20:53

Re: Overclock the N900?
 
Quote:

Originally Posted by egoshin (Post 598033)
Can you show an output of

cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state

while kernel has 125MHz capability?


900000 640923
595000 11019
500000 162639
250000 82307
125000 2327638

does that mean anything??

miwalter 2010-04-06 20:55

Re: Overclock the N900?
 
Using kernel 930mhz-500dsp and getting the following numbers in "time_in_state"-counter...
Code:

Nokia-N900-51-1:~# cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
930000 1254967
595000 5492
500000 330866
250000 156020
125000 2275065

This seems to be logical - I watch some videopodcasts with tvout the last two hours and the phone should have been mostly idle during the day.

But I don't really trust the numbers at 125000 and 930000. I think they are too close together (930000 half of 125000 - quite much...) for the usagepattern in the last hours since reboot.

FYI

nokian-series 2010-04-06 20:56

Re: Overclock the N900?
 
Quote:

Originally Posted by egoshin (Post 598309)
Do in X-Term application:

echo "900000" >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

and it switches your N900 to 900MHz maximum frequency.

(EDIT: wrong file)

Ok, but i've allready applied the 900 Mhz kernel image, last two days.
With heavy usage, i see with conky that goes to 900 Mhz. (or isn't that true? if is not..why i see my n900 more and more faster?).

I dont understand a lot of english..maybe i'm not explaining correctly..sorry..

What should be the real effects and improvements of change the scaling max freq to 9000000 , if i have actualy the 900 Mhz kernel? Cant understant.. sorry, and one more time, i'll apreciate all the help and explain..


:: I know how to edit the \etc\mpconfig file ...can do that there (if i'll do..dont know for what is it :S ::

Lehto 2010-04-06 20:59

Re: Overclock the N900?
 
If conky says 900mhz, then its running @ 900mhz.

dscobsct 2010-04-06 21:02

Re: Overclock the N900?
 
how the hell does playing a song with the default music player mostly take up 50-60% of 800mhz? is this pulseaudio problem, is everyones the same or just my device?

kangou 2010-04-06 21:02

Re: Overclock the N900?
 
Quote:

Originally Posted by egoshin (Post 598309)
Do in X-Term application:

echo "900000" >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

and it switches your N900 to 900MHz maximum frequency.

(EDIT: wrong file)

I'm also running the 900 Mhz Kernel and Conky displays "900Mhz" (and I can feel the difference), but scaling_max_freq gives me "600000"... There is something wrong ?

nokian-series 2010-04-06 21:04

Re: Overclock the N900?
 
Quote:

Originally Posted by Lehto (Post 598337)
If conky says 900mhz, then its running @ 900mhz.

Thank You a lot lehto.
Two awnsers (yes or no) to i feel explained.

So, it dont matter what information is in the mpconfig file to the "max freq"?

So, 'us' who apply that kernel imagens, dont need to edit the max freq at the mpconfig file?


I'm actually with excelent results..videos, games, wifi, gps.. tomorrow or after i'll put here some battery graphs : )

UNderworld 2010-04-06 21:05

Re: Overclock the N900?
 
If we can temporarily set the max clockspeed to, say 800mhz or 900mhz,, is it not possible to put the command in an app??

say, we run a 125-600 mhz for normal use, and have buttons in the app to get 800,900,950.... ??

or even widgets??

Lehto 2010-04-06 21:06

Re: Overclock the N900?
 
Quote:

Originally Posted by nokian-series (Post 598346)
Thank You a lot lehto.
Two awnsers (yes or no) to i feel explained.

So, it dont matter what information is in the mpconfig file to the "max freq"?

So, 'us' who apply that kernel imagens, dont need to edit the max freq at the mpconfig file?


I'm actually with excelent results..videos, games, wifi, gps.. tomorrow or after i'll put here some battery graphs : )

1. No, it does not matter. No need to edit

2. No. No need to edit...

UNderworld 2010-04-06 21:06

Re: Overclock the N900?
 
Quote:

Originally Posted by kangou (Post 598344)
I'm also running the 900 Mhz Kernel and Conky displays "900Mhz" (and I can feel the difference), but scaling_max_freq gives me "600000"... There is something wrong ?

same here :confused:

titan 2010-04-06 21:09

Re: Overclock the N900?
 
Quote:

Originally Posted by Faz (Post 598311)
Many thanks titan!!!
If anyone is having issues with this it may be may due to inadvertently installing kernel-flasher-maemo from the Dev Testing repository instead of the Testing repo.

interesting. according to http://maemo.org/packages/package_in....6.28-maemo19/
the latest version 2.6.28-maemo19 should be both in testing and devel.


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

vBulletin® Version 3.8.8