RAID0 extent sizes?

2014-12-12 Thread Robert White
I've seen it mentioned here that generally data extents are 1G and metadata extents are 256M. Is that per-drive or per-stripe in the case of RAID0? That is, if I have data mode raid0 across N drives does the system allocate one 1G extent on each drive making the full stripe allocation

Re: RAID0 extent sizes?

2014-12-12 Thread Hugo Mills
On Fri, Dec 12, 2014 at 02:54:24PM -0800, Robert White wrote: I've seen it mentioned here that generally data extents are 1G and metadata extents are 256M. Is that per-drive or per-stripe in the case of RAID0? That is, if I have data mode raid0 across N drives does the system allocate one

Re: RAID0 extent sizes?

2014-12-12 Thread Robert White
On 12/12/2014 02:59 PM, Hugo Mills wrote: On Fri, Dec 12, 2014 at 02:54:24PM -0800, Robert White wrote: I've seen it mentioned here that generally data extents are 1G and metadata extents are 256M. Is that per-drive or per-stripe in the case of RAID0? That is, if I have data mode raid0 across

Re: RAID0 extent sizes?

2014-12-12 Thread Hugo Mills
On Fri, Dec 12, 2014 at 03:25:19PM -0800, Robert White wrote: On 12/12/2014 02:59 PM, Hugo Mills wrote: On Fri, Dec 12, 2014 at 02:54:24PM -0800, Robert White wrote: I've seen it mentioned here that generally data extents are 1G and metadata extents are 256M. Is that per-drive or per-stripe

Re: RAID0 extent sizes?

2014-12-12 Thread Chris Murphy
Based on looking at how identically sized, empty, qcow2 files grow when they're added to a Btrfs volume, the 1GiB Btrfs chunk or allocation unit, doesn't have an immediate physical allocation. It's more of a virtual thing, but it has a physical manifestation. Single profile, 5 disks: As data is