All of lore.kernel.org
 help / color / mirror / Atom feed
* cpu consumption
@ 2006-01-23 22:28 Gilberto Diaz
  2006-01-23 22:40 ` Gordon Henderson
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Gilberto Diaz @ 2006-01-23 22:28 UTC (permalink / raw)
  To: linux-raid

Hello Everybody

   I have checked the list archive but I could not find any message that
help. So I'm asking for help here. I have a Sun storege with 12 sata
hard disks connected to a normal PC using a QLogic ISP2300 host adapter
card. I have configured 6 raid1, (2 hard disk each). I excecuted the
following commands to create all of the them

mdadm --create --verbose /dev/md1 --level=raid1 --raid-devices=2
/dev/sda /dev/sdb
mdadm --create --verbose /dev/md2 --level=raid1 --raid-devices=2
/dev/sdc /dev/sdd
mdadm --create --verbose /dev/md3 --level=raid1 --raid-devices=2
/dev/sde /dev/sdf
mdadm --create --verbose /dev/md4 --level=raid1 --raid-devices=2
/dev/sdg /dev/sdh
mdadm --create --verbose /dev/md5 --level=raid1 --raid-devices=2
/dev/sdi /dev/sdj
mdadm --create --verbose /dev/md6 --level=raid1 --raid-devices=2
/dev/sdk /dev/sdl

Here is my /etc/mdadm/mdadm.conf file

DEVICE /dev/sd[abcdefghijkl] /dev/md1 /dev/md2 /dev/md3 /dev/md4
/dev/md5 /dev/md6
ARRAY /dev/md1 devices=/dev/sda,/dev/sdb
ARRAY /dev/md2 devices=/dev/sdc,/dev/sdd
ARRAY /dev/md3 devices=/dev/sde,/dev/sdf
ARRAY /dev/md4 devices=/dev/sdg,/dev/sdh
ARRAY /dev/md5 devices=/dev/sdi,/dev/sdj
ARRAY /dev/md6 devices=/dev/sdk,/dev/sdl

   The problem is that the following proccesses are using a lot of cpu
time.

    md1_raid1
    md1_resync
    ......
    md6_raid1
    md6_resync

    Here is a sample of the uptime command

17:54:16 up  5:48,  2 users,  load average: 5.02, 5.05, 5.26

    Does anybody have an idea what is the problem? Thank a lot in advance

Best regards
Gilberto Diaz

^ permalink raw reply	[flat|nested] 9+ messages in thread
* cpu consumption
@ 2005-11-26 13:45 Raz Ben-Jehuda(caro)
  2005-12-02  2:02 ` Jeff Garzik
  0 siblings, 1 reply; 9+ messages in thread
From: Raz Ben-Jehuda(caro) @ 2005-11-26 13:45 UTC (permalink / raw)
  To: jgarzik; +Cc: linux-ide

Hello Jeff.
Here is my problem.

When I issue a READ operation over a SATA disk in linux i have
huge cpu consumption , about 90% cpu usage.

I am using MAXTOR disks in a supermicro machine.
the cpu test was made when i "raw read" from the DISK using DIRECT_IO.

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

this is my dmesg.
ata1: SATA max UDMA/133 cmd 0xE900 ctl 0xEA02 bmdma 0xED00 irq 10
ata2: SATA max UDMA/133 cmd 0xEB00 ctl 0xEC02 bmdma 0xED08 irq 10
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4673 85:7c69 86:3e01 87:4663 88:207f
ata1: dev 0 ATA, max UDMA/133, 490234752 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : ata_piix
ata2: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4673 85:7c69 86:3e01 87:4663 88:207f
ata2: dev 0 ATA, max UDMA/133, 490234752 sectors: lba48
ata2: dev 0 configured for UDMA/133
scsi1 : ata_piix
  Vendor: ATA       Model: Maxtor 7L250S0    Rev: BANC
  Type:   Direct-Access                      ANSI SCSI revision: 05
  Vendor: ATA       Model: Maxtor 7L250S0    Rev: BANC
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
SCSI device sda: drive cache: write back
 /dev/scsi/host0/bus0/target0/lun0: p1 p2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 490234752 512-byte hdwr sectors (251000 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 490234752 512-byte hdwr sectors (251000 MB)
SCSI device sdb: drive cache: write back
 /dev/scsi/host1/bus0/target0/lun0:
Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0,  type 0
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


Thank you.
--
Raz

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

end of thread, other threads:[~2006-01-24 12:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-23 22:28 cpu consumption Gilberto Diaz
2006-01-23 22:40 ` Gordon Henderson
2006-01-24 12:13   ` Gilberto Diaz
2006-01-23 23:08 ` Guy
2006-01-24  3:05 ` Neil Brown
2006-01-24  6:03   ` Mitchell Laks
  -- strict thread matches above, loose matches on Subject: below --
2005-11-26 13:45 Raz Ben-Jehuda(caro)
2005-12-02  2:02 ` Jeff Garzik
2005-12-02  2:14   ` Tejun Heo

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.