facebook / facebook/zstd

Recursive compression is better than --ultra -22

未关闭
#3,003 4 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
27.9k
派生
2.6k
平均合并
1 天 3 小时
30 天内合并 PR
8

描述

**Describe the bug**
I had expected no options would beat `--ultra -22`, however, I have found a file where it is outperformed by `pzstd -1 | pzstd -19`.

**To Reproduce**
Download: https://cloud.prosa.dk/s/tBSZwHXJKCKs78n/download/100g-1-19.zst.zst

Decompress the file. Decompress the decompressed file. This should give you a 100 GB file.

(When decompressing I cannot make pzstd use all 64 cores. Why?).

Run:
~~~
pzstd --ultra -22 < 100g-1-19 > 100g-22.zst
# Why does this not use all 64 cores?
pzstd -1 < 100g-1-19 | pzstd -19 > 100g-1-19.zst.zst
ls -l
# Sizes are different. 100g-1-19.zst.zst is smaller.
~~~

**Expected behavior**
I had expected no options would beat `--ultra -22`. So I had expected 100g-22.zst to be smaller.

**Screenshots and charts**
N/A

**Desktop (please complete the following information):**
- OS: Ubuntu 20.04
- Version: 1.4.4
- Compiler: installed as binary package
- Flags: -
- Other relevant hardware specs: 64 cores
- Build system: -

**Additional context**
N/A

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。