Active Topics

 



Notices


Reply
Thread Tools
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#191
Originally Posted by Saturn View Post
I don't find your idea bad but I would like debernardis' opinion first.
Personally, I prefer it like now and find it clear enough.

I'd like, now, that someone starts exploring other parameters value to see if we can put together some better set of parameters, or optimize them for various tasks.

I'm currently exploring the effect of vfs_cache_pressure - you'll find references to it both on talk.maemo.org and on the big Internet, in several places where there are discussions on linux desktop tuning.

Vfs_cache_pressure: "Controls the tendency of the kernel to reclaim the memory which is used for caching of directory and inode objects.

At the default value of vfs_cache_pressure = 100 the kernel will attempt to reclaim dentries and inodes at a "fair" rate with respect to pagecache and swapcache reclaim. Decreasing vfs_cache_pressure causes the kernel to prefer to retain dentry and inode caches. Increasing vfs_cache_pressure beyond 100 causes the kernel to prefer to reclaim dentries and inodes."


Other readings:
http://duopetalflower.blogspot.com/2...speed-and.html
http://rudd-o.com/en/linux-and-free-...ow-to-fix-that
__________________
Ernesto de Bernardis

 

The Following User Says Thank You to debernardis For This Useful Post:
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#192
Uploaded an updated version (0.2.0-3) in extras-devel and promoted to testing.

This update brings a couple of fixes (there is no new functionality). Both where nasty and quite hidden.

changelog:
* Fix in the update of the VFSCachePressure value. Previous version did not store this correctly. (thanks to debernardis).
* Fix in the reading of values from the system. A hiden linebreak (shown as space) was added in all values after hitting "Current" which blocked their later update.

See the wiki for more details.
Feel free to vote in extras-testing after your tests.

Last edited by Saturn; 2010-09-28 at 19:19. Reason: added link to testing
 

The Following 3 Users Say Thank You to Saturn For This Useful Post:
James_Littler's Avatar
Posts: 820 | Thanked: 436 times | Joined on May 2010 @ Portsmouth, UK.
#193
Originally Posted by Saturn View Post
I had followed up and eventually solved this for a user few pages back. The last steps where done offline.

So here is what helped in his case.

Disable all repos that come from outside maemo.
Disable the devel repo.
Code:
apt-get remove --purge swappolube
apt-get remove --purge swappolube-nogui
apt-get update
apt-get install python2.5-qt-common
apt-get install swappolube
If you don't understand the above then don't do it!

HIH
Should be

Code:
apt-get remove --purge swappolube
apt-get remove --purge swappolube-nogui
apt-get update
apt-get install python2.5-qt4-common
apt-get install swappolube
 

The Following User Says Thank You to James_Littler For This Useful Post:
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#194
Found what might be an issue (or perhaps a tool).

Yesterday, I lost all my widgets 2 times. It also happened again this morning. Reboot does not return them, identical activity in Activity Manager does not return them. I can add them all back without issue.

I have been running my own file for a week or two, and swapolube for the last couple of days. I have been using the "kill allocating task" setting (to kill the requesting app).

What I am thinking has happened is that one of my widgets has a memory leak, and hildon-home (or is it hildon-desktop) gets killed once the leak gets too big? This might cause the disappearance of all my widgets.

My first suspicion is calendar-home widget, followed by mycontacts and maybe omweather. I believe those are the only widgets that were updated recently. I need to keep an eye on this to see if I can isolate it.

Anyone else seeing anything similar?
__________________
*Consumer*, not a developer! I apologize for any inconvenience.
My script to backup /home and /opt
Samsung Galaxy S Vibrant, Huawei S7, N900(retired), N800(retired)
 

The Following User Says Thank You to lemmyslender For This Useful Post:
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#195
Swappolube (GUI) could give descriptions (from the kernel documentation) to the every setting as a yellow hint window when the text area is clicked. Would be educational and helpful when different tunings are tested.
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#196
Originally Posted by lemmyslender View Post
Anyone else seeing anything similar?
It's been reported by another guy, maybe on the my-maemo.com forums (can't remind) so you're not alone.
__________________
Ernesto de Bernardis

 

The Following User Says Thank You to debernardis For This Useful Post:
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#197
I've been using the kernel VM tweaks I posted, as originally, and have never had this happened.

I'm not sure if this package is a good thing for people to start tuning values they don't understand. Hell, I'm not 100% about the TRUE repercussions of changing them, especially with the hardware and bus that the N900 uses.
 

The Following User Says Thank You to hawaii For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#198
Well, Hawaii, we're here to have fun with our device, mostly. Fiddling with tech is fun, and a chance to learn, at every level of knowledge you start from, including close to zero. Albert Einstein started from a compass, a gift from his dad. So, don't worry too much.
Your blog post made me (and others) learn interesting things on our computerphone innards, and made the majority of us have a much more pleasant experience with it. Life's good
__________________
Ernesto de Bernardis

 

The Following User Says Thank You to debernardis For This Useful Post:
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#199
I'm only speculating on a cause and effect. The last day or two my N900 had also been unusually sluggish and slow to respond. After updating a couple of widgets today, it is back to its' normal self.

It may just have been a mis-behaving widget, or a combination of these tweaks, widgets, power-kernel, updated modest, updated hildon-desktop, etc. Not exactly running a stock N900 here. If it continues to behave, I'll just chalk it up to a fluke.

Wouldn't be half the fun if we couldn't tweak the heck out of it.
__________________
*Consumer*, not a developer! I apologize for any inconvenience.
My script to backup /home and /opt
Samsung Galaxy S Vibrant, Huawei S7, N900(retired), N800(retired)
 

The Following User Says Thank You to lemmyslender For This Useful Post:
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#200
Hmm. Maybe I should report here that with all these settings my hildon-home virtual memory size just kept getting bigger. Also opening up contacts took sometimes little too long to my taste. I ended up disabling all other tweaks expect swappiness and cache pressure. Now it seems to be ok.

.edit
swappines 30, pressure 50

..edit
looks like hildon-desktop and home are leaking for me. Probably some faulty widget or applet. I just wish that we had easy way of detecting what widgets&applets leak.

Last edited by slender; 2010-10-03 at 15:28.
 

The Following User Says Thank You to slender For This Useful Post:
Reply

Tags
bada lubes, bada rox, swappiness, tuning


 
Forum Jump


All times are GMT. The time now is 03:54.