linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Weird RAID 1 performance
@ 2004-09-18 21:11 Andrei Badea
  2004-09-19 10:10 ` Gordon Henderson
  0 siblings, 1 reply; 5+ messages in thread
From: Andrei Badea @ 2004-09-18 21:11 UTC (permalink / raw)
  To: linux-raid

[-- Attachment #1: Type: text/plain, Size: 1318 bytes --]

Hello,

I have a RAID 1 whose write performance I tested by writing a 10 GB file 
to it:

dd if=/dev/zero of=/mnt/data/zeros bs=1024 count=...

Looking at GKrellM I noticed the CPU usage is very jumpy, going from a 
few to 99 percent (but usually is roughly rovers around 50 percent). 
Moreover, the transfer regularly stops for a few seconds (the CPU usage 
is then about 2 percent). The average data transfer rate was 16 MB/s, 
while the disks alone can make almost 25 MB/s.

Is this normal behavior? Can the write performance be tuned (to be less 
"jumpy")?

The reason I'm asking is that I'm encoutering hangs when video capturing 
to this RAID using mencoder and huffyuv. I'm not experiencing the hangs 
when capturing to another partition (not RAID). Neither did I experience 
  hangs during the dd copy.

Maybe the RAID 1 is just not suited for video capture?

The filesystem is ext3 and /etc/raidtab is:

raiddev /dev/md0
         raid-level              1
         nr-raid-disks           2
         nr-spare-disks          0
         persistent-superblock   1
         device                  /dev/hde1
         raid-disk               0
         device                  /dev/hdg1
         raid-disk               1

Thank you for help.

Andrei

-- 
andrei.badea@movzx.net # http://movzx.net # ICQ: 52641547

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

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

end of thread, other threads:[~2004-09-19 16:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-18 21:11 Weird RAID 1 performance Andrei Badea
2004-09-19 10:10 ` Gordon Henderson
2004-09-19 15:32   ` Mark Hahn
2004-09-19 15:50     ` Gordon Henderson
2004-09-19 16:42     ` Andrei Badea

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