maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Optimize your Nokia N900 (https://talk.maemo.org/showthread.php?t=58935)

humble 2011-07-02 12:11

Re: Optimize your Nokia N900
 
yeah i updated them. the script to reflect tan's variation and fixed Optimizen900-PM to uninstall properly.

iscio 2011-07-02 12:20

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by robin92 (Post 1043314)
optimize-pm :)

you don't understand. I see revised script by Tan but I don't know if it is inserted in repository. optimize-pm is for power-menu but I don't know if there is the revised script

humble 2011-07-02 14:47

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by iscio (Post 1043332)
you don't understand. I see revised script by Tan but I don't know if it is inserted in repository. optimize-pm is for power-menu but I don't know if there is the revised script

Your confused. Go there for OptimizeN900 and the PM: http://maemo.org/packages/search/?or...Bvalue%5D=same

iscio 2011-07-02 18:01

Re: Optimize your Nokia N900
 
ok thank you very much...I lost the differences because I installed them yesterday and I have the last release :-)
thanks

figaro 2011-07-03 05:02

Re: Optimize your Nokia N900
 
Hi, I was wondering if this script can fix my connection issue?

Sometimes my phone just won't connect to the net, and only if I do a reboot, it will be happily connected. At first I thought it was issue with my data provider, but now I'm thinking if only I can fool the phone to think that I do a hard reboot, I might be able to solve this
Thanks

Note. I did read the script and I don't think there's any process listed in there could be related with connection

dekor 2011-07-19 22:36

Re: Optimize your Nokia N900
 
I have this script installed and use the power menu shortcut to run it. However sometimes, 2 in 5 times, it causes the white notification light to come on and the phone reboots. Anyone else getting this?

dekor 2011-07-22 08:39

Re: Optimize your Nokia N900
 
Any ideas?

marmistrz 2012-01-16 16:30

Re: Optimize your Nokia N900
 
Please tell me:
What does it exactly do?
I'm not sure whether this script's safe.

ed_boner 2012-01-16 19:15

Re: Optimize your Nokia N900
 
does this work and its effective with kp49 and latest cssu testing flavour?

peter2p 2012-01-16 22:15

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by ed_boner (Post 1151447)
does this work and its effective with kp49 and latest cssu testing flavour?

I have them both, latest CSSU testing and KP49 and just installed Optimize N900 with FAM.
If i start Optimize N900 it looks like a "soft reboot" and after a few seconds everything is back to normal.
No influence to battery life
Then if i start Conky it looks directly the same as if i leave the phone for 5 minutes after installing stuff.
Ram 149 dropped to 105
Swap 51 dropped to 44.7
But after a minute Ram & Swap are back to normal level.
If this is the purpose of Optimize N900,
It seems to work fine here, thx to developers

Edit; it does exactly what is described here, thx humble

ed_boner 2012-01-17 01:28

Re: Optimize your Nokia N900
 
hm..maybe i will try..tks guys.

droll 2012-01-17 01:50

Re: Optimize your Nokia N900
 
ram and swap usage goes back up because of tracker. edit the optimize n900 script and comment out the lines that kills the tracker process. then you'll see the difference.

other than this, i also implemented a simple script to monitor swap usage. when more than 600mb of data is written to the first swap partition (i have 2), the script will defrag the swap space.

after 12 days of uptime, the phone feels exactly like it was just rebooted. bloody nice i tell you.

bingomion 2012-01-17 03:03

Re: Optimize your Nokia N900
 
I'm looking at removing the tracker process and replace it with file system apps :)

peter2p 2012-01-17 09:01

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by droll (Post 1151613)
ram and swap usage goes back up because of tracker. edit the optimize n900 script and comment out the lines that kills the tracker process. then you'll see the difference.

I opened the OptimizeN900 script in /usr/local/bin/OptimizeN900

Code:

#Refresh the Tracker process
killall -q trackerd
sleep 1;
killall -q tracker-indexer
sleep 1;

How do i comment out the lines that kills the tracker process,
just remove the second and third line? or remove all 4 or 5 lines?

Storm_11 2012-01-17 09:22

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by peter2p (Post 1151705)
I opened the OptimizeN900 script in /usr/local/bin/OptimizeN900

Code:

#Refresh the Tracker process
killall -q trackerd
sleep 1;
killall -q tracker-indexer
sleep 1;

