Gentoo Archives: gentoo-user

From: Yahya Mohammad <mfyahya@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] Correct stripe size on nvraid
Date: Wed, 19 Dec 2007 15:39:17
Message-Id: 20071219153319.GA6621@yarmook.hjz
1 I have an nforce5 motherboard set up with two disks in a RAID0
2 configuration. The BIOS menu shows "Striping block" as 64K and "Striping
3 width" as 2. What exactly does this mean? Is 64K the smallest possble
4 chunk size written to a single disk? I want to know what's the optimum
5 value for the "stride" parameter to pass to mke2fs -E when using ext3
6 with 4K blocks.
7
8 I activated the array with dmraid and looked at some of its info output.
9 But the various stride, stripeSize, and stripBlockSize values below
10 don't make sense to me:
11
12 # dmraid -s
13 *** Active Set
14 name : nvidia_abcbdgeb
15 size : 1953546240
16 stride : 128
17 type : stripe
18 status : ok
19 subsets: 0
20 devs : 2
21 spares : 0
22
23 # dmraid -n
24 /dev/sda (nvidia):
25 0x000 NVIDIA
26 0x008 size: 30
27 0x00c chksum: 4068594016
28 0x010 version: 100
29 0x012 unitNumber: 0
30 0x013 reserved: 0
31 0x014 capacity: 1953546240
32 0x018 sectorSize: 512
33 0x01c productID: STRIPE 931.52G
34 0x02c productRevision: 100
35 0x030 unitFlags: 0
36 0x034 array->version: 6553668
37 0x038 array->signature[0]: 658758547
38 0x03c array->signature[1]: 1476699144
39 0x040 array->signature[2]: 414004829
40 0x044 array->signature[3]: 332144723
41 0x048 array->raidJobCode: 0
42 0x049 array->stripeWidth: 2
43 0x04a array->totalVolumes: 2
44 0x04b array->originalWidth: 2
45 0x04c array->raidLevel: 128
46 0x050 array->stripeBlockSize: 128
47 0x054 array->stripeBlockByteSize: 65536
48 0x058 array->stripeBlockPower: 7
49 0x05c array->stripeMask: 127
50 0x060 array->stripeSize: 256
51 0x064 array->stripeByteSize: 131072
52 0x068 array->raidJobMark 0
53 0x06c array->originalLevel 128
54 0x070 array->originalCapacity 1953546240
55 0x074 array->flags 0x1
56
57 /dev/sdb (nvidia):
58 0x000 NVIDIA
59 0x008 size: 30
60 0x00c chksum: 4068528480
61 0x010 version: 100
62 0x012 unitNumber: 1
63 0x013 reserved: 0
64 0x014 capacity: 1953546240
65 0x018 sectorSize: 512
66 0x01c productID: STRIPE 931.52G
67 0x02c productRevision: 100
68 0x030 unitFlags: 0
69 0x034 array->version: 6553668
70 0x038 array->signature[0]: 658758547
71 0x03c array->signature[1]: 1476699144
72 0x040 array->signature[2]: 414004829
73 0x044 array->signature[3]: 332144723
74 0x048 array->raidJobCode: 0
75 0x049 array->stripeWidth: 2
76 0x04a array->totalVolumes: 2
77 0x04b array->originalWidth: 2
78 0x04c array->raidLevel: 128
79 0x050 array->stripeBlockSize: 128
80 0x054 array->stripeBlockByteSize: 65536
81 0x058 array->stripeBlockPower: 7
82 0x05c array->stripeMask: 127
83 0x060 array->stripeSize: 256
84 0x064 array->stripeByteSize: 131072
85 0x068 array->raidJobMark 0
86 0x06c array->originalLevel 128
87 0x070 array->originalCapacity 1953546240
88 0x074 array->flags 0x1
89
90 Thanks for any clarification. Any other tips for setting up the
91 filesystem would be welcome. I'll be mostly using this box as a media
92 server and some gaming.
93 --
94 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Correct stripe size on nvraid Mark Shields <laebshade@×××××.com>