Roman Mamedov wrote:
On Fri, 07 Jun 2013 18:23:56 -0400
Bill Davidsen <davidsen@xxxxxxx> wrote:
If I have to have a bitmap file, it is
presumably faster to have a larger chunk size
If you want performance I think a too big chunk size will hurt you.
You are confusing the general array chunk sizes, and the bitmap chunk size. In
the latter, a larger size will universally give better performance (up to some
value, where it will perhaps start to flat out).
If that were the case, then a bitmap would not be used, you could just have a
single bit, and make the chuck size the size of everything. Since that would
pretty much make the bitmap worthless, it suggests to me that there is in fact a
limit to the optimal chunk size, short of what the implementation max allows. I
think the optimal size is determined by usage, but there is probably some way to
measure it. I find that when it seems a "if some is good more is better"
approach fits a problem, I like to check that taking it to the limit would make
sense. The Latin IIRC is 'reducto ad absurbum' and has saved me from occasional
wretched excess.
--
Bill Davidsen <davidsen@xxxxxxx>
We are not out of the woods yet, but we know the direction and have
taken the first step. The steps are many, but finite in number, and if
we persevere we will reach our destination. -me, 2010
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html