Poll: Do you think its possible to overclock the N900?!
Poll Options
Do you think its possible to overclock the N900?!

Reply
Thread Tools
JMacalinao's Avatar
Posts: 46 | Thanked: 26 times | Joined on Dec 2009 @ Makati, Philippines
#3261
Originally Posted by maluka View Post
I don't have time to go through over 300 pages. Is there a link to a wiki or instructions on where to find the custom firmware?
http://wiki.maemo.org/Overclocking
__________________
jmac.ph
If this post helped you in some way, make me feel better by pressing the Thanks! button below.
 

The Following User Says Thank You to JMacalinao For This Useful Post:
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#3262
Originally Posted by Gusse View Post
During nighttime, CPU spend over 95% on 125MHz (@ VSEL = 20)

Battery-eye shows pretty flat graph
What's the exact overclocking settings you've used for this?
 
matts76's Avatar
Posts: 324 | Thanked: 201 times | Joined on Apr 2010 @ UK
#3263
Originally Posted by Gusse View Post
I have made couple of CPU setting scripts with Queen Beecon application to improve battery life.

For daytime (i.e active use) CPU: 500 - 850MHz.
For nighttime (i.e. idle, etc...) CPU 125 or 500MHz

And some statistics:
During nighttime, CPU spend over 95% on 125MHz (@ VSEL = 20)

Battery-eye shows pretty flat graph
Any chance you could share these scripts with us, it sounds like a really good idea
__________________
My N900@1Ghz Rocks
I wanted a phone, but i ended up with an all encompasing obsession

 

The Following User Says Thank You to matts76 For This Useful Post:
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#3264
I am totally clueless with regard to Queen Beecon, though I have seen it mentioned here a lot lately. My setup seems more or less perfect to me, though I would like to see a FAQ or part of the Wiki devoted to showing how to set up Queen Beecon for overclocking.
 
Posts: 111 | Thanked: 27 times | Joined on Apr 2010
#3265
Originally Posted by nightfire View Post
As root under xterm, try this:

1 root@glamb-n900 [~]# cat /sys/power/vdd1_opps_vsel

In my case, it returns:

0 15 26 36 40 42 47 48 50 53 56 59 63 64 68

These are the voltage increase multipliers for all the defined frequencies:

Off 125 250 500 550 600 700 750 800 850 900 950 1000 1100 1200

So in this case, you'll want to increase the 10th value. In my case, it's 53, so bumping that to 55 would probably solve the problem. To do that temporarily:

echo 0 15 26 36 40 42 47 48 50 55 56 59 63 64 68 > /sys/power/vdd1_opps_vsel

To make it permanent, edit /etc/default/kernel-load, and update the line:

VDD1_OPPS_VSEL="0 15 26 36 40 42 47 48 50 53 56 59 63 64 68"

That should do it.

Note though that the processor may be downclocking for short periods while doing DSP related stuff (playing/recording video), and it may be at these voltages the DSP is crashing. So you may have to increase various voltages to get it stable. It takes some patience.

The DSP_OPPS_RATE variable in kernel-load species the frequencies of the DSPs across the CPU freq spectrum in the same way as VDD1_OPPS_VSEL specifies the voltage multipliers, so you can tune the DSP frequencies as well.

To test stability at a given frequency, you could lock the min and max scaling frequencies to the one you're interested in (250, 500, 850, whatever) for short periods to test.
Thank you so much! i have it working now. as you said, i think it was when the processor was downclocking as increasing the votage increase multiplier at 850MHz alone did not solve the problem.

As expected the "cat /sys/power/vdd1_opps_vsel" returned titans ideal setup of

"30 30 30 30 33 38 45 45 48 48 54 54 60 72 72".

By combining your values with mine i am now using

30 30 30 36 40 42 47 48 50 53 54 54 60 72 72

Would you know if this is safe to do without frying my device?!?

Thank you for your help nightfire. Really appreciated!
 
Gusse's Avatar
Posts: 168 | Thanked: 206 times | Joined on Apr 2010 @ Finland
#3266
Originally Posted by 白い熊 View Post
What's the exact overclocking settings you've used for this?
Originally Posted by matts76 View Post
Any chance you could share these scripts with us, it sounds like a really good idea

In /etc/default/kernel-power VDD1 settings:
These values might not work for you. Be very carefull before editing permanent settings, try echo -method first!
Code:
VDD1_OPPS_VSEL="30 20 25 30 33 38 45 45 48 48 54 54 60 67 72"
CPU active settings:
Code:
echo 850000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "125000 250000" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/avoid_frequencies
CPU idle settings:
Code:
echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 124999 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "250000 550000 600000 700000 750000 805000 850000" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/avoid_frequencies
Files in an attachement (cpu_settings.zip). Put to /home/user -folder (used for Queen Beecon scripts below).

