From 258332593c76b39361fcf2dc8eb00c6512c49713 Mon Sep 17 00:00:00 2001 From: Pavel Snajdr Date: Fri, 21 Oct 2022 12:20:06 +0200 Subject: [PATCH] [vpsAdminOS] tune zio pipeline defaults --- module/os/linux/spl/spl-taskq.c | 2 +- module/zfs/spa.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/os/linux/spl/spl-taskq.c b/module/os/linux/spl/spl-taskq.c index 8d458e282cfb..0c1d1b023cb4 100644 --- a/module/os/linux/spl/spl-taskq.c +++ b/module/os/linux/spl/spl-taskq.c @@ -41,7 +41,7 @@ int spl_taskq_thread_dynamic = 1; module_param(spl_taskq_thread_dynamic, int, 0444); MODULE_PARM_DESC(spl_taskq_thread_dynamic, "Allow dynamic taskq threads"); -int spl_taskq_thread_priority = 1; +int spl_taskq_thread_priority = 0; module_param(spl_taskq_thread_priority, int, 0644); MODULE_PARM_DESC(spl_taskq_thread_priority, "Allow non-default priority for taskq threads"); diff --git a/module/zfs/spa.c b/module/zfs/spa.c index 1c0856d7f211..2dba93994691 100644 --- a/module/zfs/spa.c +++ b/module/zfs/spa.c @@ -167,7 +167,7 @@ static boolean_t spa_has_active_shared_spare(spa_t *spa); static int spa_load_impl(spa_t *spa, spa_import_type_t type, char **ereport); static void spa_vdev_resilver_done(spa_t *spa); -uint_t zio_taskq_batch_pct = 80; /* 1 thread per cpu in pset */ +uint_t zio_taskq_batch_pct = 50; uint_t zio_taskq_batch_tpq; /* threads per taskq */ boolean_t zio_taskq_sysdc = B_TRUE; /* use SDC scheduling class */ uint_t zio_taskq_basedc = 80; /* base duty cycle */