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)

gabby131 2010-09-12 14:27

Re: jakiman's N900 Overclocking Guide
 
Quote:

Originally Posted by schaggo (Post 813250)
Uuh... headache on at my end here. Reason why: I use a slightly modified ideal-profile, I made it go from 250MHz to 1GHz, thats all. But I suffer severe battery drain. About 1% per minute!
If I close all apps, let the device rest, and have a look at Conky, the device idles at 250MHz with about 3-5% load on the CPU and all 8-10 secs it upscales to 1000MHz for 2-4 secs with CPU load still around 4% and then back to 250MHz.
I dont have any special background daemons, watchdogs or services running. All apps closed. Where does that jumpy behavior come from?! Conkys graph also is completely level, no peaks or exceptional stress, just upscale to 1GHz and back again.... Any ideas?

looks normal too me,

i always stay @500-1.15GHz (ideal) settings as my personal settings and let it load upon every boot, but no extra-ordinary battery drain.

the upscaling from 250 MHz to 1GHz for 8-10 or quicker is normal, that is because of the "ondemand" setting of the CPU (not really sure but that is what i read).

Ondemand gives the cpu to switch from the lowest available freq to the highest without scaling on other mid freqs. i believe.

check your cpu usage again, you might have instances that your cpu runs constant @ 100%

drangina 2010-09-12 15:36

Re: jakiman's N900 Overclocking Guide
 
3 Attachment(s)
Quote:

Originally Posted by schaggo (Post 813250)
Uuh... headache on at my end here. Reason why: I use a slightly modified ideal-profile, I made it go from 250MHz to 1GHz, thats all. But I suffer severe battery drain. About 1% per minute!
If I close all apps, let the device rest, and have a look at Conky, the device idles at 250MHz with about 3-5% load on the CPU and all 8-10 secs it upscales to 1000MHz for 2-4 secs with CPU load still around 4% and then back to 250MHz.
I dont have any special background daemons, watchdogs or services running. All apps closed. Where does that jumpy behavior come from?! Conkys graph also is completely level, no peaks or exceptional stress, just upscale to 1GHz and back again.... Any ideas?

I have found the same bug...everything seems normal in conky but when you see the red line in the battery graph it keeps draining my battery under sleeping condition without any CPU usage. Though for me my own configuration and ideal is more stable than starving but starving seems to save battery in one figure while in other figure ideal was doing good under ideal condition.
My frequency is from 256 to 850 MHZ

Comparing voltage in IDEAL>Starving>Own config at lower frequencies below 600
while above 600 IDEAL> Own config> Starving

Any clue why this behaviour in 2nd figure?

schaggo 2010-09-12 23:11

Re: jakiman's N900 Overclocking Guide
 
Quote:

Originally Posted by gabby131 (Post 814138)
looks normal too me

Well no, 1% a minute is not normal :D

Quote:

Originally Posted by gabby131 (Post 814138)
the upscaling from 250 MHz to 1GHz for 8-10 or quicker is normal, that is because of the "ondemand" setting of the CPU (not really sure but that is what i read).

I think you misunderstood. I'm not complaining about the technology or the kernel or anything. I possess basic knowledge of power saving techniques, underclocking, overclocking etc. So it is clear to me that it takes a while for the CPU to actually scale up when suddenly experiencing load and of course that it will take it's time to settle again, once the load is gone. Now all this is not my problem. My problem is: my device is laying flat on my desk, no apps or progs running, no exceptional background processes running, basically: there is no need to upscale. But why does it still do so and figuratively burning battery for nothing?
Laying there with Xorg eating ~3%, Conky ~1% and some hildon-stuff eating a combined 1% we are at about 5%. This is what Conky also shows: 5% CPU load. There is no need to ask 1000MHz, why and what does do so?

Quote:

Originally Posted by gabby131 (Post 814138)
Ondemand gives the cpu to switch from the lowest available freq to the highest without scaling on other mid freqs. i believe.

