HOWTO : Performance Tuning on Kali Linux 1.1.0

Kali Linux 1.1.0 is released recently. It is much faster than before. However, we can tune it for better performance too. Here we go!



Step 1 :



nano /etc/sysctl.conf



Append the following to the sysctl.conf :







sysctl -p



Step 2 :



nano /etc/rc.local



Insert the following before "exit 0" :



echo 1024 > /sys/block/sda/queue/read_ahead_kb

echo 1024 > /sys/block/sda/queue/nr_requests

echo deadline > /sys/block/sda/queue/scheduler




If your device is not sda, please change it accordingly.



Step 3 :



It is very danger for this step. Make sure you do NOT have any typing error; otherwise, you cannot boot your Kali up.



nano /etc/fstab



Locate "ext4" and add the following before "errors=remount-ro" :



noatime,nodiratime,norelatime



If you are using LVM, it will look like :



/dev/mapper/kali-root / ext4 noatime,nodiratime,norelatime,errors=remount-ro 0 1



After that, run :



mount -a

mount -o remount /




If no error message, then reboot. If there is any error message, double check if you have any typing error or not.



That's all! See you.