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)

DaSilva 2010-06-05 20:32

Re: Overclock the N900?
 
I have a strange problem with under/overclocking:

Always when I try another profile than default (starving and XLV tested) the phone starts to stutter and is slower/less responsive even with overclocking (tried it up to 850Mhz) than with default settings!
Now I have overclocked my N900 up to 750Mhz with the default settings (kernel-config limits 250 750) and it doesn't have this stutter effect but I cannot save energy with low energy profiles.
Which setting in those profiles could cause this and how can I fix it?

I tried to get this working but even after a reboot it doesn't do anything. What could be wrong?

Thanks for help.

gabby131 2010-06-05 20:39

Re: Overclock the N900?
 
Quote:

Originally Posted by DaSilva (Post 701556)
I have a strange problem with under/overclocking:

Always when I try another profile than default (starving and XLV tested) the phone starts to stutter and is slower/less responsive even with overclocking (tried it up to 850Mhz) than with default settings!
Now I have overclocked my N900 up to 750Mhz with the default settings (kernel-config limits 250 750) and it doesn't have this stutter effect but I cannot save energy with low energy profiles.
Which setting in those profiles could cause this and how can I fix it?

I tried to get this working but even after a reboot it doesn't do anything. What could be wrong?

Thanks for help.

stutter is a normal......problem, maybe try your freqs to 500/xxxxMHz

DaSilva 2010-06-05 20:50

Re: Overclock the N900?
 
No, it is not the normal stutter it is something worse. Mobile Maps is not able anymore to speak fluently and the phone feels slower than with the default settings which means there must be something wrong with the tested profiles (starving and XLV) on my phone because it doesn't have this stutter effect with default mode and overclocking.

Crashdamage 2010-06-05 20:51

Re: Overclock the N900?
 
Quote:

Originally Posted by DaSilva (Post 701556)
when I try another profile than default (starving and XLV tested) the phone starts to stutter and is slower/less responsive even with overclocking...I cannot save energy with low energy profiles.
Which setting in those profiles could cause this and how can I fix it?

Your particular unit probably just isn't very tolerant of the lower voltage profiles same as how some units don't tolerate the higher clock speeds well. Depends on your unit, the luck of the draw.

Try loading the 'lv' profile. It's the least aggressive one and should be ok. Of course it offers less potential power savings, but honestly I haven't seen really significant, noticeable power savings from any of the power profiles anyway - but maybe that's just me.

gabby131 2010-06-05 20:54

Re: Overclock the N900?
 
Quote:

Originally Posted by DaSilva (Post 701578)
No, it is not the normal stutter it is something worse. Mobile Maps is not able anymore to speak fluently and the phone feels slower than with the default settings which means there must be something wrong with the tested profiles (starving and XLV) on my phone because it doesn't have this stutter effect with default mode and overclocking.

now i get it......XLV and starving has too low voltages that brings quite problems (stutter, lags, reboots video cam shut down etc), but i believe some of the overclockers has able to make a work around which is beyond my understanding. so change your settings to a higher voltage (like LV and the default).

i always have the stutter effect in XLV. and unexpected reboots in starving. but i always set the settings to default when playing music.

EDIT: Crashdamage has the absolute point.

DaSilva 2010-06-05 21:06

Re: Overclock the N900?
 
Thanks and what about the "ULV" profile?

gabby131 2010-06-05 21:10

Re: Overclock the N900?
 
Quote:

Originally Posted by DaSilva (Post 701598)
Thanks and what about the "ULV" profile?

the UL has a bit lower voltage on idle (250MHz) so not so different in XLV. but most overclockers use XLV, even myself use XLV. stutters can be minimized but setting to a higher voltage

DaSilva 2010-06-05 21:20

Re: Overclock the N900?
 
So LV should be "stable" (without extreme stuttering) while ULV would behave more like XLV and starving, right?

And what about my second problem?

arkanoid 2010-06-05 21:21

Re: Overclock the N900?
 
BTW, i'd like to have different max frequency while the phone is plugged into usb/charger

gabby131 2010-06-05 21:30

Re: Overclock the N900?
 
Quote:

Originally Posted by DaSilva (Post 701616)
So LV should be "stable" (without extreme stuttering) while ULV would behave more like XLV and starving, right?

there is a possibility that it could be stable. you can always try.

the unresponsiveness might also due to low voltages (but i am not certain). try re-booting your device before you try your settings

Crashdamage 2010-06-05 21:35

Re: Overclock the N900?
 
Quote:

Originally Posted by DaSilva (Post 701616)
So LV should be "stable"

