[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

raid5, eine Platte mit excessive reads



Hallo,

Ich habe ein raid5 (Software-Raid /dev/md1) mit 4 identischen Platten, ext3 und LVM2
unter Debian 6.0.5 (squeeze).

Die letzte Platte im raid hat doppelt so viele reads wie die anderen.

atop zeigt:
DSK |         sdf | busy     33% | read 70503e3 | write 1918e4 | avio    6 ms |
DSK |         sdc | busy      9% | read 40151e3 | write 1749e4 | avio    2 ms |
DSK |         sde | busy      8% | read 33816e3 | write 1701e4 | avio    3 ms |
DSK |         sdd | busy      8% | read 35811e3 | write 1734e4 | avio    2 ms |
                  *** system and process activity since boot ***

Wenn das raid unter Last steht habe ich für sdf auch schon mehr als die 10 fache
read-Leistung gesehen.
DSK |         sdf | busy     76% | read     785 | write      0 | avio    9 ms |
DSK |         sdc | busy      7% | read      67 | write      0 | avio   10 ms |
DSK |         sdd | busy      1% | read      15 | write      0 | avio    4 ms |
DSK |         sde | busy      1% | read      13 | write      0 | avio    4 ms |

Woran kann das liegen?

Ich habe folgende Einstellungen:
/proc/sys/vm/dirty_ratio                50
/proc/sys/vm/dirty_background_ratio     50
/proc/sys/vm/dirty_writeback_centisecs  6000
/proc/sys/vm/dirty_expire_centisecs     6000

/sys/block/sd[c-f]/queue/nr_requests    512
/sys/block/sd[c-f]/queue/read_ahead_kb  8192
/sys/block/sd[c-f]/queue/scheduler      noop anticipatory deadline [cfq] 

blockdev --setra 16384 /dev/sd[c-f]
blockdev --setra 65536 /dev/md1
/sys/block/md1/md/stripe_cache_size     16384

/etc/fstab:     ext3    noatime,errors=remount-ro,data=ordered,commit=60

Grüße
Matthias
-- 
Don't Panic


Reply to: