![]() |
Re: [announce] swappolube to lubricate your gui
Oh facepalm
"swapoff/swapon/swapoff via a temporary swapfile" Thatīs why I could not swapoff. Stupid me! |
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Adding my thanks too
But I have noticed that at least some of the parameters do not survive a reboot?! While it seems that it should. |
Re: [announce] swappolube to lubricate your gui
This certainly seems to have speeded things up.
Not rebooted as of yet though. |
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Quote:
Would an good idea be to spin this off and merge with the optimizeN900 thread. There does seem to be a multitude of different threads each offering different parts of the jigsaw which is N900 optimisation. |
Re: [announce] swappolube to lubricate your gui
Quote:
However when I reboot, I can read for example: 40 for for the parameter dirty_ratio while it should be 95 If I launch again the DEB, then the parameters turn to be at the correct values. PS: some weeks ago I had modified the rcS file and did change the parameters of swappiness and page-cluster directly in the file. Could that be related? (I have serious doubt but...) |
Re: [announce] swappolube to lubricate your gui
Quote:
I doubt you manually changing the swappiness and page cluster made a difference, as I never have changed them and im getting it. I'd expect everyone would be the same? |
Re: [announce] swappolube to lubricate your gui
@P@t: you're right. Both dirty_ratio and dirty_background_ratio don't get saved. I'm going to try to see why :)
|
Re: [announce] swappolube to lubricate your gui
Quote:
Would be good to get it to survive a reboot :D |
Re: [announce] swappolube to lubricate your gui
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 |
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
@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. Quote:
|
Re: [announce] swappolube to lubricate your gui
I've attached a new version 0.1-maemo1 which corrects the problem found by p@t concerning the permanence of some parameters
|
Re: [announce] swappolube to lubricate your gui
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..
|
Re: [announce] swappolube to lubricate your gui
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. |
Re: [announce] swappolube to lubricate your gui
Happy Birthday!
|
Re: [announce] swappolube to lubricate your gui
Happy Birthday! :D
|
Re: [announce] swappolube to lubricate your gui
great tweak! kudos to you debernardis.
happy birthday to you Hawaii |
Re: [announce] swappolube to lubricate your gui
HAPPY BIRTHDAY HAWAII !!!
And all the best to you! ;-))) |
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Yes, 0 makes no sense, alot of the other various stuff I've seen here and there makes no sense either, but the placebo effect seems to override new slowdowns anyway... :)
|
Re: [announce] swappolube to lubricate your gui
So we should see which of the parameters are really useful and which ones are neutral or dangerous... By now tcp_timestamps and page-cluster are considered guilty.
Can you suggest some kind of benchmark to evaluate if pulling them out of the script can make a difference. Or, what about a double-blind cross-over scheme for an in-vivo experiment? Where a number of volunteers load in blind 3 or 4 different parameter schemes, in a latin square order, and evaluates the effect on an analog visual scale, and then we get the data and make the stats? :) |
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Will surely try this out once I get my n900 back
|
Re: [announce] swappolube to lubricate your gui
What does setting dirty_*expire* to 0 do? Well either way if 0 means immediately it's kinda bad for same reason as setting page-cluster to 0, you want data to have a chance to accumulate before it gets written. Not that good if it means "never" either, data loss would happen everytime you have an unexpected shutdown..
|
Re: [announce] swappolube to lubricate your gui
i also wanna know the pros and cons of each change please, also, a GUI for toggling each parameter individually would be great.
Btw, why you don't put this on -devel? |
Re: [announce] swappolube to lubricate your gui
Quote:
Seriously, guys: I just packed the thing in a deb because it made my n900 so pleasant to use and I wished to share it. Can't do much more :D But, I like the idea of the double-blind cross-over experiment. Anybody willing to volunteer? |
Re: [announce] swappolube to lubricate your gui
Quote:
The flash block size is 128KBytes typical. That means - if you write a smaller block it is possible that hardware READS 128KB before, replace your small portion and write back. In this case it has a big sense to write by N * 128KB blocks to eliminate reads. However, if you write sequentially, a smart hardware may have some buffering and it may determine that your next write is in the same 128KB block and combine it. In this case a size of page cluster less 128KB may have sense because it allows kernel interrupt page write operation and it accelerates a device reaction. Unfortunately, I don't know - is eMMC hardware smart enough. |
Re: [announce] swappolube to lubricate your gui
Quote:
But your mileage varies - test yourself. |
Re: [announce] swappolube to lubricate your gui
for me it works great too.
everything seems much more responsive. 850mhz,mohammads hildon package your swappiness package.... damn my phone is a beast!! i love you guys. thanks for your work |
Re: [announce] swappolube to lubricate your gui
sounds interesting but ill hold off until yall figure all the possible kinks out.
|
Re: [announce] swappolube to lubricate your gui
This script is amazing...
Just amazing.. look at this... http://i51.tinypic.com/ac4ayf.png its been 24 hours since i charged this phone.. Amazing script!!! Amazing work! 850mhz Lv ,mohammads hildon package , this swappiness package |
Re: [announce] swappolube to lubricate your gui
Quote:
The two variables that weren't permanent before are questionable. I didn't notice they didn't stick. |
Re: [announce] swappolube to lubricate your gui
great optimizations, its way smoother now, thanks!!
|
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
|
Re: [announce] swappolube to lubricate your gui
Quote:
So, I guess, a compression of swap space may be not a good thing on N900. |
All times are GMT. The time now is 08:13. |
vBulletin® Version 3.8.8