logoalt Hacker News

ramraj07today at 5:11 PM2 repliesview on HN

Did they finally enable full SIMD or keep insisting its okay not to have it?


Replies

goerchtoday at 5:51 PM

Hm, our internal benchmarking shows something like a 30x speedup compared to SQLite (https://github.com/ClickHouse/ClickBench shows an even greater speedup due to not considering cache size). Calculating back on the envelope I'd estimate 8x for multithreading and 4x for SIMD. Should we expect even more?

gigatexaltoday at 5:39 PM

fwiw:

"Performance Does DuckDB use SIMD? DuckDB does not use explicit SIMD (single instruction, multiple data) instructions because they greatly complicate portability and compilation. Instead, DuckDB uses implicit SIMD, where we go to great lengths to write our C++ code in such a way that the compiler can auto-generate SIMD instructions for the specific hardware. As an example why this is a good idea, it took 10 minutes to port DuckDB to the Apple Silicon architecture."

https://duckdb.org/faq