Network optimization Print

  • #Networkoptimization, #kvm
  • 0

SolusVM sets the network card as Realtek, which is limited to 100Mbit, you should switch to Intel PRO/1000 if running Windows and Virtio on most Linux distributions.
Additionally you can run the following commands to make a few more tweaks in Linux:


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


Then to apply changes, run the following command:
sysctl -p 


We recommend that you use the following DNS Servers from Google:

IPv4:
8.8.8.8
8.8.4.4

IPv6:
2001:4860:4860::8888
2001:4860:4860::8844

  

Optimizing Disk I/O:

soulsvm  KVM setup of Linux usually doesn't include any tweaks, so here are some tweaks to improve I/O performance; as soon as you get your VPS you should go into SolusVM and under Settings change the disk driver from IDE to Virtio, you'll be required to reboot for changes to take effect.

Inside Linux you can also run the following commands to improve I/O performance:

echo 0 > /sys/block/vda/queue/rotational

echo 0 > /sys/block/vda/queue/rq_affinity

echo noop > /sys/block/vda/queue/scheduler

echo "echo 0 > /sys/block/vda/queue/rotational" >> /etc/rc.local

echo "echo 0 > /sys/block/vda/queue/rq_affinity" >> /etc/rc.local

echo "echo noop > /sys/block/vda/queue/scheduler" >> /etc/rc.local

echo 'vm.swappiness=5' >> /etc/sysctl.conf

echo 'vm.vfs_cache_pressure=50' >> /etc/sysctl.conf



Then to apply changes, run the following command:
sysctl -p


Was this answer helpful?

« Back

Powered by WHMCompleteSolution