All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Cox <chris_cox@stercomm.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] LVM Overhead
Date: Wed, 26 Sep 2007 11:10:37 -0500	[thread overview]
Message-ID: <46FA847D.5010405@stercomm.com> (raw)
In-Reply-To: <1C8CF1EA1A5B5940B81B0710B2A4C93820128EDAB9@an-ex.ActiveNetwerx.int>

Joseph L. Casale wrote:
> Thanks guys!
> You'll have to bear with me here, but how and where do I run the commands you noted here to set this value?

I'd probably create an init script and have it executed for a given
runlevel after the mounts are done.

Some distros have a mechanism to add "user" things to end of
the init process, but if not, just grab an init script and
mod it to do the blockdev commands you need (you could make
it smart so that it does some sort of checking for valid
names, etc.)

> 
> Thanks!
> jlc
> 
> -----Original Message-----
> From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] On Behalf Of Tomasz Chmielewski
> Sent: Monday, September 24, 2007 9:16 AM
> To: LVM general discussion and development
> Subject: Re: [linux-lvm] LVM Overhead
> 
> Chris Cox schrieb:
>> Joseph L. Casale wrote:
>>> Hi,
>>> I am wanting to use LVM behind an iet iscsi target and I am wondering
>>> how much overhead if any does LVM add? Would the performance degrade
>>> any, currently I am exporting full unpartitioned discs and am happy with
>>> the performance. From what I am reading now, I would likely partition
>>> the physical discs and use that in LVM then export a volume.
>> Overhead is negligible.  I haven't seen any impact at all.
> 
> Quite the contrary - unless the default settings are not changed.
> 
> 
> By default, the readahead values for LVM volumes is quite low / for
> iSCSI, I always have to change it to get acceptable performance (one
> might want to replace the $HOSTNAME with the name of the PV, or define a
> separate list; "setra" values might need some experimenting, too):
> 
> 
> LVMS=$(/bin/ls /dev/$HOSTNAME/)
> 
> for LVM in $LVMS
>      do
>          blockdev --setra 16384 /dev/$HOSTNAME/$LVM
>      done
> 
> 
> --
> Tomasz Chmielewski
> http://blog.wpkg.org
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> 
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 

  reply	other threads:[~2007-09-26 16:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-22 18:25 [linux-lvm] LVM Overhead Joseph L. Casale
2007-09-24 15:05 ` Chris Cox
2007-09-24 15:15   ` Tomasz Chmielewski
2007-09-24 16:34     ` Chris Cox
2007-09-24 16:39       ` Chris Cox
2007-09-24 17:52         ` Tomasz Chmielewski
2007-09-25 15:13           ` Chris Cox
2007-09-24 18:04     ` Joseph L. Casale
2007-09-26 16:10       ` Chris Cox [this message]
2007-09-26 16:59         ` Joseph L. Casale

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=46FA847D.5010405@stercomm.com \
    --to=chris_cox@stercomm.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.