取消
顯示結果 
搜尋替代 
您的意思是: 

我家的rp5450 io很慢~

我家的rp5450 io很慢~

機器disk資料,有做os level mirror

# ioscan -C disk

H/W Path Class Description

================================================

0/0/1/1.0.0 disk HP 36.4GMAP3367NC

0/0/1/1.2.0 disk HP 18.2GMAN3184MC

0/0/2/0.0.0 disk HP 36.4GMAN3367MC

0/0/2/0.2.0 disk HP 18.2GMAN3184MC

0/0/2/1.2.0 disk HP DVD-ROM 305

0/3/0/0.6.0 disk SILVER GT-3000





在同一顆hd進行檔案複製(file size:2G)時,得到以下的數據,這樣是正常的嗎?



# iostat 5

device bps sps msps



c1t2d0 12 4.2 1.0

c2t2d0 10 3.2 1.0

c2t0d0 15341 287.2 1.0

c1t0d0 10849 231.5 1.0

c4t6d0 0 0.0 1.0

8 回覆

我家的rp5450 io很慢~

將以下文字存成test.sh, 並將執行結果貼上來, 相信大家會更有資訊來協助你解決問題



#!/usr/bin/ksh

echo "LVMTAB"

strings /etc/lvmtab

echo ""

cd /dev

for i in `ls -d vg*`

do

for x in `ls /dev/$i/lvol*`

do

echo $x

lvdisplay -v $x|head -33

echo ""

done

done

我家的rp5450 io很慢~

Pls try this and post the output.

----

sar -d 1 20

----

我家的rp5450 io很慢~

# sar -d 1 20



HP-UX pdm B.11.11 U 9000/800 01/07/05



20:26:08 device %busy avque r+w/s blks/s avwait avserv

20:26:09 c1t2d0 1.98 0.50 2 10 7.70 4.90

c2t2d0 1.98 0.50 2 10 7.74 6.74

c2t0d0 98.02 2.75 250 24570 14.26 24.78

c1t0d0 100.00 3.28 233 19560 18.41 29.23

c4t6d0 0.99 0.50 1 63 7.98 3.29

20:26:10 c1t2d0 13.13 0.50 27 204 5.61 5.13

c2t2d0 4.04 0.50 5 34 7.59 8.43

c2t0d0 96.97 1.20 196 17931 8.90 26.39

c1t0d0 100.00 1.34 190 15196 11.14 32.30

20:26:11 c1t2d0 1.00 0.50 1 2 8.21 7.87

c2t2d0 1.00 0.50 1 2 8.25 6.83

c2t0d0 96.00 1.94 278 24456 12.55 24.06

c1t0d0 100.00 2.91 215 17888 18.91 33.94

20:26:12 c2t0d0 99.00 1.85 265 24624 11.78 22.55

c1t0d0 100.00 2.59 213 18544 17.39 31.06

c4t6d0 1.00 0.50 1 64 4.65 5.41

20:26:13 c1t2d0 6.00 0.50 10 24 4.66 8.92

c2t2d0 4.00 0.50 7 14 5.06 6.76

c2t0d0 98.00 1.64 206 20264 11.56 29.86

c1t0d0 100.00 1.92 208 17612 13.68 31.36

c4t6d0 2.00 0.50 3 192 6.99 3.70

20:26:14 c1t2d0 1.98 0.50 3 18 2.89 8.46

c2t2d0 1.98 0.50 3 18 2.90 8.24

c2t0d0 98.02 2.38 238 23358 15.90 31.01

c1t0d0 99.01 3.23 206 17723 21.43 36.90

20:26:15 c2t0d0 100.00 2.78 256 25264 17.61 26.32

c1t0d0 99.00 3.43 227 20304 19.85 30.44

20:26:16 c1t2d0 2.02 0.50 3 14 5.93 9.

我家的rp5450 io很慢~

其實還要看機器上ap的特性. or 其他屬性, 建議可用glance觀察一下在複製檔案時cpu, disk, memory, swap的狀況, 及是否有paging的現象. 必要時可調整系統的buffer cache

. 看參考

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=zh_TW&docId=200000072495405



