Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: Gentoo AMD64 <gentoo-amd64@l.g.o>
Subject: [gentoo-amd64] Is my RAID performance bad possibly due to starting sector value?
Date: Thu, 20 Jun 2013 19:10:13
Message-Id: CAK2H+ecth45ADi=k=1b4y8eowYNqoABTo3iMgEzV6pAmthusVA@mail.gmail.com
1 Hi,
2 Does anyone know of info on how the starting sector number might
3 impact RAID performance under Gentoo? The drives are WD-500G RE3
4 drives shown here:
5
6 http://www.amazon.com/Western-Digital-WD5002ABYS-3-5-inch-Enterprise/dp/B001EMZPD0/ref=cm_cr_pr_product_top
7
8 These are NOT 4k sector sized drives.
9
10 Specifically I'm a 5-drive RAID6 for about 1.45TB of storage. My
11 benchmarking seems abysmal at around 40MB/S using dd copying large
12 files. It's higher, around 80MB/S if the file being transferred is
13 coming from an SSD, but even 80MB/S seems slow to me. I see a LOT of
14 wait time in top. And my 'large file' copies might not be large enough
15 as the machine has 24GB of DRAM and I've only been copying 21GB so
16 it's possible some of that is cached.
17
18 Then I looked again at how I partitioned the drives originally and
19 see the starting sector of sector 3 as 8594775. I started wondering if
20 something like 4K block sizes at the file system level might be
21 getting munged across 16k chunk sizes in the RAID. Maybe the blocks
22 are being torn apart in bad ways for performance? That led me down a
23 bunch of rabbit holes and I haven't found any light yet.
24
25 Looking for some thoughtful ideas from those more experienced in this area.
26
27 Cheers,
28 Mark

Replies