I know. And yes it's true, if needed it can go from 0 to 100, but also, if needed to any point inbetween those two figures. Not exactly, the steps are defined (the supported frequencies), but you get the idea...

Quote:

Originally Posted by gabby131 (Post 814138)
check your cpu usage again, you might have instances that your cpu runs constant @ 100%

As pointed out above, no instances asking for power. At least no obvious ones. There maybe is a process jumping in just short enough to Conky not list it but long enough for Conky to notice the jump in CPU frequency.

gabby131 2010-09-12 23:25

Re: Overclock the N900?
 
@schaggo

hmmmm........as per your post that is a problem, a percent per minute!

does it still occur after your battery drained and been fully charged?

schaggo 2010-09-13 10:39

Re: Overclock the N900?
 
I got annoyed and traded a good nights sleep for a complete reflash. My device is so to say factory new, I just put it back in ops. If its a hardware issue, it should pop up üretty soon again, if it was software, I guess I (dis)solved it.

I guess it would have been fun to track it down... :(

gabby131 2010-09-13 10:50

Re: Overclock the N900?
 
Quote:

Originally Posted by schaggo (Post 814785)
I got annoyed and traded a good nights sleep for a complete reflash. My device is so to say factory new, I just put it back in ops. If its a hardware issue, it should pop up üretty soon again, if it was software, I guess I (dis)solved it.

I guess it would have been fun to track it down... :(

hmmm......hoping you should wait longer :)

if a reflash did solve it, you might got Advance apps installed that makes Xorg uses 70% of cpu.

EDIT: aw! i just saw the thread you posted a reply! :eek:

gabby131 2010-09-13 10:57

Re: Overclock the N900?
 
just to share this:

for almost 5 months (i think its really that long) of overclocking, my experience with battery life is awesome!

in nokia's stock kernel of 250-600mhz, my n900 lasts up to 8hrs - 10hrs of stand-by with wifi and 5 IM accounts, and i think 2 hrs of web browsing plus video streaming.

when i overclocked using enhance kernel for power users, with the Ideal settings of 500-850mhz up to 1150mhz, stand-by (with all activites same as above) lasts for 13hrs-15hrs between charging/replace battery!

EDIT: i just looked at Conky and my uptime is 16hrs, 48mins and 3secs. :D

kulas 2010-09-13 11:53

Re: Overclock the N900?
 
Quote:

Originally Posted by gabby131 (Post 814797)
just to share this:

for almost 5 months (i think its really that long) of overclocking, my experience with battery life is awesome!

in nokia's stock kernel of 250-600mhz, my n900 lasts up to 8hrs - 10hrs of stand-by with wifi and 5 IM accounts, and i think 2 hrs of web browsing plus video streaming.

when i overclocked using enhance kernel for power users, with the Ideal settings of 500-850mhz up to 1150mhz, stand-by (with all activites same as above) lasts for 13hrs-15hrs between charging/replace battery!

EDIT: i just looked at Conky and my uptime is 16hrs, 48mins and 3secs. :D

good for you gabs! ideal doesn't work well with me.. :( it reboots whenever i watch movie or stream a video..

titan 2010-09-13 20:26

Re: Overclock the N900?
 
max should be 250. everything >250 is interpreted as the next frequency, i.e. 500.
but 125 doesn't make sense, IMHO. Idle = 0MHz @ 0V.

Quote:

Originally Posted by drangina (Post 813647)
I think i found a bug...
When i set the custom voltage profile Min freq 125 and Max 256.
While using it i see cpu frequency going upto 500 everytime and keep jumping from 125 to 500. Otherwise if i fix other frequencies it follows the command properly.

Any suggestion how to avoid 500
I am checking the minimum voltage tolerable.


atilla 2010-09-13 20:33

Re: Overclock the N900?
 
i have the conky bug too.
if nothing is running after 10-12 seconds my cpu freq jumps for 1-2 seconds to 850 but my cpu load is at 10%.
i use titans kernel with 250-850 mhz.
but the really confusing thing is that im not seeing any battery difference.with much use my battery runs 24 hours

gabby131 2010-09-13 21:46

Re: Overclock the N900?
 
Quote:

Originally Posted by kulas (Post 814847)
good for you gabs! ideal doesn't work well with me.. :( it reboots whenever i watch movie or stream a video..

yo! when i watch movies (files in mass or memory card storage)i revert back to stock, coz some movies i play jumps or gives me a reboot when being played (titan and others explained that this is because of extra low voltage).

streaming vidz (like youtube) does not do any negative for me (except for starving setting).

I am aware that not all CPU's are the same and what works for 1 may work for others (vise versa) but i suggest that you de-install (the wiki.maemo.org/Overclocking way) Enhance Linux Kernel and re-install it.

or......i suspect that you have smart-reflex activated (by setting VDD1 and VDD2 to 1) this gives me 3 reboots in a day.

schaggo 2010-09-13 23:41

Re: Overclock the N900?
 
Quote:

Originally Posted by gabby131 (Post 815274)
or......i suspect that you have smart-reflex activated (by setting VDD1 and VDD2 to 1) this gives me 3 reboots in a day.

Enabeling it gives me an immediate reboot. As does loading the starving configuration. Since the saveings are very very minimal - we are talking of minutes - loading a slightly higher rated profile might make things better.

gabby131 2010-09-14 11:10

Re: Overclock the N900?
 
Quote:

Originally Posted by gabby131 (Post 815274)
yo! when i watch movies (files in mass or memory card storage)i revert back to stock, coz some movies i play jumps or gives me a reboot when being played (titan and others explained that this is because of extra low voltage).

EDIT: sorry, the reboot was a problem on my memory card videos. it makes my kmplayer lag and then my n900 freezes and reboots. after a reboot, expectedly, a "warning: an unexpected reboot occured. your custom setting were not loaded" banner appeared, and guess what, another banner saying "memory card corrupted. connect device into pc for a fix"

after fixing, i played videos again via ideal settings and no more jumps, lags and/or reboots.

RobbieThe1st 2010-09-14 11:39

Re: Overclock the N900?
 
*sigh*.
You really ought to calibrate each speed/voltage pair for your own device. Find each optimum setting by playing a short video, then lowering the voltage, playing it again until it crashes. Once it crashes, up the voltage by 2, save that pair, then go to the next speed.

drangina 2010-09-14 13:46

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 815196)
max should be 250. everything >250 is interpreted as the next frequency, i.e. 500.
but 125 doesn't make sense, IMHO. Idle = 0MHz @ 0V.

