Linux LVM users
 help / color / mirror / Atom feed
From: Wolfgang Weisselberg <weissel@netcologne.de>
To: "'linux-lvm@sistina.com'" <linux-lvm@sistina.com>
Subject: Re: [linux-lvm] HUGE LVM log file...
Date: Wed, 18 Jul 2001 02:00:51 +0200	[thread overview]
Message-ID: <20010718020051.D5976@tiger.bigcats.invalid> (raw)
In-Reply-To: <85063BBE668FD411944400D0B744267A643448@AUSMAIL>; from austin@coremetrics.com on Tue, Jul 17, 2001 at 04:52:21PM -0500

Gonyou, Austin (austin@coremetrics.com) wrote 53 lines:

> Is there a how-to or cookbook type doc which tells how/why you should setup
> your LE/PE's? Outter tracks/inner tracks, speed areas, etc?

Just use it, unless your disk is a definite bottleneck, don't
worry about that.  That's the whole idea of LVM: don't worry;
just adjust the sizes as you need.

On the other hand I'd put a small(ish) /boot (or the complete /
) close to the front of the disk (lilo might still not like
high cylinders on all computers), put swap not on LVM and
close to the front of the HD[1].  You can always add swap
files/partitions on the fly, if you need them.

If you need to plan something, put the data/programs which are
small and heavily accessed close to the front, where swap is.
Slower data can have the rest.  But again, unless you have
*good* data, you are probably not only guessing wrong, but
also optimising at the completely wrong place.

[1] LVM is a tad slower than non-LVM[2].  And you want your
    primary swap to be FAST.  If you have multible fast disks,
    give each of them a swapspace.  By giving them all the same
    priority (see man swapon for more info) the kernel will use
    them just like a stripped volume, speeding it up further.

[2] it has to calculate the PE from the LE, which takes some
    small time

> Theory around this is a good thing with relation to LVM and using it. Any
> ideas on that?

Yes: Cluster the PEs of your most accessed LEs (minimize head
movement and thus seek time), spread them out evenly over all
your _fast_ disks (independent reading, independent -- thus
faster -- seeking, smaller 'most accessed' PE clusters == less
head movement == faster seeking) and move the PEs of your most
accessed LEs to the front of the disks (faster reading/writing).

And most important: Don't fix/tune it unless it's broken/a
proven and measured bottleneck.

-Wolfgang

  reply	other threads:[~2001-07-18  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-17 21:52 [linux-lvm] HUGE LVM log file Gonyou, Austin
2001-07-18  0:00 ` Wolfgang Weisselberg [this message]
2001-07-18  8:22 ` Joe Thornber
2001-07-18  8:48   ` Benoit SERRA
2001-07-18  9:33     ` Joe Thornber
2001-07-18 19:23       ` Ragnar Kjørstad
2001-07-18 22:22         ` lembark
2001-07-18  9:46     ` Adam Cioccarelli
     [not found]     ` <Pine.LNX.4.33.0107181141480.25686-100000@vie-ac.office.ece tra.com>
2001-07-18  9:47       ` Benoit SERRA
2001-07-18 10:48         ` [linux-lvm] what happens when hdX get hdY in a VG Oliver Jovic
2001-07-18 10:59           ` Joe Thornber
2001-07-18 13:29         ` [linux-lvm] HUGE LVM log file Iain Campbell
2001-07-18 17:02     ` Steven Lembark
  -- strict thread matches above, loose matches on Subject: below --
2001-07-17 11:13 Guennadi Liakhovetski
2001-07-17 11:14 ` Heinz J. Mauelshagen
2001-07-17 11:28   ` Guennadi Liakhovetski
2001-07-17 11:28     ` Heinz J. Mauelshagen
2001-07-17 21:28     ` Wolfgang Weisselberg
2001-07-18 14:55       ` Heinz J. 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=20010718020051.D5976@tiger.bigcats.invalid \
    --to=weissel@netcologne.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