Linux LVM users
 help / color / mirror / Atom feed
From: Urs Thuermann <urs@isnogud.escape.de>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] LVM and *bad* performance (no striping)
Date: 27 May 2001 11:47:30 +0200	[thread overview]
Message-ID: <m27kz39l8t.fsf@isnogud.escape.de> (raw)
In-Reply-To: <200105270747.f4R7lIYa005098@webber.adilger.int>; from Andreas Dilger on Sun, 27 May 2001 01:47:18 -0600 (MDT)

Andreas Dilger <adilger@turbolinux.com> writes:

> /dev/vgtest/lvtest = real 66.909s user 0.440s sys 10.420 *** 5x as slow
> /dev/vgtest/lvtest = real 70.135s user 0.520s sys 11.390 *** 5x as slow
> 
> /dev/vgtest3/lvtest = real 63.552s user 0.510s sys 10.290s *** 6x as slow
> /dev/vgtest3/lvtest = real 62.354s user 0.610s sys 10.020s *** 6x as slow

This is similar to the worst case numbers I have measured.

> I'm not sure if it is an SMP or SCSI issue, or what.  Urs, do you also
> have an SMP system?  Maybe there are locking slowdowns under SMP and
> not under UP?

No.  It's a single Pentium II, 333MHz, kernel 2.4.3 with lvm-0.9.1_beta7
compiled without SMP support:

    isnogud:urs$ grep SMP /usr/src/linux-2.4.3-ut/.config
    # CONFIG_SMP is not set

The SCSI controller is an Adaptec AIC 7880 on an ASUS P2L97-S
mainboard (onboard).  The SCSI disks are

    Host: scsi0 Channel: 00 Id: 00 Lun: 00
      Vendor: IBM      Model: DCAS-34330W      Rev: S65A
      Type:   Direct-Access                    ANSI SCSI revision: 02
    Host: scsi0 Channel: 00 Id: 01 Lun: 00
      Vendor: IBM      Model: DCAS-34330W      Rev: S65A
      Type:   Direct-Access                    ANSI SCSI revision: 02
    Host: scsi0 Channel: 00 Id: 02 Lun: 00
      Vendor: NEC      Model: DSE2100S         Rev: 0306
      Type:   Direct-Access                    ANSI SCSI revision: 02

i.e. /dev/sda and /dev/sdb are UW-SCSI and /dev/sdc is a SCSI-2 disks.


> The problem is definitely more noticable on the SCSI disks, but at least
> on the IDE disk the increased wall-clock time is wholly accounted for
> by increased system time.  On the SCSI disks, it would guess that "dd"
> is waiting for I/O completions under LVM, and not on the raw disk???

How could I check?  And do you have an idea, why a file system on top
of such a slow LV is, if at all, only somewhat slower?


urs

  reply	other threads:[~2001-05-27  9:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-26 15:44 [linux-lvm] LVM and *bad* performance (no striping) Urs Thuermann
2001-02-26 20:39 ` Joe Thornber
2001-02-26 21:03   ` Jorg de Jong
2001-02-26 21:38     ` Rik van Riel
2001-02-27  8:35   ` Patrick Caulfield
2001-02-27 12:21   ` Urs Thuermann
2001-02-28 11:05     ` Heinz J. Mauelshagen
2001-04-10 19:30       ` Urs Thuermann
2001-04-10 21:37         ` Andreas Dilger
2001-04-11 11:23           ` Urs Thuermann
2001-04-11 19:49             ` Andreas Dilger
2001-04-11 22:00               ` Terje Kvernes
2001-05-15 11:46               ` Urs Thuermann
2001-05-15 12:13                 ` Patrick Caulfield
2001-05-26 11:17                   ` Urs Thuermann
2001-05-27  7:47                     ` Andreas Dilger
2001-05-27  9:47                       ` Urs Thuermann [this message]
2001-05-27 17:01                       ` [linux-lvm] LVM and *bad* performance (counterexample) idsfa
2001-05-15 17:08                 ` [linux-lvm] LVM and *bad* performance (no striping) Andreas Dilger
2001-05-26 11:23                   ` Urs Thuermann
2001-02-26 21:41 ` Rik van Riel
2001-02-27 10:33   ` Urs Thuermann

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=m27kz39l8t.fsf@isnogud.escape.de \
    --to=urs@isnogud.escape.de \
    --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