Soft'N'Design Software
/
projects
/
debian6500.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
minimize swap usage
[debian6500.git]
/
master
/
etc
/
sysctl.d
/
swap.conf
diff --git a/master/etc/sysctl.d/swap.conf
b/master/etc/sysctl.d/swap.conf
new file mode 100644
(file)
index 0000000..
c999d40
--- /dev/null
+++ b/
master/etc/sysctl.d/swap.conf
@@ -0,0
+1,4
@@
+# Custom settings
+# minimize the swapping, still swap partition is necessary for hibernation
+vm.swappiness = 1
+vm.vfs_cache_pressure = 50