Add compression levels 0-9 to the Vortex compressor
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
This is API design across the compressor and write path, not a single fix. Start by reading BtrBlocksCompressorBuilder and WriteStrategyBuilder, and the existing with_compact() path that the level 9 tier must match. Done means a 0..=9 level setting that maps to the tiers in the issue, with the intermediate levels aliased, and the Python and FFI bindings exposing it. The issue leaves the tier contents and the open questions about Affine and vortex.rans to the maintainers.
由索引模型根据 Issue 内容生成。
描述
Today the compressor only offers two modes: default and with_compact(). That leaves no fast mode for transient shuffle or spill files, and no middle tier between BitPacked and slow CPU-only Pco + Zstd.
Expose compression levels 0..=9 on BtrBlocksCompressorBuilder and WriteStrategyBuilder (plus Python/FFI bindings), leaving room between tiers for future tuning:
0(fast): minimal CPU for shuffle and spill files (Constant,FoR.v2(#11885),BitPacked,ZigZag, lossless floatWiden(#11883),ALP(BitPacked),ALPRD(BitPacked, BitPacked); skipsDict,FSST,Delta, and entropy coding). Native CPU SIMD and CUDA (~3.1 GB/sE2E write,~28 GB/sscan across the 45-dataset13.32 GBcorpus).3(default): balanced lakehouse and GPU default (+ Dict,RunEnd,Sparse,FSST,Delta, andvortex.pivco(#11892) where worthwhile). Native CPU SIMD and CUDA oncevortex.pivcoand floatWidenland invortex-cuda.6(dense): tightervortex.pivcothresholds (PHA/OP-PHA, plus cascadingALPRD.left_partsandFoRresiduals intovortex.pivco, andOnPairon strings) reaching2,940 MB(4.53×,-23.0%vscore3,818 MB) across the 45-dataset corpus while keeping18.0 GB/sscan,3.6×faster 1K random access, and16.9×fasterscalar_at(335 nsvs5,654 ns) thanPco.9(compact):Pco+Zstd(with_compact()today,2,593 MB/5.14×across the 45 datasets) for cold archival storage where GPU decode and sub-millisecond random access are not needed.
Intermediate levels (1-2, 4-5, 7-8) can alias to a neighboring tier initially and split out later without changing the API.
Part of #11890.
- 主要语言
- Rust
- 星标
- 3.2k
- 派生
- 239
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 684
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
vortex-data/vortex 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
vortex-data/vortex#12633 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
vortex-data/vortex#12628 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
vortex-data/vortex#12491 ·
维护者通常 1 天内回复
-
Fallible constructor for nested_case_when可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
vortex-data/vortex#11425 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 67/100
vortex-data/vortex#12635 ·
维护者通常 1 天内回复
查看 vortex-data/vortex 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
marklauter/tsong#110 ·
-
docs enhancement
难度 2/5 1-3 小时 新手友好度 78/100
wasm-bindgen/wasm-bindgen#5503 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
marketing
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
area: engine bug needs milestone
难度 2/5 1-3 小时 新手友好度 70/100
Mudcrab-Team/mudcrab#1197 · 1 条评论 ·
维护者通常 1 天内回复