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 Users Found This Useful
Was this answer helpful?

Related Articles

KVM VPS Information / Installation Guide

KVM VPS clients have two ways to install their VPS OS. Log into the SolusVM control panel and...

What is the difference between KVM and OpenVZ?

KVM is true virtualization where the VPS operates as its own server, independently of the host...

What is the difference between SSD and SSD-Cached?

Our SSD VPSs are built with hardware RAID10 arrays of pure SSD storage. They are some of the...

Missing Swap

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

How do I install the CentOS cPanel ISO for KVM?

To install the CentOS cPanel ISO on a KVM VPS: Log into the SolusVM CP. Click CDRom. Mount the...

Powered by WHMCompleteSolution