KVM Tweaks for Debian and Ubuntu הדפסה

  • KVM, Tweaks, Ubuntu, Debian, How-To
  • 6

Introduction 

In this article, we will explain to you KVM tweaks for Debian and Ubuntu. So we will help you to get the best performance for your VPS by following this article. Please perform the below changes to ensure you are able to achieve the best disk I/O on your Debian or Ubuntu KVM VPS.

Step 1 - Install Sysfsutilis

  • Install the sysfsutils package:
apt -y install sysfsutils

Step 2 - Change block scheduler

  • Change the block scheduler to deadline:
echo "block/sda/queue/scheduler = deadline" >> /etc/sysfs.conf

Step 3 - Edit fstab

  • Now open fstab file:
nano /etc/fstab

  • And add the following options to the root partition in /etc/fstab:
noatime,discard,barrier=0

Conclusion

You have successfully tweaked your Debian and Ubuntu KVM VPS. This should boost your disk I/O speed 4-5 times more than the default installation allows.


?האם התשובה שקיבלתם הייתה מועילה

« חזרה