|
[root@tes root]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 4)
[root@tes root]# uname -a
Linux tes 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 i686 i386 GNU/Linux
[root@tes root]# lsmod |grep mega 我用的是LSI-320-1的RAID卡,6块硬盘做RAID,对RAID进行格式化或者读写的时候CPU IOWAIT很高。
megaraid 30636 2
scsi_mod 115240 4 [sg ata_piix libata megaraid sd_mod]
[root@tes root]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: MegaRAID Model: LD0 RAID5 75010R Rev: 1L37
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: ST380023AS Rev: 3.01
Type: Direct-Access ANSI SCSI revision: 05
[root@tes root]# mpstat 1
Linux 2.4.21-27.ELsmp (tes) 07/05/2006
10:22:58 AM CPU %user %nice %sys %iowait %irq %soft %idle intr/s
10:22:59 AM all 0.00 0.00 8.54 48.24 0.00 0.00 43.22 420.00
10:23:00 AM all 0.00 0.00 0.50 49.50 0.00 0.00 50.00 413.00
10:23:01 AM all 0.25 0.25 11.25 80.25 0.00 0.00 8.00 411.00
10:23:02 AM all 0.00 0.00 0.75 98.75 0.00 0.00 0.50 416.00
10:23:03 AM all 0.00 0.00 7.75 91.25 0.25 0.00 0.75 473.00
10:23:04 AM all 0.00 0.00 1.00 98.50 0.00 0.00 0.50 447.00
10:23:05 AM all 0.00 0.00 10.75 89.00 0.00 0.00 0.25 456.00
10:23:06 AM all 0.00 0.00 1.00 98.25 0.75 0.00 0.00 461.00 |
|