diff options
author | cperciva <cperciva@FreeBSD.org> | 2016-05-29 17:26:40 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2016-05-29 17:26:40 +0000 |
commit | b67598a549e1db1bd5cf706c890ab79a01ec7195 (patch) | |
tree | 5ea3895e8c6661f8faa767c9918bc9166cbdac19 /sbin | |
parent | 06e4e4310f4ec7530e2ac8421e95d5eb846297b5 (diff) | |
download | FreeBSD-src-b67598a549e1db1bd5cf706c890ab79a01ec7195.zip FreeBSD-src-b67598a549e1db1bd5cf706c890ab79a01ec7195.tar.gz |
Retune SHA2 code for improved performance on CPUs with more ILP and
a preference for memory load instructions over large code footprints
with embedded immediate variables.
On amd64 CPUs from 2007-2008 there is not a significant change, but
amd64 CPUs from 2009-2010 get roughly 10% more throughput with this
code; amd64 CPUs from 2011-2012 get roughly 15% more throughput; and
AMD64 CPUs from 2013-2015 get 20-25% more throughput. The Raspberry
Pi 2 increases its throughput by 6-8%.
Sponsored by: Tarsnap Backup Inc.
Performance tested by: allanjude
MFC after: 3 weeks
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions