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)

TiagoTiago 2010-09-22 05:12

Re: [announce] swappolube to lubricate your gui
 
i uninstalled and didn't notice any change it the performance (no overclock and no voltage changes here)

thebtman 2010-09-22 05:17

Re: [announce] swappolube to lubricate your gui
 
Brilliant - definitely works....much faster.

Noticed in particular its much quicker to go into messages and phone.

Thanks...great mod :D

ndi 2010-09-22 11:58

Re: [announce] swappolube to lubricate your gui
 
Tried the single commands and the only one that made a noticeable difference was the swappiness. I didn't expect much from the others and skipped the laptop mode and the TCP settings, as they seem to be not such a hot idea.

Frankly, once overclocked and swappled less it feels very fluent and nice. Actually, things that seemed like nice before started to annoy me, like image scrolling.

Oh, and, tracker.cfg tweaks. We need better tracker settings/code. Index on change is a BAD idea for recording. And imaging software. And other stuff. Delayed indexing.

slender 2010-09-22 12:18

Re: [announce] swappolube to lubricate your gui
 
btw.
http://rudd-o.com/en/linux-and-free-...ow-to-fix-that

Meanwhile as you test remember that we are dealing with mobile device with low ram. Not desktop machine.

Saturn 2010-09-22 13:45

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

Originally Posted by debernardis (Post 823018)
@Saturn: great work, mate!
Would you mind adding /proc/sys/vm/vfs_cache_pressure, while we're in experimenting? Default value is 100. It's been researched for the N8x0 by brontide and co. :)

I'll see if it fits..

Quote:

EDIT: on my machine the /etc/event.d/tuning script doesn't get created when I push the save button or when I close the python app.
could you check the timestamps for the two files:
Code:

ls -al /etc/event.d/tuning
ls -al /home/user/swappolube_config

the second one is a temp file created before replacing the tuning.

I would also execute the GUI from xterm to see for messages:
Code:

/opt/swappolube/swappolube.py
Quote:

Also, one useful thing would be having at least two pre-defined configs, i.e. the the default one and the Simon-kaze.daniel-alltimeswerout one, just to start.
I could add two buttons that set the gui in two default set of values, then you will need to press the create settings to update. If you post the two configs I will do that.

Saturn 2010-09-22 18:46

Re: [announce] swappolube to lubricate your gui
 
3 Attachment(s)
Here is an updated version.

changelog:
* Added a selection in the menu to delete the tuning file.
* added default values (what I see in the first post) for when the gui opens.
* added some better messages when the file is created and copied.

I could upload it to extras-devel but cannot decide if it is a good idea.

TiagoTiago 2010-09-22 19:10

Re: [announce] swappolube to lubricate your gui
 
how do i revert the values when using that GUI? just unmarking the enable checkbox would revert to the original values?

caco3 2010-09-22 19:39

Re: [announce] swappolube to lubricate your gui
 
Version 0.1.0-6 does not work for me.
I installed it for first time.
Run it with default parameters, sais "Please wait. Update in progress" but nothing more.
Checking the terminal output, it gives an error on line 162, because a file is not existing.
You can fix it by putting line 162 into a try/except statement:
Quote:

try:
os.remove( Path + ConfigFile )
except:
pass
Afterwards it seems to work, how ever I had to reboot first.
If a reboot really is needed, it should be mentioned!

Beside of that, it looks cool.
GUI for sure could need some umprovement, but does its job.
A help with description of parameters and their default values would be usefull.
Also some suggested values would help.

Saturn 2010-09-22 20:04

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

Originally Posted by caco3 (Post 823767)
Version 0.1.0-6 does not work for me.
I installed it for first time.
Run it with default parameters, sais "Please wait. Update in progress" but nothing more.
Checking the terminal output, it gives an error on line 162, because a file is not existing.
You can fix it by putting line 162 into a try/except statement:


Afterwards it seems to work, how ever I had to reboot first.
If a reboot really is needed, it should be mentioned!

Beside of that, it looks cool.
GUI for sure could need some umprovement, but does its job.
A help with description of parameters and their default values would be usefull.
Also some suggested values would help.

Do the following and see what is/has the file you have created.
Code:

cat /etc/event.d/tuning
ls -al /etc/event.d/tuning

If you need help post here.

EDIT: LOL by the time I replied you edited yours with a fix. It's a good idea/practice.
I will upload soon a new version with your fix.

Saturn 2010-09-22 20:31

Re: [announce] swappolube to lubricate your gui
 
1 Attachment(s)
Here is the update with the correction for the case described by caco3 above.


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

vBulletin® Version 3.8.8