Active Topics

 



Notices


Reply
Thread Tools
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#51
OK, it can be corrected by letting the script start later. If you don't wont to wait for the next version, just edit as root /etc/event.d/tuning and change the start on rcSlate line into
Code:
start on started hildon-desktop
This will make it remember the changes after booting.
__________________
Ernesto de Bernardis

 

The Following 7 Users Say Thank You to debernardis For This Useful Post:
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#52
Originally Posted by debernardis View Post
@f2thak: sorry mate. Hope you have the flasher utility at hand, or you had backupmenu to restore the pristine state. Might be that when turning it off, it hadn't written everything on flash, due to the changes in the way read and write get managed? So, maybe it's better to issue a sync before turning off?

@Frank Banul: reboot is not needed, the parameter changes are made on-the-fly during the install of the script that makes them also applied at boot time. And, they are reverted at uninstall time, when that script gets erased.

@kennibal: yes, and if you read Simon's explanation of those params, you'll find that there is one that lets silently crash the latest program you start if it elicits an out-of-memory condition, instead of getting rid of one or more background processes. It's the price to pay for the fluidity. If you try again maybe it will start correctly after a cleanup of memory.

Concerning this issue, I want to implement the small memory-freeing command that Simon describes in his blog post, saying he runs it as a cron job.

Code:
I run a cronjob that drops buffer cache containing pagecache, dentries and inodes, to clear out unused dirty pages (sync; echo 3 > /proc/sys/vm/drop_caches).
This might take some time and resources to run, since there's a sync command which writes down to the flash memory.
Given that we haven't cron by default on our devices, and I don't know how to mess with the alarmd daemon (and I'm not sure I'll ever do), I would then add an icon to run the command and free memory when the user likes to, i.e. when the device isn't going to do critical things like answering a call or shooting a video.

What do you think? Button or alarmd?
How often is this cron job ran? I don't know who Simon is and therefore don't know his blog. I'd like to add this to my cron jobs.
 
Posts: 376 | Thanked: 511 times | Joined on Aug 2009 @ Greece
#53
Originally Posted by debernardis View Post
Code:
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
Turning off TCP timestamps is a bad bad thing. By turning off timestamps you'll have bad RTT estimation which means bad retransmission timeout calculation. This will result in poor performance especially on conditions where there are frequent packet losses, which is the case of most 3G connections.
 

The Following 7 Users Say Thank You to v13 For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#54
@v13: Thanks. Now, what I'd like is knowing the pros and cons of each parameter, and having a gui to turn them on/off or set their value - and save groups of them as profiles.
It's out of my skills but maybe someone will be interested to code it.

Originally Posted by les_garten View Post
How often is this cron job ran? I don't know who Simon is and therefore don't know his blog. I'd like to add this to my cron jobs.
You'll find the link to Simon's blog in the first post of this thread. I asked him how often too, and I'm still waiting for his answer. In the meantime I think I'll make a button for that.
__________________
Ernesto de Bernardis


Last edited by debernardis; 2010-09-16 at 17:24.
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#55
I've attached a new version 0.1-maemo1 which corrects the problem found by p@t concerning the permanence of some parameters
__________________
Ernesto de Bernardis


Last edited by debernardis; 2010-09-25 at 15:55. Reason: Deleted the obsolete attachment
 

The Following 6 Users Say Thank You to debernardis For This Useful Post:
Posts: 1,258 | Thanked: 672 times | Joined on Mar 2009
#56
Dropping caches sounds like a silly idea too. It's mostly only useful for running disk benchmarks when you want to make sure stuff takes the slow path from permanent storage rather than coming from the fast ram..
 

The Following User Says Thank You to shadowjk For This Useful Post:
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#57
Hi.

I'm Simon. I wrote the article. I did receive your question - but I've been extremely busy with Nokia World and my birthday this week. I've just arrived back in Canada and I'll be sure to provide an updated post concerning all the questions that have been posted here.

Thanks guys.

Sorry I didn't get back to your comments or questions on the blog or via email. I'll be honest, it's much faster to reach me on Twitter.

Last edited by hawaii; 2010-09-17 at 02:39.
 

The Following 7 Users Say Thank You to hawaii For This Useful Post:
Posts: 137 | Thanked: 34 times | Joined on Jul 2010 @ United States
#58
Happy Birthday!
 
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#59
Happy Birthday!
 
Posts: 6 | Thanked: 0 times | Joined on May 2010
#60
great tweak! kudos to you debernardis.

happy birthday to you Hawaii
 
Reply

Tags
bada lubes, bada rox, swappiness, tuning


 
Forum Jump


All times are GMT. The time now is 13:59.