chunk size K, KB, KiB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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
--
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




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux