linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Sebastian Bachmann <me@free-minds.net>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Change stripe cache for lvm raid5
Date: Sun, 1 Jan 2017 15:15:14 +0100	[thread overview]
Message-ID: <20170101141514.jnazw5dd4kfpcip4@cebalrai> (raw)

[-- Attachment #1: Type: text/plain, Size: 758 bytes --]

Hi!
I'm using a LVM RAID5 on a machine but the write performance is pretty poor
(about 20-30MB/s),
where the read performance is quite good (about 280MB/s).
I read about the stripe_cache_size for md raid and as far as I understand LVM
raid, it uses md as well.
In the design document for lvm2-raid
(https://git.fedorahosted.org/cgit/lvm2.git/tree/doc/lvm2-raid.txt) I can find
that a option --stripecache is specified there, but as it seems those options
were never implemented.

Is it possible to set the stripe cache size somewhere else? It seems to me that
lvm2 uses dmsetup to create the raid, where a stripe cache can be set while
creation. But it seems to me there is no interface to change such values
later on?

Thanks in advance!

regards
Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2017-01-01 14:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-01 14:15 Sebastian Bachmann [this message]
2017-01-01 16:45 ` [linux-lvm] Change stripe cache for lvm raid5 Sebastian Bachmann
2017-01-15 16:57   ` Sebastian Bachmann
2017-01-16 13:05     ` Heinz Mauelshagen

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=20170101141514.jnazw5dd4kfpcip4@cebalrai \
    --to=me@free-minds.net \
    --cc=linux-lvm@redhat.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;
as well as URLs for NNTP newsgroup(s).