CKVM Performance Tweaks

For the best performance, tweak your SSD-Cached 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.
  • 1 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Related Articles

Operating System Templates and ISOs

The following operating systems are available to install on our VPSs through the SolusVM CP.Â...

Missing Swap

SolusVM KVM templates have a tendency to not set up swap correctly. Please enter the following in...

Cannot Allocate Memory Error

If you are trying to run an update on your KVM VPS and see the "cannot allocate memory" error,...

How do I order more bandwidth?

To order extra bandwidth, log into the Client Area. Go to Services > View Available Addons....

cPanel Reverts to Trial Mode

If your cPanel install on a KVM VPS reverts to trial mode, please see this...

Powered by WHMCompleteSolution