[GSOC] HAMMER2 compression feature week6 report
Daniel Flores
daniel5555 at gmail.com
Mon Jul 29 18:43:58 PDT 2013
Thank you for feedback.
On Mon, Jul 29, 2013 at 7:47 PM, Radio młodych bandytów <
radiomlodychbandytow at o2.pl> wrote:
> Also, it would be nice to see performance in small files. Not
> multimegabyte giants, but mere sub-1-blockers, down to sub-1-sectors.
>
OK, I'll do a couple of tests on small files (both single file and group
tests) and publish them soon. Maybe in this week's report, but I'll try to
do it sooner, if possible...
> BTW it just occurred to me the kernel code needlessly tries to compress
> files that take just 1 sector. And why is there no support for 512B
> blocks? It's a HAMMER2 limitation, right?
As far as I understand, the current standard for sector size is 4KB, but
still there are plenty of drives which sector size is 512B, so it probably
makes sense to try to compress files which size is between 512B and 4KB.
When the file size is less or equal to 512B, it is directly embedded into
an inode and it's not compressed in that case.
As about 512B blocks, we currently have 1KB block as a minimum sized block,
but it's not limited to 1KB in theory.
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20130730/e1eca48e/attachment-0002.html>
More information about the Kernel
mailing list