How helpful is a special metadata device in practice?

Joined
Jul 3, 2015
Messages
926
If a system has a cache hit ratio of 99% and 97% of that is demand metadata then how helpful (if at all) would a special metadata device be in practice?

Should people explore their ARC hit ratio before using a special metadata device or am I missing something?
 

Etorix

Wizard
Joined
Dec 30, 2020
Messages
2,134
Not much helpful for metadata, but a spacial vdev can also take small files (up to a user-defined limit), which could still be useful if the bulk storage is on a wide raidz# vdev with large recordsize (i.e. terribly inefficient with small files).
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
I use one for small files. I have a dataset full (90GB) of small 1-4MB files that I need quick access to. I use a special vdev to put almost all of them on the SSD's which is appreciably quicker
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
If a system has a cache hit ratio of 99% and 97% of that is demand metadata then how helpful (if at all) would a special metadata device be in practice?
Since metadata must be stored somewhere in the pool and with writing of large numbers of small files, this means huge loads of IOPS during writes in addition to high IOPS needed to write the file contents.

If you can have metadata (always small blocks) and smaller data blocks written to a device that handles many more IOPS than your data VDEVs, then that can certainly help.

Should people explore their ARC hit ratio before using a special metadata device or am I missing something?
For sure looking into caching of metadata and making sure that's optimal (including thinking about a secondarycache=metadata = a metadata-only L2ARC if you have the system for it) can mean that reads are much better for things like large rsync jobs or large file shares with millions of files.

Edit: Look here for some tips on that:
 
Last edited:
Top