Linux LVM users
 help / color / mirror / Atom feed
From: Steven Lembark <lembark@wrkhors.com>
To: linux-lvm@sistina.com
Subject: RE: [linux-lvm] LVM performance
Date: Fri Nov 23 09:11:01 2001	[thread overview]
Message-ID: <8690000.1006506624@dizzy> (raw)
In-Reply-To: <NBBBKLKHMJHIJLHOGAOJIEADJCAA.steve.wray@the.net.nz>


-- Steve Wray <steve.wray@the.net.nz>

>> From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On
>> Behalf Of Bradley M Alexander
>> On Fri, Nov 23, 2001 at 05:32:07PM +1300, Steve Wray wrote:
>> >
>> > thats dead right; ide can't simultaneously write to the master and
>> > slave on the same controller. Also, the pair of drives uses the
>> > controller circuitry
>> > of the master, so it always pays to make the master the most modern
>> > one.
>>
>> Since both controllers have a drive master and a cd slave, this shouldn't
>> matter, per se.
>
> yeah but I thought I'd mention it, for completeness
> :)

Dependong on the bios, for example, there still could be
contention on the SB chipset for access to the controllers.
Point is that there can be multiple bottlenecks.

>> > > Can anyone give me any ideas as to why the machine gets
>> beaten about so
>> > > much during IO operations and more importantly how can I minimize the
>> > > impact.
>> >
>> > Dunno, if it was because the fs is striped across those drives then
>> > splitting them across controllers would have made it go away.
>>
>> Nothing should be striped across the drives. I have two PVs and made two
>> VGs, one on each drive. The way it works out, the data I am
>> mastering is on
>
> yup you have to tell it to stripe, as I recall. Never used that feature
> tho.

I'm using LVM with several striped volumes. Hardware is Tekram
160MB scsi + pair of 80MB drives. The striping works rather
nicely: sustained I/O is high for large copies and latency is
low for reads. The file system uses a 4KB page w/ the inodes
reduced to a reasonable value (e.g., mkfs.ext2 -b4096 -i10240).

If you are using the default of 1block / page then it can
hammer a system due to 2ndary access and higher write rate.

>> > I've seen no performance problems at all and really thrashed an
>> > LVM-root machine for test purposes while working on a movie. It took
>> > it well, performance-wise. (reliability is another issue; never go
>> > LVM-root... but thats just my 2 cents, YMMV).
>>
>> Yeah, I wasn't brave enough to go all out...And with the problems I was
>> having, I'm glad I made that decision. :)
>
> I think the worst part is the lack of backward compatibility
> at some stages of LVM. With root on LVM it can be a bit dangerous
> to upgrade! Or at least it was...

<broken-record>
This can also be a real pain to fix if something goes wrong. If
the lvm is --prefix-ed to, say, /lvm and the root volume is
on a paritition then you can fix most things w/o having to
play with rescue file systems.
</broken-record>

--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 800 762 1582

  reply	other threads:[~2001-11-23  9:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-22 22:15 [linux-lvm] LVM performance Bradley M Alexander
2001-11-22 22:31 ` Steve Wray
2001-11-22 23:24   ` Bradley M Alexander
2001-11-23  6:33     ` Steve Wray
2001-11-23  9:11       ` Steven Lembark [this message]
2001-11-23  8:08     ` Benjamin Scott
2001-11-25 21:15       ` Steven Lembark
2001-11-27 12:24 ` Duncan Young
     [not found] <3BFDEE1A.1161DD24@dpma.de>
2001-11-23  8:11 ` Benjamin Scott
  -- strict thread matches above, loose matches on Subject: below --
2002-11-08 17:34 Alan Willis
2002-11-09  3:05 ` Joe Thornber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8690000.1006506624@dizzy \
    --to=lembark@wrkhors.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox