Re:Pack: A New Container Format for Compressed Files
by darby_eight on Friday March 22, 2024 @04:14PM
(#39794355)
Eh, it's not that hard to imagine given how rare it is to zip 81k files of around 1kb each.
[ Parent
| on HN ]
Re:Pack: A New Container Format for Compressed Files
by iscoelho on Friday March 22, 2024 @04:25PM
(#39794457)
Not that rare at all. Take a full disk zip/tar of any Linux/Windows filesystem and you'll encounter a lot of small files.
Re:Pack: A New Container Format for Compressed Files
by darby_eight on Friday March 22, 2024 @04:30PM
(#39794504)
Ok? How are you comparing these systems to the benchmark so they might be considered relevant? Compressing "Lots of small files" describes an infinite variety of workloads. To achieve anything close to the benchmark you'd need to specifically only compress only small files in a single directory of an average small size. And even the contents of those files would have large implications as to expected performance....
Re:Pack: A New Container Format for Compressed Files
by iscoelho on Friday March 22, 2024 @05:53PM
(#39795254)
My comment is not making any claims about that. It's just a correction that filesystems with "81k 1KB files" are indeed common.
Re:Pack: A New Container Format for Compressed Files
by darby_eight on Saturday March 23, 2024 @02:08PM
(#39801904)
If that were true, surely it would make sense to demonstrate this directly rather than with a contrived benchmark? The issue is not the preponderance of small files but rather the distribution of data shapes.
Re:Pack: A New Container Format for Compressed Files
by viraptor on Friday March 22, 2024 @04:52PM
(#39794740)
That's basically any large source repo.
Re:Pack: A New Container Format for Compressed Files
by fbdab103 on Friday March 22, 2024 @07:19PM
(#39795870)
Zipping up a project directory even without git can be a big file collection. Python virtual environment or node_modules, can quickly get into thousands of small files.
Re:Pack: A New Container Format for Compressed Files
by OttoCoddo on Saturday March 23, 2024 @12:30PM
(#39801089)
Reading many files (81K in this test) is way slower than reading just one big file. For bigger files, Pack is much faster. Here is a link to some results from a kind contributor: https://forum.lazarus.freepascal.org/index.php/topic,66281.m...
(Too long to post here)