public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] terrible performance with btrfs on LVM2 using a WD 2TB green drive
@ 2011-03-15  5:37 Bill Kenworthy
  2011-03-15  6:50 ` Matthew Marlowe
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Bill Kenworthy @ 2011-03-15  5:37 UTC (permalink / raw
  To: Gentoo Users

I have recently added a WD 2TB green drive to two systems and am finding
terrible performance with btrfs on an LVM using these drives.

I just saw on the mythtv list about the sector size problem these drives
have where they have poor performance unless you can map the partitions
onto certain sector boundaries.

My problem is that LVM2 is not supported in parted which is the
recommended tool to deal with this.

How can I map an lvm with 4 or more disks, only one of which is a "WD
Green drive" and containing multiple reiserfs and btrfs file systems for
best performance.  As these drives look useful in a data centre because
of their power savings, I presume someone must have solved this already!

I suspect I only need to map the individual PE to a particular start
sector on each drive, not btrfs, but then there is stripe/block sizes to
consider as well ... WD also are recommending 1mb sector boundaries for
best performance - I can see a reinstall coming up :)

Is there an application that can analyze a disk for settings and
automatically list the best/recommended settings?  This should be
scriptable anyway so I may end up going this way if someone hasn't gone
there first.

Yesterday, a backup using dirvish that used to take 3-5 minutes to a
reiserfs partition on lvm on an older disk took nearly 19 minutes to the
same server, same lvm but on a btrfs partition on the new WD drive the
lvm was extended onto.  Delete performance is even worse  :(

BillK






^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-03-23  1:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-15  5:37 [gentoo-user] terrible performance with btrfs on LVM2 using a WD 2TB green drive Bill Kenworthy
2011-03-15  6:50 ` Matthew Marlowe
2011-03-15 10:22   ` William Kenworthy
2011-03-16  8:53   ` Florian Philipp
2011-03-16 11:41     ` Joost Roeleveld
2011-03-15 15:26 ` [gentoo-user] " James
2011-03-15 15:44   ` Volker Armin Hemmann
2011-03-16  0:29   ` Bill Kenworthy
2011-03-16 15:57     ` james
2011-03-23  1:57     ` Bill Kenworthy
2011-03-16 10:33   ` Helmut Jarausch
2011-03-15 15:45 ` [gentoo-user] " Volker Armin Hemmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox