Hi, Its certainly not in any weird units. If it says 1M it will be 1024^2 bytes. It will also be a multiple of the block size (4k unless you've asked for a smaller size) no matter what rg size is specified,
Steve. On Thu, 2008-12-11 at 11:52 +0000, Gordan Bobic wrote: > Thanks for the info. Re: the rg size parameter to mkfs.gfs/mkfs.gfs2, can > anyone familiar with the code confirm that this is in MiB (1024*1024 bytes), > rather than something weird like MB (i.e. 1,000*1,000, but rounded to nearest > multiple of block size). > > Thanks. > > Gordan > > -----Original Message----- > From: "Steven Whitehouse" <[EMAIL PROTECTED]> > To: "linux clustering" <[email protected]> > Sent: 11/12/08 11:17 > Subject: Re: [Linux-cluster] GFS equivalent of ext3's block group size > > Hi, > > On Thu, 2008-12-11 at 11:10 +0000, Gordan Bobic wrote: > > I'm trying to apply some of the ext2/3 based logic to optimizing GFS on a > > RAID array. The idea is to try to make sure block groups all start on > > different disks, since beginning of each block group sees most access. If > > they are all on one disk, this disk becomes the bottleneck. > > > > So my question is, what is the equivalent in GFS? I'm guessing at resource > > group, but this only seems adjustable in 1MB increments, which is a bit > > large. Is there a way to adjust this with finer granularity? > > > > -- > > Linux-cluster mailing list > > [email protected] > > https://www.redhat.com/mailman/listinfo/linux-cluster > > A resource group is almost the direct equivalent of a block group as you > suggest. I don't see any reason why we'd need to restrict them to 1M > intervals though, so I suspect that is entirely down to a decision > made by the author of mkfs and there is no reason why that couldn't > be relaxed in the future, > > Steve. > > > -- > Linux-cluster mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/linux-cluster > > > -- > Linux-cluster mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/linux-cluster -- Linux-cluster mailing list [email protected] https://www.redhat.com/mailman/listinfo/linux-cluster
