From: mickg <mickg@mickg.net>
To: linux-raid@vger.kernel.org
Subject: Raid5 performance question
Date: Mon, 16 Apr 2007 13:42:38 -0400 [thread overview]
Message-ID: <4623B58E.9060503@mickg.net> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a raid5 array /dev/md1, being used as the pv of an LVM Volume Group.
I have a very peculiar problem with the array:
Writes to it happen at 40MB/sec or so.
But *reads* from it happen at 10MB/sec.
This, given how raid5 works, is a bit weird.
dd if=/dev/md1 of=/disks/raid_backup/test_speed bs=10M
gives 21MB/sec, which is, while not good, not bad for dd.
while:
dd if=/dev/mapper/system-raid_lvm of=/disks/raid_backup/test_speed bs=10M
4+0 records in
3+0 records out
31457280 bytes (31 MB) copied, 8.75426 seconds, 3.6 MB/s
which is obviously bogus.
dd if=/dev/sdg of=/disks/raid_lvm/test.speed bs=10M
24+0 records in
23+0 records out
241172480 bytes (241 MB) copied, 11.6211 seconds, 20.8 MB/s
So, writes to the system VG happen at least 4xfaster than reads.
This to me seems insane.
Note that:
pvs
PV VG Fmt Attr PSize PFree
/dev/md0 backup lvm2 a- 1.46T 159.20G
/dev/md1 system lvm2 a- 1.82T 63.04G
/disks/raid_backup/ is actually the backup VG.
/disks/raid_lvm/ is actually the system VG.
Any ideas on why this happens would be very appreciated.
mickg@mickg.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
iD8DBQFGI7WOoRaxTYdM/EwRAqWnAKDadOnzfPuzzoMILAsaddWwdK2XIgCgmGzm
dUlR7OPxasuKa1JwtUoR60E=
=8Vtw
-----END PGP SIGNATURE-----
next reply other threads:[~2007-04-16 17:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-16 17:42 mickg [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-03-06 11:46 raid5 performance question Raz Ben-Jehuda(caro)
2006-03-06 11:59 ` Gordon Henderson
2006-03-06 12:56 ` Raz Ben-Jehuda(caro)
2006-03-06 22:17 ` Guy
2006-03-06 22:24 ` Neil Brown
2006-03-07 8:40 ` Raz Ben-Jehuda(caro)
2006-03-07 23:03 ` Neil Brown
2006-03-22 13:22 ` Bill Davidsen
2006-03-24 4:40 ` Neil Brown
2006-03-08 6:45 ` thunder7
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=4623B58E.9060503@mickg.net \
--to=mickg@mickg.net \
--cc=linux-raid@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 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).