Answer the question
In order to leave comments, you need to log in
Should I set up swap on a VPS?
There is an opinion on the net that the swap file negatively affects solid state drives. Is this really the case and is it worth setting up swap on a VPS with an SSD?
Answer the question
In order to leave comments, you need to log in
There is an opinion on the net that the swap file negatively affects solid state drives.Quite right, there are such opinions on the net.
swap file negatively affects solid state drivesComplete nonsense, from illiterate idiots.
Is this really the case and is it worth setting up swap on a VPS with an SSD?Yes, it is, yes it is worth doing a swap on an SSD.
The network is also advised to jump from the roof. Advice from vendors is about such a swap, do from 1/2 to 2.5 the size of RAM. Utilities to help you with occupied memory. Disabling it is not worth it at all, it disrupts the system. As a last resort, take it out to a file. Further, modern ssds are very reliable, so it's better to optimize your applications for io, however, there are applications that make a lot of records. And the most important advice is to leave about 20% of the empty space, in Enterprise solutions these cells are hidden but in the wings and in consumers it is not so developed.
Load dependent.
At a low load, it just doesn't make sense.
And with a large one, it is desirable to add RAM, if you still need adequate performance.
It is not forbidden to create a swap file on our VPS.
moreover, it can save you when you run out of RAM.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question