Thread (13 messages) 13 messages, 5 authors, 2012-08-14

Re: [PATCH v2] ext4: dynamical adjust the length of zero-out chunk

From: Theodore Ts'o <tytso@mit.edu>
Date: 2012-08-13 18:41:04

On Mon, Aug 13, 2012 at 10:32:24AM -0700, Zach Brown wrote:
quoted
    we allow it to be tunable via sysfs and set an initial default value
    of 32, so instead of creating uninitalized extents smaller than
s/32/16/?
Oops, nice catch.
It'd be nice to define the tunable in terms of some fixed unit, kb or
mb, whatever, and then translate to the block size in the code so people
don't have to do that math by hand.

No?
Agreed, thanks for the suggestion.  The next question is whether the
default maximum zero-out size should be 256k (as previously
documented) or 128k (as previously coded).

The previously rule of thumb which I had used was that after doing a
random seek, the time needed to write 4k and 32k was pretty much in
the noise.  But that was a number from several years ago.  I suppose I
should do some quick experiments to see what is a good number these
days....

						- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help