Désactiver le swap
update-rc.d -f dphys-swapfile remove
mettre les fichiers de log en RAM
vi /etc/fstab
tmpfs /tmp tmpfs defaults,noatime,mode=1777,size=10m 0 0 tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0 tmpfs /var/tmp tmpfs defaults,noatime,mode=1777,size=10m 0 0 tmpfs /var/log tmpfs defaults,noatime,mode=0755,size=10m 0 0