![]() |
Re: [announce] swappolube to lubricate your gui
Quote:
/media/mmc1/export # dpkg -i swappolube_0.1.0-8_armel.deb Selecting previously deselected package swappolube. dpkg: regarding swappolube_0.1.0-8_armel.deb containing swappolube: swappolube-nogui conflicts with swappolube swappolube (version 0.1.0-8) is to be installed. dpkg: error processing swappolube_0.1.0-8_armel.deb (--install): conflicting packages - not installing swappolube Errors were encountered while processing: swappolube_0.1.0-8_armel.deb /media/mmc1/export # when I install the .08 file from the previous page it tells me that I am missing python2.5-qt4-maemo5 when I go through extras-devel I get the 2 conflicts I mentioned earlier - The non-gui version through HAM worked fine. |
Re: [announce] swappolube to lubricate your gui
Quote:
My advice stay away from dodgy threads that ask for simple (guis) help. It's never simple :D |
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Quote:
/media/mmc1/export # dpkg -i swappolube_0.1.0-8_armel.deb (Reading database ... 31161 files and directories currently installed.) Unpacking swappolube (from swappolube_0.1.0-8_armel.deb) ... dpkg: dependency problems prevent configuration of swappolube: swappolube depends on python2.5-qt4-maemo5; however: Package python2.5-qt4-maemo5 is not installed. dpkg: error processing swappolube (--install): dependency problems - leaving unconfigured Errors were encountered while processing: swappolube /media/mmc1/export # /media/mmc1/export # dpkg -l python Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==================-==================-================================================== == ii python 2.5.2-3maemo3 An interactive high-level object-oriented language ( /media/mmc1/export # dpkg -l |grep python2.5 ii python2.5 2.5.4-1maemo6 An interactive high-level object-oriented language (version 2.5) ii python2.5-minimal 2.5.4-1maemo6 A minimal subset of the Python language (version 2.5) ii python2.5-qt4-common 4.7.3-maemo5 Shared files for PyQt4 ii python2.5-qt4-core 4.7.3-maemo5 Python bindings for Qt4 Core components. ii python2.5-qt4-dbus 4.7.3-maemo5 Python bindings for Qt dbus mainloop. ii python2.5-qt4-gui 4.7.3-maemo5 Python bindings for Qt4 Core components. ri python2.5-qt4-network 4.7.3-maemo5 Python bindings for Qt4 Core components. ri python2.5-qt4-webkit 4.7.3-maemo5 Python bindings for Qt4 Core components. ii python2.5-sip4 4.10.2-maemo0 Python/C++ bindings generator runtime library. /media/mmc1/export # |
Re: [announce] swappolube to lubricate your gui
@ geohsia
Scrap the previous message. I realised you are picking some devel version of the PyQT from devel. I have just promoted it to extras-testing. Disable devel and refresh in few minutes. |
Re: [announce] swappolube to lubricate your gui
Here you go:
Code:
/media/mmc1/export # dpkg -l python2.5-qt* |
Re: [announce] swappolube to lubricate your gui
Without the extras-devel enabled do as root:
Code:
apt-get update |
Re: [announce] swappolube to lubricate your gui
more output
Code:
/media/mmc1/export # apt-get update |
Re: [announce] swappolube to lubricate your gui
@ geohsia
I've sent you a PM with some instructions. It's better if we stop polluting this thread. Forgot to mention disable all other repos (mozilla, joikushop etc.) that come from outside maemo and you might have a duplicate repo. good luck |
Re: [announce] swappolube to lubricate your gui
Thanks to debernardis and Saturn for the good job.
I tried Swappolube for some days. I could notice an increase in fluidity, particularly when switching among several open applications. Unfortunately I also found a use case with a clear performance degradation: streaming video files from a UPnP media server. With Swappolube off, streaming videos from my home PC through WLAN is flawless: playback never stops for buffering. With Swappolube on, all other things being equal, playback stops for buffering every 3-10 seconds. I made a quick test: with 'Kill allocating task' off things improve slightly but not as much as to make watching videos enjoyable (i.e., playback stops every 10-30 seconds on average). When I have some time I will try to find the best settings. |
Re: [announce] swappolube to lubricate your gui
2 Attachment(s)
Uploaded an updated version (0.2.0-1) in extras-devel.
The important change which could confuse previous users is that on start up the gui shows the *current* settings the system is running with. changelog: * Added two new buttons (current & proposed) to set the settings in the GUI. * Added icons for the application manager and the desktop. * Many code changes/splits in methods. * Added several protections when handling updates. * Fixed in GUI some directional errors. * Constrained the entry values to 4 digits. I have upload it to extras-devel; have tested it for some time but be vigilant as there have been too many changes in the code. Lazy people should wait till it's in testing. Check later the wiki for more screenshots. |
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Quote:
The second row if checked will give a "1" if not then it's a "0" , i.e. True/False. |
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Quote:
hi there is no v 0.2 in extras devil can you upload this file here so we can to downliad it esay thank you for this great work |
Re: [announce] swappolube to lubricate your gui
Quote:
In any case: http://maemo.org/packages/view/swappolube/ |
Re: [announce] swappolube to lubricate your gui
btw: laptop_mode is not a on/off switch but a timeout to delay writeouts after the disk got waken up (and some more). For flash based devices it makes sense to increase this value (YMMV) to pile up writes and put less write wear on the flash chip.
Since seeking on flash is fast it makes also sense to increas vfs_cache_pressure to 200, then the kernel prefers page cache over filesystem buffers (hint: on machines with a lot of ram try 1 there (but not 0!)) that gives insanely fast disk access. |
Re: [announce] swappolube to lubricate your gui
Does this work with power kernel?:)
|
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Quote:
Bug or feature? |
Re: [announce] swappolube to lubricate your gui
1 Attachment(s)
Unable to install: conflicting programs
|
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Quote:
1. press "proposed" 2. press "Apply" 3. press "current" 4. press "proposed" The difference in 3 and 4 should be only the enable checkboxes. If not, then Houston we have a problem.. |
Re: [announce] swappolube to lubricate your gui
Quote:
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 HIH |
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Quote:
For the rest I can only say the purpose of the app is to apply or store a different config from what you have already. So how I imagined it was to open the app see what you got, enable those you want to change, put the new settings for those only and press apply or store. The enable buttons are there to only store a new config file for those you want changed. I don't find your idea bad but I would like debernardis' opinion first. |
Re: [announce] swappolube to lubricate your gui
Has anyone noticed any difference in battery life with these modifications enabled?
I'm asking this because while looking for somthing else i stumbled on a post where the person was suspicious swappolube was the cause of a sudden reduction in average battery life. |
Re: [announce] swappolube to lubricate your gui
1 Attachment(s)
Uploaded an updated version (0.2.0-2) in extras-devel and will promote to testing.
changelog: * Change of the Laptop Mode setting to string. (thanks cehteh) * Updated description. * Some UI changes - beautifications. See the wiki for more screenshots. |
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
Quote:
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 |
Re: [announce] swappolube to lubricate your gui
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. |
Re: [announce] swappolube to lubricate your gui
Quote:
Code:
apt-get remove --purge swappolube |
Re: [announce] swappolube to lubricate your gui
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? |
Re: [announce] swappolube to lubricate your gui
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.
|
Re: [announce] swappolube to lubricate your gui
Quote:
|
Re: [announce] swappolube to lubricate your gui
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. |
Re: [announce] swappolube to lubricate your gui
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 :) |
Re: [announce] swappolube to lubricate your gui
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. |
Re: [announce] swappolube to lubricate your gui
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. |
All times are GMT. The time now is 12:07. |
vBulletin® Version 3.8.8