feat[cuda]: add direct I/O for local file scans#8898
Conversation
Keep footer and zone-map reads buffered while data-plane segments are read into pooled pinned buffers with Linux direct I/O. Expose the mode through both CUDA open options and a backwards-compatible FFI scan options entry point. Signed-off-by: Onur Satici <onur@spiraldb.com>
Polar Signals Profiling ResultsLatest Run
Powered by Polar Signals Cloud |
Benchmarks: Vortex queries 📖Verdict: No clear signal (low confidence) How to read Verdict and Engines
datafusion / vortex-file-compressed (0.975x ➖, 0↑ 0↓)
datafusion / parquet (0.899x ✅, 1↑ 0↓)
duckdb / vortex-file-compressed (0.924x ➖, 0↑ 0↓)
duckdb / parquet (0.988x ➖, 0↑ 0↓)
No file size changes detected. |
|
@claude review |
|
Claude finished @0ax1's task in 3m 25s —— View job Claude PR Review — Direct I/O for local CUDA file scans
Overall this is a clean, careful implementation. The alignment math is correct, the FFI surface is additive and ABI-safe, error handling avoids panics on the I/O path, and the Linux/non-Linux split is handled consistently. Below are findings ordered by importance — none are blocking, mostly hardening and questions. Correctness — looks solidI traced the alignment path end-to-end and it holds up:
1. Device-buffer element alignment after
|
No description provided.