All of lore.kernel.org
 help / color / mirror / Atom feed
* how to turn down cpu usage of raid ?
@ 2004-02-02 23:18 Matthew Simpson
  2004-02-03  1:37 ` Mark Hahn
  2004-02-03  1:39 ` Guy
  0 siblings, 2 replies; 4+ messages in thread
From: Matthew Simpson @ 2004-02-02 23:18 UTC (permalink / raw)
  To: linux-raid

Help!  I am having complaints from users about CPU spikes when writing to my
RAID 1 array.  Is there a way I can tune software RAID so that writing
updates doesn't interfere with other applications?  [can I nice the raid1d
process?]

Specifically I experience giant slowdowns in a hosted application whenever
someone unpacks a tar file or the like.  Load averages are 1.10 - 2.00
during writes, but 0.00 to 0.05 otherwise.

root@ns2:~# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md0 : active raid1 hdc1[1] hda1[0]
      78979200 blocks [2/2] [UU]

unused devices: <none>

root@ns2:~# cat /etc/raidtab
raiddev /dev/md0
        raid-level      1
        nr-raid-disks   2
        nr-spare-disks  0
        chunk-size      4
        persistent-superblock   1
        device  /dev/hda1
        raid-disk       0
        device  /dev/hdc1
        raid-disk       1

This is a pentium IV 2.5GHz system with 1GB of RAM.
    IDE interface: PCI device 8086:24cb (Intel Corp.) (rev 1). -- 82820
Camino 2 chipset



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

end of thread, other threads:[~2004-02-03  2:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-02 23:18 how to turn down cpu usage of raid ? Matthew Simpson
2004-02-03  1:37 ` Mark Hahn
2004-02-03  2:25   ` Matthew Simpson
2004-02-03  1:39 ` Guy

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.