chunk size K, KB, KiB

Started by Chris Murphy on Mar 17, 2015

open the first message on its own page

Message details and related content
man mdadm:
-c, --chunk=
   Specify chunk size of kibibytes. The default when creating an array is
   512KB.
[...snip...]
A suffix of 'M' or 'G' can be given to indicate Megabytes or Gigabytes respectively.
Is this actually 512KiB as in 1024 512 byte sectors? Or is is 1000 512
byte sectors? I suppose either one is plausible.

SNIA's DDF reference says strip_size (synonym for chunk and stripe depth) is

Table 27 (following page) [1], see the strip_size examples. All of
those values are clearly base 2 values, but they're wrongly labeled
with the base 10 SI prefix.

Therefore I'm pretty sure the mdadm man page is correct saying
"Specify chunk size of kibibytes" and subsequently should instead use
512KiB and 64KiB respectively.

[1]
http://www.snia.org/sites/default/files/SNIA_DDF_Technical_Position_v2.0.pdf

-- 
Chris Murphy
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help