Answer the question
In order to leave comments, you need to log in
How to properly configure ext4 for SSD?
Greetings!
Guys, help me set up a file system for SSD.
You need to install openSuse as a second operating system on a laptop. For this, an SSD was purchased. There are 200 GB available, 5-7 of which will go under swap.
As a file system, I decided to use ext4
As far as I understand, to prepare a file system for SSD, it is enough to specify noatime and discard in the mount options. Yast gives the following dialog for the FS:
Answer the question
In order to leave comments, you need to log in
discard
I do not recommend, performance will sag very much. It is enough to run fstrim periodically (in Ubuntu it runs once a week by default, you need to look in OpenSUSE).
If the SSD is not older than 5-7 years, then you don’t have to worry about the parameters, you still won’t be able to kill the cells by overwriting in the next 10 years with normal use (unless you write volumes equal to the volume of the SSD every day, then for a year- two can be killed). noatime
will be more than enough.
Ideally, it would be better to do without a swap or keep it on the HDD.
https://klondike-studio.ru/blog/raid-ssd-trim/?sph...
I wrote here
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question