There was a typing mistake in my last post it was 250 instead of 256. If thats the point you want to say.

Sorry I am a noob, but i still couldn't get your point.
Why frequency goes above 250 when i set the limit from 125-250?
What will happen if decrease the voltage at 0 MHZ in your LV, ULV, XLV profile?
Why did you ignore putting 0 MHz in IDEAL setting and does that mean that in sleeping and locked state it keeps running at 500 MHZ?

Thank in advance and thanks a lot for hard work with your Kernel software...it saves a hell of my battery with my current custom profile.

turd furgasen 2010-09-15 02:12

Re: Overclock the N900?
 
Can someone restate the overclocking procedure. There are too many pages to reread and find the magic equation.

Thanks
Turd

RobbieThe1st 2010-09-15 05:31

Re: Overclock the N900?
 
At an xterm prompt:
1. sudo gainroot
2. cd .kernel
3. kernel-config load ideal
4. kernel-config save profile1
5. vim profile1
Press "i" to get into insert mode where you can edit, press "esc" soft key to get out of that. type ":wq" to save an exit, and ":q!" to exit -without- saving. ":q" will exit if you haven't made any changes, or alert you if you have.
6. Starting with 600mhz and working up, type(for each frequency):
a. kernel config lock *freq* *volt* *dsp*
These settings are the ones in that file I just had you edit, in the form "*freq*:*volt*,*dsp*". You want to first use the same settings you got from that file(for whatever frequency you are testing), then work your way down(more about this later).
b. "mplayer /path/to/short-video-file.avi"
You want to run some sort of heavy video file, something that taxes the N900 the whole way. I used the flv file from This music video. Even at 1150mhz, it still drops frames(its overloading the CPU).
When you play the video, one of three things will happen: 1, the N900 will crash instantly, 2, the video will have errors in it, stop entirely for a couple seconds or other issues. The console will say something about decoding errors. 3, everything will play fine.
If 1 or 2 happens, you have reached as far down as you can go. Now, take whatever volt value you had, add 2 to it, and stick that in the "profile1" file in the correct spot. after exiting the file, type "sync" to make sure it gets written to the disk. Repeat with the next frequency.
If 3 happens, go back to the kernel-config lock line, and subtract 1 from the voltage number you used, then try again.

