Re: Desperate with 870 QVO and ZFS
Date: Wed, 06 Apr 2022 16:14:51 UTC
06.04.2022 22:30, egoitz@ramattack.net пишет: > One perhaps important note!! > > > When this happens... almost all processes appear in top in the following state: > > > txg state or > > txg-> > > bio.... > > > perhaps should the the vfs.zfs.dirty_data_max, vfs.zfs.txg.timeout, vfs.zfs.vdev.async_write_active_max_dirty_percent be increased, decreased.... I'm afraid of doing some chage ana finally ending up with an inestable server.... I'm not an expert in handling these values.... > > > Any recommendation?. 1) Make sure the pool has enough free space because ZFS can became crawling slow otherwise. 2) Increase recordsize upto 1MB for file systems located in the pool so ZFS is allowed to use bigger request sizes for read/write operations 3) If you use compression, look if achieved compressratio worth it and if not (<1.4 f.e.) then better disable compression to avoid its overhead; 4) try "zfs set redundant_metadata=most" to decrease amount of small writes to the file systems; 5) If you have good power supply and stable (non-crashing) OS, try increasing sysctl vfs.zfs.txg.timeout from defaule 5sec, but do not be extreme (f.e. upto 10sec). Maybe it will increase amount of long writes and decrease amount of short writes, that is good.