Feature #61573
openErasure Code: processing speed down when cacheline not aligned
0%
Description
Right now, Erasure Code SIMD_ALIGN variable has been set to 32, since function create_aligned() and rebuild_aligned() all uses SIMD_ALIGN to aligned, thus when cacheline is not aligned, the processing speed will be halved. To resolve this issue, we can simply change the value for SIMD_ALIGN to 64 to ensure the processing speed being constant, however, this will affect the memory allocation. Should we change the value for SIMD_ALIGN under this circumstance?
Testing result:
- test with SIMD_ALIGN = 64
- test with SIMD_ALIGN = 32
We can see that the processing speed of the first test for SIMD_ALIGN = 32 is halved compare to all 3 other tests, and the addresses are 32 bytes aligned.
Place we rebuild_aligned in ErasureCodeBench::encode():
Files
No data to display