Add compression levels 0-9 to the Vortex compressor
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 18/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Rust
- Estrelas
- 3.2k
- Forks
- 239
- Merge médio
- 1d 4h
- PRs com merge (30d)
- 684
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de vortex-data/vortex
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
vortex-data/vortex#12633 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
vortex-data/vortex#12628 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
vortex-data/vortex#12491 ·
Mantenedores costumam responder em até 1 dia
-
Fallible constructor for nested_case_whenTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
vortex-data/vortex#11425 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 67/100
vortex-data/vortex#12635 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de vortex-data/vortex
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
marklauter/tsong#110 ·
-
docs enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
wasm-bindgen/wasm-bindgen#5503 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
marketing
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
area: engine bug needs milestone
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
Mudcrab-Team/mudcrab#1197 · 1 comentário ·
Mantenedores costumam responder em até 1 dia