Once you are done with all frequencies(aside from 0mhz), type "kernel-config load profile1" to load it. After you are sure its stable, you can type "kernel-config default profile1", but be warned that I've had poor luck getting boot videos to play correctly, even though everything else does.

turd furgasen 2010-09-15 12:18

Re: Overclock the N900?
 
Thanks so much for providing this. All I want to do is take my N900 to 850 mhz just to give it a boost. I am not interested in making it BEAST. Do you have the settings for more of a safer 850 mhz profile.

Thanks

RobbieThe1st 2010-09-16 05:05

Re: Overclock the N900?
 
Quote:

Originally Posted by turd furgasen (Post 816790)
Thanks so much for providing this. All I want to do is take my N900 to 850 mhz just to give it a boost. I am not interested in making it BEAST. Do you have the settings for more of a safer 850 mhz profile.

Thanks

Well, then set the max frequency to 850mhz, and "calibrate" your settings with the above instructions.

OCing is a very personal thing. Its not really a "one size fits all" type of thing, where you can just take someone's settings and have them work for you.
Each N900 is a little different, and what each will run stabily at will change. You have to use the instructions above to make it work right, or else you may end up like gabby131:
Quote:

yo! when i watch movies (files in mass or memory card storage)i revert back to stock, coz some movies i play jumps or gives me a reboot when being played (titan and others explained that this is because of extra low voltage).
This is simply caused because the profile chosen was -not- right for this poster's N900. You need to find your own custom settings; its not a big deal(it will take a good hour or so), and perfectly safe.

And remember that because everyone's N900 is different, you can't take peoples testimony ("it worked fine for me") as an indication it will work for you. It may... but it also may work poorly, or cause crashes.

-Rob

drangina 2010-09-22 19:12

Re: Overclock the N900?
 
Quote:

Originally Posted by drangina (Post 815809)
There was a typing mistake in my last post it was 250 instead of 256. If thats the point you want to say.

Sorry I am a noob, but i still couldn't get your point.
Why frequency goes above 250 when i set the limit from 125-250?
What will happen if decrease the voltage at 0 MHZ in your LV, ULV, XLV profile?
Why did you ignore putting 0 MHz in IDEAL setting and does that mean that in sleeping and locked state it keeps running at 500 MHZ?

Thank in advance and thanks a lot for hard work with your Kernel software...it saves a hell of my battery with my current custom profile.

Can someone please explain my questions.

ThePooBurner 2010-09-30 19:40

Re: Overclock the N900?
 
So ever since in installed the power kernal all of the sysytem sounds have always come out of the built in speakers regardless of other settings. All IM, Chat, SMS, alerts, alarms, etc. only play out of the phones speakers even if i have headphones or external speakers plugged in. And it also does the same when the FM transmitter is turned on. How can i fix this? it's become really annoying.

amar993t 2010-10-01 18:40

Re: Overclock the N900?
 
i want to overclocking my n900 to gain more battery.. can any one tell me how to do it from a to z becasue i dont know how to manage throw x terminal?? please.......:confused:

atilla 2010-10-01 18:49

Re: Overclock the N900?
 
Quote:

