erofs-utils: refine tailpcluster compression approach
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v12 patches 1 replySuperseded
Changes in v2 from the cover letter
- fall back to uncompressed data if EOF lcluster inline is no possible;
- fix `ret' signedness.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | erofs-utils: lib: get rid of a redundent compress roundlib/ | +3 | 0 replies | |
| 2/2 | erofs-utils: lib: refine tailpcluster compression approachinclude/ include/ lib/ +1 more | +116 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Yue Hu |
|---|---|
| Series | T-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] erofs-utils: refine tailpcluster compression approach
Hi,
This patchset refines tailpcluster compression. Firstly, instead of compressing into many 4KiB pclusters, it compresses into 2 pclusters as I already mentioned in the previous comment [1].
Secondly, it fixes up EOF lclusters which was disabled on purpose before in order to achieve better inlining performance for small compressed data, which matches the new kernel fix [2].
Still take linux-5.10.87 as an example (75368 inodes in total):
linux-5.10.87 (erofs, lz4hc,9 4k tailpacking) 391696384 => 331292672
linux-5.10.87 (erofs, lz4hc,9 8k tailpacking) 368807936 => 321961984
linux-5.10.87 (erofs, lz4hc,9 16k tailpacking) 345649152 => 313344000
linux-5.10.87 (erofs, lz4hc,9 32k tailpacking) 338649088 => 309055488
(There is still another improvement working in progress..)
Thanks,
Gao Xiang
[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/r/[email protected]
changes since v1 (reported by Yue Hu):
- fall back to uncompressed data if EOF lcluster inline is no possible;
- fix `ret' signedness.
Gao Xiang (2):
erofs-utils: lib: get rid of a redundent compress round
erofs-utils: lib: refine tailpcluster compression approach
include/erofs/compress.h | 1 + include/erofs/internal.h | 4 + lib/compress.c | 156 +++++++++++++++++++++++++++------------ lib/inode.c | 9 ++- 4 files changed, 119 insertions(+), 51 deletions(-)
Signature · 1 line
2.24.4