Hello,
It's my first time of using TOS.
I just enabled SSD cache for my F5-422.
I would like use it as write cache (I have backup UPS).
How to tell what mode cache is enabled?
I would like use fast IO + speed of SSD and later write to HDD main storage - i think it's called write-back.
Regards
SSD Cache - How to select / check actual mode?
Re: SSD Cache - How to select / check actual mode?
Hi,
If you're comfortable using a shell login to the NAS, type the command:
This will show the current status of the SSD cache when enabled. The cache type in use by TOS is called "flashcache", more info and bedtime reading here: https://delightlylinux.wordpress.com/20 ... lashcache/.
On my system I get:
From the above you can see the cache mode is WRITE_AROUND (which is not optimal in my opinion but that's another discussion). Interestingly the cache is only configured to be 20GB in size so regardless of your SSD capacity it's not using it all, again that's probably not optimal either.
More pertinent is that flashcache is no longer actively maintained as a project and also is no longer supported in newer Linux Kernel versions. The one advantage that is does have is that it can be easily turned on and off without the need to rebuild the storage volume which other cache projects require.
If the admins read this, are there any plans to move TOS on to a more recent and configurable SSD cache mechanism?
If you're comfortable using a shell login to the NAS, type the command:
Code: Select all
dmsetup table
On my system I get:
Code: Select all
[root@TNAS-xxxxxx ~]# dmsetup table
vg0-lv0: 0 23421558784 linear 9:0 768
fc0: 0 23421558784 flashcache conf:
ssd dev (/dev/sdf1), disk dev (/dev/vg0/lv0) cache mode(WRITE_AROUND)
capacity(20480M), associativity(512), data block size(4K)
disk assoc(0K)
skip sequential thresh(0K)
total blocks(5242880), cached blocks(3441156), cache percent(65)
nr_queued(0)
Size Hist: 4096:320316996
More pertinent is that flashcache is no longer actively maintained as a project and also is no longer supported in newer Linux Kernel versions. The one advantage that is does have is that it can be easily turned on and off without the need to rebuild the storage volume which other cache projects require.
If the admins read this, are there any plans to move TOS on to a more recent and configurable SSD cache mechanism?
F5-221 TOS 4.2.09 4x4TB Seagate Ironwolf, 1x240GB Ironwolf SSD (Cache)
Re: SSD Cache - How to select / check actual mode?
You are right, the cache mode been set to writearound by default. it plan to be selectable by user in near future.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Re: SSD Cache - How to select / check actual mode?
Sadly You are correct - that is not a good news for me.
Hope for future updates.
Thank You for both replies,
Hope for future updates.
Thank You for both replies,