Add compression levels 0-9 to the Vortex compressor
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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時間
- マージ済み PR(30日)
- 684
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 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 日以内に返信