It should be. One way to find out - type:
kernel-config load lv
and see.

Crashdamage 2010-06-05 21:37

Re: Overclock the N900?
 
Quote:

Originally Posted by arkanoid (Post 701617)
BTW, i'd like to have different max frequency while the phone is plugged into usb/charger

Not possible. Don't understand why you want to either.

HD.Canson 2010-06-05 22:02

Re: Overclock the N900?
 
Guys i have a easy question.


I have loaded starving kernel with this command


kernel-config load starving
kernel-config limits 250 900


Now i want make some edit in that kernel .. like puting some more avoid frenquensies.

what do i need to write in xterminal to change settings for starving kernel???

gabby131 2010-06-06 03:00

Re: Overclock the N900?
 
quite a few are asking for "personalized" freq settings. after a bloody research (that i found the solution from jakiman's sig), i now have the info on how you can set your desired freqs in a certain setting in one command (or simply, make your own setting).

i tried to make it as simple as possible:

-open xterm

-load your desired settings
example:
Code:

/usr/sbin/kernel-config load ideal
after that, your freqs should scale to 500/850mhz

-load your desired max freq
example:
Code:

/usr/sbin/kernel-config limits - 750
after that, your freqs should scale to 500/750mhz under ideal setting

-load your desire avoid freqs (i dont have any clue for the codes :( )

-load your desired governors
example you want conservative: (old school style, experts please correct)
Code:

echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governors
-review all your settings:
Code:

/usr/sbin/kernel-config show
this will display all settings you loaded, review them carefully before proceeding

-save your setting:
Code:

/usr/sbin/kernel-config save ideal_750
it will be saved at /home/user/.kernel

change ideal_750 to your desired name

-test if your settings work:\
Code:

/usr/sbin/kernel-config load ideal_750

well i think that's it, you can expect posts from experts and i will try my best to correct any errors.

geneven 2010-06-06 03:12

Re: Overclock the N900?
 
Quote:

Originally Posted by DaSilva (Post 701616)
So LV should be "stable" (without extreme stuttering) while ULV would behave more like XLV and starving, right?

And what about my second problem?

Only people who memorized your earlier message would be able to answer that.

gabby131 2010-06-06 03:22

Re: Overclock the N900?
 
Quote:

Originally Posted by geneven (Post 701834)
Only people who memorized your earlier message would be able to answer that.

ahahaha! yeah.......but i think his second problem is the unresponsiveness.......:D

geneven 2010-06-06 03:31

Re: Overclock the N900?
 
Quote:

Originally Posted by gabby131 (Post 701835)
ahahaha! yeah.......but i think his second problem is the unresponsiveness.......:D

At least you were willing to go to the effort of repeating what the problem is, which he wasn't.

Now I've gone to the trouble of going back and rereading his earlier message. It appears to me that he is saying that with starving and other settings his system becomes unresponsive.

Yes, different settings cause different N900s to react differently. That is why there are different settings. I have found that certain settings make my system unresponsive as well, so I don't use those settings.

gabby131 2010-06-06 03:40

Re: Overclock the N900?
 
Quote:

Originally Posted by geneven (Post 701842)
At least you were willing to go to the effort of repeating what the problem is, which he wasn't.

Now I've gone to the trouble of going back and rereading his earlier message. It appears to me that he is saying that with starving and other settings his system becomes unresponsive.

Yes, different settings cause different N900s to react differently. That is why there are different settings. I have found that certain settings make my system unresponsive as well, so I don't use those settings.

yup! that is what i remember that he said.

well starving does not make my device unresponsive, but give it an unexpected reboot every time i activate the setting.

but xlv or ulv does not do any issues,

moepda 2010-06-06 08:35

Re: Overclock the N900?
 
Quote:

Originally Posted by moepda (Post 700177)
:)Think i got it working :) freqs now correct and clock speeds adjusting automatically according to battery temp , just needed to create own file called default with my freqs and save to .kernel folder so loads at boot , adjusted overclock file to my preferred freqs etc and all working fine :)

it went pear-shaped yesterday !
for no apparent reasons the n900 refused to play .avi anymore :( no boot vid or films , played wmv,mpg ok but no avi. solution after much testing was to remove the scripts and configs from phone , deleted from dbus,.kernel,etc/default,local bin the lot ! had tried increasing voltages but made no difference. once everything was deleted .avi worked instantly !
i have now set up again the scripts but changed to 'conservative' from 'ondemand' and increased voltages much higher (though never reaching overvoltage until 1ghz which i dont use -max 900mhz) and everything working ok .
fingers crossed will continue to work !! . i do like the idea of temperture and batt level cpu control so will post back any more info should it arise :)