How do i comment out the lines that kills the tracker process,
just remove the second and third line? or remove all 4 or 5 lines?

See the first line. It has a #. In programming, symbols such as this indicate a comment. Anything following the # in that line will be excluded. Hence why the words "Refresh the Tracker Process" are not executable.

To comment out any lines in that script, put a # in front of it ;) Just be sure on what you are commenting, and that there is nothing else that needs to be commented ;)

droll 2012-01-17 09:33

Re: Optimize your Nokia N900
 
yup, Storm_11 is correct. just put a # symbol in front of it. then try the script again and see what happens.

peter2p 2012-01-17 09:41

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by Storm_11 (Post 1151720)
See the first line. It has a #. In programming, symbols such as this indicate a comment. Anything following the # in that line will be excluded. Hence why the words "Refresh the Tracker Process" are not executable.

To comment out any lines in that script, put a # in front of it ;) Just be sure on what you are commenting, and that there is nothing else that needs to be commented ;)

thx Storm for your reply, i don't know anything about programming but if i understood you correctly i have to put a # before both killall processes to stop the tracker.

Edit; copied the file, put a # before all 4 lines, script didn't start.
removed the whole section, same, script won't start, replaced original file, won't start at all so i reinstalled and now it's fine.

Could it be possible that the device needs the ram and swap to operate normal and this script just temporary wipes all unnecessary stuff so it "feels" like a reboot afterwards building up the ram and swap needed? if so, i think it does a great job...

ed_boner 2012-01-17 10:08

Re: Optimize your Nokia N900
 
i had random reboots and when i plug the charger it asks me if i want pc suite or mass mode storade..i am uningstaling this:(

guilledoc 2012-01-17 10:14

Re: Optimize your Nokia N900
 
I'm trying it still now no problem thanks

droll 2012-01-17 13:30

Re: Optimize your Nokia N900
 
i've been using it for a long time. works well. i have KP49 and latest CSSU. on PR1.3.1.

if you're having random reboots or weird behaviour pluging in charger, you may want to check if those problems happen before you run the script.

installing this script doesn't do anything. it's just a script. you still need to run it for it to work its voodoo magic.

ed_boner 2012-01-17 14:10

Re: Optimize your Nokia N900
 
never happened before no...maybe its because i am using tracker-config...can this two conflit?

marmistrz 2012-01-18 15:20

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by ed_boner (Post 1151846)
never happened before no...maybe its because i am using tracker-config...can this two conflit?

Don't think so. Have you got SmartReflex enabled? My N900 crashed with the following settings: kp49+ideal+SR a while after putting the charger in

ed_boner 2012-01-18 18:24

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by marmistrz (Post 1152369)
Don't think so. Have you got SmartReflex enabled? My N900 crashed with the following settings: kp49+ideal+SR a while after putting the charger in

i have spartreflex, yes..i think so..i have kp49, cssu testing, traker-config, and also battery and speedpatch with the default profile..maybe its time to get rid of this two..?

marmistrz 2012-01-19 15:51

Re: Optimize your Nokia N900
 
You install the last two and you can throw your N900 through the window :D
Seriously, there's a discussion whether the karam's patches are bad or not
Look at this thread: http://talk.maemo.org/showthread.php?t=81358
I'd opt for getting rid of the patches
If you're using undervolting profiles it will surely crash
http://talk.maemo.org/showpost.php?p...8&postcount=20
http://talk.maemo.org/showpost.php?p...8&postcount=23

ed_boner 2012-01-19 16:02

Re: Optimize your Nokia N900
 
tks..already purge them, currently in dsp profile, the best, right?
Gonna monitor my battery consumption and install optimizen900 as soon as i get home from work...

marmistrz 2012-01-19 17:12

Re: Optimize your Nokia N900
 
Don't think so. Dsp profile is for 720p. But it has SR enabled (vdd2 too). It can be unstable. Use ideal or xlv.

ivgalvez 2012-01-19 18:17

Re: Optimize your Nokia N900
 
I'm luckily running stable with starving profile and VDD1 and VDD2 enabled. Maximum speed 850 MHz (do not need more meat).

ed_boner 2012-01-19 18:58

Re: Optimize your Nokia N900
 
hm..tks guys..kind of difficult to chose..what do you mean by unstable?..my n900 is running now 4hours in standby with dsp and only 2% battery consumption..i am happy:)...besides..its just boring if u wanna make a hd video to have to open xterm and change kernel profile...so if its always in dsp its pretty confortable..what do you think?...do this other profiles save even more battery, is that it? ...how often do you guys run optimizen900?

