Looking to Build Your Very First unRAID Server?
Oh boy, I'm not sure I fully understand the issues with garbage collection/trim on SSD's but I'll write it how I understand it. It may be correct or completely off base but I'm sure somebody smarter than me will confirm or deny this info. So with that, here we go...

SSD's can only write to an erased block. Since files on drives are really only deleted from the partition tables but the data remains in the physical location on the drive, those blocks aren't erased when you delete a file, on mechanical or SSDs.

Since an SSD can only write to an erased block, eventually, you will have used up all the blocks at some point of writing data to the drive. In order to write data to the drive after that, the SSD must find the block it is going to write data to, move the contents that isn't supposed to be deleted to the buffer, erase the block, rewrite the data that isn't supposed to be deleted back to the block and then write the new data to the erased portion, all of which takes time and causes a performance hit.

Garbage collection is a function in the firmware of SSD's that erases these blocks once the data is removed. Most will only do it once the drive detects all the blocks have been written to and the drive is idle. Some OS's have "trim" support which helps tell the SSD what blocks to erase and when to do it to help keep the drive performing well.

Mechanical drives can change a block on the fly regardless of what it's set to currently so they don't have performance problems as a result of writing to areas already written to or that aren't erased. So no, they don't have the risk of performance loss like the SSD's. However, keep in mind, many people are using SSD's for their cache drives with great success and there are recommended ones posted on the unRaid forums (as well as ones to stay away from).

That's how I understand it, some of this may even be accurate!!!!

HTPC 1 - AMD A8-3870K, ASRock A75M, Silverstone ML03B, Kingston HyperX 4GB DDR3 1866, Crucial M4 64GB SSD
HTPC 2 - HP Stream Mini, 6GB Ram
unRAID 6 Server - Intel Celeron G1610, 20TB Storage

Reply


Messages In This Thread
[No subject] - by Beer40oz - 2011-09-12, 15:57
[No subject] - by eskro - 2011-09-12, 23:04
[No subject] - by TugboatBill - 2011-09-12, 23:26
[No subject] - by eskro - 2011-09-12, 23:35
[No subject] - by aptalca - 2011-09-13, 00:56
[No subject] - by eskro - 2011-09-13, 01:01
[No subject] - by eskro - 2011-09-13, 04:21
[No subject] - by EndiSky - 2011-09-13, 08:31
[No subject] - by jason.shaffer - 2011-09-20, 02:35
[No subject] - by eskro - 2011-09-20, 04:02
[No subject] - by Devon - 2011-09-22, 02:11
[No subject] - by eskro - 2011-09-22, 02:14
[No subject] - by scotepi - 2011-09-27, 01:19
[No subject] - by Geran - 2011-09-27, 21:24
[No subject] - by eskro - 2011-09-27, 21:57
[No subject] - by Geran - 2011-09-27, 22:00
[No subject] - by eskro - 2011-09-27, 22:04
[No subject] - by Geran - 2011-09-27, 22:09
[No subject] - by eskro - 2011-09-27, 22:10
[No subject] - by jasmill1969 - 2011-09-27, 22:37
[No subject] - by mr.sparkle - 2011-09-27, 22:44
[No subject] - by jasmill1969 - 2011-09-27, 23:31
[No subject] - by jason.shaffer - 2011-09-28, 00:32
[No subject] - by Fantastic Fox - 2011-09-28, 01:13
[No subject] - by scotepi - 2011-09-29, 03:53
[No subject] - by stiggs - 2011-09-29, 17:12
[No subject] - by Geran - 2011-09-29, 22:50
[No subject] - by stiggs - 2011-09-29, 23:37
[No subject] - by FreakinAye - 2011-09-30, 18:38
[No subject] - by seand - 2011-09-30, 18:52
[No subject] - by boognish43 - 2011-10-05, 23:05
[No subject] - by poofyhairguy - 2011-10-05, 23:28
[No subject] - by boognish43 - 2011-10-05, 23:46
[No subject] - by poofyhairguy - 2011-10-05, 23:58
[No subject] - by boognish43 - 2011-10-06, 17:16
[No subject] - by wsume99 - 2011-10-06, 17:48
[No subject] - by fluentdesigns - 2011-10-06, 18:05
[No subject] - by boognish43 - 2011-10-06, 18:39
[No subject] - by mprassel - 2011-10-06, 21:06
[No subject] - by wsume99 - 2011-10-06, 21:56
[No subject] - by boognish43 - 2011-10-07, 04:46
[No subject] - by scotepi - 2011-10-07, 06:38
[No subject] - by g725s - 2011-10-09, 19:29
[No subject] - by bandelguy - 2011-10-10, 12:46
[No subject] - by fluentdesigns - 2011-10-10, 16:54
[No subject] - by scotepi - 2011-10-12, 16:36
[No subject] - by eskro - 2011-10-17, 21:12
[No subject] - by eskro - 2011-10-17, 22:23
perfect - by vl1969 - 2011-10-18, 15:16
[No subject] - by eskro - 2011-10-18, 22:43
[No subject] - by WhiteLighter - 2011-10-28, 18:33
[No subject] - by Songoku - 2011-11-07, 18:59
[No subject] - by eskro - 2011-11-07, 19:06
[No subject] - by dannycorker - 2011-11-08, 01:07
[No subject] - by speedemonV12 - 2011-11-08, 02:54
[No subject] - by WhiteLighter - 2011-11-08, 02:58
[No subject] - by speedemonV12 - 2011-11-08, 03:03
[No subject] - by WhiteLighter - 2011-11-08, 03:31
[No subject] - by eskro - 2011-11-08, 04:57
[No subject] - by dannycorker - 2011-11-09, 17:25
[No subject] - by speedemonV12 - 2011-11-13, 21:07
[No subject] - by kortina - 2011-11-15, 12:12
[No subject] - by wsume99 - 2011-11-15, 20:04
[No subject] - by eskro - 2011-11-15, 20:06
[No subject] - by AncientBobcat - 2011-11-16, 01:51
[No subject] - by eskro - 2011-11-16, 03:14
[No subject] - by timbuck - 2011-11-17, 00:18
[No subject] - by seveneleven - 2012-01-10, 02:35
[No subject] - by eskro - 2012-01-10, 03:30
[No subject] - by Drawde - 2012-01-11, 22:39
[No subject] - by akjet680 - 2012-02-01, 16:50
[No subject] - by Mufasa - 2012-02-27, 04:42
[No subject] - by eskro - 2012-02-28, 06:53
[No subject] - by Mufasa - 2012-03-04, 17:53
[No subject] - by Mufasa - 2012-03-04, 18:24
[No subject] - by eskro - 2012-03-04, 21:40
RE: Looking to Build Your Very First unRAID Server? - by Mick1152 - 2012-06-23, 02:57
Logout Mark Read Team Forum Stats Members Help
Looking to Build Your Very First unRAID Server?18