Parallel crc16#3323
Conversation
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
|
Benchmark ran on this commit: Benchmark Comparison: HEAD vs HEAD (averaged) - rps metricsRun Summary:
Statistical Notes:
Note: Values with (n=X, σ=Y, CV=Z%, CI99%=±W%, PI99%=±V%) indicate averages from X runs with standard deviation Y, coefficient of variation Z%, 99% confidence interval margin of error ±W% of the mean, and 99% prediction interval margin of error ±V% of the mean. CI bounds [A, B] and PI bounds [C, D] show the actual interval ranges. Configuration:
Configuration:
|
|
The automatic benchmark was useless in this case because it doesn't do any runs in cluster mode. I've benchmarked it locally with a single-node cluster. With Server started with
Conclusion: No improvement. Actually a 1% decrease. Closing this draft. |
Make use of memory parallelism by computing the crc16 for multiple keys in parallel.
In prepareCommandQueue, all the keys of all the parsed commands are crc16'ed in parallel using a new function
crc16_parallel().