Swappolube
(→Main configuration) |
(→Popup Menu) |
||
Line 47: | Line 47: | ||
===Popup Menu=== | ===Popup Menu=== | ||
[[Image:fixme|600px]] | [[Image:fixme|600px]] | ||
+ | |||
+ | ===Credits=== | ||
+ | [[Image:swappolube_credits.png|600px]] | ||
FIXME: add functionality | FIXME: add functionality |
Revision as of 16:17, 26 September 2010
The SWAPPOLUBE Editor is a graphical user interface to the configuration of several parameters of the N900 kernel with the aim to make it faster.
It has been created with PyQT (PyQt v4.7.5 for Python v2.6) and the functionality is provided by Python.
The package changes a number of kernel parameters when installed and adds a script to event.d to make the changes persistent.
The issue has been discussed in two talk.maemo.org threads: "How to set swappiness" and "Swappolube to lubricate your gui".
Contents |
Installation
The application can be installed directly by the Application Manager (HAM) and the Extras repositories. (Check here for its status)
You can also find the latest version in the garage project page.
Dependencies
The editor depends (not verified yet) at:
- python2.5
- python2.5-qt4-gui
- python2.5-qt4-core
- python2.5-qt4-maemo5
Usage
When it starts it loads a recommended configuration and the options already will be shown in the appropriate sections of the GUI.
FIXME: add explanations
Main configuration
- 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.
See Current
See Proposed
Drop down menu
Popup Menu
Credits
FIXME: add functionality
Explanation of options
- Swappiness
echo "30" > /proc/sys/vm/swappiness
-
echo "0" > /proc/sys/vm/page-cluster
-
echo "1" > /proc/sys/vm/laptop_mode
-
echo "1" > /proc/sys/vm/oom_kill_allocating_task
-
echo "0" > /proc/sys/vm/dirty_expire_centisecs
-
echo "0" > /proc/sys/vm/dirty_writeback_centisecs
-
echo "60" > /proc/sys/vm/dirty_background_ratio
-
echo "95" > /proc/sys/vm/dirty_ratio
-
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
-
echo "1" > /proc/sys/net/ipv4/tcp_no_metrics_save
- VFS Cache
Versions:
v.0.1.0-8 (current)
- changelog:
- fixme
- issues:
- none known/reported.
NOTE: For older versions please see the changelogs in the garage page
Future Development
- Read the current configuration stored in the tuning script and automatically display it.
- Decide an appropriate name.
Swappolube-nogui
For those who don't want to tinker too much with kernel parameters, the package swappolube-nogui provides a fixed tuning profile "known to work". Kernel parameters are modified at installation time, and the modification persist at the next boots. Package removal reverts parameters to the default values. The swappolube-nogui package conflicts with the swappolube package because both use the same script /etc/event.d/tuning for persistence. The common application managers should prompt for removal of one when trying to install the other.
License
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 only.
Disclaimer
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.