activating trim functionality for SSD

activating trim functionality for SSD

Postby raidsm » Sun Dec 04, 2016 12:15 am

Hi!

I'm about to put a ssd in my nsw2... mainly because it will now be silent... I hate hard drive spinning sound!

Is there a way to activate trim or it doesn't matter? Someone have a clue?
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

Re: activating trim functionality for SSD

Postby fvdw » Sun Dec 04, 2016 9:01 am

As far as I know "trim" is not supported on ext3 file system, you will need ext4. That is not a problem our newest kernel support ext4. If noise is your biggest concern I would not bother to much about trim. The speed limiting factor to read and write data from the disk will be network interface, cpu and amount of ram and not the disk itself.
If using an ssd in a nas is a good idea is another question. Ssd have limited number of write cycles, so if a lot of writing is done lifetime may be short. Because the ns2 has only 256MB ram and we use a partition on the disk as swap to enlarge the ram capacity. If swap is used a lot then lifetime if ssd will be affected. Of course we could disable swap but that will cause limitations in using the nas as it can run less tasks simulatuously due to smaller available system memory. But if you do not use a lot of task simulatunuously and only one user is using it at same time.
Suggest you do some reading on the internet on experiences with ssd's in a nas and if that fits with your situation.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: activating trim functionality for SSD

Postby Jocko » Sun Dec 04, 2016 9:55 am

I confirm fvdw's post

In addition with his post, you need another partition table to do it as you must keep a free space on the disk (otherwise you will getd some drastically low I/O speed :shocked )
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: activating trim functionality for SSD

Postby raidsm » Fri Dec 09, 2016 6:41 pm

thanks for all your inputs. I know TRIM is not about speed but more about provisionning/garbage collection. If ext4 is used in a future kernel, I will be able to activate the "discard" feature when mounting the disk...

My NS2 is not about storing a lot of data as use it to access my Time Capsule and for services like dlna , WordPress , webdav , transmission and so on... THats why I keep is as it is fanless. I just bought a Asustor 3102t and I consider returning it! The fun I have working on the small NS2 and beiing here in this forum is far superior of what the asustor provide.

Keep up the good work guy! I may try this weekend the 4.6.6 kernel... Should I?
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 10 guests