* Raid0 or Raid1 READ performance
@ 2004-12-16 21:49 BO MOON
2004-12-16 22:48 ` Mark Hahn
0 siblings, 1 reply; 3+ messages in thread
From: BO MOON @ 2004-12-16 21:49 UTC (permalink / raw)
To: linux-raid
Hi,
I tested and measured the Copy performance using "time cp".
My system Config: Redhat9.0, RocketRAID404 HPT374 card,
Hdd1 ---> /mnt/disk1
Hdd2, Hdd3, Hdd4 --> RAID0 : /mnt/disk2
OR
Hdd1 ------> /mnt/disk1
Hdd3, Hdd4 --> RAID1 : /mnt/disk2
I got the almost same performance on WRITE( disk1 --> disk2) and
READ ( disk2 -> disk1).
EX: >time cp disk1/2gfile disk2, >time cp disk2/2gfile disk1
I am expecting the faster performance on READ than WRITE because of
parallel read from disks more than 2(2 for RAID1, 3 for RAID0) at the
same time.
I heard that old linux ide driver did not support this parallelism but
must be fixed by now(linux2.4.20 or greater).
Any suggestion or opinion?
Thanks,
Bo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Raid0 or Raid1 READ performance
2004-12-16 21:49 Raid0 or Raid1 READ performance BO MOON
@ 2004-12-16 22:48 ` Mark Hahn
2004-12-17 4:24 ` BO MOON
0 siblings, 1 reply; 3+ messages in thread
From: Mark Hahn @ 2004-12-16 22:48 UTC (permalink / raw)
To: BO MOON; +Cc: linux-raid
> I am expecting the faster performance on READ than WRITE because of
> parallel read from disks more than 2(2 for RAID1, 3 for RAID0) at the
> same time.
if I understand your description, each of your tests involves either
reading or writing from a single disk (and also writing/reading a raid.)
such tests will always run at the speed of the slowest disk,
presumably the single one. for instance,
cp /some-2-disk-raid0/file /other-single-disk/
will be limited by the write speed of other-single-disk,
and not the raid.
cp /other-single-disk/file /some-2-disk-raid0/
is similar, though now it's the reading from a single disk which
is the bottleneck.
> Any suggestion or opinion?
test bandwidth with something more reasonable than time cp.
even "time dd if=/disk-to-read-from of=/dev/zero bs=64k"
is more sensible.
regards, mark hahn.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Raid0 or Raid1 READ performance
2004-12-16 22:48 ` Mark Hahn
@ 2004-12-17 4:24 ` BO MOON
0 siblings, 0 replies; 3+ messages in thread
From: BO MOON @ 2004-12-17 4:24 UTC (permalink / raw)
To: 'Mark Hahn'; +Cc: linux-raid
Mark,
Thanks for your opinion and suggestion.
You are right to get the real and meaningful performance, I should
Follow your suggestion.
My real attention is to find the difference in READ operation between
Single(one HDD) and RAID0 or RAID1 by the parallelism(
access or read data block from more than 2 HDDs at the same time).
I tried with "time dd if=dev of=/dev/zero bs=64K". There is no
Difference.
Any more comments?
Thanks,
Bo
-----Original Message-----
From: linux-raid-owner@vger.kernel.org
[mailto:linux-raid-owner@vger.kernel.org] On Behalf Of Mark Hahn
Sent: Thursday, December 16, 2004 2:48 PM
To: BO MOON
Cc: linux-raid@vger.kernel.org
Subject: Re: Raid0 or Raid1 READ performance
> I am expecting the faster performance on READ than WRITE because of
> parallel read from disks more than 2(2 for RAID1, 3 for RAID0) at the
> same time.
if I understand your description, each of your tests involves either
reading or writing from a single disk (and also writing/reading a raid.)
such tests will always run at the speed of the slowest disk,
presumably the single one. for instance,
cp /some-2-disk-raid0/file /other-single-disk/
will be limited by the write speed of other-single-disk,
and not the raid.
cp /other-single-disk/file /some-2-disk-raid0/
is similar, though now it's the reading from a single disk which
is the bottleneck.
> Any suggestion or opinion?
test bandwidth with something more reasonable than time cp.
even "time dd if=/disk-to-read-from of=/dev/zero bs=64k"
is more sensible.
regards, mark hahn.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-17 4:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-16 21:49 Raid0 or Raid1 READ performance BO MOON
2004-12-16 22:48 ` Mark Hahn
2004-12-17 4:24 ` BO MOON
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).