linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Raid-0 speed
@ 2004-08-25  5:05 Brad Campbell
  2004-08-25  6:09 ` Daniel Pittman
  2004-08-25 17:11 ` Vladimir I. Umnov
  0 siblings, 2 replies; 11+ messages in thread
From: Brad Campbell @ 2004-08-25  5:05 UTC (permalink / raw)
  To: RAID Linux

G'day all,


As you would see I have a problem with libata drivers and raid-0.
In the process of debugging this I have been doing some speed/throughput tests.

On my machine, running 2 instances of dd in 2 terminals
dd if=/dev/sdk of=/dev/null &
dd if=/dev/sdl of=/dev/null

I see over 100MB/s read from VMSTAT.
If I pass the dd via pipebench to /dev/null I see between 50-60MB/s read speed from each drive 
simultaneously.

With the raid-0 running, doing a dd if=/dev/md1 of=/dev/null I get about 55MB/s read speed.

I can't quite figure out why the md is so slow. Given its using streaming reads with no seeking it 
should be over 100MB/s.

Raid-0 created with
mdadm --create --chunk=128 --level=0 --raid-devices=2 /dev/md1 
/dev/scsi/host12/bus0/target0/lun0/disc /dev/scsi/host13/bus0/target0/lun0/disc

Am I doing something obviously silly?

Also, doing a dd from 4 drives maxes out my read speed as per mdstat at 160MB/s (How? PCI is 133MB/s 
and according to lspci all my controllers are on the same bus). Does vmstat lie?

Regards,
Brad

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-08-28  4:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-25  5:05 Raid-0 speed Brad Campbell
2004-08-25  6:09 ` Daniel Pittman
2004-08-26  9:54   ` Brad Campbell
2004-08-26 16:41     ` Guy
2004-08-26 16:45       ` Brad Campbell
2004-08-25 17:11 ` Vladimir I. Umnov
2004-08-26  4:36   ` Brad Campbell
2004-08-27 23:35   ` Guy
2004-08-28  0:05     ` Neil Brown
2004-08-28  2:38       ` Guy
2004-08-28  4:27     ` Mikael Abrahamsson

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).