Just trying to see how to speed up lz4 by using different compilers.
Test machine: Intel(R) i5-3320M CPU @ 2.60GHz, cache size : 3072 KB
One compiler is gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5) , -O3, another gcc -O3 -mavx
the 3rd is Intel C++ 64 Compiler, icpc version 17.0.4 (gcc version 5.0.0 compatibility) -O3 -ipo
Here are brief test results for lz4 default level ( -1 ) for a file about 900KB
gcc 204.86 MB/s 248.27 MB/s
gcc -mavx 202.24MB/s 258.63 MB/s
icpc 201.09 MB/s 244.36 MB/s
These are just rough tests, far from scientific. But it seems that SSE or Intel compiler does not help improve lz4 speed (significantly). So any other ways to further improve lz4 speeds?