zfs/man
Alexander Motin 342357cd9e
Reduce number of metaslab preload taskq threads.
Before this change ZFS created threads for 50% of CPUs for each top-
level vdev.  Plus it created the same number of threads for embedded
log groups (that have only one metaslab and don't need any preload).
As result, on system with 80 CPUs and pool of 60 vdevs this resulted
in 4800 metaslab preload threads, that is absolutely insane.

This patch changes the preload threads to 50% of CPUs in one taskq
per pool, so on the mentioned system it will be only 40 threads.

Among other things this fixes zdb on the mentioned system and pool
on FreeBSD, that failed to create so many threads in one process.

Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Closes #15319
2023-10-06 09:04:00 -07:00
..
man1 Allow zhack label repair to restore detached devices. 2023-05-03 09:03:57 -07:00
man4 Reduce number of metaslab preload taskq threads. 2023-10-06 09:04:00 -07:00
man5 Consistentify miscellaneous style on remaining manpages 2021-06-09 14:35:53 -07:00
man7 Add '-u' - nomount flag for zfs set 2023-10-02 16:58:54 -07:00
man8 Add '-u' - nomount flag for zfs set 2023-10-02 16:58:54 -07:00
Makefile.am Add zfs_prepare_disk script for disk firmware install 2023-09-21 08:36:26 -07:00