[gentoo-user] Correct stripe size on nvraid

2007-12-19 Thread Yahya Mohammad
I have an nforce5 motherboard set up with two disks in a RAID0
configuration. The BIOS menu shows Striping block as 64K and Striping
width as 2. What exactly does this mean? Is 64K the smallest possble
chunk size written to a single disk? I want to know what's the optimum
value for the stride parameter to pass to mke2fs -E when using ext3
with 4K blocks.

I activated the array with dmraid and looked at some of its info output.
But the various stride, stripeSize, and stripBlockSize values below
don't make sense to me:

# dmraid -s
*** Active Set
name   : nvidia_abcbdgeb
size   : 1953546240
stride : 128
type   : stripe
status : ok
subsets: 0
devs   : 2
spares : 0

# dmraid -n
/dev/sda (nvidia):
0x000 NVIDIA  
0x008 size: 30
0x00c chksum: 4068594016
0x010 version: 100
0x012 unitNumber: 0
0x013 reserved: 0
0x014 capacity: 1953546240
0x018 sectorSize: 512
0x01c productID: STRIPE   931.52G
0x02c productRevision: 100
0x030 unitFlags: 0
0x034 array-version: 6553668
0x038 array-signature[0]: 658758547
0x03c array-signature[1]: 1476699144
0x040 array-signature[2]: 414004829
0x044 array-signature[3]: 332144723
0x048 array-raidJobCode: 0
0x049 array-stripeWidth: 2
0x04a array-totalVolumes: 2
0x04b array-originalWidth: 2
0x04c array-raidLevel: 128
0x050 array-stripeBlockSize: 128
0x054 array-stripeBlockByteSize: 65536
0x058 array-stripeBlockPower: 7
0x05c array-stripeMask: 127
0x060 array-stripeSize: 256
0x064 array-stripeByteSize: 131072
0x068 array-raidJobMark 0
0x06c array-originalLevel 128
0x070 array-originalCapacity 1953546240
0x074 array-flags 0x1

/dev/sdb (nvidia):
0x000 NVIDIA  
0x008 size: 30
0x00c chksum: 4068528480
0x010 version: 100
0x012 unitNumber: 1
0x013 reserved: 0
0x014 capacity: 1953546240
0x018 sectorSize: 512
0x01c productID: STRIPE   931.52G
0x02c productRevision: 100
0x030 unitFlags: 0
0x034 array-version: 6553668
0x038 array-signature[0]: 658758547
0x03c array-signature[1]: 1476699144
0x040 array-signature[2]: 414004829
0x044 array-signature[3]: 332144723
0x048 array-raidJobCode: 0
0x049 array-stripeWidth: 2
0x04a array-totalVolumes: 2
0x04b array-originalWidth: 2
0x04c array-raidLevel: 128
0x050 array-stripeBlockSize: 128
0x054 array-stripeBlockByteSize: 65536
0x058 array-stripeBlockPower: 7
0x05c array-stripeMask: 127
0x060 array-stripeSize: 256
0x064 array-stripeByteSize: 131072
0x068 array-raidJobMark 0
0x06c array-originalLevel 128
0x070 array-originalCapacity 1953546240
0x074 array-flags 0x1

Thanks for any clarification. Any other tips for setting up the
filesystem would be welcome. I'll be mostly using this box as a media
server and some gaming.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Correct stripe size on nvraid

2007-12-19 Thread Mark Shields
On Dec 19, 2007 10:33 AM, Yahya Mohammad [EMAIL PROTECTED] wrote:

 I have an nforce5 motherboard set up with two disks in a RAID0
 configuration. The BIOS menu shows Striping block as 64K and Striping
 width as 2. What exactly does this mean? Is 64K the smallest possble
 chunk size written to a single disk? I want to know what's the optimum
 value for the stride parameter to pass to mke2fs -E when using ext3
 with 4K blocks.

 I activated the array with dmraid and looked at some of its info output.
 But the various stride, stripeSize, and stripBlockSize values below
 don't make sense to me:

 # dmraid -s
 *** Active Set
 name   : nvidia_abcbdgeb
 size   : 1953546240
 stride : 128
 type   : stripe
 status : ok
 subsets: 0
 devs   : 2
 spares : 0

 # dmraid -n
 /dev/sda (nvidia):
 0x000 NVIDIA
 0x008 size: 30
 0x00c chksum: 4068594016
 0x010 version: 100
 0x012 unitNumber: 0
 0x013 reserved: 0
 0x014 capacity: 1953546240
 0x018 sectorSize: 512
 0x01c productID: STRIPE   931.52G
 0x02c productRevision: 100
 0x030 unitFlags: 0
 0x034 array-version: 6553668
 0x038 array-signature[0]: 658758547
 0x03c array-signature[1]: 1476699144
 0x040 array-signature[2]: 414004829
 0x044 array-signature[3]: 332144723
 0x048 array-raidJobCode: 0
 0x049 array-stripeWidth: 2
 0x04a array-totalVolumes: 2
 0x04b array-originalWidth: 2
 0x04c array-raidLevel: 128
 0x050 array-stripeBlockSize: 128
 0x054 array-stripeBlockByteSize: 65536
 0x058 array-stripeBlockPower: 7
 0x05c array-stripeMask: 127
 0x060 array-stripeSize: 256
 0x064 array-stripeByteSize: 131072
 0x068 array-raidJobMark 0
 0x06c array-originalLevel 128
 0x070 array-originalCapacity 1953546240
 0x074 array-flags 0x1

 /dev/sdb (nvidia):
 0x000 NVIDIA
 0x008 size: 30
 0x00c chksum: 4068528480
 0x010 version: 100
 0x012 unitNumber: 1
 0x013 reserved: 0
 0x014 capacity: 1953546240
 0x018 sectorSize: 512
 0x01c productID: STRIPE   931.52G
 0x02c productRevision: 100
 0x030 unitFlags: 0
 0x034 array-version: 6553668
 0x038 array-signature[0]: 658758547
 0x03c array-signature[1]: 1476699144
 0x040 array-signature[2]: 414004829
 0x044 array-signature[3]: 332144723
 0x048 array-raidJobCode: 0
 0x049 array-stripeWidth: 2
 0x04a array-totalVolumes: 2
 0x04b array-originalWidth: 2
 0x04c array-raidLevel: 128
 0x050 array-stripeBlockSize: 128
 0x054 array-stripeBlockByteSize: 65536
 0x058 array-stripeBlockPower: 7
 0x05c array-stripeMask: 127
 0x060 array-stripeSize: 256
 0x064 array-stripeByteSize: 131072
 0x068 array-raidJobMark 0
 0x06c array-originalLevel 128
 0x070 array-originalCapacity 1953546240
 0x074 array-flags 0x1

 Thanks for any clarification. Any other tips for setting up the
 filesystem would be welcome. I'll be mostly using this box as a media
 server and some gaming.
 --
 [EMAIL PROTECTED] mailing list


I suggest reading this:
http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Bios_(Onboard)_RAID

-- 
- Mark Shields