Recommended Performance Tweaks

For the best performance, tweak your KVM VPS with the following commands:

For an official ISO Install:
echo 0 > /sys/block/sda/queue/rq_affinity
echo noop > /sys/block/sda/queue/scheduler
echo "echo 0 > /sys/block/sda/queue/rq_affinity" >> /etc/rc.local
echo "echo noop > /sys/block/sda/queue/scheduler" >> /etc/rc.local

To potentially improve network performance:
echo "net.core.rmem_max=16777216" >> /etc/sysctl.conf
echo "net.core.wmem_max=16777216" >> /etc/sysctl.conf
echo "net.ipv4.tcp_rmem=4096 87380 16777216" >> /etc/sysctl.conf
echo "net.ipv4.tcp_wmem=4096 65536 16777216" >> /etc/sysctl.conf
sysctl -p

Extra Lines:
You can also add the noatime and nobarrier (barrier=0 for ext filesystems) options to your mounting setup (/etc/fstab). To remount without rebooting, use the -oremount option with the mount command.
  • Email, SSL
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Apache Optimization

The default Apache settings that cPanel sets upon install are definitely something that can be...

How To Install Kloxo MR on Your VPS

Kloxo has become almost a dead project by now. There are so many bugs present in kloxo and no one...

Install SolusVM OS Template

Option 1 - Install a Pre-made SolusVM OS Template: For a list of available OS templates, please...