Posted February 22, 20169 yr Hi im just building my first Unraid 6 server, and thought about putting in a ssd for cache, but how much performance does i give? i got about 7 lan machines, and i run Plex server a lot So is it worth it for a homeuser ?
February 22, 20169 yr Community Expert Even if you don't care about write speed (I don't) cache is the best place for any application to store its working data, such as the plex library. If you put this on an array drive, it will be slower and it will also keep both the data drive and the parity drive spinning.
February 22, 20169 yr Hi im just building my first Unraid 6 server, and thought about putting in a ssd for cache, but how much performance does i give? i got about 7 lan machines, and i run Plex server a lot So is it worth it for a homeuser ? Plex runs way better on an SSD... I do it that way.. I actually have all my VM's and dockers running off an SSD cachepool.. And also use it as a regular cache drive..
February 22, 20169 yr Author So its worth it got a 128gb from my last upgrade, gonna plug that into it and then i shall run the container from the ssd i guess
February 23, 20169 yr I have some questions about cache. As far as I understand when you write new data, it gets written to the cache first and then dumped to the array later and then deleted from the cache. But does data you access often gets copied back to the cache (so it works as read cache for data that earlier has been moved to array) or does you need to make shares that uses cache only to keep data on the cache and remember to take backup of this data?
February 23, 20169 yr I have some questions about cache. As far as I understand when you write new data, it gets written to the cache first and then dumped to the array later and then deleted from the cache. But does data you access often gets copied back to the cache (so it works as read cache for data that earlier has been moved to array) or does you need to make shares that uses cache only to keep data on the cache and remember to take backup of this data? Hope this clarifies it some. When you write new data to a user share that is cache enabled it is written to the cache disk, later at a specified interval or when you manually invoke mover it is moved to the array. The data will not be copied back to the cache for read reasons. This would actually just slow things down... (There is talk about accelerator drives which would use a script to cache frequently accessed and small files, but this isn't built in, and the reason this would speed things up is because the data is already on the cache before you know you want it...) If you want to keep data on the cache, you have to make it cache only currently, this prevents it from being moved at all. This is the perfered method of running apps / dockers on unRAID currently. Also you can take backups of this data, or you can configure a BTRFS RAID 1 Cache pool.
February 23, 20169 yr gundamguy: Thank you Got it now. Im looking for getting an samsung ssd for my server sometime in the future, but not sure if I should go for the evo or save up for an pro drive.
February 23, 20169 yr I have some questions about cache. As far as I understand when you write new data, it gets written to the cache first and then dumped to the array later and then deleted from the cache. But does data you access often gets copied back to the cache (so it works as read cache for data that earlier has been moved to array) or does you need to make shares that uses cache only to keep data on the cache and remember to take backup of this data? Hope this clarifies it some. When you write new data to a user share that is cache enabled it is written to the cache disk, later at a specified interval or when you manually invoke mover it is moved to the array. The data will not be copied back to the cache for read reasons. This would actually just slow things down... (There is talk about accelerator drives which would use a script to cache frequently accessed and small files, but this isn't built in, and the reason this would speed things up is because the data is already on the cache before you know you want it...) If you want to keep data on the cache, you have to make it cache only currently, this prevents it from being moved at all. This is the perfered method of running apps / dockers on unRAID currently. Also you can take backups of this data, or you can configure a BTRFS RAID 1 Cache pool. Any purpose for the Raid1 pool other than redundancy?
February 23, 20169 yr Any purpose for the Raid1 pool other than redundancy? I think the primary reason is redundancy. If there are other benefits I am not aware of them.
February 23, 20169 yr I have some questions about cache. As far as I understand when you write new data, it gets written to the cache first and then dumped to the array later and then deleted from the cache. But does data you access often gets copied back to the cache (so it works as read cache for data that earlier has been moved to array) or does you need to make shares that uses cache only to keep data on the cache and remember to take backup of this data? Hope this clarifies it some. When you write new data to a user share that is cache enabled it is written to the cache disk, later at a specified interval or when you manually invoke mover it is moved to the array. The data will not be copied back to the cache for read reasons. This would actually just slow things down... (There is talk about accelerator drives which would use a script to cache frequently accessed and small files, but this isn't built in, and the reason this would speed things up is because the data is already on the cache before you know you want it...) If you want to keep data on the cache, you have to make it cache only currently, this prevents it from being moved at all. This is the perfered method of running apps / dockers on unRAID currently. Also you can take backups of this data, or you can configure a BTRFS RAID 1 Cache pool. Any purpose for the Raid1 pool other than redundancy? It enables you to have several ssd's combined into one cache drive... I have 4* 250GIG SSD, in effect is is giving me a 512GB raid 10-like storage pool.
Archived
This topic is now archived and is closed to further replies.