Edit /etc/modprobe.d/aliases and change the line:
alias net-pf-10 ipv6
alias net-pf-10 off #ipv6
2. Run boot processes in parallel
Edit /etc/init.d/rc and change:
3. Aliasing hostname to localhost
Modify /etc/hosts‘s first two line as follows:
127.0.0.1 localhost yourhost
where yourhost, is your chosen hostname. This will fasten up applications load.
Preload is an adaptive readahead daemon. It monitors applications that users run, and by analyzing this data, predicts what applications users might run, and fetches those binaries and their dependencies into memory for faster startup times.
sudo apt-get install preload
Let’s use swap less frequent. It will faster switching between applications.
sudo sysctl vm.swappiness=10
And edit /etc/sysctl.conf and add the line at the end of the file to set it automatically at boot time:
7. Profile grub
Grub cap profile your startup, it’s a kind of index on file read at boottime, so after the first time (when it builds the index) it will access those files faster.
Edit /boot/grub/menu.lst and place “profile” at every line’s end witch is starting with “kernel /vlminuz…”
UPDATE: remove if after the next boot.
8. Speed up your HDD
Install hdparm with
sudo apt-get install hdparm
and enable 32 bit IO and UDMA if it wasn’t before with:
hdparm -c3 -d1 /dev/yourdevice
where /dev/yourdevice is your HDD.
And to make it persistent you also need to edit /etc/hdparm.conf, and make it run at every startup, so you have to enable the “Hard disk tuning (hdparm)” service with System->Administration->Services.
9. Speedup Broadband Internet
You have to open your /etc/sysctl.conf file back up again.
scroll to the bottom and just add these lines to it.
net.core.rmem_default = 524288
net.core.rmem_max = 524288
net.core.wmem_default = 524288
net.core.wmem_max = 524288
net.ipv4.tcp_wmem = 4096 87380 524288
net.ipv4.tcp_rmem = 4096 87380 524288
net.ipv4.tcp_mem = 524288 524288 524288
net.ipv4.tcp_rfc1337 = 1
net.ipv4.ip_no_pmtu_disc = 0net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1net.ipv4.tcp_ecn = 0
net.ipv4.route.flush = 1
or the sysctl to take effect.
sudo sysctl -p