All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Greaves <david@dgreaves.com>
To: "Vladimir I. Umnov" <uvi@ezmail.ru>
Cc: linux-raid@vger.kernel.org
Subject: Re: Low perfomance of RAID0,RAID5, RAID+LVM on 2.6
Date: Thu, 19 Aug 2004 16:53:25 +0100	[thread overview]
Message-ID: <4124CCF5.8010201@dgreaves.com> (raw)
In-Reply-To: <20040819193200.27c97a4e@vovapc.kpml.int>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vladimir I. Umnov wrote:

|HW: chipset 875WPE, P4 2.4HT, 3 SATA WD 160JD, 1 ATA Samsung 80Gb.
|SW: kernel 2.6.6, libata drivers for PROMISE S150 TX4.
|CONFIG: 256K readahead on all drives.
|    sda1,sdb1,sdc1->RAID0 (md0)
|    sda2,sdb2,sdc2,hda1->RAID5 (md1)
|    about 20 partitions on LVM2 with xfs,ext3,reiserfs
|    chunksize on md0, md1 = 256k - this was optimal with 2.6.0test3 about
|    year ago.
|
|Theoretically RAID0 read speed should be nearly read speed of one
|drive multiply to number of drives, but I have:
|dd if=/dev/sda1 of=/dev/null gives about 44 Mb/s on all drives (but  on
|sii3112 ide driver with  WD 160JD about 55Mb/s and on libata the same
|44)

I use my arrays for large video files so large readahead is good.

I use blockdev on the lvms:
/sbin/blockdev --setra 4096 /dev/video_vg/video_lv
/sbin/blockdev --setra 4096 /dev/video_vg/huge_lv

the md device:
/sbin/blockdev --setra 4096 /dev/md0

and the raw devices
/sbin/blockdev --setra 4096 /dev/sda
/sbin/blockdev --setra 4096 /dev/sdb
/sbin/blockdev --setra 4096 /dev/sdc
/sbin/blockdev --setra 4096 /dev/sdd
/sbin/blockdev --setra 4096 /dev/hdb

HTH

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBJMz08LvjTle4P1gRAkfpAJ9XA17vexSqmcN0LVFZOx0Dxik/BQCgjMk+
oAslumzTWosxF9WqnDXln3k=
=C3uO
-----END PGP SIGNATURE-----


  reply	other threads:[~2004-08-19 15:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-19 15:32 Low perfomance of RAID0,RAID5, RAID+LVM on 2.6 Vladimir I. Umnov
2004-08-19 15:53 ` David Greaves [this message]
2004-08-19 17:26 ` Guy
  -- strict thread matches above, loose matches on Subject: below --
2004-08-19 18:12 Rechenberg, Andrew
2004-08-20 16:11 ` Vladimir I. Umnov

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=4124CCF5.8010201@dgreaves.com \
    --to=david@dgreaves.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=uvi@ezmail.ru \
    /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.