Skip to content
About
Main content
Model

When compression speeds up a read

A ratio above ~4× buys you almost nothing on the read path. Everyone chases ratio. The derivation says: chase decode speed.

Pipe bandwidth
the bandwidth of the pipe the data travels through (disk or network)
Ratio
the compression ratio
Decode throughput
the decode throughput, measured in output bytes per second
Size
bytes read, uncompressed

Trade-off: Space vs. time

How it behaves

One input on the horizontal axis, the others held fixed.

Data table
How much faster than the pipe the decoder must be, by compression ratio
Compression ratio rDecode speed ÷ pipe speed, at least
1.111×
1.148.28×
1.186.68×
1.225.63×
1.264.88×
1.34.33×
1.343.9×
1.393.56×
1.443.28×
1.493.05×
1.542.86×
1.592.7×
1.642.55×
1.72.43×
1.762.32×
1.822.22×
1.882.14×
1.942.06×
2.011.99×
2.081.93×
2.151.87×
2.221.82×
2.31.77×
2.381.73×
2.461.69×
2.541.65×
2.631.62×
2.721.58×
2.811.55×
2.91.53×
31.5×
3.11.48×
3.211.45×
3.321.43×
3.431.41×
3.551.39×
3.671.37×
3.791.36×
3.921.34×
4.061.33×
4.21.31×
4.341.3×
4.491.29×
4.641.27×
4.81.26×
4.961.25×
5.131.24×
5.31.23×
5.481.22×
5.671.21×
5.861.21×
6.061.2×
6.271.19×
6.481.18×
6.71.18×
6.931.17×
7.171.16×
7.411.16×
7.661.15×
7.921.14×
8.191.14×
8.471.13×
8.761.13×
9.061.12×
9.371.12×
9.691.12×
101.11×
10.41.11×
10.71.1×
11.11.1×
11.41.1×
11.81.09×
12.21.09×
12.71.09×
13.11.08×
13.51.08×
141.08×
14.51.07×
151.07×
15.51.07×
161.07×

Worked examples, recomputed

Every number the mechanisms quote for this relationship is recomputed from it, so none of them disagrees with it.

Where it appears

Each mechanism states it in its own names. The general symbol each name stands for is shown with it.