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)

tmarinos 2010-08-05 03:54

Re: Optimize your Nokia N900
 
Is anyone getting any real benefit from the optimize script?

I have set the script to run everyday at 5am and I have a QB button setup on my desktop to run the script, but my phone still runs like poo after 4 days.

I just did a restart now after 4 days and 15 hours because it got REALLY slow and unresponsive. After the reboot all was fine again.

So I'm wondering if there is anyone out there using the optimize script who's N900 is still snappy and responsive or just runs plain fine after 4-5 days without a reboot?

fuyoh 2010-08-05 08:15

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by tmarinos (Post 776128)
Is anyone getting any real benefit from the optimize script?

I have set the script to run everyday at 5am and I have a QB button setup on my desktop to run the script, but my phone still runs like poo after 4 days.

I just did a restart now after 4 days and 15 hours because it got REALLY slow and unresponsive. After the reboot all was fine again.

So I'm wondering if there is anyone out there using the optimize script who's N900 is still snappy and responsive or just runs plain fine after 4-5 days without a reboot?

try to run the script from x-terminal and see if it actually optimized.
if you get the message like 'not found', look at JohnWW post.

memoryguy 2010-08-05 10:19

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by tmarinos (Post 776128)
Is anyone getting any real benefit from the optimize script?

I have set the script to run everyday at 5am and I have a QB button setup on my desktop to run the script, but my phone still runs like poo after 4 days.

I just did a restart now after 4 days and 15 hours because it got REALLY slow and unresponsive. After the reboot all was fine again.

So I'm wondering if there is anyone out there using the optimize script who's N900 is still snappy and responsive or just runs plain fine after 4-5 days without a reboot?

My current uptime shows 13.5 days, which is much longer than I usually get. It's still responding well. I don't run the script every day, but rather when it starts to feel like things are going south.

It was getting a little funky last night, skipping and stuttering while playing a podcast, but restarting Panucci seemed to help with that.

chemist 2010-08-05 11:00

Re: Optimize your Nokia N900
 
I am following this thread now for several days and was trying out what happens to the system when running optimize.sh or whatever you call it.

First of all (again) This script does not restart anything and may cause an automatic reboot!

As stated several times, killing system critical processes may make your device reboot because of the watchdog which is actually the process restarting all the processes you kill if they are non-user ones.

Running the script in an easy way is

Code:

sudo ./bin/OptimizeN900
if you have it setup right, the top line should read

Code:

#!/bin/sh
and there is nothing needed like

Code:

sudo sh OptimizeN900.sh
No "sh" up front and no ".sh" at the filename, the top line tells the system how to execute it. If you did put it somewhere else than below MyDocs you may need to make it executable as root by this command first

Code:

chmod 744 OptimizeN900
Then I started thinking about you people blowing it up... the script is bad anyway but extending it with additional "killall processes" stuff will cause the device stay at 600MHz (or whatever you OC people have set) 95% for several 10seconds to start all the bloody stuff you just killed. Doesn't this blow up to consume as much battery as a reboot at some point? Or even more?

You have a missing statusbar? This is cause there is still stuff queued to be started and the hildon-statusbar is not one of the top notches!

It is nice you know your way around with killing processes but please be aware that total n00bs are reading this and have them let a process in D state and they don't know what to do, if it is xorg in D state the only thing you can do is ssh to your device and reboot or pull the battery...

jaimex2 2010-08-05 11:30

Re: Optimize your Nokia N900
 
And now for something completely different, this is a script/command that will make your n900 run like a week of uptime. Useful for when you cant wait a few days to have to reboot the sucker.

<Fork bomb removed. Please do not post malicious code.>

pycage 2010-08-05 20:01

Re: Optimize your Nokia N900
 
The infamous fork bomb. :D

xomm 2010-08-05 23:02

Re: Optimize your Nokia N900
 
Thread moved to Maemo 5 / Fremantle.

The Nokia N900 sub-forum is meant for hardware-specific topics.

JorgeFX 2010-08-06 04:39

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by masq (Post 774534)
Hi JorgeFX,

You mentioned that you would soon be releasing a one-time script to optimize the N900 performance. Is that still on its way? What kind of things would this script do and what would it fix? Don't mean to rush you but if you can drop a note I'm curious.

I'm running your other script though I haven't noticed a significant difference. Actually the one time I ran it it slowed down my machine a bit but that's probably cause some processes were still doing some initialization stuff in the background. Will try to give some more useful feedback if I notice some consistent behavior (good or bad).

thanks!

Hi, that post is old, in that post I was talking about this script. I'm working on another that you only have you run one time but it is not for optimize.

JorgeFX 2010-08-06 04:45

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by memoryguy (Post 776408)
My current uptime shows 13.5 days, which is much longer than I usually get. It's still responding well. I don't run the script every day, but rather when it starts to feel like things are going south.

It was getting a little funky last night, skipping and stuttering while playing a podcast, but restarting Panucci seemed to help with that.

That is the right way to use the script:), only use it when you need it;). I mean, don't be miser, the N900 WILL NOT become more speedy just for running this script 100 times in a row. Your N900 is pretty good already! ;)

JorgeFX 2010-08-06 04:59

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by chemist (Post 776444)
I am following this thread now for several days and was trying out what happens to the system when running optimize.sh or whatever you call it.

First of all (again) This script does not restart anything and may cause an automatic reboot!

As stated several times, killing system critical processes may make your device reboot because of the watchdog which is actually the process restarting all the processes you kill if they are non-user ones.

Yes, it could cause an automatic reboot if you are miser running it. If you run it only when you feel the system is slow you are ok then.

Quote:

Then I started thinking about you people blowing it up... the script is bad anyway but extending it with additional "killall processes" stuff will cause the device stay at 600MHz (or whatever you OC people have set) 95% for several 10seconds to start all the bloody stuff you just killed. Doesn't this blow up to consume as much battery as a reboot at some point? Or even more?
The answer is pretty clear here, NO, just try it and you will see. I challenge you to make a video showing the battery percent before and after running the script, and then same video but rebooting and that way we all can see if you theory about the MHZ at full load taking eating the battery is true. I already know it is not, like most of the people that use this script.

Quote:

It is nice you know your way around with killing processes but please be aware that total n00bs are reading this and have them let a process in D state and they don't know what to do, if it is xorg in D state the only thing you can do is ssh to your device and reboot or pull the battery...
There will always be n00bs reading. How can you prevent it? can you control the internet? Just saying.. Still, GOD bless YOU:D


All times are GMT. The time now is 15:36.

vBulletin® Version 3.8.8