Matan 2010-06-06 08:57

Re: Overclock the N900?
 
The name 'conservative" misleads some people to think it is in any way safer than ondemand, while it is not.

I suggest not to use conservative governor, unless you actually know the technical difference between conservative and ondemand.

Gusse 2010-06-06 09:06

Re: Overclock the N900?
 
Quote:

Originally Posted by HD.Canson (Post 701661)
Now i want make some edit in that kernel .. like puting some more avoid frenquensies.

what do i need to write in xterminal to change settings for starving kernel???

There are couple of ways to do this:

1) Make a custom file that you'll load with
Code:

kernel-condig load <your config>
and edit FREQS string and remove all unwanted frequencies.

or

2) Write avoided frequencies to "avoid_frequencies" -file. This need root rights.
Code:

sudo gainroot
echo "250000 550000 600000" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/avoid_frequencies

This will avoid frequencies: 250MHz, 550MHz and 600MHz.

Note: Avoid frequencies will work only with "ondemand" covernor.

legendsohai 2010-06-06 09:16

Re: Overclock the N900?
 
sorry for my slowness on overclocking in N900, I dont know whats actually the conservative governor, what it does actually?

I tried to set it and i found that my phone is much warmer and laggier when waken from idling. Besides that, i found that it is much battery consume than ondemand.

my current setting is 250MHz ~ 1GHz, lv settings. sorry for my bad english.

moepda 2010-06-06 09:46

Re: Overclock the N900?
 
Quote:

Originally Posted by Matan (Post 702024)
The name 'conservative" misleads some people to think it is in any way safer than ondemand, while it is not.

I suggest not to use conservative governor, unless you actually know the technical difference between conservative and ondemand.

Indeed a fair point raised...
Yes i am aware of the various governors and how they work , shall test conservative to compare performance against ondemand then select which i think is more suitable .

gabby131 2010-06-06 10:44

Re: Overclock the N900?
 
so according to matan, conservative is not safe, but that does nor mean its dangerous right?

UPDATE: i read from here that conservative is suitable for battery powered devices. in pc and laptops though. so no assurance that the same will work on n900. but nothing has been said which governors are safe or harmful for the cpu.

arbitrabbit 2010-06-06 11:46

Re: Overclock the N900?
 
Quote:

Originally Posted by Matan (Post 702024)
The name 'conservative" misleads some people to think it is in any way safer than ondemand, while it is not.

I suggest not to use conservative governor, unless you actually know the technical difference between conservative and ondemand.

Ditto. On demand is the recommended method for TI OMAP3 devices (The N900 is one of those) because it is more power efficient to finish the task as quickly as possible and return to idle state. Using conservative governor would probably have the opposite effect in term of battery life to what you guys are expecting.

gabby131 2010-06-06 13:52

Re: Overclock the N900?
 
the n900's CPU can switch or change freqs in a split second, and the ondemand governor quickly sets the cpufreq to the max when stress is loaded and jumps to the lowest freq when idle.

so yeah, ondemand is recomended. based on what i read.

i tried both governors and what i notice is they actually have the same effect. (but i have no idea why the conservative gov takes longer time of using the device before it produce heat).

im still experimenting.

debernardis 2010-06-06 13:57

Re: Overclock the N900?
 
What about my choice to allow two frequencies only: 500 and 1000 (both undervolted)? Shouldn't it allow to save battery charge by doing heavy jobs at the highest speed and then jump down to the lowest freq?

gabby131 2010-06-06 14:05

Re: Overclock the N900?
 
Quote:

Originally Posted by debernardis (Post 702281)
What about my choice to allow two frequencies only: 500 and 1000 (both undervolted)? Shouldn't it allow to save battery charge by doing heavy jobs at the highest speed and then jump down to the lowest freq?


on the wiki, cpu sleeps @0mhz when idle. so in idle mode, every settings are the same in terms of battery.

if the device is at stress, i have no idea of which settings (over/undervoltage) consumes more batttery life.

matts76 2010-06-06 15:25

Re: Overclock the N900?
 
I've spent a few weeks testing the conservative govenor compaed to the ondemand govenor and in my opinion they are both about the same as far as battery usage is concerned (for my usege) however using the conservative govenor had a negative impact on responsiveness due to it being much less agressive in scaling to the max freq.

Edit: I did notice though that the device stayed cooler when multi tasking using the conservative govenor, but not by enough to make it worth using

