-
-
usr/src/uts/common/fs/zfs/vdev_raidz_math_avx2.c (Diff revision 1) can we get rid of red ugliness here and below?:)
-
usr/src/uts/common/fs/zfs/vdev_raidz_math_sse2.c (Diff revision 1) can we get rid of red ugliness here and below?
-
usr/src/uts/common/fs/zfs/vdev_raidz_math_ssse3.c (Diff revision 1) and red ugliness here and below...
12794 ZFS support for vectorized algorithms on x86 (HW support)
Review Request #2570 — Created June 5, 2020 and submitted
Information | |
---|---|
jjelinek | |
illumos-gate | |
12794 | |
Reviewers | |
general | |
This is a port from OpenZFS and is a continuation of the work I started with 12668. This adds support for sse2, ssse3 and avx2 raidz parity algorithms. This change depends on the kfpu code from 12793.
-
-
usr/src/uts/common/fs/zfs/sys/vdev_raidz_impl.h (Diff revision 1) i think all of definitions can be moved to one __x86 - no need this one for every line
-
i have panic on DEBUG BUILD under vmware esxi 6.7 with:
<pre>
SMBIOS v2.7 loaded (10240 bytes)initialized model-specific module 'cpu_ms.GenuineIntel' on chip 0 core 0 strand 0
root nexus = i86pc
pseudo0 at root
pseudo0 is /pseudo
scsi_vhci0 at root
scsi_vhci0 is /scsi_vhci
Reading Intel IOMMU boot options
npe0 at root: space 0 offset 0
npe0 is /pci@0,0
PCI Express-device: isa@7, isa0panic[cpu0]/thread=fffffffffbc580c0: assertion failed: (pf->fpu_flags & FPU_EN) == 0, file: ../../intel/ia32/os/fpu.c, line: 1375
Warning - stack not written to the dump buffer
fffffffffbc97d40 genunix:process_type+19b26d ()
fffffffffbc97d90 unix:kernel_fpu_begin+2a0 ()
fffffffffbc97e00 zfs:sse2_gen_p+19c ()
fffffffffbc97e20 zfs:vdev_raidz_math_generate+54 ()
fffffffffbc97e50 zfs:vdev_raidz_generate_parity+16 ()
fffffffffbc97e70 zfs:benchmark_gen_impl+b ()
fffffffffbc97f10 zfs:benchmark_raidz_impl+99 ()
fffffffffbc97f50 zfs:benchmark_raidz+e9 ()
fffffffffbc97f60 zfs:vdev_raidz_math_init+9 ()
fffffffffbc97f90 zfs:spa_init+ff ()
fffffffffbc97fb0 zfs:_init+13 ()
fffffffffbc97ff0 genunix:modinstall+12d ()
fffffffffbc98050 genunix:mod_hold_installed_mod+77 ()
fffffffffbc980d0 genunix:modrload+1ab ()
fffffffffbc980f0 genunix:modload+d ()
fffffffffbc98130 genunix:rootconf+6d ()
fffffffffbc98170 genunix:vfs_mountroot+6e ()
fffffffffbc981b0 genunix:main+194 ()
fffffffffbc981c0 unix:_locore_start+90 ()panic: entering debugger (no dump device, continue to reboot)
</pre>
Change Summary:
Small simplification for kfpu_begin/kfpu_end to match the simplification in the separate kernel FPU changes.
Change Summary:
minor changes based on CR feedback
Diff: |
Revision 3 (+3721 -17)
|
---|