Linux LVM users
 help / color / mirror / Atom feed
From: "Henric Andersson" <ha@thedudes.nu>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Poor performance with LVM 1.0.7
Date: Wed Aug 27 10:58:06 2003	[thread overview]
Message-ID: <000b01c36ca9$7bc29b50$c5000a0a@TTHENRIC2> (raw)
In-Reply-To: 20030827121655.GB26817@www.13thfloor.at

> I asked this, because I reported several times that
> lvm does have some I/O bottleneck/issue ...
>
> I had a similar problem with RAID5 where I could
> get 16Mb/s from each disk and about 30Mb/s from
> the RAID5 (4 disks) but only 18Mb/s from the lvm
> ontop of that raid ...

I've seen some evidence of that too on the net, but noone seems to have any answer.

Did a test now with bonnie on the LV setup with a 512MB file, and this is the result:

-------Sequential Output--------
Char: 17159K/s (97% CPU)
Block: 21966K/s (7% CPU)
Rewrite: 21052K/s (8% CPU)

---Sequential Input--
Char: 10879K/s (54% CPU)
Block: 18166K/s (2% CPU)

So, clearly, this should be enough to feed samba the 9.5MB/s that all the other non-lvm disks can do.
But apparently not. Is there perhaps some strange configuration of samba with LVM that actually makes
it slower? (Due to buffers, and read sizes?)

> > Even tried doing:
> >
> > time cat "somefile on the LV set" > /dev/null
> >
> > Which performed equally bad (ie, about 4-5MB/s).
> > Doing the same on the /dev/hda1 drive gives ALOT
> > better performance (more in the line of what hdparm -Tt reports)
>
> this was, on one of my systems, the reason why
> I removed the lvm and used the plain disk ...

No good in my case, I need to be able to extend the filesystem and thus, I need LVM.

> Heinz suggested to use the new LVM2 anyway, and maybe
> this is an option for you, so you could try this too
> (if you need patches for LVM2, hopefully they will be
> available for 2.4.22 this evening ...)

Isn't LVM2 just a new bunch of userland tools (+ a devicemapper) ? Or did I miss something?

/Henric

      reply	other threads:[~2003-08-27 10:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-26 12:47 [linux-lvm] Poor performance with LVM 1.0.7 Henric Andersson
2003-08-27  7:00 ` Herbert Pötzl
2003-08-27  7:59   ` Henric Andersson
2003-08-27  7:59     ` Herbert Pötzl
2003-08-27 10:58       ` Henric Andersson [this message]

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='000b01c36ca9$7bc29b50$c5000a0a@TTHENRIC2' \
    --to=ha@thedudes.nu \
    --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