How to make your VPS with SSD faster

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
Best-Performance-with-Linux-SSD.jpg[FONT=&amp]

When you want to buy a VPS, most of them use SSD, because a SSD have a better capacity for reading/writing than a Hard Drive and it also have a response time up to 40x faster than HDD.

[/FONT]
[FONT=&amp]But there are some small configuration to edit to get the best performances with your SSD as linux systems are not totally optimized for them.
[/FONT]
[FONT=&amp]So we will see how to speed up your VPS and how to configure debian/ubuntu to use a SSD properly. For a new install of a server the rules are :

[/FONT]

  • Use a recent linux system : Kernel 3.60+
  • Keep some free space on a disk (5-15%)
  • Use ext4
  • in /etc/fstab add the noatime setting


Code:
# / was on /dev/sda1 during installation
UUID=33XXX-XXXX / ext4 noatime,errors=remount-ro 0 1
  • Limit the swap usage :
Code:
cat /proc/sys/vm/swappiness
[FONT=&amp]The system should answer 60. So you just have to add the line below in /etc/sysctl.conf
[/FONT]
Code:
vm.swappiness=1
[FONT=&amp]Then reboot your system. And it's done your VPS should already be faster[/FONT]
 

Rackend

New member
Registered
Joined
Aug 31, 2016
Messages
8
Points
0
Hello, what can you say about OS choice best suitable for ssd? Are there any distros best optimized for SSD usage?
 

hipporeview

New member
Registered
Joined
Sep 20, 2016
Messages
6
Points
0
Thank you for your sharing. I hope this will help me to increase the load speed of my website.
 
Older Threads
Replies
5
Views
8,408
Replies
1
Views
2,452
Replies
0
Views
2,155
Newer Threads
Recommended Threads
Replies
7
Views
3,948
Replies
6
Views
2,071
Replies
1
Views
1,226

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top