mirror_zfs/module/zcommon
Brian Behlendorf 07ca433973 Reduce fletcher4 and raidz benchmark times
During module load time all of the available fetcher4 and raidz
implementations are benchmarked for a fixed amount of time to
determine the fastest available.  Manual testing has shown that this
time can be significantly reduced with negligible effect on the final
results.

This commit changes the benchmark time to 1ms which can reduce the
module load time by over a second on x86_64.  On an x86_64 system
with sse3, ssse3, and avx2 instructions the benchmark times are:

    Fletcher4    603ms   -> 15ms
    RAIDZ        1,322ms -> 64ms

Reviewed-by: Matthew Macy <mmacy@freebsd.org>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11282
2020-12-23 14:34:59 -08:00
..
cityhash.c Compile cityhash code into libzfs 2020-03-27 09:11:22 -07:00
Makefile.in Cleanup linux module kbuild files 2020-06-10 09:24:15 -07:00
zfeature_common.c Add zstd support to zfs 2020-08-20 10:30:06 -07:00
zfs_comutil.c Fix "zpool add -n" for dedup, special and log devices 2020-01-06 15:40:06 -08:00
zfs_deleg.c Remove code for zfs remap 2019-06-24 16:44:01 -07:00
zfs_fletcher_aarch64_neon.c OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
zfs_fletcher_avx512.c Refactor ccompile.h to not include system headers 2020-07-25 20:09:50 -07:00
zfs_fletcher_intel.c OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
zfs_fletcher_sse.c OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
zfs_fletcher_superscalar4.c Refactor ccompile.h to not include system headers 2020-07-25 20:09:50 -07:00
zfs_fletcher_superscalar.c Refactor ccompile.h to not include system headers 2020-07-25 20:09:50 -07:00
zfs_fletcher.c Reduce fletcher4 and raidz benchmark times 2020-12-23 14:34:59 -08:00
zfs_namecheck.c Implement bookmark copying 2020-02-11 13:19:12 -08:00
zfs_prop.c Update references to nonexistent man pages in code 2020-10-30 16:04:41 -07:00
zfs_uio.c Bugfix/fix uio partial copies 2020-04-01 09:48:54 -07:00
zpool_prop.c Add define to enable autotrim to default to on 2020-08-18 09:52:30 -07:00
zprop_common.c Left-align index props 2020-01-31 08:55:51 -08:00