Hi.
Looking at:
I see that ZFS now has separate dnode and metadata cache.
I have some idea what metadata cache might be (fs attributes and map), but I have no idea what dnode cache would be.
When setting up a zfs "special" device for metadata caching, does it contain also dnode cache?
If anyone can point to some docs about this, I will be grateful.
As I have max and min ARC cache values defined, I wonder do these dnode and metadata cache types fall inside these limits, or do I need to count them separately?
I see that options exist:
Looking at:
Code:
ARC size (current): 100.2 % 20.0 GiB
Target size (adaptive): 100.0 % 20.0 GiB
Min size (hard limit): 95.3 % 19.1 GiB
Max size (high water): 1:1 20.0 GiB
Most Frequently Used (MFU) cache size: 98.3 % 18.0 GiB
Most Recently Used (MRU) cache size: 1.7 % 316.7 MiB
Metadata cache size (hard limit): 75.0 % 15.0 GiB
Metadata cache size (current): 13.2 % 2.0 GiB
Dnode cache size (hard limit): 10.0 % 1.5 GiB
Dnode cache size (current): 1.5 % 22.9 MiB
I see that ZFS now has separate dnode and metadata cache.
I have some idea what metadata cache might be (fs attributes and map), but I have no idea what dnode cache would be.
When setting up a zfs "special" device for metadata caching, does it contain also dnode cache?
If anyone can point to some docs about this, I will be grateful.
As I have max and min ARC cache values defined, I wonder do these dnode and metadata cache types fall inside these limits, or do I need to count them separately?
I see that options exist:
Code:
root@p35:~# ls -la /sys/module/zfs/parameters/ | grep -i 'dnode\|meta'
-rw-r--r-- 1 root root 4096 Oct 12 16:50 dbuf_metadata_cache_max_bytes
-rw-r--r-- 1 root root 4096 Oct 12 16:50 dbuf_metadata_cache_shift
-rw-r--r-- 1 root root 4096 Oct 12 16:50 metaslab_aliquot
-rw-r--r-- 1 root root 4096 Oct 12 16:50 metaslab_bias_enabled
-rw-r--r-- 1 root root 4096 Oct 12 16:50 metaslab_debug_load
-rw-r--r-- 1 root root 4096 Oct 12 16:50 metaslab_debug_unload
-rw-r--r-- 1 root root 4096 Oct 12 16:50 metaslab_df_max_search
-rw-r--r-- 1 root root 4096 Oct 12 16:50 metaslab_df_use_largest_segment
-rw-r--r-- 1 root root 4096 Oct 12 16:50 metaslab_force_ganging
-rw-r--r-- 1 root root 4096 Oct 12 16:50 metaslab_fragmentation_factor_enabled
-rw-r--r-- 1 root root 4096 Oct 12 16:50 metaslab_lba_weighting_enabled
-rw-r--r-- 1 root root 4096 Oct 12 16:50 metaslab_preload_enabled
-rw-r--r-- 1 root root 4096 Oct 12 16:50 spa_load_verify_metadata
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_arc_dnode_limit
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_arc_dnode_limit_percent
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_arc_dnode_reduce_percent
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_arc_meta_adjust_restarts
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_arc_meta_limit
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_arc_meta_limit_percent
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_arc_meta_min
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_arc_meta_prune
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_arc_meta_strategy
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_metaslab_fragmentation_threshold
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_metaslab_segment_weight_enabled
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_metaslab_switch_threshold
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_special_class_metadata_reserve_pct
-rw-r--r-- 1 root root 4096 Oct 12 16:50 zfs_trim_metaslab_skip