maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [announce] swappolube to lubricate your gui (https://talk.maemo.org/showthread.php?t=62312)

geohsia 2010-09-25 23:52

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by Saturn (Post 826334)
The editor doesn't directly depend on those. Can you give some output of the log or xterm?

xterm:

/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.

Saturn 2010-09-25 23:53

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by debernardis (Post 826062)
Well, this is the first time I figure out how to send a package to the autobuilder. But after getting Saturn's source as a model and fiddling with the wiki, I got to upload swappolube-nogui to extras-devel.

It's been just an exercise for me; the package is essentially the same one I described in the first post, and could be useful while Saturn irons out some bugs of the gui version. It could be good also for those who don't want to tinker with kernel virtual memory parameters and prefer to load a simple profile known to work.

Now I have to recover from the emotion of seeing my first package in maemo repos ;)

Now your (real) life is ruined :)

My advice stay away from dodgy threads that ask for simple (guis) help. It's never simple :D

Saturn 2010-09-25 23:56

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by Viny (Post 826342)
The one avaible in devel is the no gui one, if u mean if i ran the gui version with app manager , i think so.. i go to file manager and click on it, it opens with the app manger/ but says the dependecies are missing.

Both versions are in devel.

Saturn 2010-09-26 00:02

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by geohsia (Post 826343)
xterm:

/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.

