From: Paolo Pedaletti <paolo.pedaletti@gmail.com>
To: unlisted-recipients:; (no To-header on input)
Cc: kvm@vger.kernel.org
Subject: Re: kvm-83 write performance raw
Date: Wed, 04 Mar 2009 23:28:18 +0100 [thread overview]
Message-ID: <49AF0082.7090809@gmail.com> (raw)
In-Reply-To: <20090302205330.GC20969@netvalue.net.nz>
Ciao Mark,
> RAID1 has *much* better write performance. With striping RAIDs, alignment
> is important. RAID controllers sometimes introduce hidden alignment
> offsets. Excessive read-ahead is a waste of time with a lot of small
> random I/O, which is what I see mostly with guests on flat disk images.
ok, I can understand this
but on a big multimedia-file partition an "opportune" read-ahead could
be useful (to set with blockdev)
> With LVM, it pays to make sure the LVs are aligned to the disk. I prefer
> boundaries with multiples of at least 64-sectors, which makes the LVM
> overhead virtually disappear. I align the guest filesystems too, when
> I can.
I use LVM extensively so can you explain how can you achieve alignments
between lvm and filesistem? and how to check it?
I have found this interesting:
http://www.mail-archive.com/linux-raid@vger.kernel.org/msg09685.html
http://kerneltrap.org/mailarchive/linux-raid/2008/12/1/4272764
http://blog.endpoint.com/2008/09/filesystem-io-what-we-presented.html
http://lonesysadmin.net/2009/01/02/how-to-grow-linux-virtual-disks-in-vmware/
(useful even for kvm users :-)
http://orezpraw.com/blog/your-filesystem-starts-where
http://www.issociate.de/board/post/464221/stride_/_stripe_alignment_on_LVM_?.html
http://www.ocztechnologyforum.com/forum/showpost.php?p=335049&postcount=134
http://thunk.org/tytso/blog/2009/02/20/aligning-filesystems-to-an-ssds-erase-block-size/
I've post this links because:
1) I didn't know this alignment-problem
2) lvm is suggested as preferred/best solution instead qcow2 file-image
3) filesystem performance may not related to kvm driver
4) I still have to read those post and understand them :-)
thank you...
--
Paolo Pedaletti
next prev parent reply other threads:[~2009-03-04 22:28 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-02 20:11 kvm-83 write performance raw Malinka Rellikwodahs
2009-03-02 20:35 ` Anthony Liguori
2009-03-02 20:37 ` Malinka Rellikwodahs
2009-03-02 20:39 ` Malinka Rellikwodahs
2009-03-02 21:22 ` Anthony Liguori
2009-03-02 21:39 ` Malinka Rellikwodahs
2009-03-02 22:21 ` Anthony Liguori
2009-03-09 15:09 ` Avi Kivity
2009-03-02 20:53 ` Mark van Walraven
2009-03-02 21:00 ` Malinka Rellikwodahs
2009-03-03 15:13 ` Nikola Ciprich
[not found] ` <aa2a0fc0903051110q528da32ek17b0f6468d0f15ff@mail.gmail.com>
2009-03-05 19:11 ` Fwd: " Malinka Rellikwodahs
2009-03-06 0:14 ` Malinka Rellikwodahs
2009-03-09 15:40 ` Fwd: " Nikola Ciprich
2009-03-04 22:28 ` Paolo Pedaletti [this message]
2009-03-05 2:09 ` Mark van Walraven
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=49AF0082.7090809@gmail.com \
--to=paolo.pedaletti@gmail.com \
--cc=kvm@vger.kernel.org \
/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.