Reply
Thread Tools
D4rKlar's Avatar
Posts: 675 | Thanked: 923 times | Joined on Apr 2010 @ London
#21
I was looking for something like this!

Reading this thread http://talk.maemo.org/showthread.php?t=41205 they mention the command

# echo 3 > /proc/sys/vm/drop_caches

....which frees the pagecache, dentries and inodes. Would that be a useful addition to the script?

Kind Regards,
D4rKlar
__________________
_________________________
_________________________________
_
* D4rKlar on DeviantART * Maemo5 on DeviantART *
_
* M4riNa D4rK Theme and Iconset *
_
 
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#22
copy this to /usr/share/applications/hildon/

with filename [anything goes].desktop

(and copy the optimize script to /opt/)
Attached Files
File Type: txt OptimizeN900.txt (334 Bytes, 896 views)
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search
 

The Following 8 Users Say Thank You to ossipena For This Useful Post:
Posts: 214 | Thanked: 256 times | Joined on May 2010
#23
Originally Posted by Flandry View Post
Could you please give a summary of what it's doing?
If you open the script with an editor you could see that this:

-Refresh the Audio Process to avoid audio glitch
-Refresh the Tracker process
-Refresh the browser MicroB
-Refresh of the most common applications and UIs
-Refresh the all UI Hildon, menus and bars.
-Refresh other processes

I'm testing some new processes but I think this script is mature already
 

The Following 6 Users Say Thank You to JorgeFX For This Useful Post:
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#24
Originally Posted by Chrome View Post
I think there is a place where i can run it directly without cding, Opt maybe?
That isn't cding, it's just specifying a location. If you are looking for the "home" directory, it's /home/user AKA ~. Then it would just be sh OptimizeN900

Or, you can put it in /opt and use ossipena's desktop entry to click it from the desktop.

Originally Posted by D4rKlar View Post
I was looking for something like this!

Reading this thread http://talk.maemo.org/showthread.php?t=41205 they mention the command

# echo 3 > /proc/sys/vm/drop_caches

....which frees the pagecache, dentries and inodes. Would that be a useful addition to the script?

Kind Regards,
D4rKlar
If you read on in this thread, you'll see that it's not really a useful thing to do per se.
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful

Last edited by Flandry; 2010-07-22 at 09:17.
 

The Following 5 Users Say Thank You to Flandry For This Useful Post:
Posts: 214 | Thanked: 256 times | Joined on May 2010
#25
Originally Posted by D4rKlar View Post
I was looking for something like this!

Reading this thread http://talk.maemo.org/showthread.php?t=41205 they mention the command

# echo 3 > /proc/sys/vm/drop_caches

....which frees the pagecache, dentries and inodes. Would that be a useful addition to the script?

Kind Regards,
D4rKlar
I'm testing that too, but I'm working on a different script to TWEAK the N900 and that command is something I used but it does not have much effect on the system without other commands. In a few days maybe I could post the other script. But remember, this is for Optimize the N900 when you have several hours/days of use and the device is getting slow. The other script is meant to run one time only
 
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#26
Originally Posted by JorgeFX View Post
If you open the script with an editor you could see that this:

-Refresh the Audio Process to avoid audio glitch
-Refresh the Tracker process
-Refresh the browser MicroB
-Refresh of the most common applications and UIs
-Refresh the all UI Hildon, menus and bars.
-Refresh other processes

I'm testing some new processes but I think this script is mature already
Really appreciate you working on this. I guess what i'm really asking (as i'm fairly trusting) is: what, if any, side effects does the script cause?
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful
 

The Following User Says Thank You to Flandry For This Useful Post:
Posts: 214 | Thanked: 256 times | Joined on May 2010
#27
Originally Posted by ossipena View Post
copy this to /usr/share/applications/hildon/

with filename [anything goes].desktop

(and copy the optimize script to /opt/)
I wanted to add and button to the systemui like we add a reboot button but I have not tried it yet
 
Posts: 214 | Thanked: 256 times | Joined on May 2010
#28
Originally Posted by Flandry View Post
Really appreciate you working on this. I guess what i'm really asking (as i'm fairly trusting) is: what, if any, side effects does the script cause?
Thanks! After weeks of testing I can honestly and happily say that I have not seen side effects on more than 20days. Before, I had some freezes but I have been testing and testing and testing and testing and I think this is it
 

The Following 2 Users Say Thank You to JorgeFX For This Useful Post:
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#29
Originally Posted by Chrome View Post
Should i restart after doing this? because nothing happened
what about trying to browse the application menu or add shortcut to desktop? (it only adds a shortcut to menu)
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search
 
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#30
Originally Posted by JorgeFX View Post
I wanted to add and button to the systemui like we add a reboot button but I have not tried it yet
with it you can add the shortcut to desktop, systemui is probably somewhat harder thing to do.

so concider that a quick and dirty patch to ease the usage a little.
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search
 
Reply

Tags
faster, reflash, refresh, script-a-brick, sell it

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:44.