Choose one of them - see red line above (it's a big lie that in life you can have all).

geohsia 2010-09-26 00:14

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by Saturn (Post 826348)
Choose one of them - see red line above (it's a big lie that in life you can have all).

oops. the gui version didn't work so I put on the non gui version. here is the error now

/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 #

Saturn 2010-09-26 00:19

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.

geohsia 2010-09-26 00:25

Re: [announce] swappolube to lubricate your gui
 
Here you go:

Code:

/media/mmc1/export # dpkg -l python2.5-qt*
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  python2.5-qt4-comm 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.
un  python2.5-qt4-maem <none>            (no description available)
ri  python2.5-qt4-netw 4.7.3-maemo5      Python bindings for Qt4 Core components.
ri  python2.5-qt4-webk 4.7.3-maemo5      Python bindings for Qt4 Core components.
/media/mmc1/export #


Saturn 2010-09-26 00:34

Re: [announce] swappolube to lubricate your gui
 
Without the extras-devel enabled do as root:
Code:

apt-get update
apt-get -s upgrade

The result of the second command should give you some indication what you are missing but it won't install anything.

geohsia 2010-09-26 00:42

Re: [announce] swappolube to lubricate your gui
 
more output

Code:

/media/mmc1/export # apt-get update
Hit https://downloads.maemo.nokia.com ./ Release.gpg 
Hit http://repository.maemo.org fremantle-1.2 Release.gpg
Ign http://repository.maemo.org fremantle-1.2/free Translation-en_US
Ign http://repository.maemo.org fremantle-1.2/non-free Translation-en_US
Ign https://downloads.maemo.nokia.com ./ Translation-en_US
Ign http://www.joikushop.com  Release.gpg
Ign http://www.joikushop.com  Translation-en_US
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign http://www.joikushop.com  Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_US
Ign http://www.joikushop.com  Translation-en_US
Hit https://downloads.maemo.nokia.com ./ Release.gpg   
Get:1 http://repository.maemo.org fremantle Release.gpg [489B]
Ign http://repository.maemo.org fremantle/free Translation-en_US
Ign https://downloads.maemo.nokia.com ./ Translation-en_US
Ign http://repository.maemo.org fremantle/non-free Translation-en_US
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Get:2 http://moff.mozilla.com chinook Release.gpg [189B]
Ign http://moff.mozilla.com chinook/release Translation-en_US
Get:3 http://moff.mozilla.com chinook Release.gpg [189B]
Ign http://moff.mozilla.com chinook/release Translation-en_US
Ign https://downloads.maemo.nokia.com ./ Translation-en_US
Get:4 http://ftp.mozilla.org fremantle Release.gpg [189B]
Hit https://downloads.maemo.nokia.com ./ Release
Ign http://ftp.mozilla.org fremantle/release Translation-en_US
Hit https://downloads.maemo.nokia.com ./ Release     
Hit https://downloads.maemo.nokia.com ./ Release                       
Get:5 http://moff.mozilla.com fremantle Release.gpg [189B]
Ign http://moff.mozilla.com fremantle/release Translation-en_US
Hit https://downloads.maemo.nokia.com ./ Release
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign http://download.videolan.org fremantle Release.gpg 
Ign http://download.videolan.org fremantle/free Translation-en_US
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Hit http://repository.maemo.org fremantle-1.2 Release
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign http://www.joikushop.com  Release
Ign http://www.joikushop.com  Release
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex                                     
Get:6 http://repository.maemo.org fremantle Release [7960B]                                     
Hit http://moff.mozilla.com chinook Release                                                     
Hit http://moff.mozilla.com chinook Release                                                     
Hit https://downloads.maemo.nokia.com ./ Packages                                               
Hit https://downloads.maemo.nokia.com ./ Packages                                               
Hit http://ftp.mozilla.org fremantle Release                                                   
Hit https://downloads.maemo.nokia.com ./ Packages                                               
Hit https://downloads.maemo.nokia.com ./ Packages                                               
Hit http://moff.mozilla.com fremantle Release                                                   
Hit http://download.videolan.org fremantle Release                                             
Ign http://repository.maemo.org fremantle-1.2/free Packages/DiffIndex                           
Ign http://repository.maemo.org fremantle-1.2/non-free Packages/DiffIndex                       
Ign http://www.joikushop.com  Packages/DiffIndex                                               
Ign http://www.joikushop.com  Packages/DiffIndex
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Get:7 http://moff.mozilla.com chinook Release [759B]
Get:8 http://moff.mozilla.com chinook Release [759B]
Ign http://moff.mozilla.com chinook Release           
Ign http://moff.mozilla.com chinook Release                             
Get:9 http://ftp.mozilla.org fremantle Release [763B]                   
Ign http://ftp.mozilla.org fremantle Release           
Get:10 http://moff.mozilla.com fremantle Release [763B] 
Ign http://moff.mozilla.com fremantle Release                               
Ign http://download.videolan.org fremantle/free Packages/DiffIndex           
Hit http://repository.maemo.org fremantle-1.2/free Packages
Hit http://repository.maemo.org fremantle-1.2/non-free Packages
Hit http://www.joikushop.com  Packages                                       
Hit http://www.joikushop.com  Packages                                       
Get:11 http://repository.maemo.org fremantle/free Packages [2663kB]         
Get:12 http://repository.maemo.org fremantle/non-free Packages [181kB]       
Ign http://moff.mozilla.com chinook/release Packages/DiffIndex               
Ign http://moff.mozilla.com chinook/release Packages/DiffIndex               
Ign http://ftp.mozilla.org fremantle/release Packages/DiffIndex             
Ign http://moff.mozilla.com fremantle/release Packages/DiffIndex             
Hit http://download.videolan.org fremantle/free Packages                     
Hit http://moff.mozilla.com chinook/release Packages                         
Hit http://moff.mozilla.com chinook/release Packages                         
Hit http://ftp.mozilla.org fremantle/release Packages                       
Hit http://moff.mozilla.com fremantle/release Packages                       
Fetched 2856kB in 53s (53.7kB/s)                                             
Reading package lists... Done
W: GPG error: http://moff.mozilla.com chinook Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 667387BFFF445C24
W: GPG error: http://moff.mozilla.com chinook Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 667387BFFF445C24
W: GPG error: http://ftp.mozilla.org fremantle Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 667387BFFF445C24
W: GPG error: http://moff.mozilla.com fremantle Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 667387BFFF445C24
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.2/free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.2_free_binary-armel_Packages)
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.2/non-free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.2_non-free_binary-armel_Packages)
W: You may want to run apt-get update to correct these problems
/media/mmc1/export # apt-get -s upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  swappolube: Depends: python2.5-qt4-maemo5 but it is not installed
E: Unmet dependencies. Try using -f.
/media/mmc1/export #


