diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-10-25 17:14:28 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-12-31 12:48:41 -0800 |
commit | 8aac88d36ee5564c07bbbb8ecc32b01cf1bf164f (patch) | |
tree | a66e5360d382a27676d3c27dfe8ac03a4f075f9a /fs/xfs/xfs_mount.h | |
parent | 06adf96aa1ce7eef877dc84fcbed996b3b6191a8 (diff) |
xfs: increase the default parallelism levels of pwork clientspwork-parallelism_2020-12-31
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_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index dfa429b77ee2..70f6c68c795f 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h @@ -426,5 +426,6 @@ struct xfs_error_cfg * xfs_error_get_cfg(struct xfs_mount *mp, int error_class, int error); void xfs_force_summary_recalc(struct xfs_mount *mp); void xfs_mod_delalloc(struct xfs_mount *mp, int64_t delta); +unsigned int xfs_guess_metadata_threads(struct xfs_mount *mp); #endif /* __XFS_MOUNT_H__ */ |