summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_pwork.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-02-19 17:01:33 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2020-04-12 13:02:57 -0700
commitf063d982b6c61216c24086feda0d1e5e30971eaa (patch)
treee628fc61c4581015b42c7b16d2bfc22fae84e19c /fs/xfs/xfs_pwork.h
parentc7e62f5a1e74a8e1aaa7ac790211513cf9fbbd8b (diff)
xfs: increase the default parallelism levels of pwork clientspwork-parallelism_2020-04-12
Increase the default parallelism level for pwork clients so that we can take advantage of computers with a lot of CPUs and a lot of hardware. 8x raid0 spinning rust running quotacheck: 1 39s 2 29s 4 26s 8 24s 24 (nr_cpus) 24s 4x raid0 sata ssds running quotacheck: 1 12s 2 12s 4 12s 8 13s 24 (nr_cpus) 14s 4x raid0 nvme ssds running quotacheck: 1 18s 2 18s 4 19s 8 20s 20 (nr_cpus) 20s So, mixed results... Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_pwork.h')
-rw-r--r--fs/xfs/xfs_pwork.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_pwork.h b/fs/xfs/xfs_pwork.h
index 8133124cf3bb..f402920f7061 100644
--- a/fs/xfs/xfs_pwork.h
+++ b/fs/xfs/xfs_pwork.h
@@ -56,6 +56,6 @@ int xfs_pwork_init(struct xfs_mount *mp, struct xfs_pwork_ctl *pctl,
void xfs_pwork_queue(struct xfs_pwork_ctl *pctl, struct xfs_pwork *pwork);
int xfs_pwork_destroy(struct xfs_pwork_ctl *pctl);
void xfs_pwork_poll(struct xfs_pwork_ctl *pctl);
-unsigned int xfs_pwork_guess_datadev_parallelism(struct xfs_mount *mp);
+unsigned int xfs_pwork_guess_threads(struct xfs_mount *mp);
#endif /* __XFS_PWORK_H__ */