marmistrz 2012-01-19 19:40

Re: Optimize your Nokia N900
 
Nokia has disabled the vdd2 first, in PR1.2 I suppose. vdd1 was disabled later. Notice, SR crashes the N900 above 805Mhz
Even QCpuFreq enables only vdd1. When I use the omap kernel, I use also only vdd1.
You can use the queen beecon widget or some menu shortcuts.

read the 720p playback thread: the profile was designed specially for 720p. I'd go to ideal or low voltages profiles instead.

freemangordon 2012-01-19 19:42

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by ed_boner (Post 1152936)
hm..tks guys..kind of difficult to chose..what do you mean by unstable?..my n900 is running now 4hours in standby with dsp and only 2% battery consumption..i am happy:)...besides..its just boring if u wanna make a hd video to have to open xterm and change kernel profile...so if its always in dsp its pretty confortable..what do you think?...do this other profiles save even more battery, is that it?

That is OK, I use dsp on my device too. And it will become better with KP50(hopefully), as now frequencies above 600 are slightly over the optimum voltage.

And DSP frequency set in profile means MAXIMUM DSP frequency, i.e. it is clocked depending on the load. With stock codecs (no HD) I doubt it will ever go above 460-500 even if 600 is set. And keep in mind that DSP runs only when needed, so no additional battery drain when DSP frequency is set above 430 in profile.

freemangordon 2012-01-19 19:51

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by marmistrz (Post 1152948)
Nokia has disabled the vdd2 first, in PR1.2 I suppose. vdd1 was disabled later. Notice, SR crashes the N900 above 805Mhz
Even QCpuFreq enables only vdd1. When I use the omap kernel, I use also only vdd1.
You can use the queen beecon widget or some menu shortcuts.

read the 720p playback thread: the profile was designed specially for 720p. I'd go to ideal or low voltages profiles instead.

Both vdd1 and vdd2 could be enabled in PR1.3 kernel AFAIK. And why you are using only vdd1 with omap1, actually that is the unstable one (because of incorrect calibration values written in efuse), there has never been reports of vdd2 being unstable AFAIK.

And please stop promoting undervolting profiles with SR enabled. It is either use copy of dsp/default with MIN/MAX frequencies according to your needs (default has SR enabled) or some undervolting profile with SR *DISABLED*. Re-read my previous post again. I really don't want SR reported as unstable, because someone is playing with SR and undervolted profiles.

ed_boner 2012-01-19 19:54

Re: Optimize your Nokia N900
 
...set above 430..sorry freeman..i dont get it..do i have to edit something?..i just loaded dsp profile...

marmistrz 2012-01-19 20:23

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by freemangordon (Post 1152955)
Both vdd1 and vdd2 could be enabled in PR1.3 kernel AFAIK. And why you are using only vdd1 with omap1, actually that is the unstable one (because of incorrect calibration values written in efuse), there has never been reports of vdd2 being unstable AFAIK.

And please stop promoting undervolting profiles with SR enabled. It is either use copy of dsp/default with MIN/MAX frequencies according to your needs (default has SR enabled) or some undervolting profile with SR *DISABLED*. Re-read my previous post again. I really don't want SR reported as unstable, because someone is playing with SR and undervolted profiles.

I am not promoting undervolting with SR - I stopped mixing it. I'm paraphrasing what QCPUFreq is telling:
Quote:

SmartReflex(TM) is known to be unstable on some devices and may cause some random reboots.
Starting with PR 1.2, Nokia has disabled "VDD 2 SR" in order to make the device more stable. This is why QCPUFreq only enables VDD1 SmartReflex(TM).
But anyway, thanks for the VDD2 stuff explanation! I'll try the dsp profile with SR.

EDIT: Wow!!! VDD2 is great. with vdd1 only I could overclock only up to 805 and with 850 crash, with both vdd1 and vdd2 up to 950Mhz it's alright (at 1000Mhz it crashes)
And the battery savings are awesome (whole day of moderate using and still 65% of battery)

thebtman 2012-01-25 07:59

Re: Optimize your Nokia N900
 
Isnt this just a case of using JCB to crack small nut?

What are the benefits of using OptimizeN900 over just doing a reboot?


All times are GMT. The time now is 10:09.

vBulletin® Version 3.8.8