[dpdk-dev] [PATCH v2 0/4] rte_hash_crc reworked to be platform-independent

2014-11-25 Thread Stephen Hemminger
I found that other hash functions are faster than the crc32 SSE instruction. Though the hardware instruction seems like it would be faster, it takes more cycles than simple multiplicative or murmur hash.

[dpdk-dev] [PATCH v2 0/4] rte_hash_crc reworked to be platform-independent

2014-11-17 Thread Yerden Zhumabekov
17.11.2014 17:31, Neil Horman ?: > On Sun, Nov 16, 2014 at 11:59:16PM +0600, Yerden Zhumabekov wrote: >> This is a rework of my previous patches improving performance of >> rte_hash_crc. In addition, this revision brings a fallback mechanism to >> ensure that CRC32 hash is calculated regardl

[dpdk-dev] [PATCH v2 0/4] rte_hash_crc reworked to be platform-independent

2014-11-17 Thread Neil Horman
On Sun, Nov 16, 2014 at 11:59:16PM +0600, Yerden Zhumabekov wrote: > This is a rework of my previous patches improving performance of > rte_hash_crc. In addition, this revision brings a fallback mechanism to > ensure that CRC32 hash is calculated regardless of hardware support from CPU > (i.e. S

[dpdk-dev] [PATCH v2 0/4] rte_hash_crc reworked to be platform-independent

2014-11-16 Thread Yerden Zhumabekov
This is a rework of my previous patches improving performance of rte_hash_crc. In addition, this revision brings a fallback mechanism to ensure that CRC32 hash is calculated regardless of hardware support from CPU (i.e. SSE4.2 intrinsics). Summary of changes: * added CRC32 software implementati