You are not logged in.

#1 2016-11-25 10:37:39

kama
Member
Registered: 2016-11-25
Posts: 10

SSD optimization

Hello to everyone.

I was looking for an advice how to configure my system to work properly with Crucial BX200. I've read that:

https://wiki.debian.org/SSDOptimization wrote:

The "discard" options is not needed if your SSD has enough overprovisioning (spare space) or you leave (unpartitioned) free space on the SSD.

I've left 10GB of unpartitioned disc space. Anyway everyone seems to add that option to their configurations. Is it needed in that case?

Another problem is that /etc/lvm/lvm.conf and /etc/crypttab don't exist in my system and https://wiki.archlinux.org/index.php/Solid_State_Drives tells me to edit them first. Where should I look for those files?

The last question is. How to check if my SSD firmware is older than the newest provided on the Crucial site?

Thanks in advance,
kama

Offline

#2 2016-11-26 10:56:05

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,703

Re: SSD optimization

kama wrote:

The last question is. How to check if my SSD firmware is older than the newest provided on the Crucial site?

# hdparm -I /dev/sda

If the ssd -> sda is

Offline

#3 2016-11-26 11:52:14

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SSD optimization

kama wrote:

/etc/lvm/lvm.conf and /etc/crypttab don't exist in my system

That means that you are almost certainly not using LVM & LUKS, check your /etc/fstab for any "/dev/mapper" lines, these will be absent in a non-LVM setup.

Basically, don't worry about it, the advice does not apply to your system.

Personally, I would advise against applying discard as an option in /etc/fstab

In BunsenLabs, a systemd .timer can be enabled to apply `fstrim -a` automatically every week by running:

sudo apt install util-linux
sudo cp /usr/share/doc/util-linux/examples/fstrim.{service,timer} /etc/systemd/system
sudo systemctl enable fstrim.timer

Otherwise, for a modern SSD just treat the device like a normal hard drive. There is plenty of "advice" on the interweb relating to minimising writes to extend longevity but this has been effectively obsoleted by modern production techniques and can now be safely ignored -- I even use swap on my solid state devices smile

Offline

#4 2016-11-26 12:44:35

kama
Member
Registered: 2016-11-25
Posts: 10

Re: SSD optimization

So it looks like there's more fuss around it than it really deserves. Thanks wink

Offline

#5 2016-11-27 00:11:26

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: SSD optimization

kama wrote:

So it looks like there's more fuss around it than it really deserves.

was.
most of the "fuss" is from a time a few years back when it was justified.
always look at the date when reading stuff on the internet.

Offline

Board footer

Powered by FluxBB