meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vm:proxmox:pbs:performance [2026/11/11 21:14] – niziakvm:proxmox:pbs:performance [2026/11/12 08:33] (current) – niziak
Line 29: Line 29:
     * log on NVM do almost nothing     * log on NVM do almost nothing
     * add persistent metadata L2ARC on NVM     * add persistent metadata L2ARC on NVM
-      * ''zfs set secondarycache=metadata backuppool''+      * ''zfs set secondarycache=metadata backuppool'' if NVM cache is small (up to 10GB). Leave default if it is big enough. Keepeing also data has benefits to cache also index files.
       * ''l2arc_rebuild_enabled=1''       * ''l2arc_rebuild_enabled=1''
 +      * ''l2arc_mfuonly=2'' - prevent one time data reads from flooding the cache.
     * GC phase 1 needs to modify inodes. GC phase 2 stats every chunk so it spends its time on dnode misses. Ensure enough dnode cache in ARC. Tune ''arc_dnode_limit_percent''      * GC phase 1 needs to modify inodes. GC phase 2 stats every chunk so it spends its time on dnode misses. Ensure enough dnode cache in ARC. Tune ''arc_dnode_limit_percent'' 
       * ''echo 30 > /sys/module/zfs/parameters/zfs_arc_dnode_limit_percent''       * ''echo 30 > /sys/module/zfs/parameters/zfs_arc_dnode_limit_percent''
       * ''echo $((24*1024**3)) > /sys/module/zfs/parameters/zfs_arc_max''       * ''echo $((24*1024**3)) > /sys/module/zfs/parameters/zfs_arc_max''
 +    * ''zfs_txg_timeout=15'' (was 5)
 +