sysctl is missing?

nasbdh9

Dabbler
Joined
Oct 23, 2020
Messages
17
system version is 12.0 U2

# sysctl -a -d vfs.zfs | grep dirty_data
vfs.zfs.dirty_data_sync_percent: Dirty data txg sync threshold as a percentage of zfs_dirty_data_max
vfs.zfs.dirty_data_max_max: zfs_dirty_data_max upper bound in bytes
vfs.zfs.dirty_data_max: Determines the dirty space limit
vfs.zfs.dirty_data_max_max_percent: zfs_dirty_data_max upper bound as % of RAM
vfs.zfs.dirty_data_max_percent: Max percent of RAM allowed to be dirty

vfs.zfs.dirty_data_sync is missing, or is it replaced by any other parameter?
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
It's been replaced by vfs.zfs.dirty_data_sync_percent which defaults to 20% of your upper bound of dirty space limit (4G or 10% of your RAM, whichever is lower) so with defaults it will be either 20% of 4G (800MB) or 2% of your RAM.
 

nasbdh9

Dabbler
Joined
Oct 23, 2020
Messages
17
It's been replaced by vfs.zfs.dirty_data_sync_percent which defaults to 20% of your upper bound of dirty space limit (4G or 10% of your RAM, whichever is lower) so with defaults it will be either 20% of 4G (800MB) or 2% of your RAM.
So, how can I improve the space utilization of SLOG equipment? I have about 200G of DCPMM space used as SLOG, but when I write about 30G of data to the pool, it will be forced to synchronize to the hard disk.
 
Top