Yeah, on eoan I get:
$ cat /proc/spl/kstat/zfs/fletcher_4_bench
0 0 0x01 -1 0 4250112835 2191051355493
implementation   native         byteswap       
scalar           7121128976     5682673600     
superscalar      9132158207     6984205638     
superscalar4     8279361738     6770847284     
fastest          superscalar    superscalar    

The same machine on bionic gets:
0 0 0x01 -1 0 67628130770 127422129063
implementation   native         byteswap       
scalar           7105261516     5016484387     
superscalar      9725496554     7224297957     
superscalar4     8153749237     6904111964     
sse2             16325929140    9147142980     
ssse3            16010951957    14542922899    
avx2             24379617040    23016231817    
fastest          avx2           avx2           

Bionic's algorithm using avx2 is 2.6x faster.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1845018

Title:
  SIMD broken in 0.8.1 please backport fix, like Debian

Status in zfs-linux package in Ubuntu:
  Confirmed

Bug description:
  Eoan Ermine is using 0.8.1.  On the current LiveCD, ZFS uses scalar
  instead of hardware accelerated SIMD instructions.

  As of zfs-linux 0.8.1-3 (unstable) and 0.8.1-4~bpo10+1 (buster-
  backports), Debian has "Cherry-pick e5db313 to fix the linux-SIMD
  compatibility" (https://tracker.debian.org/news/1065134/accepted-zfs-
  linux-081-4bpo101-source-amd64-all-into-buster-backports-buster-
  backports/).

  This fix will be included in 0.8.2, don't expect expect Eoan Ermine to
  move to that release.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1845018/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to