With Queen Beecon I have two buttons:
High CPU
Code:
Title: High CPU
Command: sudo /home/user/cpuhigh
Low CPU
Code:
Title: Low CPU
Command: sudo /home/user/cpulow
Full backup of Queen Beecon scripts in an attachement (queen_beecon_backup.zip).
See more detail about restore procedure
These scripts are with On-Screen notification done with dbus scripts (orange one line popup).

Some screen captures in Battery consumption analysis thread, post #211.

--------------------------------------------------------------------------------------------------

EDIT:
YOU DO NOT NEED THIS! CAN MESS UP YOUR SYSTEM!
(Warning added, Thanks to 白い熊)
Create user -file in /etc/sudoers.d/ and add following to it.
Code:
user ALL = (ALL) NOPASSWD: ALL
root ALL = (ALL) NOPASSWD: ALL
and run update-sudoers -command.
Attached Files
File Type: zip cpu_settings.zip (427 Bytes, 170 views)
File Type: zip queen_beecon_backup.zip (1.2 KB, 176 views)

Last edited by Gusse; 2010-04-23 at 21:24.
 

The Following 3 Users Say Thank You to Gusse For This Useful Post:
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#3267
Thanks for all your testing and votes for the kernel-power-flasher in extras-testing.
It should have enough votes to make it into Extras this Sunday (=end of the 10 days quarantine).

However, the package kernel-power-settings with the scripts does not yet have enough votes.
Please vote for it as well it works fine for you:
http://maemo.org/packages/package_in...-settings/0.3/
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#3268
Originally Posted by egoshin View Post
It is difficult to say. The total energy from battery definitely increases with higher frequency even you run with low voltage. And most of that energy dissipates on CPU.

Just to understand better that a small example. I ran a stock kernel and measured a current from battery under different frequencies. The 250MHz (playing MP3 music) takes only around 110mA but 600MHz (hard loop in shell) takes TEN times more - around 1400mA (screen is dark etc). But CPU VDD1 voltage still differs only 1.26 times (1.58 in square).

So, the biggest power consumption increase is in frequency increase.
You still may have more bigger CPU current under high frequency which heats CPU more even with decreased voltage.
But wasn't the question how this affect an undervolted OC? I can not say i understand the matematic but shouldn't you try to compare the stock output with the OCd at different VSEL setting?

The stock takes 1.350V on 600mhz and when running 950mhz you could do it on 1.200V. The stock use far less volts on lower mhz which would explain the lesser energy consumption but the OCd use even less than stock.

So does the energy increase more if i am running 950mhz/1.200V comapred with the stock kernel? As the consumption is less i do not think so but i am not an expert on the subject.
 
Posts: 1,729 | Thanked: 388 times | Joined on Jan 2010 @ Canada
#3269
btw....in titan's kernels, the default freq is always stuck @ 599000,

is this the way it is or i did something wrong? if its really stuck @599mhz, does this something to do with the same as the low voltage that is set up as 124999 instead of 125000?
 
Posts: 9 | Thanked: 0 times | Joined on Apr 2010
#3270
First of all, this is my first post in here and I have read most of this thread and I wan to thank everybody who provided all this information. And especially to people who are testing and producing all of this overclocking information.

I just got my N900 this week and I am very happy with it. First I overclocked with Letho's custom 125-900 kernel and It has been running with no problem. After reading about the power saving voltages of Titan's kernel, I decided to give it a try. So I reflashed to the stock kernel.Then I followed the Wiki with instructions, first I installed kernel-power settings and rootsh, then I checked with
uname -r
and returned with "2.6.28.10power-omap1" (so assuming that everything installed fine)

Then I did
sudo gainroot
to gain the control and then I entered
/usr/sbin/kernel-load /usr/share/kernel-power-settings/ideal
to flash the kernel, but it comes back and says ": not found".
Please guide me to right direction; I am new with linux commands and not sure what to do next. Thanks..
 
Reply

Tags
cooking on gas, cortex-a8, faster, first to fry it wins!, hardware, its smoking, n900, need for speed, need for weed, nos, omap, omap3, omap3430, overclock, overclocking, soc, system-on-a-chip, the dogs, this thread got good!, vtec just kicked in y0!, warranty will be void, whooplah, zoom zoom


 
Forum Jump


All times are GMT. The time now is 14:19.