或者到教育訓練中心上H4262s HP-UX Performance and Tuning, 能對系統performance issue有更進ㄧ步的了解. :-)

我家的rp5450 io很慢~

Hi :

Looks the c2t0d0 and c1t0d0 is heavy loaded.

May I take a looks on the follows,



# diskinfo -v /dev/rdsk/c1t0d0

# diskinfo -v /dev/rdsk/c2t0d0



I need the above information to check the firware version.



In the meanwhile, please using the following command to make sure there is no stale PE in vg01

# lvdisplay -v /dev/vg01/lvol10 |grep -i stale

# lvdisplay -v /dev/vg01/lvol11 |grep -i stale

# lvdisplay -v /dev/vg01/lvol12 |grep -i stale

# lvdisplay -v /dev/vg01/lvol13 |grep -i stale

# lvdisplay -v /dev/vg01/lvol14 |grep -i stale



..

.









我家的rp5450 io很慢~

除了進行檔案複製之外, 平時的 I/O 如何?

我測試很大檔案的copy, cp 2G_file test

也會造成很高的 device busy%

我家的rp5450 io很慢~

在系統沒什麼loading的時候,同一個file system mount point下copy一個2g的檔案要三分多鐘耶!



# diskinfo -v /dev/rdsk/c1t0d0

SCSI describe of /dev/rdsk/c1t0d0:

vendor: HP 36.4G

product id: MAP3367NC

type: direct access

size: 35566480 Kbytes

bytes per sector: 512

rev level: HPC6

blocks per disk: 71132960

ISO version: 0

ECMA version: 0

ANSI version: 3

removable media: no

response format: 2

(Additional inquiry bytes: (32)53 (33)30 (34)31 (35)39 (36)38 (37)36 (38)35 (39)20 (40)20 (41)20 (42)20 (43)0 (44)0 (45)0 (46)0 (47)0 (48)0 (49)0 (50)0 (51)f (52)0 (53)0 (54)0 (55)0 (56)0 (57)0 (58)0 (59)0 (60)0 (61)0 (62)0 (63)0 (64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90)0 )

# diskinfo -v /dev/rdsk/c2t0d0

SCSI describe of /dev/rdsk/c2t0d0:

vendor: HP 36.4G

product id: MAN3367MC

type: direct access

size: 35566480 Kbytes

bytes per sector: 512

rev level: HP04

blocks per disk: 71132960

ISO version: 0

ECMA version: 0

ANSI version: 2

removable media: no

response format: 2

(Additional inquiry bytes: (32)4e (33)30 (34)30 (35)34 (36)32 (37)34 (38)33 (39)20 (40)20 (41)20 (42)20 (43)46 (44)55 (45)4a (46)49 (47)54 (48)53 (49)55 (50)20 (51)0 (52)0 (53)0 (54)40 (55)b (56)18 (57)1 (58)3c (59)1 (60)9b (61)0 (62)0 (63)0 (64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90)0 )

#





# lvdisplay -v /dev/vg01/lvol10 | grep -i stale

# lvdisplay -v /dev/vg01/lvol11 | grep -i stale

# lvdisplay -v /dev/vg01/lvol12 | grep -i stale

# lvdisplay -v /dev/vg01/lvol13 | grep -i stale

# lvdisplay -v /dev/vg01/lvol14 | grep -i stale

#

我家的rp5450 io很慢~

Hi :

lvdisplay ... | grep -i stale

沒有 outpout 代表沒有壞的 PE physical extend.



c1t0d0 firware HPC6 已經是最新的.

c2t0d0 firware HP04 不是最新的,下次歲修可考慮 upgrade 至最新的 HP07.



2G cp 約 3分鐘應算正常,我在沒mirror的環境測試結果如下:

hputaia:/tmp#prealloc 2g 2000000000

hputaia:/tmp#ll 2g

hputaia:/tmp#timex cp 2g 2g.1



real 2:32.67

user 0.12

sys 22.04



hputaia:/tmp#ll 2g*

-rw-rw-rw- 1 root sys 2000000000 Jan 12 12:38 2g

-rw-rw-rw- 1 root sys 2000000000 Jan 12 12:43 2g.1



..

.