<div dir="ltr">On Sun, Jul 28, 2013 at 9:53 PM, Radio młodych bandytów <span dir="ltr"><<a href="mailto:radiomlodychbandytow@o2.pl" target="_blank">radiomlodychbandytow@o2.pl</a>></span> wrote:<br><div class="gmail_extra">

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 28/07/2013 21:08, Daniel Flores wrote:<br>
> we don't reference previous blocks at this moment<br>
</div>Do you intend to add it? How?<br></blockquote><div><br></div><div>At this moment I don't have plans regarding previous blocks, but maybe in the course of optimizing the write path there will be some ideas about it. We'll see.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><span style="color:rgb(34,34,34)">No, they are not the same, but in a way that doesn't matter here - I set</span><br>

</div>
'sector size' to 32 KB, so even if a block compresses to less than 16,<br>
it takes 32 KB.<br>
I checked, the tail block compressed from 47875 to 32038.<br></blockquote><div><br></div><div>Oh, I understand now why you got that block compressed and I didn't.</div><div>It's just that my prototype application, that I used to test this algorithm and generate my test results, always tries to compress a whole 64KB block. So, in this case, instead of trying to compress just 47875 bytes of data, it tried to compress a block that contained that data and also some garbage, which, logically, didn't lead to a successful compression.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><span style="color:rgb(34,34,34)">If you're open to researching other algorithm options, I suggest looking</span><br>

</div>
at fsbench, it's going to be easier to adapt it to the way HAMMER2 works<br>
than to add other algorithms to the kernel:<br>
<a href="http://encode.ru/threads/1371-Filesystem-benchmark?highlight=fsbench" target="_blank">http://encode.ru/threads/1371-Filesystem-benchmark?highlight=fsbench</a><br>
Note that the latest version crashes on your book2 with settings as<br>
above, you made me find an integer underflow. Will upload an update<br>
later today.<br></blockquote><div><br></div><div>OK, this looks really interesting. This application can make the process of testing an algorithm a lot easier.</div><div>I'll take a closer look at it soon.</div><div>
<br></div><div>Thank you.</div><div><br></div><div><br></div><div>Daniel</div></div></div></div>