User Tools

Site Tools


nas_on_debian

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nas_on_debian [2017/08/13 06:54] herwarthnas_on_debian [2017/08/15 18:08] (current) herwarth
Line 132: Line 132:
   systemctl daemon-reload   systemctl daemon-reload
   systemctl enable network-wait-online   systemctl enable network-wait-online
 +====Tuning==== 
 +===Swappiness=== 
 +<code - /etc/sysctl.d/10-local.conf> 
 +vm.swappiness=1 
 +</code> 
 +===SSD kernel scheduler=== 
 +<code - /etc/udev/rules.d/60-ssd-scheduler.rules> 
 +# set deadline scheduler for non-rotating disks 
 +ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline" 
 +</code>
 ====S.M.A.R.T monitoring==== ====S.M.A.R.T monitoring====
   apt install smartmontools   apt install smartmontools
Line 311: Line 320:
   systemctl restart docker   systemctl restart docker
  
 +  echo configfs >/etc/modules-load.d/configfs.conf
 +  systemctl status sys-kernel-config.mount
  
 {{tag>linux}} {{tag>linux}}
nas_on_debian.1502607274.txt.gz · Last modified: by herwarth