Intel ISA-L library 程序库
2020-01-29 18:29:07 阿炯

ISA-L 是什么

英特尔®ISA-L技术即(Intel® Intelligent Storage Acceleration Library)智能存储加速库技术;即Intel存储加速库,包括两个大类:加密和非加密的;非加密的crc、izip、erase-code,加密的包括sha512、sha256、md5、sha1等。采用3类BSD协议授权。

核心技术就是使用intel sse/avx/avx2/avx256的扩展指令,并行运算多个流的方法,单线程比openssl要快2~8倍。基于Intel ISA-L的RS-RAID通过使用Intel ISA-L库加速RS码的计算速度,提高了RS-RAID的I/O性能。

现在ISA-L已经开源,英特尔会持续对开源版本进行维护:
https://github.com/intel/isa-l
https://github.com/01org/isa-l
https://github.com/01org/isa-l_crypto
https://software.intel.com/zh-cn/storage/intelligent-storage-acceleration-library

ISA-L 技术简介

ISA-L 技术可帮助加速和优化基于英特尔® 架构 (IA) 的存储,在存储可恢复性、数据完整性、数据安全性提供优化,并加速数据的压缩。具体可以实现如下功能:Raid、Erasure Code纠删码、CRC (cyclic redundancy check)、Multi-buffer Hashing (MbH)(包括MD5、SHA1、SHA256 和 SHA512)、加密功能、压缩功能,其基本原理就是使用Intel CPU中的指令集对上述功能进行优化和加速,具体包括:
INTEL AES-NI - 英特尔高级加密标准、
INTEL SSE - 英特尔流式单指令多数据扩展、
INTEL AVX/AVX2/AVX512 - 英特尔高级矢量扩展指令集系列。


Intel(R) Intelligent Storage Acceleration Library

ISA-L is a collection of optimized low-level functions targeting storage applications. ISA-L includes:
Erasure codes - Fast block Reed-Solomon type erasure codes for any encode/decode matrix in GF(2^8).
CRC - Fast implementations of cyclic redundancy check. Six different polynomials supported:iscsi32, ieee32, t10dif, ecma64, iso64, jones64.
Raid - calculate and operate on XOR and P+Q parity found in common RAID implementations.
Compression - Fast deflate-compatible data compression.
De-compression - Fast inflate-compatible data compression.