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

Reply
Thread Tools
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#2681
Do someone know the volt settings for the 250-810-xlv-kernel?

edit: ohh.. found this:
XLV is: "30 20 30 33 38 38 45 45 48 48 54 54 60 67 72"
ideal: 30 30 30 30 33 38 45 45 48 48 54 54 60 67 72 (first three ignored)
ULV: 25 25 25 33 38 38 45 45 48 48 54 54 60 67 72
LV: 30 30 38 48 48 54 54 54 54 54 54 54 60 67 72

It looks like the 250-xxx-xlv-kernel volt settings..

edit2: But now.. what are the dsp setting :|

Last edited by AlMehdi; 2010-04-14 at 04:54.
 
Posts: 992 | Thanked: 995 times | Joined on Dec 2009 @ California
#2682
Originally Posted by psrkn View Post
Can someone with the stock version installed or unmodified N900, do "uname -a" command on xterm for me please? My device shows an unknow device's processor. I would like to confirm whether it is ok or not.

My is shown as:
Linux Nokia-N900-42-11 2.6.28.10maemo-omap1 #1 PREEMPT Tue Apr 13 10:48:47 EEST 2010 armv7l unknown

Thanks
I have "armv71 unknown" on my stock kernel.
 

The Following User Says Thank You to egoshin For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#2683
I am running the maemo22 kernel with dsp default voltage, xlv stock voltage for cpu, having reduced the voltage for 900 MHz from 54 to 48. My range is 125-900. So far, so good.

Ah, and for safety, I have extracted the /etc/event.d/kernel-maemo tweaks in a script which I can manually launch after booting
__________________
Ernesto de Bernardis

 
Posts: 44 | Thanked: 5 times | Joined on Apr 2010
#2684
How can i made this tweak permanet?
Every time i turn off and on the phone it returns to defualt setings.

I have to do pot back this tweaks every time i start upp the phone.

/thanks

/sys/power/sr_vdd2_autocomp
0 ... my hint: 1
/sys/power/sr_vdd1_autocomp
0 ... my hint: 1
/proc/sys/vm/swappiness
100 ... my hint: decrease
/proc/sys/vm/page-cluster
5 ... my hint: keep
/proc/sys/vm/laptop_mode
0 ... my hint: keep
/proc/sys/vm/dirty_expire_centisecs
500 ... my hint: increase
/proc/sys/vm/dirty_writeback_centisecs
500 ... my hint: increase
/proc/sys/vm/dirty_background_ratio
10 ... my hint: increase
/proc/sys/vm/dirty_ratio
40 ... my hint: increase
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
250000 ... my hint: keep
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
600000 ... my hint: keep
/sys/devices/system/cpu/cpu0/cpufreq/ondemand/powersave_bias
0 ... my hint: keep
/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
300000 ... my hint: increase
/sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
95 ... my hint: decrease
/sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load
0 ... my hint: 1
/sys/block/mmcblk0/queue/scheduler
noop [cfq] ... my hint: keep
/sys/block/mmcblk1/queue/scheduler
noop [cfq] ... my hint: keep
 
Gusse's Avatar
Posts: 168 | Thanked: 206 times | Joined on Apr 2010 @ Finland
#2685
Originally Posted by titan View Post
my new script /etc/event.d/kernel-maemo
Code:
stop on starting shutdown
service
console none
script
	test -f /etc/lastboot && TDIFF=$(expr $(date +%s) - $(stat -t /etc/lastboot |awk '{print $14}'))
	if test -z "$TDIFF" || test "$TDIFF" -gt 300; then
		touch /etc/lastboot
		modprobe bq27x00_battery
		test -f /etc/default/kernel || exit 0
		source /etc/default/kernel
		test -n "$UP_THRESHOLD" && echo $UP_THRESHOLD > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
		test -n "$SAMPLING_RATE" && echo $SAMPLING_RATE > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
        	test -n "$MIN_FREQ" && echo $MIN_FREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
		test -n "$MAX_FREQ" && echo $MAX_FREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
		test -n "$VDD1_OPPS_VSEL" && echo $VDD1_OPPS_VSEL > /sys/power/vdd1_opps_vsel
		test -n "$DSP_OPPS_RATE" && echo $DSP_OPPS_RATE > /sys/power/dsp_opps_rate
		test -n "$SMARTREFLEX_VDD1" && echo $SMARTREFLEX_VDD1 > /sys/power/sr_vdd1_autocomp
		test -n "$SMARTREFLEX_VDD2" && echo $SMARTREFLEX_VDD2 > /sys/power/sr_vdd2_autocomp
		exit 0
	else
		exit 1
	fi
end script
with /etc/default/kernel
Code:
UP_THRESHOLD=75
SAMPLING_RATE=150000
VDD1_OPPS_VSEL="30 30 30 30 33 38 45 45 48 48 54 54 60 72 72"
DSP_OPPS_RATE="90000000 90000000 180000000 360000000 400000000 430000000 430000000 430000000 430000000 500000000 500000000 500000000 500000000 520000000 520000000"
MIN_FREQ=500000
MAX_FREQ=850000
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
I cannot set VDD1_OPPS_VSEL with this script. I have following settings in /etc/default/kernel.
Code:
VDD1_OPPS_VSEL="30 20 25 30 33 38 45 45 48 48 54 54 60 67 72"
When I check voltage settings after boot, I get default values.
Code:
cat /sys/power/vdd1_opps_vsel
I have to enter command from x-term with root rights and then it will change settings.
Code:
echo "30 20 25 30 33 38 45 45 48 48 54 54 60 67 72" > /sys/power/vdd1_opps_vsel
Have I missed something and therefore script is not working for me?
---------------------------------
Battery drop during last night was less than 5%, which is a BIG improvement. Thank you very much!

Last edited by Gusse; 2010-04-14 at 06:27.
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#2686
Originally Posted by titan View Post
so far the results with "ideal" settings look great (disconnected from charger at 17:00,
mostly idling with Wifi)

it dropped from 97% to 95% within 5 hours.
update: after some more intensive usage last night it dropped from 95%->90%.
then during sleep (idle) till now 0-9 only by about 2%.
If I extrapolate the 14h=4% then in theory I would get 339h=14days of idle power. nice!
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#2687
the next update scheduled for tonight should have the upstart script, the defaults in /etc/default/kernel-maemo and a script /usr/sbin/update-kernel to set individual or the default settings.
for example,
Code:
sudo /usr/sbin/update-kernel show
would show the current settings
Code:
sudo /usr/sbin/update-kernel
would set the ones in /etc/default/kernel-maemo
Code:
sudo /usr/sbin/update-kernel set -l 500
would set the minimum to 500Mhz.
 
Posts: 101 | Thanked: 91 times | Joined on Feb 2010 @ Dallas TX
#2688
Originally Posted by titan View Post
my new script /etc/event.d/kernel-maemo
Code:
stop on starting shutdown
service
console none
script
	test -f /etc/lastboot && TDIFF=$(expr $(date +%s) - $(stat -t /etc/lastboot |awk '{print $14}'))
	if test -z "$TDIFF" || test "$TDIFF" -gt 300; then
		touch /etc/lastboot
		modprobe bq27x00_battery
		test -f /etc/default/kernel || exit 0
		source /etc/default/kernel
		test -n "$UP_THRESHOLD" && echo $UP_THRESHOLD > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
		test -n "$SAMPLING_RATE" && echo $SAMPLING_RATE > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
        	test -n "$MIN_FREQ" && echo $MIN_FREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
		test -n "$MAX_FREQ" && echo $MAX_FREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
		test -n "$VDD1_OPPS_VSEL" && echo $VDD1_OPPS_VSEL > /sys/power/vdd1_opps_vsel
		test -n "$DSP_OPPS_RATE" && echo $DSP_OPPS_RATE > /sys/power/dsp_opps_rate
		test -n "$SMARTREFLEX_VDD1" && echo $SMARTREFLEX_VDD1 > /sys/power/sr_vdd1_autocomp
		test -n "$SMARTREFLEX_VDD2" && echo $SMARTREFLEX_VDD2 > /sys/power/sr_vdd2_autocomp
		exit 0
	else
		exit 1
	fi
end script
with /etc/default/kernel
Code:
UP_THRESHOLD=75
SAMPLING_RATE=150000
VDD1_OPPS_VSEL="30 30 30 30 33 38 45 45 48 48 54 54 60 72 72"
DSP_OPPS_RATE="90000000 90000000 180000000 360000000 400000000 430000000 430000000 430000000 430000000 500000000 500000000 500000000 500000000 520000000 520000000"
MIN_FREQ=500000
MAX_FREQ=850000
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
titan

Do I copy this to a .txt file and put them in the folders you indicated? or do I need to rename extension to .ini?

Do I also need to make a seperate one for the "ideal script"?

thank you soo much for your dedication into this!

Edit: I just saw your last post, does this mean we dont need to make the scripts ourselfs? still how do I include the ideal patch one.

Bitte!
 
Posts: 17 | Thanked: 3 times | Joined on Jan 2010 @ Qatar
#2689
Originally Posted by sachin007 View Post
Yes i am seeing a problem with micro B
Sometimes it just shows a white page without anything else. The progress bar does its thing and everything is normal but the page is just blank. Happened 10 - 12 times after over clocking. Tried to close the browser and restart it but same result. However after a no. of tries it came back to normal.
I am on 900 mhz
I have this problem with no overclock
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#2690
@Titan: I am sistematically reducing voltage for most frequency. So far, "30 20 30 30 35 35 42 42 42 48 48 54 60 67 72", my cpu follows me. Min-max are 500-900.

What am I risking from such tuning-undervolting? What are the main signs of too much volt starving, apart from obvious crashes?

EDIT: I'm at "30 20 28 28 35 35 42 42 42 48 48 51 54 67 72" with 500-1000 MHz
__________________
Ernesto de Bernardis


Last edited by debernardis; 2010-04-14 at 12:35.
 
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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:07.