Saturn 2010-09-26 00:51

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

fgs 2010-09-26 14:45

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.

Saturn 2010-09-26 15:33

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.

les_garten 2010-09-26 15:48

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by Saturn (Post 826695)
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.

Why do some of the settings have 2 check marks? One of enablle and one for setting?

Saturn 2010-09-26 16:03

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by les_garten (Post 826708)
Why do some of the settings have 2 check marks? One of enablle and one for setting?

The first row of checkboxes is to enable the setting. If unchecked it will not write anything for this option.
The second row if checked will give a "1" if not then it's a "0" , i.e. True/False.

Saturn 2010-09-26 16:09

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by fgs (Post 826672)
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.

Thanks. Hope the newer version helps your tests. Please let us know of any results or recommended config for a specific use.

mesho123 2010-09-26 23:04

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by Saturn (Post 826695)
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.



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

Saturn 2010-09-26 23:55

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by mesho123 (Post 826940)
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

There is. Maybe you need to refresh or something.
In any case: http://maemo.org/packages/view/swappolube/

cehteh 2010-09-27 01:02

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.

Sniper_swe 2010-09-27 10:47

Re: [announce] swappolube to lubricate your gui
 
Does this work with power kernel?:)

debernardis 2010-09-27 11:00

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by Sniper_swe (Post 827291)
Does this work with power kernel?:)

Yes, both with stock and Titan's power kernel. I tend to guess that it is going to work also with Lehto's kernel.

DaSilva 2010-09-27 12:46

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by Saturn (Post 826695)
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.

Whenever I save settings (doesn't matter if I choose "Persistant" or just "Apply") and then press on "Show current" only very few options are displayed as enabled.
Bug or feature?

rotoflex 2010-09-27 14:28

Re: [announce] swappolube to lubricate your gui
 
1 Attachment(s)
Unable to install: conflicting programs

jnack95 2010-09-27 14:34

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by rotoflex (Post 827475)
Unable to install: conflicting programs

I have same error...

Saturn 2010-09-27 15:00

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by DaSilva (Post 827390)
Whenever I save settings (doesn't matter if I choose "Persistant" or just "Apply") and then press on "Show current" only very few options are displayed as enabled.
Bug or feature?

Try the following:
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..

Saturn 2010-09-27 15:08

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by rotoflex (Post 827475)
Unable to install: conflicting programs

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-qt4-common
apt-get install swappolube

If you don't understand the above then don't do it!

HIH

DaSilva 2010-09-27 19:28

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by Saturn (Post 827501)
Try the following:
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..

Yeah, it works like you mention there but that is not intuitive: It looks like all the options are not enabled currently and have to be enabled again to activate the optimisation. I would delete all "Enable" buttons because there is always a value saved. You can only change the value but not disable the whole command in the system. Every other applications does it like that.

Saturn 2010-09-27 21:14

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by DaSilva (Post 827728)
Yeah, it works like you mention there but that is not intuitive: It looks like all the options are not enabled currently and have to be enabled again to activate the optimisation. I would delete all "Enable" buttons because there is always a value saved. You can only change the value but not disable the whole command in the system. Every other applications does it like that.

I agree with the not-so-intuitive part.
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.

TiagoTiago 2010-09-27 21:15

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.

Saturn 2010-09-27 21:22

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.

acvetkov 2010-09-27 22:46

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by TiagoTiago (Post 827823)
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.

No battery life is better. 24 hours since last charge (light use several calls) I have 70% battery :)

debernardis 2010-09-28 11:30

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by Saturn (Post 827822)
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

Saturn 2010-09-28 19:00

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.

James_Littler 2010-09-29 10:19

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by Saturn (Post 827505)
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


lemmyslender 2010-09-29 12:09

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?

zimon 2010-09-29 12:23

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.

debernardis 2010-09-29 13:08

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by lemmyslender (Post 829182)
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.

hawaii 2010-09-29 14:47

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.

debernardis 2010-09-29 16:11

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 :)

lemmyslender 2010-09-29 16:32

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.

slender 2010-09-29 19:20

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