Editing Swappolube
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 17: | Line 17: | ||
===Dependencies=== | ===Dependencies=== | ||
- | The editor depends on: | + | The editor depends (not verified yet) on: |
* python2.5 | * python2.5 | ||
Line 27: | Line 27: | ||
When the application loads it reads and displays the current configuration and the options already used by the system and displays them in the appropriate sections of the GUI. | When the application loads it reads and displays the current configuration and the options already used by the system and displays them in the appropriate sections of the GUI. | ||
+ | |||
+ | '''FIXME: Add new screenshots for version 0.4-1''' | ||
===Main configuration=== | ===Main configuration=== | ||
- | * The first row of checkboxes is to enable the setting. | + | * The first row of checkboxes is to enable the setting. If unchecked it will not write anything for that option. |
- | + | ||
- | + | ||
* The second row can offer either string entry or a checkbox. | * The second row can offer either string entry or a checkbox. | ||
- | ** String: | + | ** String: integer value up to 4 digits. |
- | ** Checkbox: if checked will | + | ** Checkbox: if checked will give a "1", if not checked it's a "0" , i.e. True/False. |
- | + | ||
- | [[Image:swappolubeMain.png| | + | [[Image:swappolubeMain.png|600px]] |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
====Current Button==== | ====Current Button==== | ||
Line 58: | Line 48: | ||
[[Image:swappolubeMain_proposed.png|300px]] | [[Image:swappolubeMain_proposed.png|300px]] | ||
- | |||
- | |||
- | |||
- | |||
===Drop down menu=== | ===Drop down menu=== | ||
- | The drop down menu | + | The drop down menu will offer the following options: |
- | * | + | * Delete Tuning File |
- | * | + | * Restore Default Values |
- | * | + | * About |
- | + | * Quit | |
- | * | + | |
- | [[Image:swappolubeDropdown.png| | + | [[Image:swappolubeDropdown.png|600px]] |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
===Popup Menu=== | ===Popup Menu=== | ||
Line 101: | Line 77: | ||
===About=== | ===About=== | ||
- | In the about window one can find the version of the application running as well as buttons to connect to additional documentation | + | In the about window one can find the version of the application running as well as buttons to connect to additional documentation. |
- | + | ||
- | [[Image:swappolube_about1.png| | + | [[Image:swappolube_about1.png|600px]] |
- | [[Image:swappolube_about2.png| | + | |
+ | In addition this window supports rotation. | ||
+ | |||
+ | [[Image:swappolube_about2.png|360px]] | ||
==Explanation of options== | ==Explanation of options== | ||
Line 127: | Line 105: | ||
===Laptop Mode=== | ===Laptop Mode=== | ||
- | * Description: When the | + | * Description: laptop_mode is a knob that controls "laptop mode". When the knob is set, any physical disk I/O (that might have caused the hard disk to spin up, see <code>/proc/sys/vm/block_dump</code>) causes Linux to flush all dirty blocks. The result of this is that after a disk has spun down, it will not be spun up anymore to write dirty blocks, because those blocks had already been written immediately after the most recent read operation. The value of the laptop_mode knob determines the time between the occurrence of disk I/O and when the flush is triggered. A sensible value for the knob is 5 seconds. Setting the knob to 0 disables laptop mode. |
* Default: "0" | * Default: "0" | ||
* Suggested: "1" | * Suggested: "1" | ||
Line 134: | Line 112: | ||
===oom_kill_allocating_task=== | ===oom_kill_allocating_task=== | ||
- | * Description: This enables or disables killing the OOM-triggering task in out-of-memory situations. If this is set to zero, the OOM killer will scan through the entire tasklist and select a task based on heuristics to kill. This normally selects a rogue memory-hogging task that frees up a large amount of memory when killed. If this is set to non-zero, the OOM killer simply kills the task that triggered the out-of-memory condition. This avoids the expensive tasklist scan | + | * Description: This enables or disables killing the OOM-triggering task in out-of-memory situations. If this is set to zero, the OOM killer will scan through the entire tasklist and select a task based on heuristics to kill. This normally selects a rogue memory-hogging task that frees up a large amount of memory when killed. If this is set to non-zero, the OOM killer simply kills the task that triggered the out-of-memory condition. This avoids the expensive tasklist scan. If panic_on_oom is selected, it takes precedence over whatever value is used in oom_kill_allocating_task. Taken from: [http://www.linuxinsight.com/proc_sys_vm_oom_kill_allocating_task.html] |
* Default: "0" | * Default: "0" | ||
* Suggested: "1" | * Suggested: "1" | ||
Line 169: | Line 147: | ||
===tcp_timestamps=== | ===tcp_timestamps=== | ||
- | * Description: Enable timestamps as defined in RFC1323. [http://www.linuxinsight.com/proc_sys_net_ipv4_tcp_timestamps.html] | + | * Description: Enable timestamps as defined in RFC1323. [http://www.linuxinsight.com/proc_sys_net_ipv4_tcp_timestamps.html] |
* Default: "1" | * Default: "1" | ||
* Suggested: "0" | * Suggested: "0" | ||
Line 190: | Line 168: | ||
==Versions== | ==Versions== | ||
- | === | + | ===0.4-1 (current)=== |
====Changelog==== | ====Changelog==== | ||
- | * | + | |
+ | * Restructure of the GUI to have a scrollable list and the buttons on the right. | ||
+ | * Added better information messages on several actions. | ||
====Issues==== | ====Issues==== | ||
* none known/reported. | * none known/reported. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
===0.3-4 === | ===0.3-4 === | ||
Line 314: | Line 253: | ||
* Transformed several fields from boolean to strings. | * Transformed several fields from boolean to strings. | ||
- | ''NOTE:'' For older versions please see the changelogs in the [https://garage.maemo.org/projects/swappolube/ project's garage page] | + | ''NOTE:'' For older versions please see the changelogs in the [https://garage.maemo.org/projects/swappolube/|project's garage page] |
==Future Development== | ==Future Development== | ||
- | ''Note'': Just | + | ''Note'': Just thoughts, not confirmed. |
- | * | + | * Read the current configuration stored in the tuning script and automatically display it. |
- | * | + | * Provide a button to show the default configuration. |
- | * | + | * Store/Read the configuration from a file (easy for sharing). |
==Swappolube-nogui== | ==Swappolube-nogui== |
Learn more about Contributing to the wiki.