Gentoo Archives: gentoo-user

From: Bill Kenworthy <billk@×××××××××.au>
To: Gentoo Users <gentoo-user@l.g.o>
Subject: [gentoo-user] terrible performance with btrfs on LVM2 using a WD 2TB green drive
Date: Tue, 15 Mar 2011 05:39:52
Message-Id: 1300167466.30677.32.camel@troll
1 I have recently added a WD 2TB green drive to two systems and am finding
2 terrible performance with btrfs on an LVM using these drives.
3
4 I just saw on the mythtv list about the sector size problem these drives
5 have where they have poor performance unless you can map the partitions
6 onto certain sector boundaries.
7
8 My problem is that LVM2 is not supported in parted which is the
9 recommended tool to deal with this.
10
11 How can I map an lvm with 4 or more disks, only one of which is a "WD
12 Green drive" and containing multiple reiserfs and btrfs file systems for
13 best performance. As these drives look useful in a data centre because
14 of their power savings, I presume someone must have solved this already!
15
16 I suspect I only need to map the individual PE to a particular start
17 sector on each drive, not btrfs, but then there is stripe/block sizes to
18 consider as well ... WD also are recommending 1mb sector boundaries for
19 best performance - I can see a reinstall coming up :)
20
21 Is there an application that can analyze a disk for settings and
22 automatically list the best/recommended settings? This should be
23 scriptable anyway so I may end up going this way if someone hasn't gone
24 there first.
25
26 Yesterday, a backup using dirvish that used to take 3-5 minutes to a
27 reiserfs partition on lvm on an older disk took nearly 19 minutes to the
28 same server, same lvm but on a btrfs partition on the new WD drive the
29 lvm was extended onto. Delete performance is even worse :(
30
31 BillK

Replies

Subject Author
Re: [gentoo-user] terrible performance with btrfs on LVM2 using a WD 2TB green drive Matthew Marlowe <matt@×××××××××××.net>
[gentoo-user] Re: terrible performance with btrfs on LVM2 using a WD 2TB green drive James <wireless@×××××××××××.com>
Re: [gentoo-user] terrible performance with btrfs on LVM2 using a WD 2TB green drive Volker Armin Hemmann <volkerarmin@××××××××××.com>