That said i would still be very interested in testing the conservative govenor again once we have the ability to avoid freqs and adjust the sample rate, as i think it would be much more usefull with a minimal choice of freqs and a shortened sample rate.

for the moment though im sticking with ondemand until the other govenors are fully suported.

It is so amazing that in a few short months overclocking has come from an idea to being fully customizable,
thanks dont even come close to expressing my gratitude for all the work thats gone into this, and it just keeps getting better:D

moepda 2010-06-06 19:27

Re: Overclock the N900?
 
The temperature/battery script still giving trouble . works by copying scripts to phone and editing a copy of default config to own freqs/volts etc .restart phone and scripts kick in but at stock voltage , load own default/config and set as default (symlink fron kernel-power settings) , all ok there and restart phone again (not sure how to refresh scripts other ways ?) . now scripts work and freqs/volts correct too so you would think alls good ? well it is until you restart phone cos then you lose .avi file support !! no boot vid or ability to play avi on phone , wmv,mpg work fine just no avi..
really at a loss why the batt/temp script from overclocking wiki combined with titan kernels behaves this way ? means i can use just never restart phone !!! also using ondemand governor based on matan,arbitrabbit,gabby131 earlier posts...

update... not working now at all , script good but file format
not supported for avi. looks like not gonna make it , any ideas ?

gabby131 2010-06-06 20:45

Re: Overclock the N900?
 
@moepda

maybe this is due to the latest update of the extra decoders support.

i too have the same issue. maybe we should report this bug to the extra decoders support thread.

moepda 2010-06-06 22:26

Re: Overclock the N900?
 
@gabby131

could be as i installed that update too. will remove and try earlier version to see if still affected, bug report sounds good idea :)

gabby131 2010-06-06 22:29

Re: Overclock the N900?
 
Quote:

Originally Posted by moepda (Post 702764)
@gabby131

could be as i installed that update too. will remove and try earlier version to see if still affected, bug report sounds good idea :)

yup! you can try that one, i already post somrthing on the extra decoders thread and hoping for a reply

moepda 2010-06-06 22:37

Re: Overclock the N900?
 
cheers :) will try that asap , 23.37 here in uk off for sleep now but will do in the morning :)

moepda 2010-06-07 09:31

Re: Overclock the N900?
 
running script stock freqs and performed multiple restarts to check avi situation. avi files working fine at moment . completely removed extra decoders support. not re-installed any other version yet but will start with safest available version.next step before EDS are my custom freqs to eliminate them (hopefully) from the equation.

moepda 2010-06-07 11:28

Re: Overclock the N900?
 
run custom scripts and lost avi support !! changed some settings in config and working again at present , not sure its extra decoder causing this, think is conflicting configs.temp script is 500-900 when unlocked and 250-500 when locked.my custom config was 250-900. after restart the 2 seem to clash so changed my config to 500-900 and rebooted. avi back online but waiting to see if 250-500 locked script still working , will use time in state script to check in a while...

AlMehdi 2010-06-07 11:33

Re: Overclock the N900?
 
Quote:

Originally Posted by moepda (Post 703336)
run custom scripts and lost avi support !! changed some settings in config and working again at present , not sure its extra decoder causing this, think is conflicting configs.temp script is 500-900 when unlocked and 250-500 when locked.my custom config was 250-900. after restart the 2 seem to clash so changed my config to 500-900 and rebooted. avi back online but waiting to see if 250-500 locked script still working , will use time in state script to check in a while...

Also try different voltages.. that have been the case before. Too low voltage and it has not enough juice to run the video.

moepda 2010-06-07 14:45

Re: Overclock the N900?
 
yes though have run this freq config without the temp script for weeks without any problems , only when adding temperature script did they fail to work . saying that i did increase all my voltages quite cosiderably just in case , at present avi still working and although 250mhz not included in configs is still showing in time in state script though at 0.0% and not being used , is a trade off of other parts working i guess but still testing

kevinm2k 2010-06-07 14:46

Re: Overclock the N900?
 
Everytime I try to run kernel-config load ideal, my phone will last about 10 minutes then will crash.

Seems to work fine using kernel-config load lv, but what does this actually do, also when I then run the next command of kernel-config limits 250 900, i'm expecting the phone to be running at 250 when idle, but instead its running at 500 why would this be?

Kev

moepda 2010-06-07 15:02

Re: Overclock the N900?
 
The crashes are because of too low voltage , you need to copy the ideal config and increase the voltages. minimum mhz in ideal is 500mhz so unless you add 250mhz from lv , ulv etc its treated as an avoided frequency and wont be used


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

vBulletin® Version 3.8.8