Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
linux:tips [2009/07/23 15:48]
193.164.137.40 Limit the CPU usage of an application (process) - cpulimit
linux:tips [2013/09/17 22:01]
2a01:260:4121:1:1e6f:65ff:fe38:dc56
Line 118: Line 118:
  
 This will cleanly unmount drives, terminate processes and nicely reboot your machine. This will cleanly unmount drives, terminate processes and nicely reboot your machine.
 +
 +<note important>**If you suspect memory corruption killed your kernel, be careful with Sync option. It may flush corrupted disk buffers over your filesystem and cause more headache after reboot.**</note>
  
 **also for more detailed info see:** [[http://en.wikipedia.org/wiki/Magic_SysRq_key]] **also for more detailed info see:** [[http://en.wikipedia.org/wiki/Magic_SysRq_key]]
Line 300: Line 302:
    * If you want kernel to swap out more process memory and thus cache more file contents increase the value. Otherwise, if you would like kernel to swap less decrease it.    * If you want kernel to swap out more process memory and thus cache more file contents increase the value. Otherwise, if you would like kernel to swap less decrease it.
    * More info [[http://lwn.net/Articles/83588/|2.6 swapping behavior]]    * More info [[http://lwn.net/Articles/83588/|2.6 swapping behavior]]
 +
 +Example:
 +   * ''swappiness=0'' tells the kernel to avoid swapping processes out of physical memory for as long as possible
 +   * ''swappiness=100'' tells the kernel to aggressively swap processes out of physical memory and move them to swap cache
 +   * A value of ''swappiness=10'' is recommended, but feel free to experiment.
 +
  
 ===== Getting rid of that obsolete delay after password authentication ===== ===== Getting rid of that obsolete delay after password authentication =====
linux/tips.txt ยท Last modified: 2015/05/08 12:09 by zagi
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready