kern/178467: [request] Optimized Checksum Code for ZFS
Xin Li
delphij at delphij.net
Fri May 10 17:40:48 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 05/10/13 01:50, Steven Hartland wrote:
> The following reply was made to PR kern/178467; it has been noted
> by GNATS.
>
> From: "Steven Hartland" <smh at freebsd.org> To:
> <bug-followup at freebsd.org>, <jkeller at bbiinternational.com> Cc:
> Subject: Re: kern/178467: [request] Optimized Checksum Code for
> ZFS Date: Fri, 10 May 2013 09:47:59 +0100
>
> We would need something more to go no than "looks like" I'm
> afraid.
>
> Also Fletcher4 is the default checksum which achieves ~4GB/s per
> core in hashing performance, where as SHA-256 even with hand
> written assembly manages less than 1/10th that performance, so if
> your looking for performance for checksums use the default
> Fletcher4 instead of the SHA-256.
>
> That said new processors do have HW support which could be used to
> accelerate SHA-256 support, details of this can be found here:-
> http://download.intel.com/embedded/processor/whitepaper/327457.pdf
>
> These sorts of core feature enhancements should be discussed and
> implemented upstream at illumos.
Speaking for this -- I'm thinking that maybe these could leverage some
sys/crypto facilities? These would be also helpful for some other
kernel services like GELI, etc.
Cheers,
- --
Xin LI <delphij at delphij.net> https://www.delphij.net/
FreeBSD - The Power to Serve! Live free or die
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCgAGBQJRjTEdAAoJEG80Jeu8UPuz9asH/2kA95SBrc/pMiGSrT6soMDH
Ao3f3+rFsAMsCSdzFxrEC0UoxI21+cMzGKsJjUvesf9yJa9A3bjL+sFqAIJ4exoE
avE5mvYQhW/21po6C0iWSzAKi7JsjGpHJIMRw2PuPerRXtqrPoY1WtVTTiLPcFIp
c/spGV0sh5ohaMstnSsb+gqvmDTsS426S8EJGxNdZcpGboFHMpFzeidmydTp7I86
vKZPI2esafoyEBtOtgCxRWGlocPnXtz/tIH9oyVcr6KveipFpyxAy5HfD+mYZXqY
hZLKVUQ00gMefzlhdsgFRMHWfJuXee43XEe5mt3g2OXwIH6lv44d2JXqoFwlaP8=
=iRct
-----END PGP SIGNATURE-----
More information about the zfs-devel
mailing list