database-stream-processor
database-stream-processor copied to clipboard
Use SIMD sorting for consolidation where applicable
A lot of our sorting and more general consolidation can be done faster via SIMD. This'd be a huge win if we got it working as sorting currently takes a pretty significant part of our runtime
The database community has a bunch of papers on implementing operators with SIMD:
https://dl.acm.org/doi/pdf/10.1145/2588555.2610522 https://faculty.cc.gatech.edu/~jarulraj/courses/4420-s19/papers/20-sortmergejoins/p85-balkesen.pdf http://dbis.cs.tu-dortmund.de/cms/en/publications/2012/frequent-item-cpu/kdd2012-submission.pdf https://dl.acm.org/doi/pdf/10.1145/2882903.2882948