Originally Posted by amar993t (Post 831129)
i want to overclocking my n900 to gain more battery.. can any one tell me how to do it from a to z becasue i dont know how to manage throw x terminal?? please.......:confused:

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

Arif 2010-10-01 21:53

Re: Overclock the N900?
 
Is there a way to make the ideal voltage level profile use 125 and 250 Mhz permanently?
Whenever I reboot I have to do:
echo > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/avoid_frequencies
every time. :(

amar993t 2010-10-02 12:20

Re: Overclock the N900?
 
Quote:

Originally Posted by atilla (Post 831136)

i have tried to download and install the file - enhanced linux kernel for power users ( settings) but it righting to me:::::::


unable to install the file conflict application packages :
1- kernel- modules- maemo
2- kernel- maemo

amar993t 2010-10-02 12:21

Re: Overclock the N900?
 
Quote:

Originally Posted by atilla (Post 831136)

i have tried to download and install the file - enhanced linux kernel for power users ( settings) but it righting to me:::::::


unable to install the file conflict application packages :
1- kernel- modules- maemo
2- kernel- maemo

so what to do please ??????? i have looked for that files but i did not find it

cincibluer6 2010-10-02 20:34

Re: Overclock the N900?
 
I'd just like to say thanks to everyone involved in this thread. I read through about the first 100 pages trying to get a good grip on OC'ing (never done it before considering I've only owned laptops) and this was about as painless as can be. The phone is SO much more responsive. This is what I was thinking the phone was gonna be from the start.
Thanks again and free bump for you amar. Don't know what your problem is but hopefully somebody else does.

shadowz1337 2010-10-05 22:49

Re: Overclock the N900?
 
hey guys, a quick question. I've overclocked my N900 several times before so this aint new to me, but i've never tried to use different voltage profiles before, like the lv, ulv etc......

so today i set to the LV profile, and set the limit range from 250~850 (following the instructions in Jakiman's guide).


After a reboot, all works well but my frequency is shown to be at 850Mhz........is that suppose to be right?? I thought it should be at 250Mhz and only go up to 850 if it is running processes or in high usage?? But i wasn't running anything and it's already set at 850Mhz......i can of course still set it to a lower frequency but i was wondering if this actually locks your phone to the max frequency?? If yes, then that's kinda no point for this??


I also tried to set the range from 250~300 and after a reboot, my frequency clock is at 300, so that sorta proved my comment above........is this suppose to be right?

atilla 2010-10-22 22:25

Re: Overclock the N900?
 
i have a question too.
i tried differnet voltage profiles but could't go after 850mhz.
now i tried the default voltage but with the limits 250-1000
and it works.
but is it ok?
can i run this?
higher battery drain is no problem for me cause it runs 30 hours and i just need 24.
thanks

James_Littler 2010-10-22 22:27

Re: Overclock the N900?
 
Quote:

Originally Posted by atilla (Post 848308)
i have a question too.
i tried differnet voltage profiles but could't go after 850mhz.
now i tried the default voltage but with the limits 250-1000
and it works.
but is it ok?
can i run this?
higher battery drain is no problem for me cause it runs 30 hours and i just need 24.
thanks

Should be fine, just keep an eye on temps.

Alex Korova 2010-10-24 15:30

Re: Overclock the N900?
 
Quote:

Originally Posted by shadowz1337 (Post 834265)
hey guys, a quick question. I've overclocked my N900 several times before so this aint new to me, but i've never tried to use different voltage profiles before, like the lv, ulv etc......

so today i set to the LV profile, and set the limit range from 250~850 (following the instructions in Jakiman's guide).


After a reboot, all works well but my frequency is shown to be at 850Mhz........is that suppose to be right?? I thought it should be at 250Mhz and only go up to 850 if it is running processes or in high usage?? But i wasn't running anything and it's already set at 850Mhz......i can of course still set it to a lower frequency but i was wondering if this actually locks your phone to the max frequency?? If yes, then that's kinda no point for this??


I also tried to set the range from 250~300 and after a reboot, my frequency clock is at 300, so that sorta proved my comment above........is this suppose to be right?

If you run Conky or htop, what processes are on the top and which percentage do they have? Something is probably using your CPU...

HugoSon 2010-10-25 16:32

Re: Overclock the N900?
 
PR 1.3 is out - @titan: will there be something new?

Parody 2010-10-25 20:57

Re: Overclock the N900?
 
Is the kernel broken after PR 1.3? I have titans kernel and all the xterminal commands I put in come back with an error

bulelet 2010-10-25 21:03

Re: Overclock the N900?
 
so i have updated with PR1.3 and reinstalled the power kernel and every time i try to key in command line for custom kernel for example "sudo kernerl-config limits 250 850" phone responds with asking for a password, i havent put on any passwords for the device, i dont know what password its asking for. I DONT HAVE A PASSWORD!! LOL

Parody 2010-10-25 21:47

Re: Overclock the N900?
 
Quote:

Originally Posted by bulelet (Post 850736)
so i have updated with PR1.3 and reinstalled the power kernel and every time i try to key in command line for custom kernel for example "sudo kernerl-config limits 250 850" phone responds with asking for a password, i havent put on any passwords for the device, i dont know what password its asking for. I DONT HAVE A PASSWORD!! LOL

I have the exact same issue, except half of my widgets don't show up and I can't change the theme. Help?

titan 2010-10-25 21:52

Re: Overclock the N900?
 
Quote:

Originally Posted by HugoSon (Post 850516)
PR 1.3 is out - @titan: will there be something new?

I'll add the bugfixes from the new PR1.3 kernel to the power kernel in the next few days.
None of them seem to be critical so it should be safe to continue using power37 on PR1.3.
Just make sure to reinstall kernel-power after the PR1.3 upgrade
Code:

sudo gainroot
apt-get install --reinstall kernel-power kernel-power-flasher

@bulelet:
it's "sudo kernel-config", not kernerl (an Austrian word...).

richwhite 2010-10-25 21:55

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 850768)
I'll add the bugfixes from the new PR1.3 kernel to the power kernel in the next few days.
None of them seem to be critical so it should be safe to continue using power37 on PR1.3.
Just make sure to reinstall kernel-power after the PR1.3 upgrade
Code:

sudo gainroot
apt-get install --reinstall kernel-power kernel-power-flasher

@bulelet:
it's "sudo kernel-config", not kernerl (an Austrian word...).

Will it be the same commands to OC? I have desktop command widgets set up to different frequencies to OC with one click, will they need adjusting?

Sphinx780 2010-10-25 21:58

Re: Overclock the N900?
 
I'm running the code to reinstall and get 'reinstallation of kernel-power is not possible,it cannot be downloaded'

Any ideas on what could be causing the issue?

I didn't attempt any uninstall beforehand, just left as-is.

Parody 2010-10-25 21:59

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 850768)
I'll add the bugfixes from the new PR1.3 kernel to the power kernel in the next few days.
None of them seem to be critical so it should be safe to continue using power37 on PR1.3.
Just make sure to reinstall kernel-power after the PR1.3 upgrade
Code:

sudo gainroot
apt-get install --reinstall kernel-power kernel-power-flasher

@bulelet:
it's "sudo kernel-config", not kernerl (an Austrian word...).

I uninstalled and then installed, and now I'm having a bunch of issues (posted above). What should I do?

dynomot 2010-10-25 22:05

Re: Overclock the N900?
 
Quote:

Originally Posted by Parody (Post 850780)
I uninstalled and then installed, and now I'm having a bunch of issues (posted above). What should I do?

Sudo won't work use "/usr/sbin/kernel-config" instead of sudo. Also don't just go "root" from xterminal on first opening use sudo gainroot.

Don't ask me why the above works, it just does. My N900 is running at 1000 MHz quiten happily with what we are calling PR 1.3. :)


All times are GMT. The time now is 03:13.

vBulletin® Version 3.8.8