- Joined
- May 3, 2016
- Messages
- 1,622
- Points
- 83
![Best-Performance-with-Linux-SSD.jpg](/data/attachments/0/493-4a83a8a99c36beb159eea1fe01d3ffff.jpg)
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=&]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=&]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]
Code:
vm.swappiness=1